Character Fonts | |||||||||||||||
You can include the character fonts required for an application by downloading the attached files and use the LIB command to store them in memory. You can setup your system to process text as single byte, 2 byte UNICODE or multibyte UTF8. See the LIB command for installing fonts. System fonts ASCII8,ASCII16 and ASCII32 are built in. The wide rounded fonts are preferred for higher quality designs. Default font for text style is ASCII16 - v47.12. It is possible to overlay one font over another to enable single byte operation with ASCII from 20H to 7FH and Cyrillic, Greek, Hebrew, Bengali, Tamil, Thai or Katakana from 80H to FFH. The LIB command is used to load the extended font at 0080H instead of it's normal UNICODE location. The style for a text can then specify font="MyASCII,MyThai"; causing the Thai to overlap the ASCII from 80H to FFH Example: LIB( ascii24,â€sdhc/asc_24.fntâ€); //upload ascii 24 pixel wide font LIB( cur24,â€sdhc/cur_24.fnt?start=\\0080â€); //upload currency font to 80H In text style… font=â€ascii24,cur24â€; //cur24 overlays ascii24 at 80H-8FH STANDARD ASCII - 20H to 7FH Standard ASCII text in the range 20H to 7FH can by directly typed from the keyboard. System fonts named ASCII8, ASCII16, ASCII32 are pre-installed. Example TEXT( txt1, "Hello World", stTXT ); //single byte access to 20H to 7FH ASCII characters EXTENDED ASCII - 20H to FFH 2/ When using single byte ASCII in the range 20H to 7FH, you can access extended characters from 80H to FFH using hex code like \\AB Example TEXT( txt1, "1. AB\\B0CDEF \\AB s", stTXT ); //single byte access to 80H to FFH UNICODE and UTF8 3/ When using single byte ASCII in the range 20H to 7FH, you can access UNICODE characters by using hex code like \\w0D7F or a UTF8 character using hex code like \\mC2AB. The symbols <....> are used where more than one character is coded. Examples: TEXT( txt2, "2. AB\\w00B0CDEF \\w00AB", stTXT ); // UNICODE double byte access to 0080H to FFFFH TEXT( txt3, "3. AB\\mC2B0CDEF \\mC2AB", stTXT ); // UTF8 multi byte access to 80H to FFFFH TEXT( txt5, "5. AB\\sB0C\\w<00440045>F \\w00AB", stTXT ); // <....> are used for long hex strings \\s is used for single byte in a UNICODE or UTF8 encoded system TEXT( txt7, "\\<372E204142B04344454620AB>", stTXT ); // string of single byte hex in the range 20H to 80H TEXT( txt8, "\\w<0038002e00200041004200B00043004400450046002000AB>", stTXT ); TEXT( txt9, "\\m<392E204142C2B04344454620C2AB>", stTXT ); |
|||||||||||||||
COMPACT NARROW FONTS
(Single Byte Range 20H to FFH or UNICODE Range 0020H to 00FFH) The ASCII base page is included automatically at 20H-7FH and the other fonts are automatically loaded to 80H to FFH. This gives a single byte range of 20H to FFH. |
|||||||||||||||
ASCII Base Page (96 characters) | PC437 (128 characters) | PC850 (128 characters) | |||||||||||||
5x7 8x16 16x32 |
|||||||||||||||
5x7 8x16 16x32 | 5x7 8x16 16x32 | ||||||||||||||
PC852 (128 characters) | PC858 (128 characters) | PC860 (128 characters) | |||||||||||||
|
|
|
|||||||||||||
5x7 8x16 16x32 | 5x7 8x16 16x32 | 5x7 8x16 16x32 | |||||||||||||
PC863 (128 characters) | PC865 (128 characters) | PC866 (128 characters) | |||||||||||||
|
|
|
|||||||||||||
5x7 8x16 16x32 | 5x7 8x16 16x32 | 5x7 8x16 16x32 | |||||||||||||
WPC1252 (128 characters) | Katakana (128 characters) | ||||||||||||||
|
|
||||||||||||||
5x7 8x16 16x32 | 5x7 8x16 16x32 | ||||||||||||||
WIDE ROUNDED Fonts
(Single Byte Range 20H to FFH or UNICODE Range 0020H to FFFFH) When loading these fonts into library, it is necessary to specify the offset address for the first character of each font table if a variation from UNICODE is required. The supplementary characters above FFFF are not supported in UTF8. |
|||||||||||||||
|
|||||||||||||||
|
|||||||||||||||
|
|||||||||||||||
|
|||||||||||||||
|
|||||||||||||||
|
|||||||||||||||
|
|||||||||||||||
|
|||||||||||||||
|
|||||||||||||||
|
|||||||||||||||
|
|||||||||||||||
|