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.
Содержание Trakker T2090
Страница 1: ...TRAKKER T2090Batch Hand HeldComputer P N 067212 003 User s Manual ...
Страница 4: ......
Страница 14: ......
Страница 19: ...Getting Started 1 ...
Страница 20: ......
Страница 33: ...User Interface 2 ...
Страница 34: ......
Страница 55: ...Application Development 3 ...
Страница 56: ......
Страница 61: ...Application Functions 4 ...
Страница 62: ......
Страница 127: ...Reader Command Reference 5 ...
Страница 128: ......
Страница 145: ...Configuration Command Reference 6 ...
Страница 146: ......
Страница 187: ...BIOS Support 7 ...
Страница 188: ......
Страница 205: ...Hardware Specifications 8 ...
Страница 206: ......
Страница 212: ......
Страница 213: ...Demo Software A ...
Страница 214: ......
Страница 230: ......
Страница 231: ...Microsoft Visual C C Settings B ...
Страница 232: ......
Страница 234: ...TRAKKER T2090 Hand Held Batch Computer User s Manual B 4 Compiler Options Code Generation Select CPU 80186 80188 ...
Страница 237: ...Full ASCII Charts C ...
Страница 238: ......