![]() |
Font Name Language Constants |
Header: SFNTTypes.h |
enum { kFontEnglishLanguage = 0, kFontFrenchLanguage = 1, kFontGermanLanguage = 2, kFontItalianLanguage = 3, kFontDutchLanguage = 4, kFontSwedishLanguage = 5, kFontSpanishLanguage = 6, kFontDanishLanguage = 7, kFontPortugueseLanguage = 8, kFontNorwegianLanguage = 9, kFontHebrewLanguage = 10, kFontJapaneseLanguage = 11, kFontArabicLanguage = 12, kFontFinnishLanguage = 13, kFontGreekLanguage = 14, kFontIcelandicLanguage = 15, kFontMalteseLanguage = 16, kFontTurkishLanguage = 17, kFontCroatianLanguage = 18, kFontTradChineseLanguage = 19, kFontUrduLanguage = 20, kFontHindiLanguage = 21, kFontThaiLanguage = 22, kFontKoreanLanguage = 23, kFontLithuanianLanguage = 24, kFontPolishLanguage = 25, kFontHungarianLanguage = 26, kFontEstonianLanguage = 27, kFontLettishLanguage = 28, kFontLatvianLanguage = 28, kFontSaamiskLanguage = 29, kFontLappishLanguage = 29, kFontFaeroeseLanguage = 30, kFontFarsiLanguage = 31, kFontPersianLanguage = 31, kFontRussianLanguage = 32, kFontSimpChineseLanguage = 33, kFontFlemishLanguage = 34, kFontIrishLanguage = 35, kFontAlbanianLanguage = 36, kFontRomanianLanguage = 37, kFontCzechLanguage = 38, kFontSlovakLanguage = 39, kFontSlovenianLanguage = 40, kFontYiddishLanguage = 41, kFontSerbianLanguage = 42, kFontMacedonianLanguage = 43, kFontBulgarianLanguage = 44, kFontUkrainianLanguage = 45, kFontByelorussianLanguage = 46, kFontUzbekLanguage = 47, kFontKazakhLanguage = 48, kFontAzerbaijaniLanguage = 49, kFontAzerbaijanArLanguage = 50, kFontArmenianLanguage = 51, kFontGeorgianLanguage = 52, kFontMoldavianLanguage = 53, kFontKirghizLanguage = 54, kFontTajikiLanguage = 55, kFontTurkmenLanguage = 56, kFontMongolianLanguage = 57, kFontMongolianCyrLanguage = 58, kFontPashtoLanguage = 59, kFontKurdishLanguage = 60, kFontKashmiriLanguage = 61, kFontSindhiLanguage = 62, kFontTibetanLanguage = 63, kFontNepaliLanguage = 64, kFontSanskritLanguage = 65, kFontMarathiLanguage = 66, kFontBengaliLanguage = 67, kFontAssameseLanguage = 68, kFontGujaratiLanguage = 69, kFontPunjabiLanguage = 70, kFontOriyaLanguage = 71, kFontMalayalamLanguage = 72, kFontKannadaLanguage = 73, kFontTamilLanguage = 74, kFontTeluguLanguage = 75, kFontSinhaleseLanguage = 76, kFontBurmeseLanguage = 77, kFontKhmerLanguage = 78, kFontLaoLanguage = 79, kFontVietnameseLanguage = 80, kFontIndonesianLanguage = 81, kFontTagalogLanguage = 82, kFontMalayRomanLanguage = 83 };
Identifies English as the language of the font name string.
Identifies French as the language of the font name string.
Identifies German as the language of the font name string.
Identifies German as the language of the font name string.
Identifies Dutch as the language of the font name string.
Identifies Swedith as the language of the font name string.
Identifies Spanish as the language of the font name string.
Identifies Danish as the language of the font name string.
Identifies Portuguese as the language of the font name string.
Identifies Norwegian as the language of the font name string.
Identifies Hebrew as the language of the font name string.
Identifies Japanese as the language of the font name string.
Identifies Arabic as the language of the font name string.
Identifies Finnish as the language of the font name string.
Identifies Greek as the language of the font name string.
Identifies Icelandic as the language of the font name string.
Identifies Maltese as the language of the font name string.
Identifies Turkish as the language of the font name string.
Identifies Croatian as the language of the font name string.
Identifies traditional Chinese as the language of the font name string.
Identifies Urdu as the language of the font name string.
Identifies Hindi as the language of the font name string.
Identifies Thai as the language of the font name string.
Identifies Korean as the language of the font name string.
Identifies Lithuanian as the language of the font name string.
Identifies Polish as the language of the font name string.
Identifies Hungarian as the language of the font name string.
Identifies Estonian as the language of the font name string.
Identifies Lettish as the language of the font name string.
Identifies Latvian as the language of the font name string.
Identifies Saamisk as the language of the font name string.
Identifies Lappish as the language of the font name string.
Identifies the north Germanic language spoken on Faeroe Island as the language of the font name string.
Identifies Persian Farsi as the language of the font name string.
Identifies Persian as the language of the font name string.
Identifies Russian as the language of the font name string.
Identifies simple Chinese as the language of the font name string.
Identifies Flemish (Dutch) as the language of the font name string.
Identifies Irish as the language of the font name string.
Identifies Albanian as the language of the font name string.
Identifies Romanian as the language of the font name string.
Identifies Czech as the language of the font name string.
Identifies Slovak as the language of the font name string.
Identifies Slovanian as the language of the font name string.
Identifies Yiddish as the language of the font name string.
Identifies Serbian as the language of the font name string.
ATSUI identifies the language of a particular font name string by a constant of type FontLanguageCode. You can use one of these constants as part of your search criteria in the functions ATSUFindFontFromName and ATSUFindFontName. The function ATSUGetIndFontName passes back a constant of this type to represent the font name string language.
The font name language code identifies the language of the name string. You can pass the kFontNoLanguage constant if you do not care about the language of a font name string. In this case, ATSUFindFontName and ATSUFindFontFromName will pass back the first font in the name table that matches the other font name parameters that you specified.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)