Builds a sequence of characters describing the font that will be used for the text.
Syntax
<Result> = gFont(<Font name> [, <Charset used>])
<Result>: Character string
Sequence of characters describing the font that will be used for the text.
<Font name>: Character string
Exact name of the font. If this parameter corresponds to an empty string (""), gFont has no effect.
<Charset used>: Optional Integer constant
Constant corresponding to the character set to use. The default character set will be used if this parameter is not specified. | |
charsetAnsi | Roman characters in ANSI standard |
charsetArabic | Arabic characters |
charsetBaltic | Baltic characters |
charsetChinese | Chinese characters (People's Republic of China) |
charsetDefault | Uses the computer's default character set. No character set is forced. |
charsetEastEurope | Eastern European characters (Polish, etc.) |
charsetGreek | Greek characters |
charsetHebrew | Hebrew characters |
charsetJapanese | Japanese characters |
charsetKorean | Korean characters |
charsetMac | Mac Roman character set (used in previous versions of Macintosh). |
charsetOccidental | Roman characters in ANSI standard |
charsetRussian | Russian characters |
charsetThai | Thai characters |
charsetTraditionalChinese | Traditional Chinese characters (Republic of Taiwan) |
charsetTurkish | Turkish characters |
charsetVietnamese | Vietnamese characters |
Remarks
- The default font is restored after the call to this function.
- All the other characteristics of the font are kept (bold, ...).