📄 ttnameid.h
字号:
#define TT_MS_LANGID_KOREAN_JOHAB_KOREA 0x0812#define TT_MS_LANGID_DUTCH_NETHERLANDS 0x0413#define TT_MS_LANGID_DUTCH_BELGIUM 0x0813#define TT_MS_LANGID_NORWEGIAN_NORWAY_BOKMAL 0x0414#define TT_MS_LANGID_NORWEGIAN_NORWAY_NYNORSK 0x0814#define TT_MS_LANGID_POLISH_POLAND 0x0415#define TT_MS_LANGID_PORTUGUESE_BRAZIL 0x0416#define TT_MS_LANGID_PORTUGUESE_PORTUGAL 0x0816#define TT_MS_LANGID_RHAETO_ROMANIC_SWITZERLAND 0x0417#define TT_MS_LANGID_ROMANIAN_ROMANIA 0x0418#define TT_MS_LANGID_MOLDAVIAN_MOLDAVIA 0x0818#define TT_MS_LANGID_RUSSIAN_RUSSIA 0x0419#define TT_MS_LANGID_RUSSIAN_MOLDAVIA 0x0819#define TT_MS_LANGID_CROATIAN_CROATIA 0x041a#define TT_MS_LANGID_SERBIAN_SERBIA_LATIN 0x081a#define TT_MS_LANGID_SERBIAN_SERBIA_CYRILLIC 0x0c1a#define TT_MS_LANGID_SLOVAK_SLOVAKIA 0x041b#define TT_MS_LANGID_ALBANIAN_ALBANIA 0x041c#define TT_MS_LANGID_SWEDISH_SWEDEN 0x041d#define TT_MS_LANGID_SWEDISH_FINLAND 0x081d#define TT_MS_LANGID_THAI_THAILAND 0x041e#define TT_MS_LANGID_TURKISH_TURKEY 0x041f#define TT_MS_LANGID_URDU_PAKISTAN 0x0420#define TT_MS_LANGID_INDONESIAN_INDONESIA 0x0421#define TT_MS_LANGID_UKRAINIAN_UKRAINE 0x0422#define TT_MS_LANGID_BELARUSIAN_BELARUS 0x0423#define TT_MS_LANGID_SLOVENE_SLOVENIA 0x0424#define TT_MS_LANGID_ESTONIAN_ESTONIA 0x0425#define TT_MS_LANGID_LATVIAN_LATVIA 0x0426#define TT_MS_LANGID_LITHUANIAN_LITHUANIA 0x0427#define TT_MS_LANGID_CLASSIC_LITHUANIAN_LITHUANIA 0x0827#if 0 /* this seems to be an error that have been dropped */#define TT_MS_LANGID_MAORI_NEW_ZEALAND 0x0428#endif#define TT_MS_LANGID_FARSI_IRAN 0x0429#define TT_MS_LANGID_VIETNAMESE_VIET_NAM 0x042a#define TT_MS_LANGID_ARMENIAN_ARMENIA 0x042b#define TT_MS_LANGID_AZERI_AZERBAIJAN_LATIN 0x042c#define TT_MS_LANGID_AZERI_AZERBAIJAN_CYRILLIC 0x082c#define TT_MS_LANGID_BASQUE_SPAIN 0x042d#define TT_MS_LANGID_SORBIAN_GERMANY 0x042e#define TT_MS_LANGID_MACEDONIAN_MACEDONIA 0x042f#define TT_MS_LANGID_SUTU_SOUTH_AFRICA 0x0430#define TT_MS_LANGID_TSONGA_SOUTH_AFRICA 0x0431#define TT_MS_LANGID_TSWANA_SOUTH_AFRICA 0x0432#define TT_MS_LANGID_VENDA_SOUTH_AFRICA 0x0433#define TT_MS_LANGID_XHOSA_SOUTH_AFRICA 0x0434#define TT_MS_LANGID_ZULU_SOUTH_AFRICA 0x0435#define TT_MS_LANGID_AFRIKAANS_SOUTH_AFRICA 0x0436#define TT_MS_LANGID_GEORGIAN_GEORGIA 0x0437#define TT_MS_LANGID_FAEROESE_FAEROE_ISLANDS 0x0438#define TT_MS_LANGID_HINDI_INDIA 0x0439#define TT_MS_LANGID_MALTESE_MALTA 0x043a#define TT_MS_LANGID_SAAMI_LAPONIA 0x043b#if 0 /* this seems to be a previous invertion */#define TT_MS_LANGID_IRISH_GAELIC_IRELAND 0x043c#define TT_MS_LANGID_SCOTTISH_GAELIC_UNITED_KINGDOM 0x083c#else#define TT_MS_LANGID_SCOTTISH_GAELIC_UNITED_KINGDOM 0x083c#define TT_MS_LANGID_IRISH_GAELIC_IRELAND 0x043c#endif#define TT_MS_LANGID_MALAY_MALAYSIA 0x043e#define TT_MS_LANGID_MALAY_BRUNEI_DARUSSALAM 0x083e#define TT_MS_LANGID_KAZAK_KAZAKSTAN 0x043f#define TT_MS_LANGID_SWAHILI_KENYA 0x0441#define TT_MS_LANGID_UZBEK_UZBEKISTAN_LATIN 0x0443#define TT_MS_LANGID_UZBEK_UZBEKISTAN_CYRILLIC 0x0843#define TT_MS_LANGID_TATAR_TATARSTAN 0x0444#define TT_MS_LANGID_BENGALI_INDIA 0x0445#define TT_MS_LANGID_PUNJABI_INDIA 0x0446#define TT_MS_LANGID_GUJARATI_INDIA 0x0447#define TT_MS_LANGID_ORIYA_INDIA 0x0448#define TT_MS_LANGID_TAMIL_INDIA 0x0449#define TT_MS_LANGID_TELUGU_INDIA 0x044a#define TT_MS_LANGID_KANNADA_INDIA 0x044b#define TT_MS_LANGID_MALAYALAM_INDIA 0x044c#define TT_MS_LANGID_ASSAMESE_INDIA 0x044d#define TT_MS_LANGID_MARATHI_INDIA 0x044e#define TT_MS_LANGID_SANSKRIT_INDIA 0x044f#define TT_MS_LANGID_KONKANI_INDIA 0x0457 /* new as of 2001-01-01 */#define TT_MS_LANGID_ARABIC_GENERAL 0x0001#define TT_MS_LANGID_CHINESE_GENERAL 0x0004#define TT_MS_LANGID_ENGLISH_GENERAL 0x0009#define TT_MS_LANGID_FRENCH_WEST_INDIES 0x1c0c#define TT_MS_LANGID_FRENCH_REUNION 0x200c#define TT_MS_LANGID_FRENCH_CONGO 0x240c /* which was formerly: */#define TT_MS_LANGID_FRENCH_ZAIRE TT_MS_LANGID_FRENCH_CONGO#define TT_MS_LANGID_FRENCH_SENEGAL 0x280c#define TT_MS_LANGID_FRENCH_CAMEROON 0x2c0c#define TT_MS_LANGID_FRENCH_COTE_D_IVOIRE 0x300c#define TT_MS_LANGID_FRENCH_MALI 0x340c#define TT_MS_LANGID_BOSNIAN_BOSNIA_HERZEGOVINA 0x101a#define TT_MS_LANGID_URDU_INDIA 0x0820#define TT_MS_LANGID_TAJIK_TAJIKISTAN 0x0428#define TT_MS_LANGID_YIDDISH_GERMANY 0x043d#define TT_MS_LANGID_KIRGHIZ_KIRGHIZSTAN 0x0440 /* alias declared in Windows 2000 */#define TT_MS_LANGID_KIRGHIZ_KIRGHIZ_REPUBLIC \ TT_MS_LANGID_KIRGHIZ_KIRGHIZSTAN#define TT_MS_LANGID_TURKMEN_TURKMENISTAN 0x0442#define TT_MS_LANGID_MONGOLIAN_MONGOLIA /* Cyrillic */ 0x0450 /* the following seems to be inconsistent; here is the current "official" way: */#define TT_MS_LANGID_TIBETAN_BHUTAN 0x0451 /* and here is what is used by Passport SDK */#define TT_MS_LANGID_TIBETAN_CHINA 0x0451#define TT_MS_LANGID_DZONGHKA_BHUTAN 0x0851 /* end of inconsistency */#define TT_MS_LANGID_WELSH_WALES 0x0452#define TT_MS_LANGID_KHMER_CAMBODIA 0x0453#define TT_MS_LANGID_LAO_LAOS 0x0454#define TT_MS_LANGID_BURMESE_MYANMAR 0x0455#define TT_MS_LANGID_GALICIAN_SPAIN 0x0456#define TT_MS_LANGID_MANIPURI_INDIA 0x0458#define TT_MS_LANGID_SINDHI_INDIA 0x0459 /* the following one is only encountered in Microsoft RTF specification */#define TT_MS_LANGID_KASHMIRI_PAKISTAN 0x0460 /* the following one is not in the Passport list, looks like an omission */#define TT_MS_LANGID_KASHMIRI_INDIA 0x0860#define TT_MS_LANGID_NEPALI_NEPAL 0x0461#define TT_MS_LANGID_NEPALI_INDIA 0x0861#define TT_MS_LANGID_FRISIAN_NETHERLANDS 0x0462 /* new as of 2001-03-01 (from Office Xp) */#define TT_MS_LANGID_ENGLISH_HONG_KONG 0x3c09#define TT_MS_LANGID_ENGLISH_INDIA 0x4009#define TT_MS_LANGID_ENGLISH_MALAYSIA 0x4409#define TT_MS_LANGID_ENGLISH_SINGAPORE 0x4809#define TT_MS_LANGID_SYRIAC_SYRIA 0x045a#define TT_MS_LANGID_SINHALESE_SRI_LANKA 0x045b#define TT_MS_LANGID_CHEROKEE_UNITED_STATES 0x045c#define TT_MS_LANGID_INUKTITUT_CANADA 0x045d#define TT_MS_LANGID_AMHARIC_ETHIOPIA 0x045e#define TT_MS_LANGID_TAMAZIGHT_MOROCCO 0x045f#define TT_MS_LANGID_TAMAZIGHT_MOROCCO_LATIN 0x085f#define TT_MS_LANGID_PASHTO_AFGHANISTAN 0x0463#define TT_MS_LANGID_FILIPINO_PHILIPPINES 0x0464#define TT_MS_LANGID_DHIVEHI_MALDIVES 0x0465 /* alias declared in Windows 2000 */#define TT_MS_LANGID_DIVEHI_MALDIVES TT_MS_LANGID_DHIVEHI_MALDIVES /* for language codes from 0x0466 to 0x0471 see below */#define TT_MS_LANGID_OROMO_ETHIOPIA 0x0472#define TT_MS_LANGID_TIGRIGNA_ETHIOPIA 0x0473#define TT_MS_LANGID_TIGRIGNA_ERYTHREA 0x0873 /* also spelled in the `Passport SDK' list as: */#define TT_MS_LANGID_TIGRIGNA_ERYTREA TT_MS_LANGID_TIGRIGNA_ERYTHREA /* New additions from Windows Xp/Passport SDK 2001-11-10. */ /* don't ask what this one means... It is commented out currently. */#if 0#define TT_MS_LANGID_GREEK_GREECE2 0x2008#endif#define TT_MS_LANGID_SPANISH_UNITED_STATES 0x540a /* The following two IDs blatantly violate MS specs by using a */ /* sublanguage > 0x1F. */#define TT_MS_LANGID_SPANISH_LATIN_AMERICA 0xE40aU#define TT_MS_LANGID_FRENCH_NORTH_AFRICA 0xE40cU#define TT_MS_LANGID_FRENCH_MOROCCO 0x380c#define TT_MS_LANGID_FRENCH_HAITI 0x3c0c#define TT_MS_LANGID_BENGALI_BANGLADESH 0x0845#define TT_MS_LANGID_PUNJABI_ARABIC_PAKISTAN 0x0846#define TT_MS_LANGID_MONGOLIAN_MONGOLIA_MONGOLIAN 0x0850#define TT_MS_LANGID_EDO_NIGERIA 0x0466#define TT_MS_LANGID_FULFULDE_NIGERIA 0x0467#define TT_MS_LANGID_HAUSA_NIGERIA 0x0468#define TT_MS_LANGID_IBIBIO_NIGERIA 0x0469#define TT_MS_LANGID_YORUBA_NIGERIA 0x046a /* language codes from 0x046b to 0x046f are (still) unknown. */#define TT_MS_LANGID_IGBO_NIGERIA 0x0470#define TT_MS_LANGID_KANURI_NIGERIA 0x0471#define TT_MS_LANGID_GUARANI_PARAGUAY 0x0474#define TT_MS_LANGID_HAWAIIAN_UNITED_STATES 0x0475#define TT_MS_LANGID_LATIN 0x0476#define TT_MS_LANGID_SOMALI_SOMALIA 0x0477 /* Note: Yi does not have a (proper) ISO 639-2 code, since it is mostly */ /* not written (but OTOH the peculiar writing system is worth */ /* studying). */#define TT_MS_LANGID_YI_CHINA 0x0478#define TT_MS_LANGID_PAPIAMENTU_NETHERLANDS_ANTILLES 0x0479 /*************************************************************************/ /* */ /* Possible values of the `name' identifier field in the name records of */ /* the TTF `name' table. These values are platform independent. */ /* */#define TT_NAME_ID_COPYRIGHT 0#define TT_NAME_ID_FONT_FAMILY 1#define TT_NAME_ID_FONT_SUBFAMILY 2#define TT_NAME_ID_UNIQUE_ID 3#define TT_NAME_ID_FULL_NAME 4#define TT_NAME_ID_VERSION_STRING 5#define TT_NAME_ID_PS_NAME 6#define TT_NAME_ID_TRADEMARK 7 /* the following values are from the OpenType spec */#define TT_NAME_ID_MANUFACTURER 8#define TT_NAME_ID_DESIGNER 9#define TT_NAME_ID_DESCRIPTION 10#define TT_NAME_ID_VENDOR_URL 11#define TT_NAME_ID_DESIGNER_URL 12#define TT_NAME_ID_LICENSE 13#define TT_NAME_ID_LICENSE_URL 14 /* number 15 is reserved */#define TT_NAME_ID_PREFERRED_FAMILY 16#define TT_NAME_ID_PREFERRED_SUBFAMILY 17#define TT_NAME_ID_MAC_FULL_NAME 18 /* The following code is new as of 2000-01-21 */#define TT_NAME_ID_SAMPLE_TEXT 19 /* This is new in OpenType 1.3 */#define TT_NAME_ID_CID_FINDFONT_NAME 20 /*************************************************************************/ /* */ /* Bit mask values for the Unicode Ranges from the TTF `OS2 ' table. */ /* */ /* Updated 02-Jul-2000. */ /* */ /* General Scripts Area */ /* Bit 0 Basic Latin */#define TT_UCR_BASIC_LATIN (1L << 0) /* U+0020-U+007E */ /* Bit 1 C1 Controls and Latin-1 Supplement */#define TT_UCR_LATIN1_SUPPLEMENT (1L << 1) /* U+0080-U+00FF */ /* Bit 2 Latin Extended-A */#define TT_UCR_LATIN_EXTENDED_A (1L << 2) /* U+0100-U+017F */ /* Bit 3 Latin Extended-B */#define TT_UCR_LATIN_EXTENDED_B (1L << 3) /* U+0180-U+024F */ /* Bit 4 IPA Extensions */#define TT_UCR_IPA_EXTENSIONS (1L << 4) /* U+0250-U+02AF */ /* Bit 5 Spacing Modifier Letters */#define TT_UCR_SPACING_MODIFIER (1L << 5) /* U+02B0-U+02FF */ /* Bit 6 Combining Diacritical Marks */#define TT_UCR_COMBINING_DIACRITICS (1L << 6) /* U+0300-U+036F */ /* Bit 7 Greek and Coptic */#define TT_UCR_GREEK (1L << 7) /* U+0370-U+03FF */ /* Bit 8 is reserved (was: Greek Symbols and Coptic) */ /* Bit 9 Cyrillic + */ /* Cyrillic Supplementary */#define TT_UCR_CYRILLIC (1L << 9) /* U+0400-U+04FF */ /* U+0500-U+052F */ /* Bit 10 Armenian */#define TT_UCR_ARMENIAN (1L << 10) /* U+0530-U+058F */ /* Bit 11 Hebrew */#define TT_UCR_HEBREW (1L << 11) /* U+0590-U+05FF */ /* Bit 12 is reserved (was: Hebrew Extended) */ /* Bit 13 Arabic */#define TT_UCR_ARABIC (1L << 13) /* U+0600-U+06FF */ /* Bit 14 is reserved (was: Arabic Extended) */ /* Bit 15 Devanagari */#define TT_UCR_DEVANAGARI (1L << 15) /* U+0900-U+097F */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -