Difference between revisions of "Component: gLCD Font Library (Graphical Library)"
| Line 23: | Line 23: | ||
==Detailed description== | ==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/ | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
==Examples== | ==Examples== | ||
Revision as of 13:23, 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/
Examples
No additional examples
Macro reference
ReadASCIILUT
ReadFontStat
| ReadFontStat | |
| Collects a stat about the selected font | |
| Index | |
| 0=SpaceColumns, 1=CharacterHeight | |
| Return | |
ReadWidth
| ReadWidth | |
| Gets the width of the ASCII character font data | |
| Character | |
| ASCII position so A = 'A' | |
| Return | |