Matrix Orbital GLK24064-25 Legacy User Manual
Page 13

GLK24064-25 rev. 06
13
3.3.4 Set current text insertion point to top Left (254 72)
This command moves the text insertion point to the top left of the display area, based on the metrics of the
current font. Refer to the "Set Font Metrics" command below for more details.
3.3.5 Set text insertion point using pixel values (254 121 [x][y])
This command sets the next position for text placement to an individual pixel location. The coordinate ([x
position],[y position]) defines a pixel on the screen where the top left corner of the screen is defined as
(0,0). This pixel location will be used as the top left corner of the next character of text which is sent to the
module without any regard to "font metrics" like character spacing or line spacing.
3.3.6 Set current font (254 49 [font ID])
This command instructs the GLK24064-25 to use the font specified by [font identifier] as the default font.
The value specified should refer to a font already present in the GLK24064-25's memory.
Note: the font ID is established when the font is saved to the GLK24064-25, normally using the mogd.exe
program. The installed 5x7 font ID is 0x01, unless changed by user.
3.3.7 Set font metrics (254 50 [metrics])
Where [metrics] = [left margin][top margin][x space][y space][scroll row]
This command defines the metrics of a font already present in the GLK24064-25's memory.
! [left margin] specifies the first pixel column to use for the first character in a row. In some instances, a
font may not evenly fit on the screen, and dividing the extra space between the margins will improve
the overall appearance of the font.
! [top margin] specifies the top pixel row to begin drawing the first row of text on the display area.
! [x space] specifies the number of pixels to place between characters (i.e. character spacing).
! [y space] specifies the number of pixels to place between rows of text (i.e. line spacing).
! [scroll row] specifies the pixel row where scrolling should start (or, if auto scrolling is off, where
wrapping should occur). Typically, this value should be set to the first pixel row immediately below the
last row of text that will fit the display.