GetThemeFontName
To get a name of a ThemeFont, use the GetThemeFontName function
FUNCTION GetThemeFontName(inFontID as Integer,inScript as Integer) as String
inFontID:
A Code indicating which ThemeFont to get:
0 = SystemFont
1 = SmallSystemFon
2 = ThemeSmallEmphasizedSystemFont
3 = ThemeViewsFont
inScript:
A value specifying the Scrip code to use:
/* Meta script codes:*/
smSystemScript = -1, /* designates system script.*/
smCurrentScript = -2, /* designates current font script.*/
smAllScripts = -3 /* designates any script*/
/* Script codes: */
smRoman = 0,
smJapanese = 1,
smTradChinese = 2, /* Traditional Chinese*/
smKorean = 3,
smArabic = 4,
smHebrew = 5,
smGreek = 6,
smCyrillic = 7,
smRSymbol = 8, /* Right-left symbol*/
smDevanagari = 9,
smGurmukhi = 10,
smGujarati = 11,
smOriya = 12,
smBengali = 13,
smTamil = 14,
smTelugu = 15,
smKannada = 16, /* Kannada/Kanarese*/
smMalayalam = 17,
smSinhalese = 18,
smBurmese = 19,
smKhmer = 20, /* Khmer/Cambodian*/
smThai = 21,
smLao = 22,
smGeorgian = 23,
smArmenian = 24,
smSimpChinese = 25, /* Simplified Chinese*/
smTibetan = 26,
smMongolian = 27,
smEthiopic = 28,
smGeez = 28, /* Synonym for smEthiopic*/
smCentralEuroRoman = 29, /* For Czech, Slovak, Polish, Hungarian, Baltic langs*/
smVietnamese = 30,
smExtArabic = 31, /* extended Arabic*/
smUninterp = 32 /* uninterpreted symbols, e.g. palette symbols*
Supported platforms:
* MacOS PPC
* MacOS Carbon
Unsupported platforms:
* MacOS 68k
* Windows x86