Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of SharpLCD by
dotfont.h
00001 #include <stdint.h> 00002 00003 #ifndef __DOT_FONT_H__ 00004 #define __DOT_FONT_H__ 00005 00006 00007 #ifdef __cplusplus 00008 extern "C" { 00009 #endif 00010 00011 #define LOWEST_DOT_CHARACTER_ENCODING ' ' 00012 #define HIGHEST_DOT_CHARACTER_ENCODING '~' 00013 00014 typedef struct FONT_CHAR_INFO { 00015 int charWidth; 00016 int charHeight; 00017 int charOffset; 00018 } FONT_CHAR_INFO; 00019 00020 typedef struct FONT_INFO { 00021 const char *familyName; 00022 unsigned int pointSize; 00023 unsigned int spacing; 00024 const FONT_CHAR_INFO* descriptors; 00025 const uint8_t* bitmaps; 00026 } FONT_INFO; 00027 00028 extern const FONT_INFO dotfonts[]; 00029 00030 00031 extern const FONT_INFO *searchFontFace(const char *familyName, 00032 unsigned int pointSize); 00033 #ifdef __cplusplus 00034 } 00035 #endif 00036 00037 #endif /* __DOT_FONT_H__ */
Generated on Thu Jul 14 2022 05:46:27 by
1.7.2
