im_dbyte_setfont
4-9
4
im_dbyte_setfont
Purpose
This function initializes the .DBFS font specified. Any current DBFS font is
disconnected from the display, and the display is cleared. If switching from
“native” font display, the ABC/123 indicator and native mode cursor (if
active) are disabled and the screen cleared. The altered fonts are not
persistent between applications.
Syntax
#include "imt209x.h"
IM_STATUS im_dbyte_setfont
(IM_UCHAR
*fontfile,
IM_USHORT
glyph_high,
IM_USHORT
glyph_wide,
IM_USHORT offset);
IN Parameters
fontfile
Pointer to the name of the font file to initialize. A value of 0 causes a
return to native mode and restoration of the ABC/123 indicator and native
cursor to the states they had prior to the first DBFS im_dbyte_setfont() in this
application.
glyph_high Height of the character cell in pixels (ignored when going to
native mode). Values of 1 to 72 are legal, but the 72
nd
row of the display is not
visible.
glyph_wide
Width of the character cell in pixels (ignored when going to
native mode). The value must be an integral multiple of 8 between 8 and 120.
The 120
th
column of the display is not visible.
offset Index of the first glyph in the fontfile (in glyphs).
OUT Parameters
None.
Return Value
This function returns one of these codes:
IM_SUCCESS Font installed.
IM_INVALID_FILE The file open failed. The font file could not be
found.
IM_INVALID_PARAM_2 Specified height falls outside the acceptable
limits.
IM_INVALID_PARAM_3 Specified width falls outside the acceptable
limits or is not a multiple of 8.
Summary of Contents for Trakker T2090
Page 1: ...TRAKKER T2090Batch Hand HeldComputer P N 067212 003 User s Manual ...
Page 4: ......
Page 14: ......
Page 19: ...Getting Started 1 ...
Page 20: ......
Page 33: ...User Interface 2 ...
Page 34: ......
Page 55: ...Application Development 3 ...
Page 56: ......
Page 61: ...Application Functions 4 ...
Page 62: ......
Page 127: ...Reader Command Reference 5 ...
Page 128: ......
Page 145: ...Configuration Command Reference 6 ...
Page 146: ......
Page 187: ...BIOS Support 7 ...
Page 188: ......
Page 205: ...Hardware Specifications 8 ...
Page 206: ......
Page 212: ......
Page 213: ...Demo Software A ...
Page 214: ......
Page 230: ......
Page 231: ...Microsoft Visual C C Settings B ...
Page 232: ......
Page 237: ...Full ASCII Charts C ...
Page 238: ......