Difference between revisions of "Component: gLCD Font Library (Graphical Library)"
| Line 37: | Line 37: | ||
| Once the software is installed, run the software and click the spanner icon next to the Preset. Configure the software like this. | Once the software is installed, run the software and click the spanner icon next to the Preset. Configure the software like this. | ||
| − | [[file:DotFactorySettings]] | + | [[file:DotFactorySettings.jpg]] | 
| ==Examples== | ==Examples== | ||
Revision as of 13:25, 1 March 2024
| Author | Matrix TSL | 
| Version | 1.0 | 
| Category | Graphical Library | 
Contents
gLCD Font Library component
A component designed to simplify the task of creating dynamic fonts for use with graphical displays.
Component Source Code
Please click here to download the component source project: FC_Comp_Source_Lib_Fonts.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_Lib_Fonts.fcfx
Detailed description
The font component provides a series of bitmap glyphs to the graphical display components and is built into these components.
Each font can be capable of providing a full character set or just a set of numeric characters, these latter being marked with the word Number.
Custom fonts can be created using the Custom option and providing a link to a file generated by a tool called The Dot Factory.
To do this you must first download and install the dot factory on your computer.
http://www.eran.io/the-dot-factory-an-lcd-font-and-image-generator/
Once the software is installed, run the software and click the spanner icon next to the Preset. Configure the software like this.
Examples
No additional examples
Macro reference
ReadASCIILUT
ReadFontStat
|   | ReadFontStat | 
| Collects a stat about the selected font | |
|  - BYTE | Index | 
| 0=SpaceColumns, 1=CharacterHeight | |
|  - BYTE | Return | 
ReadWidth
|   | ReadWidth | 
| Gets the width of the ASCII character font data | |
|  - BYTE | Character | 
| ASCII position so A = 'A' | |
|  - BYTE | Return | 






