4 font metrics, 5 set box space mode – Matrix Orbital GLK12232-25-SM User Manual
Page 28

Description
In order to set the font on the GLK12232-25-SM you must know the
font identification number of the font that you wish to use. The font ID
is established when the font is saved to the display. The default installed
fonts are “Small Filled” and “Futura Bk BT 16” and their font ID’s are
0x01 and 0x02 respectfully, with “Small Filled” being the default
selected font.
Once you are aware of the font ID for the font that you wish you use,
simply send the command bytes (0xFE 0x31) and then send the font ID
corresponding to the font. A directory listing of the contents of the
entire filesystem may be obtained by using the “Get Filesystem
Directory” command, see Section 12.5 on page 48 for more detailed
information.
Remembered
Yes
5.4
Font Metrics
Syntax
Hexadecimal
0xFE 0x32 [lm] [tm] [csp] [lsp] [srow]
Decimal
254 50 [lm] [tm] [csp] [lsp] [srow]
ASCII
254 “2” [lm] [tm] [csp] [lsp] [srow]
Parameters
Parameter
Length
Description
lm
1
Left margin: Location in pixels.
tm
1
Top margin: Location in pixels.
csp
1
Character Spacing: Amount of
space in pixels between characters.
lsp
1
Line Spacing: Amount of space
between lines in pixels.
srow
1
Scroll Row: The Y location of the
last row in pixels.
Description
Font metrics define where the characters are positioned on the screen,
by setting where the rows and columns begin based on the
[lm][tm][csp][lsp][srow] parameters. [lm] defines the leftmost position
and [tm] the topmost. [csp] controls the amount of pixels that are placed
in between characters and [lsp] controls the amount of pixels that are
placed in between lines. [srow] is the location of the top of the last row
that will be displayed on the GLK12232-25-SM. It defines the row that,
when filled, will cause the display to auto scroll if auto scrolling is
enabled. The font metrics will have to be reconfigured after changing to
a different font.
Remembered
Yes
5.5
Set Box Space Mode
Matrix Orbital
GLK12232-25-SM
23