Frequently Asked Question:
Supported Languages…
I would like to know if the following list of languages are supported from the Quick pdf library.
Also I tried to match them with the SubFont ids 'QuickPDFAddSubsettedFont'. Are they correct?
// 1 = ANSI 2 = Default 3 = Symbol 4 = Shift JIS // 5 = Hangeul 6 = GB2312 7 = Chinese Big 5 8 = OEM // 9 = Johab 10 = Hebrew 11 = Arabic 12 = Greek // 13 = Turkish 14 = Vietnamese 15 = Thai 16 = East Europe // 17 = Russian 18 = Mac 19 = Baltic
ANGUAGE_ENGLISH= 2; LANGUAGE_GERMAN= 2; LANGUAGE_FRENCH= 2; LANGUAGE_ITALIAN= 2; LANGUAGE_SPANISH= 2; LANGUAGE_SWEDISH= 2; LANGUAGE_DANISH= 2; LANGUAGE_FINNISH= 2; LANGUAGE_NORWEGIAN_BOKMAL= 2; LANGUAGE_NORWEGIAN_NYNORSK= 2; LANGUAGE_DUTCH= 2; LANGUAGE_SERBIAN= 16; LANGUAGE_KOREAN= 11; LANGUAGE_CHINESE_SIMPLIFIED= 7; LANGUAGE_CHINESE_TRADITIONAL= 6; LANGUAGE_PORTUGUESE= 2; LANGUAGE_GREEK= 12; LANGUAGE_ESTONIAN= 16; LANGUAGE_LATVIAN= 16; LANGUAGE_LITHUANIAN= 16; LANGUAGE_POLISH= 16; LANGUAGE_SLOVAK= 16; LANGUAGE_TURKISH= 13; LANGUAGE_ARABIC= 11;
The languages that you have listed are supported by the AddTrueTypeFont and AddSubsettedFont functions. The GetInstalledFontsByCodePage and GetInstalledFontsByCharset functions can also be used to determine which fonts support the language that you're using. This is important because not all standard Windows fonts support all of the languages you listed.