ttnameid.h 57 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235
  1. /****************************************************************************
  2. *
  3. * ttnameid.h
  4. *
  5. * TrueType name ID definitions (specification only).
  6. *
  7. * Copyright (C) 1996-2023 by
  8. * David Turner, Robert Wilhelm, and Werner Lemberg.
  9. *
  10. * This file is part of the FreeType project, and may only be used,
  11. * modified, and distributed under the terms of the FreeType project
  12. * license, LICENSE.TXT. By continuing to use, modify, or distribute
  13. * this file you indicate that you have read the license and
  14. * understand and accept it fully.
  15. *
  16. */
  17. #ifndef TTNAMEID_H_
  18. #define TTNAMEID_H_
  19. FT_BEGIN_HEADER
  20. /**************************************************************************
  21. *
  22. * @section:
  23. * truetype_tables
  24. */
  25. /**************************************************************************
  26. *
  27. * Possible values for the 'platform' identifier code in the name records
  28. * of an SFNT 'name' table.
  29. *
  30. */
  31. /**************************************************************************
  32. *
  33. * @enum:
  34. * TT_PLATFORM_XXX
  35. *
  36. * @description:
  37. * A list of valid values for the `platform_id` identifier code in
  38. * @FT_CharMapRec and @FT_SfntName structures.
  39. *
  40. * @values:
  41. * TT_PLATFORM_APPLE_UNICODE ::
  42. * Used by Apple to indicate a Unicode character map and/or name entry.
  43. * See @TT_APPLE_ID_XXX for corresponding `encoding_id` values. Note
  44. * that name entries in this format are coded as big-endian UCS-2
  45. * character codes _only_.
  46. *
  47. * TT_PLATFORM_MACINTOSH ::
  48. * Used by Apple to indicate a MacOS-specific charmap and/or name
  49. * entry. See @TT_MAC_ID_XXX for corresponding `encoding_id` values.
  50. * Note that most TrueType fonts contain an Apple roman charmap to be
  51. * usable on MacOS systems (even if they contain a Microsoft charmap as
  52. * well).
  53. *
  54. * TT_PLATFORM_ISO ::
  55. * This value was used to specify ISO/IEC 10646 charmaps. It is
  56. * however now deprecated. See @TT_ISO_ID_XXX for a list of
  57. * corresponding `encoding_id` values.
  58. *
  59. * TT_PLATFORM_MICROSOFT ::
  60. * Used by Microsoft to indicate Windows-specific charmaps. See
  61. * @TT_MS_ID_XXX for a list of corresponding `encoding_id` values.
  62. * Note that most fonts contain a Unicode charmap using
  63. * (`TT_PLATFORM_MICROSOFT`, @TT_MS_ID_UNICODE_CS).
  64. *
  65. * TT_PLATFORM_CUSTOM ::
  66. * Used to indicate application-specific charmaps.
  67. *
  68. * TT_PLATFORM_ADOBE ::
  69. * This value isn't part of any font format specification, but is used
  70. * by FreeType to report Adobe-specific charmaps in an @FT_CharMapRec
  71. * structure. See @TT_ADOBE_ID_XXX.
  72. */
  73. #define TT_PLATFORM_APPLE_UNICODE 0
  74. #define TT_PLATFORM_MACINTOSH 1
  75. #define TT_PLATFORM_ISO 2 /* deprecated */
  76. #define TT_PLATFORM_MICROSOFT 3
  77. #define TT_PLATFORM_CUSTOM 4
  78. #define TT_PLATFORM_ADOBE 7 /* artificial */
  79. /**************************************************************************
  80. *
  81. * @enum:
  82. * TT_APPLE_ID_XXX
  83. *
  84. * @description:
  85. * A list of valid values for the `encoding_id` for
  86. * @TT_PLATFORM_APPLE_UNICODE charmaps and name entries.
  87. *
  88. * @values:
  89. * TT_APPLE_ID_DEFAULT ::
  90. * Unicode version 1.0.
  91. *
  92. * TT_APPLE_ID_UNICODE_1_1 ::
  93. * Unicode 1.1; specifies Hangul characters starting at U+34xx.
  94. *
  95. * TT_APPLE_ID_ISO_10646 ::
  96. * Deprecated (identical to preceding).
  97. *
  98. * TT_APPLE_ID_UNICODE_2_0 ::
  99. * Unicode 2.0 and beyond (UTF-16 BMP only).
  100. *
  101. * TT_APPLE_ID_UNICODE_32 ::
  102. * Unicode 3.1 and beyond, using UTF-32.
  103. *
  104. * TT_APPLE_ID_VARIANT_SELECTOR ::
  105. * From Adobe, not Apple. Not a normal cmap. Specifies variations on
  106. * a real cmap.
  107. *
  108. * TT_APPLE_ID_FULL_UNICODE ::
  109. * Used for fallback fonts that provide complete Unicode coverage with
  110. * a type~13 cmap.
  111. */
  112. #define TT_APPLE_ID_DEFAULT 0 /* Unicode 1.0 */
  113. #define TT_APPLE_ID_UNICODE_1_1 1 /* specify Hangul at U+34xx */
  114. #define TT_APPLE_ID_ISO_10646 2 /* deprecated */
  115. #define TT_APPLE_ID_UNICODE_2_0 3 /* or later */
  116. #define TT_APPLE_ID_UNICODE_32 4 /* 2.0 or later, full repertoire */
  117. #define TT_APPLE_ID_VARIANT_SELECTOR 5 /* variation selector data */
  118. #define TT_APPLE_ID_FULL_UNICODE 6 /* used with type 13 cmaps */
  119. /**************************************************************************
  120. *
  121. * @enum:
  122. * TT_MAC_ID_XXX
  123. *
  124. * @description:
  125. * A list of valid values for the `encoding_id` for
  126. * @TT_PLATFORM_MACINTOSH charmaps and name entries.
  127. */
  128. #define TT_MAC_ID_ROMAN 0
  129. #define TT_MAC_ID_JAPANESE 1
  130. #define TT_MAC_ID_TRADITIONAL_CHINESE 2
  131. #define TT_MAC_ID_KOREAN 3
  132. #define TT_MAC_ID_ARABIC 4
  133. #define TT_MAC_ID_HEBREW 5
  134. #define TT_MAC_ID_GREEK 6
  135. #define TT_MAC_ID_RUSSIAN 7
  136. #define TT_MAC_ID_RSYMBOL 8
  137. #define TT_MAC_ID_DEVANAGARI 9
  138. #define TT_MAC_ID_GURMUKHI 10
  139. #define TT_MAC_ID_GUJARATI 11
  140. #define TT_MAC_ID_ORIYA 12
  141. #define TT_MAC_ID_BENGALI 13
  142. #define TT_MAC_ID_TAMIL 14
  143. #define TT_MAC_ID_TELUGU 15
  144. #define TT_MAC_ID_KANNADA 16
  145. #define TT_MAC_ID_MALAYALAM 17
  146. #define TT_MAC_ID_SINHALESE 18
  147. #define TT_MAC_ID_BURMESE 19
  148. #define TT_MAC_ID_KHMER 20
  149. #define TT_MAC_ID_THAI 21
  150. #define TT_MAC_ID_LAOTIAN 22
  151. #define TT_MAC_ID_GEORGIAN 23
  152. #define TT_MAC_ID_ARMENIAN 24
  153. #define TT_MAC_ID_MALDIVIAN 25
  154. #define TT_MAC_ID_SIMPLIFIED_CHINESE 25
  155. #define TT_MAC_ID_TIBETAN 26
  156. #define TT_MAC_ID_MONGOLIAN 27
  157. #define TT_MAC_ID_GEEZ 28
  158. #define TT_MAC_ID_SLAVIC 29
  159. #define TT_MAC_ID_VIETNAMESE 30
  160. #define TT_MAC_ID_SINDHI 31
  161. #define TT_MAC_ID_UNINTERP 32
  162. /**************************************************************************
  163. *
  164. * @enum:
  165. * TT_ISO_ID_XXX
  166. *
  167. * @description:
  168. * A list of valid values for the `encoding_id` for @TT_PLATFORM_ISO
  169. * charmaps and name entries.
  170. *
  171. * Their use is now deprecated.
  172. *
  173. * @values:
  174. * TT_ISO_ID_7BIT_ASCII ::
  175. * ASCII.
  176. * TT_ISO_ID_10646 ::
  177. * ISO/10646.
  178. * TT_ISO_ID_8859_1 ::
  179. * Also known as Latin-1.
  180. */
  181. #define TT_ISO_ID_7BIT_ASCII 0
  182. #define TT_ISO_ID_10646 1
  183. #define TT_ISO_ID_8859_1 2
  184. /**************************************************************************
  185. *
  186. * @enum:
  187. * TT_MS_ID_XXX
  188. *
  189. * @description:
  190. * A list of valid values for the `encoding_id` for
  191. * @TT_PLATFORM_MICROSOFT charmaps and name entries.
  192. *
  193. * @values:
  194. * TT_MS_ID_SYMBOL_CS ::
  195. * Microsoft symbol encoding. See @FT_ENCODING_MS_SYMBOL.
  196. *
  197. * TT_MS_ID_UNICODE_CS ::
  198. * Microsoft WGL4 charmap, matching Unicode. See @FT_ENCODING_UNICODE.
  199. *
  200. * TT_MS_ID_SJIS ::
  201. * Shift JIS Japanese encoding. See @FT_ENCODING_SJIS.
  202. *
  203. * TT_MS_ID_PRC ::
  204. * Chinese encodings as used in the People's Republic of China (PRC).
  205. * This means the encodings GB~2312 and its supersets GBK and GB~18030.
  206. * See @FT_ENCODING_PRC.
  207. *
  208. * TT_MS_ID_BIG_5 ::
  209. * Traditional Chinese as used in Taiwan and Hong Kong. See
  210. * @FT_ENCODING_BIG5.
  211. *
  212. * TT_MS_ID_WANSUNG ::
  213. * Korean Extended Wansung encoding. See @FT_ENCODING_WANSUNG.
  214. *
  215. * TT_MS_ID_JOHAB ::
  216. * Korean Johab encoding. See @FT_ENCODING_JOHAB.
  217. *
  218. * TT_MS_ID_UCS_4 ::
  219. * UCS-4 or UTF-32 charmaps. This has been added to the OpenType
  220. * specification version 1.4 (mid-2001).
  221. */
  222. #define TT_MS_ID_SYMBOL_CS 0
  223. #define TT_MS_ID_UNICODE_CS 1
  224. #define TT_MS_ID_SJIS 2
  225. #define TT_MS_ID_PRC 3
  226. #define TT_MS_ID_BIG_5 4
  227. #define TT_MS_ID_WANSUNG 5
  228. #define TT_MS_ID_JOHAB 6
  229. #define TT_MS_ID_UCS_4 10
  230. /* this value is deprecated */
  231. #define TT_MS_ID_GB2312 TT_MS_ID_PRC
  232. /**************************************************************************
  233. *
  234. * @enum:
  235. * TT_ADOBE_ID_XXX
  236. *
  237. * @description:
  238. * A list of valid values for the `encoding_id` for @TT_PLATFORM_ADOBE
  239. * charmaps. This is a FreeType-specific extension!
  240. *
  241. * @values:
  242. * TT_ADOBE_ID_STANDARD ::
  243. * Adobe standard encoding.
  244. * TT_ADOBE_ID_EXPERT ::
  245. * Adobe expert encoding.
  246. * TT_ADOBE_ID_CUSTOM ::
  247. * Adobe custom encoding.
  248. * TT_ADOBE_ID_LATIN_1 ::
  249. * Adobe Latin~1 encoding.
  250. */
  251. #define TT_ADOBE_ID_STANDARD 0
  252. #define TT_ADOBE_ID_EXPERT 1
  253. #define TT_ADOBE_ID_CUSTOM 2
  254. #define TT_ADOBE_ID_LATIN_1 3
  255. /**************************************************************************
  256. *
  257. * @enum:
  258. * TT_MAC_LANGID_XXX
  259. *
  260. * @description:
  261. * Possible values of the language identifier field in the name records
  262. * of the SFNT 'name' table if the 'platform' identifier code is
  263. * @TT_PLATFORM_MACINTOSH. These values are also used as return values
  264. * for function @FT_Get_CMap_Language_ID.
  265. *
  266. * The canonical source for Apple's IDs is
  267. *
  268. * https://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6name.html
  269. */
  270. #define TT_MAC_LANGID_ENGLISH 0
  271. #define TT_MAC_LANGID_FRENCH 1
  272. #define TT_MAC_LANGID_GERMAN 2
  273. #define TT_MAC_LANGID_ITALIAN 3
  274. #define TT_MAC_LANGID_DUTCH 4
  275. #define TT_MAC_LANGID_SWEDISH 5
  276. #define TT_MAC_LANGID_SPANISH 6
  277. #define TT_MAC_LANGID_DANISH 7
  278. #define TT_MAC_LANGID_PORTUGUESE 8
  279. #define TT_MAC_LANGID_NORWEGIAN 9
  280. #define TT_MAC_LANGID_HEBREW 10
  281. #define TT_MAC_LANGID_JAPANESE 11
  282. #define TT_MAC_LANGID_ARABIC 12
  283. #define TT_MAC_LANGID_FINNISH 13
  284. #define TT_MAC_LANGID_GREEK 14
  285. #define TT_MAC_LANGID_ICELANDIC 15
  286. #define TT_MAC_LANGID_MALTESE 16
  287. #define TT_MAC_LANGID_TURKISH 17
  288. #define TT_MAC_LANGID_CROATIAN 18
  289. #define TT_MAC_LANGID_CHINESE_TRADITIONAL 19
  290. #define TT_MAC_LANGID_URDU 20
  291. #define TT_MAC_LANGID_HINDI 21
  292. #define TT_MAC_LANGID_THAI 22
  293. #define TT_MAC_LANGID_KOREAN 23
  294. #define TT_MAC_LANGID_LITHUANIAN 24
  295. #define TT_MAC_LANGID_POLISH 25
  296. #define TT_MAC_LANGID_HUNGARIAN 26
  297. #define TT_MAC_LANGID_ESTONIAN 27
  298. #define TT_MAC_LANGID_LETTISH 28
  299. #define TT_MAC_LANGID_SAAMISK 29
  300. #define TT_MAC_LANGID_FAEROESE 30
  301. #define TT_MAC_LANGID_FARSI 31
  302. #define TT_MAC_LANGID_RUSSIAN 32
  303. #define TT_MAC_LANGID_CHINESE_SIMPLIFIED 33
  304. #define TT_MAC_LANGID_FLEMISH 34
  305. #define TT_MAC_LANGID_IRISH 35
  306. #define TT_MAC_LANGID_ALBANIAN 36
  307. #define TT_MAC_LANGID_ROMANIAN 37
  308. #define TT_MAC_LANGID_CZECH 38
  309. #define TT_MAC_LANGID_SLOVAK 39
  310. #define TT_MAC_LANGID_SLOVENIAN 40
  311. #define TT_MAC_LANGID_YIDDISH 41
  312. #define TT_MAC_LANGID_SERBIAN 42
  313. #define TT_MAC_LANGID_MACEDONIAN 43
  314. #define TT_MAC_LANGID_BULGARIAN 44
  315. #define TT_MAC_LANGID_UKRAINIAN 45
  316. #define TT_MAC_LANGID_BYELORUSSIAN 46
  317. #define TT_MAC_LANGID_UZBEK 47
  318. #define TT_MAC_LANGID_KAZAKH 48
  319. #define TT_MAC_LANGID_AZERBAIJANI 49
  320. #define TT_MAC_LANGID_AZERBAIJANI_CYRILLIC_SCRIPT 49
  321. #define TT_MAC_LANGID_AZERBAIJANI_ARABIC_SCRIPT 50
  322. #define TT_MAC_LANGID_ARMENIAN 51
  323. #define TT_MAC_LANGID_GEORGIAN 52
  324. #define TT_MAC_LANGID_MOLDAVIAN 53
  325. #define TT_MAC_LANGID_KIRGHIZ 54
  326. #define TT_MAC_LANGID_TAJIKI 55
  327. #define TT_MAC_LANGID_TURKMEN 56
  328. #define TT_MAC_LANGID_MONGOLIAN 57
  329. #define TT_MAC_LANGID_MONGOLIAN_MONGOLIAN_SCRIPT 57
  330. #define TT_MAC_LANGID_MONGOLIAN_CYRILLIC_SCRIPT 58
  331. #define TT_MAC_LANGID_PASHTO 59
  332. #define TT_MAC_LANGID_KURDISH 60
  333. #define TT_MAC_LANGID_KASHMIRI 61
  334. #define TT_MAC_LANGID_SINDHI 62
  335. #define TT_MAC_LANGID_TIBETAN 63
  336. #define TT_MAC_LANGID_NEPALI 64
  337. #define TT_MAC_LANGID_SANSKRIT 65
  338. #define TT_MAC_LANGID_MARATHI 66
  339. #define TT_MAC_LANGID_BENGALI 67
  340. #define TT_MAC_LANGID_ASSAMESE 68
  341. #define TT_MAC_LANGID_GUJARATI 69
  342. #define TT_MAC_LANGID_PUNJABI 70
  343. #define TT_MAC_LANGID_ORIYA 71
  344. #define TT_MAC_LANGID_MALAYALAM 72
  345. #define TT_MAC_LANGID_KANNADA 73
  346. #define TT_MAC_LANGID_TAMIL 74
  347. #define TT_MAC_LANGID_TELUGU 75
  348. #define TT_MAC_LANGID_SINHALESE 76
  349. #define TT_MAC_LANGID_BURMESE 77
  350. #define TT_MAC_LANGID_KHMER 78
  351. #define TT_MAC_LANGID_LAO 79
  352. #define TT_MAC_LANGID_VIETNAMESE 80
  353. #define TT_MAC_LANGID_INDONESIAN 81
  354. #define TT_MAC_LANGID_TAGALOG 82
  355. #define TT_MAC_LANGID_MALAY_ROMAN_SCRIPT 83
  356. #define TT_MAC_LANGID_MALAY_ARABIC_SCRIPT 84
  357. #define TT_MAC_LANGID_AMHARIC 85
  358. #define TT_MAC_LANGID_TIGRINYA 86
  359. #define TT_MAC_LANGID_GALLA 87
  360. #define TT_MAC_LANGID_SOMALI 88
  361. #define TT_MAC_LANGID_SWAHILI 89
  362. #define TT_MAC_LANGID_RUANDA 90
  363. #define TT_MAC_LANGID_RUNDI 91
  364. #define TT_MAC_LANGID_CHEWA 92
  365. #define TT_MAC_LANGID_MALAGASY 93
  366. #define TT_MAC_LANGID_ESPERANTO 94
  367. #define TT_MAC_LANGID_WELSH 128
  368. #define TT_MAC_LANGID_BASQUE 129
  369. #define TT_MAC_LANGID_CATALAN 130
  370. #define TT_MAC_LANGID_LATIN 131
  371. #define TT_MAC_LANGID_QUECHUA 132
  372. #define TT_MAC_LANGID_GUARANI 133
  373. #define TT_MAC_LANGID_AYMARA 134
  374. #define TT_MAC_LANGID_TATAR 135
  375. #define TT_MAC_LANGID_UIGHUR 136
  376. #define TT_MAC_LANGID_DZONGKHA 137
  377. #define TT_MAC_LANGID_JAVANESE 138
  378. #define TT_MAC_LANGID_SUNDANESE 139
  379. /* The following codes are new as of 2000-03-10 */
  380. #define TT_MAC_LANGID_GALICIAN 140
  381. #define TT_MAC_LANGID_AFRIKAANS 141
  382. #define TT_MAC_LANGID_BRETON 142
  383. #define TT_MAC_LANGID_INUKTITUT 143
  384. #define TT_MAC_LANGID_SCOTTISH_GAELIC 144
  385. #define TT_MAC_LANGID_MANX_GAELIC 145
  386. #define TT_MAC_LANGID_IRISH_GAELIC 146
  387. #define TT_MAC_LANGID_TONGAN 147
  388. #define TT_MAC_LANGID_GREEK_POLYTONIC 148
  389. #define TT_MAC_LANGID_GREELANDIC 149
  390. #define TT_MAC_LANGID_AZERBAIJANI_ROMAN_SCRIPT 150
  391. /**************************************************************************
  392. *
  393. * @enum:
  394. * TT_MS_LANGID_XXX
  395. *
  396. * @description:
  397. * Possible values of the language identifier field in the name records
  398. * of the SFNT 'name' table if the 'platform' identifier code is
  399. * @TT_PLATFORM_MICROSOFT. These values are also used as return values
  400. * for function @FT_Get_CMap_Language_ID.
  401. *
  402. * The canonical source for Microsoft's IDs is
  403. *
  404. * https://docs.microsoft.com/en-us/windows/desktop/Intl/language-identifier-constants-and-strings ,
  405. *
  406. * however, we only provide macros for language identifiers present in
  407. * the OpenType specification: Microsoft has abandoned the concept of
  408. * LCIDs (language code identifiers), and format~1 of the 'name' table
  409. * provides a better mechanism for languages not covered here.
  410. *
  411. * More legacy values not listed in the reference can be found in the
  412. * @FT_TRUETYPE_IDS_H header file.
  413. */
  414. #define TT_MS_LANGID_ARABIC_SAUDI_ARABIA 0x0401
  415. #define TT_MS_LANGID_ARABIC_IRAQ 0x0801
  416. #define TT_MS_LANGID_ARABIC_EGYPT 0x0C01
  417. #define TT_MS_LANGID_ARABIC_LIBYA 0x1001
  418. #define TT_MS_LANGID_ARABIC_ALGERIA 0x1401
  419. #define TT_MS_LANGID_ARABIC_MOROCCO 0x1801
  420. #define TT_MS_LANGID_ARABIC_TUNISIA 0x1C01
  421. #define TT_MS_LANGID_ARABIC_OMAN 0x2001
  422. #define TT_MS_LANGID_ARABIC_YEMEN 0x2401
  423. #define TT_MS_LANGID_ARABIC_SYRIA 0x2801
  424. #define TT_MS_LANGID_ARABIC_JORDAN 0x2C01
  425. #define TT_MS_LANGID_ARABIC_LEBANON 0x3001
  426. #define TT_MS_LANGID_ARABIC_KUWAIT 0x3401
  427. #define TT_MS_LANGID_ARABIC_UAE 0x3801
  428. #define TT_MS_LANGID_ARABIC_BAHRAIN 0x3C01
  429. #define TT_MS_LANGID_ARABIC_QATAR 0x4001
  430. #define TT_MS_LANGID_BULGARIAN_BULGARIA 0x0402
  431. #define TT_MS_LANGID_CATALAN_CATALAN 0x0403
  432. #define TT_MS_LANGID_CHINESE_TAIWAN 0x0404
  433. #define TT_MS_LANGID_CHINESE_PRC 0x0804
  434. #define TT_MS_LANGID_CHINESE_HONG_KONG 0x0C04
  435. #define TT_MS_LANGID_CHINESE_SINGAPORE 0x1004
  436. #define TT_MS_LANGID_CHINESE_MACAO 0x1404
  437. #define TT_MS_LANGID_CZECH_CZECH_REPUBLIC 0x0405
  438. #define TT_MS_LANGID_DANISH_DENMARK 0x0406
  439. #define TT_MS_LANGID_GERMAN_GERMANY 0x0407
  440. #define TT_MS_LANGID_GERMAN_SWITZERLAND 0x0807
  441. #define TT_MS_LANGID_GERMAN_AUSTRIA 0x0C07
  442. #define TT_MS_LANGID_GERMAN_LUXEMBOURG 0x1007
  443. #define TT_MS_LANGID_GERMAN_LIECHTENSTEIN 0x1407
  444. #define TT_MS_LANGID_GREEK_GREECE 0x0408
  445. #define TT_MS_LANGID_ENGLISH_UNITED_STATES 0x0409
  446. #define TT_MS_LANGID_ENGLISH_UNITED_KINGDOM 0x0809
  447. #define TT_MS_LANGID_ENGLISH_AUSTRALIA 0x0C09
  448. #define TT_MS_LANGID_ENGLISH_CANADA 0x1009
  449. #define TT_MS_LANGID_ENGLISH_NEW_ZEALAND 0x1409
  450. #define TT_MS_LANGID_ENGLISH_IRELAND 0x1809
  451. #define TT_MS_LANGID_ENGLISH_SOUTH_AFRICA 0x1C09
  452. #define TT_MS_LANGID_ENGLISH_JAMAICA 0x2009
  453. #define TT_MS_LANGID_ENGLISH_CARIBBEAN 0x2409
  454. #define TT_MS_LANGID_ENGLISH_BELIZE 0x2809
  455. #define TT_MS_LANGID_ENGLISH_TRINIDAD 0x2C09
  456. #define TT_MS_LANGID_ENGLISH_ZIMBABWE 0x3009
  457. #define TT_MS_LANGID_ENGLISH_PHILIPPINES 0x3409
  458. #define TT_MS_LANGID_ENGLISH_INDIA 0x4009
  459. #define TT_MS_LANGID_ENGLISH_MALAYSIA 0x4409
  460. #define TT_MS_LANGID_ENGLISH_SINGAPORE 0x4809
  461. #define TT_MS_LANGID_SPANISH_SPAIN_TRADITIONAL_SORT 0x040A
  462. #define TT_MS_LANGID_SPANISH_MEXICO 0x080A
  463. #define TT_MS_LANGID_SPANISH_SPAIN_MODERN_SORT 0x0C0A
  464. #define TT_MS_LANGID_SPANISH_GUATEMALA 0x100A
  465. #define TT_MS_LANGID_SPANISH_COSTA_RICA 0x140A
  466. #define TT_MS_LANGID_SPANISH_PANAMA 0x180A
  467. #define TT_MS_LANGID_SPANISH_DOMINICAN_REPUBLIC 0x1C0A
  468. #define TT_MS_LANGID_SPANISH_VENEZUELA 0x200A
  469. #define TT_MS_LANGID_SPANISH_COLOMBIA 0x240A
  470. #define TT_MS_LANGID_SPANISH_PERU 0x280A
  471. #define TT_MS_LANGID_SPANISH_ARGENTINA 0x2C0A
  472. #define TT_MS_LANGID_SPANISH_ECUADOR 0x300A
  473. #define TT_MS_LANGID_SPANISH_CHILE 0x340A
  474. #define TT_MS_LANGID_SPANISH_URUGUAY 0x380A
  475. #define TT_MS_LANGID_SPANISH_PARAGUAY 0x3C0A
  476. #define TT_MS_LANGID_SPANISH_BOLIVIA 0x400A
  477. #define TT_MS_LANGID_SPANISH_EL_SALVADOR 0x440A
  478. #define TT_MS_LANGID_SPANISH_HONDURAS 0x480A
  479. #define TT_MS_LANGID_SPANISH_NICARAGUA 0x4C0A
  480. #define TT_MS_LANGID_SPANISH_PUERTO_RICO 0x500A
  481. #define TT_MS_LANGID_SPANISH_UNITED_STATES 0x540A
  482. #define TT_MS_LANGID_FINNISH_FINLAND 0x040B
  483. #define TT_MS_LANGID_FRENCH_FRANCE 0x040C
  484. #define TT_MS_LANGID_FRENCH_BELGIUM 0x080C
  485. #define TT_MS_LANGID_FRENCH_CANADA 0x0C0C
  486. #define TT_MS_LANGID_FRENCH_SWITZERLAND 0x100C
  487. #define TT_MS_LANGID_FRENCH_LUXEMBOURG 0x140C
  488. #define TT_MS_LANGID_FRENCH_MONACO 0x180C
  489. #define TT_MS_LANGID_HEBREW_ISRAEL 0x040D
  490. #define TT_MS_LANGID_HUNGARIAN_HUNGARY 0x040E
  491. #define TT_MS_LANGID_ICELANDIC_ICELAND 0x040F
  492. #define TT_MS_LANGID_ITALIAN_ITALY 0x0410
  493. #define TT_MS_LANGID_ITALIAN_SWITZERLAND 0x0810
  494. #define TT_MS_LANGID_JAPANESE_JAPAN 0x0411
  495. #define TT_MS_LANGID_KOREAN_KOREA 0x0412
  496. #define TT_MS_LANGID_DUTCH_NETHERLANDS 0x0413
  497. #define TT_MS_LANGID_DUTCH_BELGIUM 0x0813
  498. #define TT_MS_LANGID_NORWEGIAN_NORWAY_BOKMAL 0x0414
  499. #define TT_MS_LANGID_NORWEGIAN_NORWAY_NYNORSK 0x0814
  500. #define TT_MS_LANGID_POLISH_POLAND 0x0415
  501. #define TT_MS_LANGID_PORTUGUESE_BRAZIL 0x0416
  502. #define TT_MS_LANGID_PORTUGUESE_PORTUGAL 0x0816
  503. #define TT_MS_LANGID_ROMANSH_SWITZERLAND 0x0417
  504. #define TT_MS_LANGID_ROMANIAN_ROMANIA 0x0418
  505. #define TT_MS_LANGID_RUSSIAN_RUSSIA 0x0419
  506. #define TT_MS_LANGID_CROATIAN_CROATIA 0x041A
  507. #define TT_MS_LANGID_SERBIAN_SERBIA_LATIN 0x081A
  508. #define TT_MS_LANGID_SERBIAN_SERBIA_CYRILLIC 0x0C1A
  509. #define TT_MS_LANGID_CROATIAN_BOSNIA_HERZEGOVINA 0x101A
  510. #define TT_MS_LANGID_BOSNIAN_BOSNIA_HERZEGOVINA 0x141A
  511. #define TT_MS_LANGID_SERBIAN_BOSNIA_HERZ_LATIN 0x181A
  512. #define TT_MS_LANGID_SERBIAN_BOSNIA_HERZ_CYRILLIC 0x1C1A
  513. #define TT_MS_LANGID_BOSNIAN_BOSNIA_HERZ_CYRILLIC 0x201A
  514. #define TT_MS_LANGID_SLOVAK_SLOVAKIA 0x041B
  515. #define TT_MS_LANGID_ALBANIAN_ALBANIA 0x041C
  516. #define TT_MS_LANGID_SWEDISH_SWEDEN 0x041D
  517. #define TT_MS_LANGID_SWEDISH_FINLAND 0x081D
  518. #define TT_MS_LANGID_THAI_THAILAND 0x041E
  519. #define TT_MS_LANGID_TURKISH_TURKEY 0x041F
  520. #define TT_MS_LANGID_URDU_PAKISTAN 0x0420
  521. #define TT_MS_LANGID_INDONESIAN_INDONESIA 0x0421
  522. #define TT_MS_LANGID_UKRAINIAN_UKRAINE 0x0422
  523. #define TT_MS_LANGID_BELARUSIAN_BELARUS 0x0423
  524. #define TT_MS_LANGID_SLOVENIAN_SLOVENIA 0x0424
  525. #define TT_MS_LANGID_ESTONIAN_ESTONIA 0x0425
  526. #define TT_MS_LANGID_LATVIAN_LATVIA 0x0426
  527. #define TT_MS_LANGID_LITHUANIAN_LITHUANIA 0x0427
  528. #define TT_MS_LANGID_TAJIK_TAJIKISTAN 0x0428
  529. #define TT_MS_LANGID_VIETNAMESE_VIET_NAM 0x042A
  530. #define TT_MS_LANGID_ARMENIAN_ARMENIA 0x042B
  531. #define TT_MS_LANGID_AZERI_AZERBAIJAN_LATIN 0x042C
  532. #define TT_MS_LANGID_AZERI_AZERBAIJAN_CYRILLIC 0x082C
  533. #define TT_MS_LANGID_BASQUE_BASQUE 0x042D
  534. #define TT_MS_LANGID_UPPER_SORBIAN_GERMANY 0x042E
  535. #define TT_MS_LANGID_LOWER_SORBIAN_GERMANY 0x082E
  536. #define TT_MS_LANGID_MACEDONIAN_MACEDONIA 0x042F
  537. #define TT_MS_LANGID_SETSWANA_SOUTH_AFRICA 0x0432
  538. #define TT_MS_LANGID_ISIXHOSA_SOUTH_AFRICA 0x0434
  539. #define TT_MS_LANGID_ISIZULU_SOUTH_AFRICA 0x0435
  540. #define TT_MS_LANGID_AFRIKAANS_SOUTH_AFRICA 0x0436
  541. #define TT_MS_LANGID_GEORGIAN_GEORGIA 0x0437
  542. #define TT_MS_LANGID_FAEROESE_FAEROE_ISLANDS 0x0438
  543. #define TT_MS_LANGID_HINDI_INDIA 0x0439
  544. #define TT_MS_LANGID_MALTESE_MALTA 0x043A
  545. #define TT_MS_LANGID_SAMI_NORTHERN_NORWAY 0x043B
  546. #define TT_MS_LANGID_SAMI_NORTHERN_SWEDEN 0x083B
  547. #define TT_MS_LANGID_SAMI_NORTHERN_FINLAND 0x0C3B
  548. #define TT_MS_LANGID_SAMI_LULE_NORWAY 0x103B
  549. #define TT_MS_LANGID_SAMI_LULE_SWEDEN 0x143B
  550. #define TT_MS_LANGID_SAMI_SOUTHERN_NORWAY 0x183B
  551. #define TT_MS_LANGID_SAMI_SOUTHERN_SWEDEN 0x1C3B
  552. #define TT_MS_LANGID_SAMI_SKOLT_FINLAND 0x203B
  553. #define TT_MS_LANGID_SAMI_INARI_FINLAND 0x243B
  554. #define TT_MS_LANGID_IRISH_IRELAND 0x083C
  555. #define TT_MS_LANGID_MALAY_MALAYSIA 0x043E
  556. #define TT_MS_LANGID_MALAY_BRUNEI_DARUSSALAM 0x083E
  557. #define TT_MS_LANGID_KAZAKH_KAZAKHSTAN 0x043F
  558. #define TT_MS_LANGID_KYRGYZ_KYRGYZSTAN /* Cyrillic */ 0x0440
  559. #define TT_MS_LANGID_KISWAHILI_KENYA 0x0441
  560. #define TT_MS_LANGID_TURKMEN_TURKMENISTAN 0x0442
  561. #define TT_MS_LANGID_UZBEK_UZBEKISTAN_LATIN 0x0443
  562. #define TT_MS_LANGID_UZBEK_UZBEKISTAN_CYRILLIC 0x0843
  563. #define TT_MS_LANGID_TATAR_RUSSIA 0x0444
  564. #define TT_MS_LANGID_BENGALI_INDIA 0x0445
  565. #define TT_MS_LANGID_BENGALI_BANGLADESH 0x0845
  566. #define TT_MS_LANGID_PUNJABI_INDIA 0x0446
  567. #define TT_MS_LANGID_GUJARATI_INDIA 0x0447
  568. #define TT_MS_LANGID_ODIA_INDIA 0x0448
  569. #define TT_MS_LANGID_TAMIL_INDIA 0x0449
  570. #define TT_MS_LANGID_TELUGU_INDIA 0x044A
  571. #define TT_MS_LANGID_KANNADA_INDIA 0x044B
  572. #define TT_MS_LANGID_MALAYALAM_INDIA 0x044C
  573. #define TT_MS_LANGID_ASSAMESE_INDIA 0x044D
  574. #define TT_MS_LANGID_MARATHI_INDIA 0x044E
  575. #define TT_MS_LANGID_SANSKRIT_INDIA 0x044F
  576. #define TT_MS_LANGID_MONGOLIAN_MONGOLIA /* Cyrillic */ 0x0450
  577. #define TT_MS_LANGID_MONGOLIAN_PRC 0x0850
  578. #define TT_MS_LANGID_TIBETAN_PRC 0x0451
  579. #define TT_MS_LANGID_WELSH_UNITED_KINGDOM 0x0452
  580. #define TT_MS_LANGID_KHMER_CAMBODIA 0x0453
  581. #define TT_MS_LANGID_LAO_LAOS 0x0454
  582. #define TT_MS_LANGID_GALICIAN_GALICIAN 0x0456
  583. #define TT_MS_LANGID_KONKANI_INDIA 0x0457
  584. #define TT_MS_LANGID_SYRIAC_SYRIA 0x045A
  585. #define TT_MS_LANGID_SINHALA_SRI_LANKA 0x045B
  586. #define TT_MS_LANGID_INUKTITUT_CANADA 0x045D
  587. #define TT_MS_LANGID_INUKTITUT_CANADA_LATIN 0x085D
  588. #define TT_MS_LANGID_AMHARIC_ETHIOPIA 0x045E
  589. #define TT_MS_LANGID_TAMAZIGHT_ALGERIA 0x085F
  590. #define TT_MS_LANGID_NEPALI_NEPAL 0x0461
  591. #define TT_MS_LANGID_FRISIAN_NETHERLANDS 0x0462
  592. #define TT_MS_LANGID_PASHTO_AFGHANISTAN 0x0463
  593. #define TT_MS_LANGID_FILIPINO_PHILIPPINES 0x0464
  594. #define TT_MS_LANGID_DHIVEHI_MALDIVES 0x0465
  595. #define TT_MS_LANGID_HAUSA_NIGERIA 0x0468
  596. #define TT_MS_LANGID_YORUBA_NIGERIA 0x046A
  597. #define TT_MS_LANGID_QUECHUA_BOLIVIA 0x046B
  598. #define TT_MS_LANGID_QUECHUA_ECUADOR 0x086B
  599. #define TT_MS_LANGID_QUECHUA_PERU 0x0C6B
  600. #define TT_MS_LANGID_SESOTHO_SA_LEBOA_SOUTH_AFRICA 0x046C
  601. #define TT_MS_LANGID_BASHKIR_RUSSIA 0x046D
  602. #define TT_MS_LANGID_LUXEMBOURGISH_LUXEMBOURG 0x046E
  603. #define TT_MS_LANGID_GREENLANDIC_GREENLAND 0x046F
  604. #define TT_MS_LANGID_IGBO_NIGERIA 0x0470
  605. #define TT_MS_LANGID_YI_PRC 0x0478
  606. #define TT_MS_LANGID_MAPUDUNGUN_CHILE 0x047A
  607. #define TT_MS_LANGID_MOHAWK_MOHAWK 0x047C
  608. #define TT_MS_LANGID_BRETON_FRANCE 0x047E
  609. #define TT_MS_LANGID_UIGHUR_PRC 0x0480
  610. #define TT_MS_LANGID_MAORI_NEW_ZEALAND 0x0481
  611. #define TT_MS_LANGID_OCCITAN_FRANCE 0x0482
  612. #define TT_MS_LANGID_CORSICAN_FRANCE 0x0483
  613. #define TT_MS_LANGID_ALSATIAN_FRANCE 0x0484
  614. #define TT_MS_LANGID_YAKUT_RUSSIA 0x0485
  615. #define TT_MS_LANGID_KICHE_GUATEMALA 0x0486
  616. #define TT_MS_LANGID_KINYARWANDA_RWANDA 0x0487
  617. #define TT_MS_LANGID_WOLOF_SENEGAL 0x0488
  618. #define TT_MS_LANGID_DARI_AFGHANISTAN 0x048C
  619. /* */
  620. /* legacy macro definitions not present in OpenType 1.8.1 */
  621. #define TT_MS_LANGID_ARABIC_GENERAL 0x0001
  622. #define TT_MS_LANGID_CATALAN_SPAIN \
  623. TT_MS_LANGID_CATALAN_CATALAN
  624. #define TT_MS_LANGID_CHINESE_GENERAL 0x0004
  625. #define TT_MS_LANGID_CHINESE_MACAU \
  626. TT_MS_LANGID_CHINESE_MACAO
  627. #define TT_MS_LANGID_GERMAN_LIECHTENSTEI \
  628. TT_MS_LANGID_GERMAN_LIECHTENSTEIN
  629. #define TT_MS_LANGID_ENGLISH_GENERAL 0x0009
  630. #define TT_MS_LANGID_ENGLISH_INDONESIA 0x3809
  631. #define TT_MS_LANGID_ENGLISH_HONG_KONG 0x3C09
  632. #define TT_MS_LANGID_SPANISH_SPAIN_INTERNATIONAL_SORT \
  633. TT_MS_LANGID_SPANISH_SPAIN_MODERN_SORT
  634. #define TT_MS_LANGID_SPANISH_LATIN_AMERICA 0xE40AU
  635. #define TT_MS_LANGID_FRENCH_WEST_INDIES 0x1C0C
  636. #define TT_MS_LANGID_FRENCH_REUNION 0x200C
  637. #define TT_MS_LANGID_FRENCH_CONGO 0x240C
  638. /* which was formerly: */
  639. #define TT_MS_LANGID_FRENCH_ZAIRE \
  640. TT_MS_LANGID_FRENCH_CONGO
  641. #define TT_MS_LANGID_FRENCH_SENEGAL 0x280C
  642. #define TT_MS_LANGID_FRENCH_CAMEROON 0x2C0C
  643. #define TT_MS_LANGID_FRENCH_COTE_D_IVOIRE 0x300C
  644. #define TT_MS_LANGID_FRENCH_MALI 0x340C
  645. #define TT_MS_LANGID_FRENCH_MOROCCO 0x380C
  646. #define TT_MS_LANGID_FRENCH_HAITI 0x3C0C
  647. #define TT_MS_LANGID_FRENCH_NORTH_AFRICA 0xE40CU
  648. #define TT_MS_LANGID_KOREAN_EXTENDED_WANSUNG_KOREA \
  649. TT_MS_LANGID_KOREAN_KOREA
  650. #define TT_MS_LANGID_KOREAN_JOHAB_KOREA 0x0812
  651. #define TT_MS_LANGID_RHAETO_ROMANIC_SWITZERLAND \
  652. TT_MS_LANGID_ROMANSH_SWITZERLAND
  653. #define TT_MS_LANGID_MOLDAVIAN_MOLDAVIA 0x0818
  654. #define TT_MS_LANGID_RUSSIAN_MOLDAVIA 0x0819
  655. #define TT_MS_LANGID_URDU_INDIA 0x0820
  656. #define TT_MS_LANGID_CLASSIC_LITHUANIAN_LITHUANIA 0x0827
  657. #define TT_MS_LANGID_SLOVENE_SLOVENIA \
  658. TT_MS_LANGID_SLOVENIAN_SLOVENIA
  659. #define TT_MS_LANGID_FARSI_IRAN 0x0429
  660. #define TT_MS_LANGID_BASQUE_SPAIN \
  661. TT_MS_LANGID_BASQUE_BASQUE
  662. #define TT_MS_LANGID_SORBIAN_GERMANY \
  663. TT_MS_LANGID_UPPER_SORBIAN_GERMANY
  664. #define TT_MS_LANGID_SUTU_SOUTH_AFRICA 0x0430
  665. #define TT_MS_LANGID_TSONGA_SOUTH_AFRICA 0x0431
  666. #define TT_MS_LANGID_TSWANA_SOUTH_AFRICA \
  667. TT_MS_LANGID_SETSWANA_SOUTH_AFRICA
  668. #define TT_MS_LANGID_VENDA_SOUTH_AFRICA 0x0433
  669. #define TT_MS_LANGID_XHOSA_SOUTH_AFRICA \
  670. TT_MS_LANGID_ISIXHOSA_SOUTH_AFRICA
  671. #define TT_MS_LANGID_ZULU_SOUTH_AFRICA \
  672. TT_MS_LANGID_ISIZULU_SOUTH_AFRICA
  673. #define TT_MS_LANGID_SAAMI_LAPONIA 0x043B
  674. /* the next two values are incorrectly inverted */
  675. #define TT_MS_LANGID_IRISH_GAELIC_IRELAND 0x043C
  676. #define TT_MS_LANGID_SCOTTISH_GAELIC_UNITED_KINGDOM 0x083C
  677. #define TT_MS_LANGID_YIDDISH_GERMANY 0x043D
  678. #define TT_MS_LANGID_KAZAK_KAZAKSTAN \
  679. TT_MS_LANGID_KAZAKH_KAZAKHSTAN
  680. #define TT_MS_LANGID_KIRGHIZ_KIRGHIZ_REPUBLIC \
  681. TT_MS_LANGID_KYRGYZ_KYRGYZSTAN
  682. #define TT_MS_LANGID_KIRGHIZ_KIRGHIZSTAN \
  683. TT_MS_LANGID_KYRGYZ_KYRGYZSTAN
  684. #define TT_MS_LANGID_SWAHILI_KENYA \
  685. TT_MS_LANGID_KISWAHILI_KENYA
  686. #define TT_MS_LANGID_TATAR_TATARSTAN \
  687. TT_MS_LANGID_TATAR_RUSSIA
  688. #define TT_MS_LANGID_PUNJABI_ARABIC_PAKISTAN 0x0846
  689. #define TT_MS_LANGID_ORIYA_INDIA \
  690. TT_MS_LANGID_ODIA_INDIA
  691. #define TT_MS_LANGID_MONGOLIAN_MONGOLIA_MONGOLIAN \
  692. TT_MS_LANGID_MONGOLIAN_PRC
  693. #define TT_MS_LANGID_TIBETAN_CHINA \
  694. TT_MS_LANGID_TIBETAN_PRC
  695. #define TT_MS_LANGID_DZONGHKA_BHUTAN 0x0851
  696. #define TT_MS_LANGID_TIBETAN_BHUTAN \
  697. TT_MS_LANGID_DZONGHKA_BHUTAN
  698. #define TT_MS_LANGID_WELSH_WALES \
  699. TT_MS_LANGID_WELSH_UNITED_KINGDOM
  700. #define TT_MS_LANGID_BURMESE_MYANMAR 0x0455
  701. #define TT_MS_LANGID_GALICIAN_SPAIN \
  702. TT_MS_LANGID_GALICIAN_GALICIAN
  703. #define TT_MS_LANGID_MANIPURI_INDIA /* Bengali */ 0x0458
  704. #define TT_MS_LANGID_SINDHI_INDIA /* Arabic */ 0x0459
  705. #define TT_MS_LANGID_SINDHI_PAKISTAN 0x0859
  706. #define TT_MS_LANGID_SINHALESE_SRI_LANKA \
  707. TT_MS_LANGID_SINHALA_SRI_LANKA
  708. #define TT_MS_LANGID_CHEROKEE_UNITED_STATES 0x045C
  709. #define TT_MS_LANGID_TAMAZIGHT_MOROCCO /* Arabic */ 0x045F
  710. #define TT_MS_LANGID_TAMAZIGHT_MOROCCO_LATIN \
  711. TT_MS_LANGID_TAMAZIGHT_ALGERIA
  712. #define TT_MS_LANGID_KASHMIRI_PAKISTAN /* Arabic */ 0x0460
  713. #define TT_MS_LANGID_KASHMIRI_SASIA 0x0860
  714. #define TT_MS_LANGID_KASHMIRI_INDIA \
  715. TT_MS_LANGID_KASHMIRI_SASIA
  716. #define TT_MS_LANGID_NEPALI_INDIA 0x0861
  717. #define TT_MS_LANGID_DIVEHI_MALDIVES \
  718. TT_MS_LANGID_DHIVEHI_MALDIVES
  719. #define TT_MS_LANGID_EDO_NIGERIA 0x0466
  720. #define TT_MS_LANGID_FULFULDE_NIGERIA 0x0467
  721. #define TT_MS_LANGID_IBIBIO_NIGERIA 0x0469
  722. #define TT_MS_LANGID_SEPEDI_SOUTH_AFRICA \
  723. TT_MS_LANGID_SESOTHO_SA_LEBOA_SOUTH_AFRICA
  724. #define TT_MS_LANGID_SOTHO_SOUTHERN_SOUTH_AFRICA \
  725. TT_MS_LANGID_SESOTHO_SA_LEBOA_SOUTH_AFRICA
  726. #define TT_MS_LANGID_KANURI_NIGERIA 0x0471
  727. #define TT_MS_LANGID_OROMO_ETHIOPIA 0x0472
  728. #define TT_MS_LANGID_TIGRIGNA_ETHIOPIA 0x0473
  729. #define TT_MS_LANGID_TIGRIGNA_ERYTHREA 0x0873
  730. #define TT_MS_LANGID_TIGRIGNA_ERYTREA \
  731. TT_MS_LANGID_TIGRIGNA_ERYTHREA
  732. #define TT_MS_LANGID_GUARANI_PARAGUAY 0x0474
  733. #define TT_MS_LANGID_HAWAIIAN_UNITED_STATES 0x0475
  734. #define TT_MS_LANGID_LATIN 0x0476
  735. #define TT_MS_LANGID_SOMALI_SOMALIA 0x0477
  736. #define TT_MS_LANGID_YI_CHINA \
  737. TT_MS_LANGID_YI_PRC
  738. #define TT_MS_LANGID_PAPIAMENTU_NETHERLANDS_ANTILLES 0x0479
  739. #define TT_MS_LANGID_UIGHUR_CHINA \
  740. TT_MS_LANGID_UIGHUR_PRC
  741. /**************************************************************************
  742. *
  743. * @enum:
  744. * TT_NAME_ID_XXX
  745. *
  746. * @description:
  747. * Possible values of the 'name' identifier field in the name records of
  748. * an SFNT 'name' table. These values are platform independent.
  749. */
  750. #define TT_NAME_ID_COPYRIGHT 0
  751. #define TT_NAME_ID_FONT_FAMILY 1
  752. #define TT_NAME_ID_FONT_SUBFAMILY 2
  753. #define TT_NAME_ID_UNIQUE_ID 3
  754. #define TT_NAME_ID_FULL_NAME 4
  755. #define TT_NAME_ID_VERSION_STRING 5
  756. #define TT_NAME_ID_PS_NAME 6
  757. #define TT_NAME_ID_TRADEMARK 7
  758. /* the following values are from the OpenType spec */
  759. #define TT_NAME_ID_MANUFACTURER 8
  760. #define TT_NAME_ID_DESIGNER 9
  761. #define TT_NAME_ID_DESCRIPTION 10
  762. #define TT_NAME_ID_VENDOR_URL 11
  763. #define TT_NAME_ID_DESIGNER_URL 12
  764. #define TT_NAME_ID_LICENSE 13
  765. #define TT_NAME_ID_LICENSE_URL 14
  766. /* number 15 is reserved */
  767. #define TT_NAME_ID_TYPOGRAPHIC_FAMILY 16
  768. #define TT_NAME_ID_TYPOGRAPHIC_SUBFAMILY 17
  769. #define TT_NAME_ID_MAC_FULL_NAME 18
  770. /* The following code is new as of 2000-01-21 */
  771. #define TT_NAME_ID_SAMPLE_TEXT 19
  772. /* This is new in OpenType 1.3 */
  773. #define TT_NAME_ID_CID_FINDFONT_NAME 20
  774. /* This is new in OpenType 1.5 */
  775. #define TT_NAME_ID_WWS_FAMILY 21
  776. #define TT_NAME_ID_WWS_SUBFAMILY 22
  777. /* This is new in OpenType 1.7 */
  778. #define TT_NAME_ID_LIGHT_BACKGROUND 23
  779. #define TT_NAME_ID_DARK_BACKGROUND 24
  780. /* This is new in OpenType 1.8 */
  781. #define TT_NAME_ID_VARIATIONS_PREFIX 25
  782. /* these two values are deprecated */
  783. #define TT_NAME_ID_PREFERRED_FAMILY TT_NAME_ID_TYPOGRAPHIC_FAMILY
  784. #define TT_NAME_ID_PREFERRED_SUBFAMILY TT_NAME_ID_TYPOGRAPHIC_SUBFAMILY
  785. /**************************************************************************
  786. *
  787. * @enum:
  788. * TT_UCR_XXX
  789. *
  790. * @description:
  791. * Possible bit mask values for the `ulUnicodeRangeX` fields in an SFNT
  792. * 'OS/2' table.
  793. */
  794. /* ulUnicodeRange1 */
  795. /* --------------- */
  796. /* Bit 0 Basic Latin */
  797. #define TT_UCR_BASIC_LATIN (1L << 0) /* U+0020-U+007E */
  798. /* Bit 1 C1 Controls and Latin-1 Supplement */
  799. #define TT_UCR_LATIN1_SUPPLEMENT (1L << 1) /* U+0080-U+00FF */
  800. /* Bit 2 Latin Extended-A */
  801. #define TT_UCR_LATIN_EXTENDED_A (1L << 2) /* U+0100-U+017F */
  802. /* Bit 3 Latin Extended-B */
  803. #define TT_UCR_LATIN_EXTENDED_B (1L << 3) /* U+0180-U+024F */
  804. /* Bit 4 IPA Extensions */
  805. /* Phonetic Extensions */
  806. /* Phonetic Extensions Supplement */
  807. #define TT_UCR_IPA_EXTENSIONS (1L << 4) /* U+0250-U+02AF */
  808. /* U+1D00-U+1D7F */
  809. /* U+1D80-U+1DBF */
  810. /* Bit 5 Spacing Modifier Letters */
  811. /* Modifier Tone Letters */
  812. #define TT_UCR_SPACING_MODIFIER (1L << 5) /* U+02B0-U+02FF */
  813. /* U+A700-U+A71F */
  814. /* Bit 6 Combining Diacritical Marks */
  815. /* Combining Diacritical Marks Supplement */
  816. #define TT_UCR_COMBINING_DIACRITICAL_MARKS (1L << 6) /* U+0300-U+036F */
  817. /* U+1DC0-U+1DFF */
  818. /* Bit 7 Greek and Coptic */
  819. #define TT_UCR_GREEK (1L << 7) /* U+0370-U+03FF */
  820. /* Bit 8 Coptic */
  821. #define TT_UCR_COPTIC (1L << 8) /* U+2C80-U+2CFF */
  822. /* Bit 9 Cyrillic */
  823. /* Cyrillic Supplement */
  824. /* Cyrillic Extended-A */
  825. /* Cyrillic Extended-B */
  826. #define TT_UCR_CYRILLIC (1L << 9) /* U+0400-U+04FF */
  827. /* U+0500-U+052F */
  828. /* U+2DE0-U+2DFF */
  829. /* U+A640-U+A69F */
  830. /* Bit 10 Armenian */
  831. #define TT_UCR_ARMENIAN (1L << 10) /* U+0530-U+058F */
  832. /* Bit 11 Hebrew */
  833. #define TT_UCR_HEBREW (1L << 11) /* U+0590-U+05FF */
  834. /* Bit 12 Vai */
  835. #define TT_UCR_VAI (1L << 12) /* U+A500-U+A63F */
  836. /* Bit 13 Arabic */
  837. /* Arabic Supplement */
  838. #define TT_UCR_ARABIC (1L << 13) /* U+0600-U+06FF */
  839. /* U+0750-U+077F */
  840. /* Bit 14 NKo */
  841. #define TT_UCR_NKO (1L << 14) /* U+07C0-U+07FF */
  842. /* Bit 15 Devanagari */
  843. #define TT_UCR_DEVANAGARI (1L << 15) /* U+0900-U+097F */
  844. /* Bit 16 Bengali */
  845. #define TT_UCR_BENGALI (1L << 16) /* U+0980-U+09FF */
  846. /* Bit 17 Gurmukhi */
  847. #define TT_UCR_GURMUKHI (1L << 17) /* U+0A00-U+0A7F */
  848. /* Bit 18 Gujarati */
  849. #define TT_UCR_GUJARATI (1L << 18) /* U+0A80-U+0AFF */
  850. /* Bit 19 Oriya */
  851. #define TT_UCR_ORIYA (1L << 19) /* U+0B00-U+0B7F */
  852. /* Bit 20 Tamil */
  853. #define TT_UCR_TAMIL (1L << 20) /* U+0B80-U+0BFF */
  854. /* Bit 21 Telugu */
  855. #define TT_UCR_TELUGU (1L << 21) /* U+0C00-U+0C7F */
  856. /* Bit 22 Kannada */
  857. #define TT_UCR_KANNADA (1L << 22) /* U+0C80-U+0CFF */
  858. /* Bit 23 Malayalam */
  859. #define TT_UCR_MALAYALAM (1L << 23) /* U+0D00-U+0D7F */
  860. /* Bit 24 Thai */
  861. #define TT_UCR_THAI (1L << 24) /* U+0E00-U+0E7F */
  862. /* Bit 25 Lao */
  863. #define TT_UCR_LAO (1L << 25) /* U+0E80-U+0EFF */
  864. /* Bit 26 Georgian */
  865. /* Georgian Supplement */
  866. #define TT_UCR_GEORGIAN (1L << 26) /* U+10A0-U+10FF */
  867. /* U+2D00-U+2D2F */
  868. /* Bit 27 Balinese */
  869. #define TT_UCR_BALINESE (1L << 27) /* U+1B00-U+1B7F */
  870. /* Bit 28 Hangul Jamo */
  871. #define TT_UCR_HANGUL_JAMO (1L << 28) /* U+1100-U+11FF */
  872. /* Bit 29 Latin Extended Additional */
  873. /* Latin Extended-C */
  874. /* Latin Extended-D */
  875. #define TT_UCR_LATIN_EXTENDED_ADDITIONAL (1L << 29) /* U+1E00-U+1EFF */
  876. /* U+2C60-U+2C7F */
  877. /* U+A720-U+A7FF */
  878. /* Bit 30 Greek Extended */
  879. #define TT_UCR_GREEK_EXTENDED (1L << 30) /* U+1F00-U+1FFF */
  880. /* Bit 31 General Punctuation */
  881. /* Supplemental Punctuation */
  882. #define TT_UCR_GENERAL_PUNCTUATION (1L << 31) /* U+2000-U+206F */
  883. /* U+2E00-U+2E7F */
  884. /* ulUnicodeRange2 */
  885. /* --------------- */
  886. /* Bit 32 Superscripts And Subscripts */
  887. #define TT_UCR_SUPERSCRIPTS_SUBSCRIPTS (1L << 0) /* U+2070-U+209F */
  888. /* Bit 33 Currency Symbols */
  889. #define TT_UCR_CURRENCY_SYMBOLS (1L << 1) /* U+20A0-U+20CF */
  890. /* Bit 34 Combining Diacritical Marks For Symbols */
  891. #define TT_UCR_COMBINING_DIACRITICAL_MARKS_SYMB \
  892. (1L << 2) /* U+20D0-U+20FF */
  893. /* Bit 35 Letterlike Symbols */
  894. #define TT_UCR_LETTERLIKE_SYMBOLS (1L << 3) /* U+2100-U+214F */
  895. /* Bit 36 Number Forms */
  896. #define TT_UCR_NUMBER_FORMS (1L << 4) /* U+2150-U+218F */
  897. /* Bit 37 Arrows */
  898. /* Supplemental Arrows-A */
  899. /* Supplemental Arrows-B */
  900. /* Miscellaneous Symbols and Arrows */
  901. #define TT_UCR_ARROWS (1L << 5) /* U+2190-U+21FF */
  902. /* U+27F0-U+27FF */
  903. /* U+2900-U+297F */
  904. /* U+2B00-U+2BFF */
  905. /* Bit 38 Mathematical Operators */
  906. /* Supplemental Mathematical Operators */
  907. /* Miscellaneous Mathematical Symbols-A */
  908. /* Miscellaneous Mathematical Symbols-B */
  909. #define TT_UCR_MATHEMATICAL_OPERATORS (1L << 6) /* U+2200-U+22FF */
  910. /* U+2A00-U+2AFF */
  911. /* U+27C0-U+27EF */
  912. /* U+2980-U+29FF */
  913. /* Bit 39 Miscellaneous Technical */
  914. #define TT_UCR_MISCELLANEOUS_TECHNICAL (1L << 7) /* U+2300-U+23FF */
  915. /* Bit 40 Control Pictures */
  916. #define TT_UCR_CONTROL_PICTURES (1L << 8) /* U+2400-U+243F */
  917. /* Bit 41 Optical Character Recognition */
  918. #define TT_UCR_OCR (1L << 9) /* U+2440-U+245F */
  919. /* Bit 42 Enclosed Alphanumerics */
  920. #define TT_UCR_ENCLOSED_ALPHANUMERICS (1L << 10) /* U+2460-U+24FF */
  921. /* Bit 43 Box Drawing */
  922. #define TT_UCR_BOX_DRAWING (1L << 11) /* U+2500-U+257F */
  923. /* Bit 44 Block Elements */
  924. #define TT_UCR_BLOCK_ELEMENTS (1L << 12) /* U+2580-U+259F */
  925. /* Bit 45 Geometric Shapes */
  926. #define TT_UCR_GEOMETRIC_SHAPES (1L << 13) /* U+25A0-U+25FF */
  927. /* Bit 46 Miscellaneous Symbols */
  928. #define TT_UCR_MISCELLANEOUS_SYMBOLS (1L << 14) /* U+2600-U+26FF */
  929. /* Bit 47 Dingbats */
  930. #define TT_UCR_DINGBATS (1L << 15) /* U+2700-U+27BF */
  931. /* Bit 48 CJK Symbols and Punctuation */
  932. #define TT_UCR_CJK_SYMBOLS (1L << 16) /* U+3000-U+303F */
  933. /* Bit 49 Hiragana */
  934. #define TT_UCR_HIRAGANA (1L << 17) /* U+3040-U+309F */
  935. /* Bit 50 Katakana */
  936. /* Katakana Phonetic Extensions */
  937. #define TT_UCR_KATAKANA (1L << 18) /* U+30A0-U+30FF */
  938. /* U+31F0-U+31FF */
  939. /* Bit 51 Bopomofo */
  940. /* Bopomofo Extended */
  941. #define TT_UCR_BOPOMOFO (1L << 19) /* U+3100-U+312F */
  942. /* U+31A0-U+31BF */
  943. /* Bit 52 Hangul Compatibility Jamo */
  944. #define TT_UCR_HANGUL_COMPATIBILITY_JAMO (1L << 20) /* U+3130-U+318F */
  945. /* Bit 53 Phags-Pa */
  946. #define TT_UCR_CJK_MISC (1L << 21) /* U+A840-U+A87F */
  947. #define TT_UCR_KANBUN TT_UCR_CJK_MISC /* deprecated */
  948. #define TT_UCR_PHAGSPA
  949. /* Bit 54 Enclosed CJK Letters and Months */
  950. #define TT_UCR_ENCLOSED_CJK_LETTERS_MONTHS (1L << 22) /* U+3200-U+32FF */
  951. /* Bit 55 CJK Compatibility */
  952. #define TT_UCR_CJK_COMPATIBILITY (1L << 23) /* U+3300-U+33FF */
  953. /* Bit 56 Hangul Syllables */
  954. #define TT_UCR_HANGUL (1L << 24) /* U+AC00-U+D7A3 */
  955. /* Bit 57 High Surrogates */
  956. /* High Private Use Surrogates */
  957. /* Low Surrogates */
  958. /* According to OpenType specs v.1.3+, */
  959. /* setting bit 57 implies that there is */
  960. /* at least one codepoint beyond the */
  961. /* Basic Multilingual Plane that is */
  962. /* supported by this font. So it really */
  963. /* means >= U+10000. */
  964. #define TT_UCR_SURROGATES (1L << 25) /* U+D800-U+DB7F */
  965. /* U+DB80-U+DBFF */
  966. /* U+DC00-U+DFFF */
  967. #define TT_UCR_NON_PLANE_0 TT_UCR_SURROGATES
  968. /* Bit 58 Phoenician */
  969. #define TT_UCR_PHOENICIAN (1L << 26) /*U+10900-U+1091F*/
  970. /* Bit 59 CJK Unified Ideographs */
  971. /* CJK Radicals Supplement */
  972. /* Kangxi Radicals */
  973. /* Ideographic Description Characters */
  974. /* CJK Unified Ideographs Extension A */
  975. /* CJK Unified Ideographs Extension B */
  976. /* Kanbun */
  977. #define TT_UCR_CJK_UNIFIED_IDEOGRAPHS (1L << 27) /* U+4E00-U+9FFF */
  978. /* U+2E80-U+2EFF */
  979. /* U+2F00-U+2FDF */
  980. /* U+2FF0-U+2FFF */
  981. /* U+3400-U+4DB5 */
  982. /*U+20000-U+2A6DF*/
  983. /* U+3190-U+319F */
  984. /* Bit 60 Private Use */
  985. #define TT_UCR_PRIVATE_USE (1L << 28) /* U+E000-U+F8FF */
  986. /* Bit 61 CJK Strokes */
  987. /* CJK Compatibility Ideographs */
  988. /* CJK Compatibility Ideographs Supplement */
  989. #define TT_UCR_CJK_COMPATIBILITY_IDEOGRAPHS (1L << 29) /* U+31C0-U+31EF */
  990. /* U+F900-U+FAFF */
  991. /*U+2F800-U+2FA1F*/
  992. /* Bit 62 Alphabetic Presentation Forms */
  993. #define TT_UCR_ALPHABETIC_PRESENTATION_FORMS (1L << 30) /* U+FB00-U+FB4F */
  994. /* Bit 63 Arabic Presentation Forms-A */
  995. #define TT_UCR_ARABIC_PRESENTATION_FORMS_A (1L << 31) /* U+FB50-U+FDFF */
  996. /* ulUnicodeRange3 */
  997. /* --------------- */
  998. /* Bit 64 Combining Half Marks */
  999. #define TT_UCR_COMBINING_HALF_MARKS (1L << 0) /* U+FE20-U+FE2F */
  1000. /* Bit 65 Vertical forms */
  1001. /* CJK Compatibility Forms */
  1002. #define TT_UCR_CJK_COMPATIBILITY_FORMS (1L << 1) /* U+FE10-U+FE1F */
  1003. /* U+FE30-U+FE4F */
  1004. /* Bit 66 Small Form Variants */
  1005. #define TT_UCR_SMALL_FORM_VARIANTS (1L << 2) /* U+FE50-U+FE6F */
  1006. /* Bit 67 Arabic Presentation Forms-B */
  1007. #define TT_UCR_ARABIC_PRESENTATION_FORMS_B (1L << 3) /* U+FE70-U+FEFE */
  1008. /* Bit 68 Halfwidth and Fullwidth Forms */
  1009. #define TT_UCR_HALFWIDTH_FULLWIDTH_FORMS (1L << 4) /* U+FF00-U+FFEF */
  1010. /* Bit 69 Specials */
  1011. #define TT_UCR_SPECIALS (1L << 5) /* U+FFF0-U+FFFD */
  1012. /* Bit 70 Tibetan */
  1013. #define TT_UCR_TIBETAN (1L << 6) /* U+0F00-U+0FFF */
  1014. /* Bit 71 Syriac */
  1015. #define TT_UCR_SYRIAC (1L << 7) /* U+0700-U+074F */
  1016. /* Bit 72 Thaana */
  1017. #define TT_UCR_THAANA (1L << 8) /* U+0780-U+07BF */
  1018. /* Bit 73 Sinhala */
  1019. #define TT_UCR_SINHALA (1L << 9) /* U+0D80-U+0DFF */
  1020. /* Bit 74 Myanmar */
  1021. #define TT_UCR_MYANMAR (1L << 10) /* U+1000-U+109F */
  1022. /* Bit 75 Ethiopic */
  1023. /* Ethiopic Supplement */
  1024. /* Ethiopic Extended */
  1025. #define TT_UCR_ETHIOPIC (1L << 11) /* U+1200-U+137F */
  1026. /* U+1380-U+139F */
  1027. /* U+2D80-U+2DDF */
  1028. /* Bit 76 Cherokee */
  1029. #define TT_UCR_CHEROKEE (1L << 12) /* U+13A0-U+13FF */
  1030. /* Bit 77 Unified Canadian Aboriginal Syllabics */
  1031. #define TT_UCR_CANADIAN_ABORIGINAL_SYLLABICS (1L << 13) /* U+1400-U+167F */
  1032. /* Bit 78 Ogham */
  1033. #define TT_UCR_OGHAM (1L << 14) /* U+1680-U+169F */
  1034. /* Bit 79 Runic */
  1035. #define TT_UCR_RUNIC (1L << 15) /* U+16A0-U+16FF */
  1036. /* Bit 80 Khmer */
  1037. /* Khmer Symbols */
  1038. #define TT_UCR_KHMER (1L << 16) /* U+1780-U+17FF */
  1039. /* U+19E0-U+19FF */
  1040. /* Bit 81 Mongolian */
  1041. #define TT_UCR_MONGOLIAN (1L << 17) /* U+1800-U+18AF */
  1042. /* Bit 82 Braille Patterns */
  1043. #define TT_UCR_BRAILLE (1L << 18) /* U+2800-U+28FF */
  1044. /* Bit 83 Yi Syllables */
  1045. /* Yi Radicals */
  1046. #define TT_UCR_YI (1L << 19) /* U+A000-U+A48F */
  1047. /* U+A490-U+A4CF */
  1048. /* Bit 84 Tagalog */
  1049. /* Hanunoo */
  1050. /* Buhid */
  1051. /* Tagbanwa */
  1052. #define TT_UCR_PHILIPPINE (1L << 20) /* U+1700-U+171F */
  1053. /* U+1720-U+173F */
  1054. /* U+1740-U+175F */
  1055. /* U+1760-U+177F */
  1056. /* Bit 85 Old Italic */
  1057. #define TT_UCR_OLD_ITALIC (1L << 21) /*U+10300-U+1032F*/
  1058. /* Bit 86 Gothic */
  1059. #define TT_UCR_GOTHIC (1L << 22) /*U+10330-U+1034F*/
  1060. /* Bit 87 Deseret */
  1061. #define TT_UCR_DESERET (1L << 23) /*U+10400-U+1044F*/
  1062. /* Bit 88 Byzantine Musical Symbols */
  1063. /* Musical Symbols */
  1064. /* Ancient Greek Musical Notation */
  1065. #define TT_UCR_MUSICAL_SYMBOLS (1L << 24) /*U+1D000-U+1D0FF*/
  1066. /*U+1D100-U+1D1FF*/
  1067. /*U+1D200-U+1D24F*/
  1068. /* Bit 89 Mathematical Alphanumeric Symbols */
  1069. #define TT_UCR_MATH_ALPHANUMERIC_SYMBOLS (1L << 25) /*U+1D400-U+1D7FF*/
  1070. /* Bit 90 Private Use (plane 15) */
  1071. /* Private Use (plane 16) */
  1072. #define TT_UCR_PRIVATE_USE_SUPPLEMENTARY (1L << 26) /*U+F0000-U+FFFFD*/
  1073. /*U+100000-U+10FFFD*/
  1074. /* Bit 91 Variation Selectors */
  1075. /* Variation Selectors Supplement */
  1076. #define TT_UCR_VARIATION_SELECTORS (1L << 27) /* U+FE00-U+FE0F */
  1077. /*U+E0100-U+E01EF*/
  1078. /* Bit 92 Tags */
  1079. #define TT_UCR_TAGS (1L << 28) /*U+E0000-U+E007F*/
  1080. /* Bit 93 Limbu */
  1081. #define TT_UCR_LIMBU (1L << 29) /* U+1900-U+194F */
  1082. /* Bit 94 Tai Le */
  1083. #define TT_UCR_TAI_LE (1L << 30) /* U+1950-U+197F */
  1084. /* Bit 95 New Tai Lue */
  1085. #define TT_UCR_NEW_TAI_LUE (1L << 31) /* U+1980-U+19DF */
  1086. /* ulUnicodeRange4 */
  1087. /* --------------- */
  1088. /* Bit 96 Buginese */
  1089. #define TT_UCR_BUGINESE (1L << 0) /* U+1A00-U+1A1F */
  1090. /* Bit 97 Glagolitic */
  1091. #define TT_UCR_GLAGOLITIC (1L << 1) /* U+2C00-U+2C5F */
  1092. /* Bit 98 Tifinagh */
  1093. #define TT_UCR_TIFINAGH (1L << 2) /* U+2D30-U+2D7F */
  1094. /* Bit 99 Yijing Hexagram Symbols */
  1095. #define TT_UCR_YIJING (1L << 3) /* U+4DC0-U+4DFF */
  1096. /* Bit 100 Syloti Nagri */
  1097. #define TT_UCR_SYLOTI_NAGRI (1L << 4) /* U+A800-U+A82F */
  1098. /* Bit 101 Linear B Syllabary */
  1099. /* Linear B Ideograms */
  1100. /* Aegean Numbers */
  1101. #define TT_UCR_LINEAR_B (1L << 5) /*U+10000-U+1007F*/
  1102. /*U+10080-U+100FF*/
  1103. /*U+10100-U+1013F*/
  1104. /* Bit 102 Ancient Greek Numbers */
  1105. #define TT_UCR_ANCIENT_GREEK_NUMBERS (1L << 6) /*U+10140-U+1018F*/
  1106. /* Bit 103 Ugaritic */
  1107. #define TT_UCR_UGARITIC (1L << 7) /*U+10380-U+1039F*/
  1108. /* Bit 104 Old Persian */
  1109. #define TT_UCR_OLD_PERSIAN (1L << 8) /*U+103A0-U+103DF*/
  1110. /* Bit 105 Shavian */
  1111. #define TT_UCR_SHAVIAN (1L << 9) /*U+10450-U+1047F*/
  1112. /* Bit 106 Osmanya */
  1113. #define TT_UCR_OSMANYA (1L << 10) /*U+10480-U+104AF*/
  1114. /* Bit 107 Cypriot Syllabary */
  1115. #define TT_UCR_CYPRIOT_SYLLABARY (1L << 11) /*U+10800-U+1083F*/
  1116. /* Bit 108 Kharoshthi */
  1117. #define TT_UCR_KHAROSHTHI (1L << 12) /*U+10A00-U+10A5F*/
  1118. /* Bit 109 Tai Xuan Jing Symbols */
  1119. #define TT_UCR_TAI_XUAN_JING (1L << 13) /*U+1D300-U+1D35F*/
  1120. /* Bit 110 Cuneiform */
  1121. /* Cuneiform Numbers and Punctuation */
  1122. #define TT_UCR_CUNEIFORM (1L << 14) /*U+12000-U+123FF*/
  1123. /*U+12400-U+1247F*/
  1124. /* Bit 111 Counting Rod Numerals */
  1125. #define TT_UCR_COUNTING_ROD_NUMERALS (1L << 15) /*U+1D360-U+1D37F*/
  1126. /* Bit 112 Sundanese */
  1127. #define TT_UCR_SUNDANESE (1L << 16) /* U+1B80-U+1BBF */
  1128. /* Bit 113 Lepcha */
  1129. #define TT_UCR_LEPCHA (1L << 17) /* U+1C00-U+1C4F */
  1130. /* Bit 114 Ol Chiki */
  1131. #define TT_UCR_OL_CHIKI (1L << 18) /* U+1C50-U+1C7F */
  1132. /* Bit 115 Saurashtra */
  1133. #define TT_UCR_SAURASHTRA (1L << 19) /* U+A880-U+A8DF */
  1134. /* Bit 116 Kayah Li */
  1135. #define TT_UCR_KAYAH_LI (1L << 20) /* U+A900-U+A92F */
  1136. /* Bit 117 Rejang */
  1137. #define TT_UCR_REJANG (1L << 21) /* U+A930-U+A95F */
  1138. /* Bit 118 Cham */
  1139. #define TT_UCR_CHAM (1L << 22) /* U+AA00-U+AA5F */
  1140. /* Bit 119 Ancient Symbols */
  1141. #define TT_UCR_ANCIENT_SYMBOLS (1L << 23) /*U+10190-U+101CF*/
  1142. /* Bit 120 Phaistos Disc */
  1143. #define TT_UCR_PHAISTOS_DISC (1L << 24) /*U+101D0-U+101FF*/
  1144. /* Bit 121 Carian */
  1145. /* Lycian */
  1146. /* Lydian */
  1147. #define TT_UCR_OLD_ANATOLIAN (1L << 25) /*U+102A0-U+102DF*/
  1148. /*U+10280-U+1029F*/
  1149. /*U+10920-U+1093F*/
  1150. /* Bit 122 Domino Tiles */
  1151. /* Mahjong Tiles */
  1152. #define TT_UCR_GAME_TILES (1L << 26) /*U+1F030-U+1F09F*/
  1153. /*U+1F000-U+1F02F*/
  1154. /* Bit 123-127 Reserved for process-internal usage */
  1155. /* */
  1156. /* for backward compatibility with older FreeType versions */
  1157. #define TT_UCR_ARABIC_PRESENTATION_A \
  1158. TT_UCR_ARABIC_PRESENTATION_FORMS_A
  1159. #define TT_UCR_ARABIC_PRESENTATION_B \
  1160. TT_UCR_ARABIC_PRESENTATION_FORMS_B
  1161. #define TT_UCR_COMBINING_DIACRITICS \
  1162. TT_UCR_COMBINING_DIACRITICAL_MARKS
  1163. #define TT_UCR_COMBINING_DIACRITICS_SYMB \
  1164. TT_UCR_COMBINING_DIACRITICAL_MARKS_SYMB
  1165. FT_END_HEADER
  1166. #endif /* TTNAMEID_H_ */
  1167. /* END */