Component: gLCD Font Library (Graphical Library)
Author | Matrix TSL |
Version | 1.0 (Release) |
Category | Graphical Library |
Contents
gLCD Font Library component
A component designed to simplify the task of creating dynamic fonts for use with graphical displays.
Examples
No additional examples
Downloadable macro reference
ReadWidth
Gets the width of the ASCII character font data
Parameters
- BYTE Character
- ASCII position so A = 'A'
Return value
ReadFontStat
Collects a stat about the selected font
Parameters
- BYTE Index
- 0=SpaceColumns, 1=CharacterHeight
Return value
ReadASCIILUT
Gets a single pixel column byte from the selected ASCII character font data.
Parameters
- BYTE Character
- ASCII position so A = 'A'
- BYTE ByteIndex
- Range: 0 to ((PixelWidth - 1) * BytesPerColumn)
Return value
Simulation macro reference
This component does not contain any simulation macros
Property reference
Embed Font Set
This property is of type True or false and can be referenced with the variable name EmbedFont.
Specifies whether or not to add an embedded font set into the program memory.
Some displays have their own in-built font set and so do not require an additional embedded font.
Font
This property is of type Fixed list of ints and can be referenced with the variable name Font.
Font picker to decide which font to use on your display.
Character Spacing
This property is of type Fixed list of ints and can be referenced with the variable name FontSpace.
Sets the number of blank pixels between each character when printing text.
Default 1.
Space Width
This property is of type Fixed list of ints and can be referenced with the variable name SpaceWidth.
Sets the number of horizontal pixels used to represent a space character.
Width Fixed
This property is of type True or false and can be referenced with the variable name WidthFixed.
Details if the font has fixed width characters or variable width characters.
Pixel Width
This property is of type Unsigned integer and can be referenced with the variable name PixelWidth.
Details the pixel width of the font for fixed width characters.
Pixel Height
This property is of type Unsigned integer and can be referenced with the variable name PixelHeight.
Details the pixel height of the font.
First Character
This property is of type Unsigned integer and can be referenced with the variable name FirstChar.
Details the first printable ASCI character.
Character Count
This property is of type Unsigned integer and can be referenced with the variable name CharCount.
Details the number of characters available, different fonts may have different characters available.
Bytes Per Column
This property is of type Unsigned integer and can be referenced with the variable name BytesPerColumn.
No additional information