mikroBasic, mikroPascal and mikroC filter |
The MikroElektronika compilers' target filter let you export fonts in a format compatible with mikroBasic, mikroPascal and mikroC. This filter is directly related to X-GLCD library. Please read the topic related to X-GLCD lib fully to understand fully this filter.
Fonts with 8 bits height or less :
Mikroelektronika GLCD lib handles only fonts with 8 bits height. So when your font is 8 bits or less in height, invoquing the filter for MikroElecktronika compilers will show the folowing screen.
In this screen, you have only to choose the target compiler (language), to specify the range of chars to export and eventually the module/unit name to add to source code. Generated source code can be copied to clipboard and pasted in your compiler IDE, or can be saved directly to disk.
The most important thing to note in this screen is the group of radio "Generate Code For Use With"
miroBasic (or mikroPascal or mikroC) GLCD Lib : creates fonts compatible with MikroElektronika GLCD Library. X-GLCD Lib : creates fonts compatible with X-GLCD Library.
The useful thing to note about X-GLCD lib is that it let you draw fonts at any Y position on the screen and not only at positions with Y is a multiple of 8 (because of the physical structure of GLCD hardware).
Fonts with height bigger than 8 bits:
GLCD library from MikroElektronika is unable to handle these fonts. X-GLCD lib was written specially to handle them, and thus is the only option possible.
.
|