
PT-Basic Programming Manual Ver. 1.00 67/143
3.13 Font
This utility “SDK Tool” can be used as the following:
When you need a font file for your application, you can make the font file by
“SDK Tool”, the font generator can help you making a font file.
3.13.1 User font commands
To set user font from font file.
A%=DISPFONT_SETFONT(FontID% ,FontPath$)
A%=DISPFONT_SETFONT(2,"D:\Fonts\Font16.cft")
A% is an integer variable to be assigned to the result.
Several key arguments as below:
A%=DISPFONT_INFO_TYPE(FontID%)
A% is an integer variable to be assigned to the result.
FontID% is an integer variable in the range from 2 to 9.
A%=DISPFONT_INFO_HEIGHT(FontID%)
C%=DISPFONT_INFO_HEIGHT(2)
A% is an integer variable to be assigned to the result.
FontID% is an integer variable in the range from 2 to 9.
Commenti su questo manuale