3 - 14
padGetFont
Gets the current text font.
Syntax
int padGetFont(
void
)
Returns
Returns the current font number. The FontIDs correspond to the sizes specified in the table below:
See Also
padSetFont, padPutText
padGetFontSize
This command returns the horizontal and vertical size of the character dimensions used in the specified font. For example,
on a Transaction Team 3100 Series, in font number 0 each character is 8 pixels wide and 8 pixels high. Calling this command
with the Id of 0 will return 8x8 (in pptPixels).
Syntax
int padGetFontSize(
BYTE Id,
padPOINT *pptPixels
)
Parameter
Description
Id
ID of the specified font
pptPixels
Pointer to store the obtained font size
The following table describes the relationship between font ID and the font sizes:
Returns
Returns TRUE if function call succeeds and FALSE otherwise
Font ID
Horizontal Size
Vertical Size
Available for
Transaction Team
3100 Series
0
8
8
YES
1
16
16
YES
2
6
8
YES
3
8
12
YES
4
12
16
YES
5
16
24
YES
Font ID
Horizontal Size
Vertical Size
Available for
Transaction Team
3100 Series
0
8
8
YES
1
16
16
YES
2
6
8
YES
3
8
12
YES
4
12
16
YES
5
16
24
YES
Summary of Contents for PadCom TT1500
Page 1: ... PadCom Point of Sale Terminal Control Library U s e r s G u i d e ...
Page 88: ...4 2 ...
Page 129: ......
Page 130: ......
Page 131: ......
Page 132: ... PadCom UG Rev A 4619 Jordan Road P O Box 187 Skaneateles Falls New York 13153 0187 ...