GLCD Font Creator by MikroElektronika is a powerful tool used to generate pixel-mapped, custom fonts, icons, and symbols for microcontrollers paired with Graphical LCDs (GLCDs). Designing low-resolution bitmap fonts requires a balance between memory efficiency and screen legibility.
The top practical tips for designing microcontroller fonts in GLCD Font Creator include: 1. Optimize Character Widths (Fixed vs. Proportional)
Monospaced Fonts: Essential for data grids, aligned menus, and numbers that change rapidly (like timestamps or speedometers). It ensures numbers do not shift horizontally as they update.
Proportional Fonts: Ideal for UI messages. GLCD Font Creator tracks character width bounds automatically, saving massive display room by reducing empty spaces around narrow letters like “I” or “l”. 2. Tailor Fonts to Your Hardware Driver Restrictions
Standard GLCD Lib (8-bit height limit): Standard libraries write data in vertical “pages” or 8-pixel-tall lines. Keep your small font heights bounded exactly to 8 bits to maximize rendering speed.
X-GLCD Lib (Over 8-bit height): If you need large, complex headings, design fonts without height bounds. When exporting, select X-GLCD Lib from the format options so the source code natively maps pixel-exact logical coordinates ( ) rather than fixed page segments. 3. Minimize Microcontroller Flash Memory Consumption
Trim Padding: Use the built-in X and Y offset parameters to remove blank pixel rows and columns flanking your characters.
Filter Unused Glyphs: When exporting code, select only the exact character ranges or ASCII offsets your application strictly needs (e.g., Numbers 0-9 and basic punctuation .,: for a sensor readout dashboard). Including the full ASCII table will bloat your firmware compilation size unnecessarily. 4. Clean Up Imported System Fonts Manually Creating GLCD fonts – Displays – Arduino Forum
Leave a Reply