cairo 1.15.9-x86-mingw32 → 1.15.10-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (394) hide show
  1. checksums.yaml +4 -4
  2. data/NEWS +20 -0
  3. data/Rakefile +9 -7
  4. data/ext/cairo/rb_cairo.h +1 -1
  5. data/lib/2.2/cairo.so +0 -0
  6. data/lib/2.3/cairo.so +0 -0
  7. data/lib/2.4/cairo.so +0 -0
  8. data/lib/cairo.rb +3 -3
  9. data/test/cairo-test-utils.rb +8 -4
  10. data/test/test_context.rb +1 -1
  11. data/test/test_font_face.rb +1 -1
  12. data/test/test_recording_surface.rb +1 -0
  13. data/vendor/local/bin/fc-cache.exe +0 -0
  14. data/vendor/local/bin/fc-cat.exe +0 -0
  15. data/vendor/local/bin/fc-list.exe +0 -0
  16. data/vendor/local/bin/fc-match.exe +0 -0
  17. data/vendor/local/bin/fc-pattern.exe +0 -0
  18. data/vendor/local/bin/fc-query.exe +0 -0
  19. data/vendor/local/bin/fc-scan.exe +0 -0
  20. data/vendor/local/bin/fc-validate.exe +0 -0
  21. data/vendor/local/bin/freetype-config +78 -28
  22. data/vendor/local/bin/libcairo-2.dll +0 -0
  23. data/vendor/local/bin/libcairo-gobject-2.dll +0 -0
  24. data/vendor/local/bin/libcairo-script-interpreter-2.dll +0 -0
  25. data/vendor/local/bin/libfontconfig-1.dll +0 -0
  26. data/vendor/local/bin/libfreetype-6.dll +0 -0
  27. data/vendor/local/bin/libpixman-1-0.dll +0 -0
  28. data/vendor/local/bin/libpng-config +1 -1
  29. data/vendor/local/bin/libpng16-16.dll +0 -0
  30. data/vendor/local/bin/libpng16-config +1 -1
  31. data/vendor/local/bin/libxml2-2.dll +0 -0
  32. data/vendor/local/bin/png-fix-itxt.exe +0 -0
  33. data/vendor/local/bin/pngfix.exe +0 -0
  34. data/vendor/local/bin/xml2-config +1 -1
  35. data/vendor/local/bin/xmlcatalog.exe +0 -0
  36. data/vendor/local/bin/xmllint.exe +0 -0
  37. data/vendor/local/bin/zlib1211.dll +0 -0
  38. data/vendor/local/etc/fonts/conf.d/30-metric-aliases.conf +56 -16
  39. data/vendor/local/etc/fonts/conf.d/30-urw-aliases.conf +11 -2
  40. data/vendor/local/etc/fonts/conf.d/45-latin.conf +4 -0
  41. data/vendor/local/etc/fonts/conf.d/60-latin.conf +1 -0
  42. data/vendor/local/include/cairo/cairo-pdf.h +7 -8
  43. data/vendor/local/include/cairo/cairo-version.h +1 -1
  44. data/vendor/local/include/fontconfig/fontconfig.h +3 -2
  45. data/vendor/local/include/freetype2/freetype/config/ftconfig.h +10 -1
  46. data/vendor/local/include/freetype2/freetype/config/ftheader.h +14 -1
  47. data/vendor/local/include/freetype2/freetype/config/ftoption.h +79 -22
  48. data/vendor/local/include/freetype2/freetype/config/ftstdlib.h +1 -1
  49. data/vendor/local/include/freetype2/freetype/freetype.h +616 -400
  50. data/vendor/local/include/freetype2/freetype/ftadvanc.h +1 -1
  51. data/vendor/local/include/freetype2/freetype/ftautoh.h +32 -10
  52. data/vendor/local/include/freetype2/freetype/ftbbox.h +1 -1
  53. data/vendor/local/include/freetype2/freetype/ftbdf.h +1 -1
  54. data/vendor/local/include/freetype2/freetype/ftbitmap.h +1 -1
  55. data/vendor/local/include/freetype2/freetype/ftbzip2.h +1 -1
  56. data/vendor/local/include/freetype2/freetype/ftcache.h +1 -1
  57. data/vendor/local/include/freetype2/freetype/ftcffdrv.h +47 -1
  58. data/vendor/local/include/freetype2/freetype/ftchapters.h +1 -0
  59. data/vendor/local/include/freetype2/freetype/ftcid.h +1 -1
  60. data/vendor/local/include/freetype2/freetype/fterrdef.h +5 -1
  61. data/vendor/local/include/freetype2/freetype/fterrors.h +5 -5
  62. data/vendor/local/include/freetype2/freetype/ftfntfmt.h +1 -1
  63. data/vendor/local/include/freetype2/freetype/ftgasp.h +12 -4
  64. data/vendor/local/include/freetype2/freetype/ftglyph.h +11 -2
  65. data/vendor/local/include/freetype2/freetype/ftgxval.h +1 -1
  66. data/vendor/local/include/freetype2/freetype/ftgzip.h +1 -1
  67. data/vendor/local/include/freetype2/freetype/ftimage.h +12 -12
  68. data/vendor/local/include/freetype2/freetype/ftincrem.h +1 -1
  69. data/vendor/local/include/freetype2/freetype/ftlcdfil.h +46 -10
  70. data/vendor/local/include/freetype2/freetype/ftlist.h +1 -1
  71. data/vendor/local/include/freetype2/freetype/ftlzw.h +1 -1
  72. data/vendor/local/include/freetype2/freetype/ftmac.h +6 -5
  73. data/vendor/local/include/freetype2/freetype/ftmm.h +147 -58
  74. data/vendor/local/include/freetype2/freetype/ftmodapi.h +46 -3
  75. data/vendor/local/include/freetype2/freetype/ftmoderr.h +1 -1
  76. data/vendor/local/include/freetype2/freetype/ftotval.h +1 -1
  77. data/vendor/local/include/freetype2/freetype/ftoutln.h +4 -1
  78. data/vendor/local/include/freetype2/freetype/ftpcfdrv.h +105 -0
  79. data/vendor/local/include/freetype2/freetype/ftpfr.h +1 -1
  80. data/vendor/local/include/freetype2/freetype/ftrender.h +1 -1
  81. data/vendor/local/include/freetype2/freetype/ftsizes.h +1 -1
  82. data/vendor/local/include/freetype2/freetype/ftsnames.h +117 -30
  83. data/vendor/local/include/freetype2/freetype/ftstroke.h +2 -2
  84. data/vendor/local/include/freetype2/freetype/ftsynth.h +1 -1
  85. data/vendor/local/include/freetype2/freetype/ftsystem.h +1 -1
  86. data/vendor/local/include/freetype2/freetype/fttrigon.h +1 -1
  87. data/vendor/local/include/freetype2/freetype/ftttdrv.h +5 -6
  88. data/vendor/local/include/freetype2/freetype/fttypes.h +1 -1
  89. data/vendor/local/include/freetype2/freetype/ftwinfnt.h +1 -1
  90. data/vendor/local/include/freetype2/freetype/t1tables.h +3 -3
  91. data/vendor/local/include/freetype2/freetype/ttnameid.h +313 -314
  92. data/vendor/local/include/freetype2/freetype/tttables.h +190 -173
  93. data/vendor/local/include/freetype2/freetype/tttags.h +7 -1
  94. data/vendor/local/include/freetype2/freetype/ttunpat.h +2 -2
  95. data/vendor/local/include/freetype2/ft2build.h +1 -1
  96. data/vendor/local/include/libpng16/png.h +29 -18
  97. data/vendor/local/include/libpng16/pngconf.h +1 -1
  98. data/vendor/local/include/libpng16/pnglibconf.h +5 -2
  99. data/vendor/local/include/libxml2/libxml/HTMLparser.h +2 -2
  100. data/vendor/local/include/libxml2/libxml/schemasInternals.h +1 -1
  101. data/vendor/local/include/libxml2/libxml/xmlreader.h +1 -1
  102. data/vendor/local/include/libxml2/libxml/xmlversion.h +4 -4
  103. data/vendor/local/include/png.h +29 -18
  104. data/vendor/local/include/pngconf.h +1 -1
  105. data/vendor/local/include/pnglibconf.h +5 -2
  106. data/vendor/local/lib/cmake/libxml2/libxml2-config.cmake +2 -2
  107. data/vendor/local/lib/fontconfig.def +1 -1
  108. data/vendor/local/lib/libcairo-gobject.a +0 -0
  109. data/vendor/local/lib/libcairo-gobject.dll.a +0 -0
  110. data/vendor/local/lib/libcairo-gobject.la +2 -2
  111. data/vendor/local/lib/libcairo-script-interpreter.a +0 -0
  112. data/vendor/local/lib/libcairo-script-interpreter.dll.a +0 -0
  113. data/vendor/local/lib/libcairo-script-interpreter.la +2 -2
  114. data/vendor/local/lib/libcairo.a +0 -0
  115. data/vendor/local/lib/libcairo.dll.a +0 -0
  116. data/vendor/local/lib/libcairo.la +2 -2
  117. data/vendor/local/lib/libfontconfig.dll.a +0 -0
  118. data/vendor/local/lib/libfontconfig.la +1 -1
  119. data/vendor/local/lib/libfreetype.a +0 -0
  120. data/vendor/local/lib/libfreetype.dll.a +0 -0
  121. data/vendor/local/lib/libfreetype.la +2 -2
  122. data/vendor/local/lib/libpixman-1.dll.a +0 -0
  123. data/vendor/local/lib/libpng.a +0 -0
  124. data/vendor/local/lib/libpng.dll.a +0 -0
  125. data/vendor/local/lib/libpng.la +2 -2
  126. data/vendor/local/lib/libpng16.a +0 -0
  127. data/vendor/local/lib/libpng16.dll.a +0 -0
  128. data/vendor/local/lib/libpng16.la +2 -2
  129. data/vendor/local/lib/libxml2.a +0 -0
  130. data/vendor/local/lib/libxml2.dll.a +0 -0
  131. data/vendor/local/lib/libxml2.la +1 -1
  132. data/vendor/local/lib/libz.dll.a +0 -0
  133. data/vendor/local/lib/pkgconfig/cairo-fc.pc +1 -1
  134. data/vendor/local/lib/pkgconfig/cairo-ft.pc +1 -1
  135. data/vendor/local/lib/pkgconfig/cairo-gobject.pc +1 -1
  136. data/vendor/local/lib/pkgconfig/cairo-pdf.pc +1 -1
  137. data/vendor/local/lib/pkgconfig/cairo-png.pc +1 -1
  138. data/vendor/local/lib/pkgconfig/cairo-ps.pc +1 -1
  139. data/vendor/local/lib/pkgconfig/cairo-script.pc +1 -1
  140. data/vendor/local/lib/pkgconfig/cairo-svg.pc +1 -1
  141. data/vendor/local/lib/pkgconfig/cairo-win32-font.pc +1 -1
  142. data/vendor/local/lib/pkgconfig/cairo-win32.pc +1 -1
  143. data/vendor/local/lib/pkgconfig/cairo.pc +1 -1
  144. data/vendor/local/lib/pkgconfig/fontconfig.pc +2 -2
  145. data/vendor/local/lib/pkgconfig/freetype2.pc +1 -1
  146. data/vendor/local/lib/pkgconfig/libpng.pc +2 -1
  147. data/vendor/local/lib/pkgconfig/libpng16.pc +2 -1
  148. data/vendor/local/lib/pkgconfig/libxml-2.0.pc +1 -1
  149. data/vendor/local/lib/xml2Conf.sh +1 -1
  150. data/vendor/local/share/aclocal/freetype2.m4 +1 -1
  151. data/vendor/local/share/aclocal/libxml.m4 +1 -1
  152. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/Copyright +0 -0
  153. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/examples/testHTML.c +0 -0
  154. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/examples/testSAX.c +0 -0
  155. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/examples/testXPath.c +0 -0
  156. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/examples/xmllint.c +78 -78
  157. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/DOM.gif +0 -0
  158. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/FAQ.html +0 -0
  159. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/Libxml2-Logo-180x168.gif +0 -0
  160. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/Libxml2-Logo-90x34.gif +0 -0
  161. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/encoding.html +0 -0
  162. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/examples.xml +256 -256
  163. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/examples.xsl +0 -0
  164. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/book1.html +0 -0
  165. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/home.png +0 -0
  166. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/index.html +0 -0
  167. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/left.png +0 -0
  168. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/libxml-DOCBparser.html +0 -0
  169. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/libxml-HTMLparser.html +4 -4
  170. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/libxml-HTMLtree.html +0 -0
  171. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/libxml-SAX.html +0 -0
  172. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/libxml-SAX2.html +0 -0
  173. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/libxml-c14n.html +0 -0
  174. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/libxml-catalog.html +0 -0
  175. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/libxml-chvalid.html +0 -0
  176. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/libxml-debugXML.html +0 -0
  177. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/libxml-dict.html +2 -2
  178. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/libxml-encoding.html +0 -0
  179. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/libxml-entities.html +0 -0
  180. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/libxml-globals.html +0 -0
  181. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/libxml-hash.html +2 -2
  182. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/libxml-lib.html +0 -0
  183. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/libxml-list.html +2 -2
  184. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/libxml-nanoftp.html +0 -0
  185. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/libxml-nanohttp.html +0 -0
  186. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/libxml-parser.html +0 -0
  187. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/libxml-parserInternals.html +0 -0
  188. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/libxml-pattern.html +0 -0
  189. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/libxml-relaxng.html +0 -0
  190. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/libxml-schemasInternals.html +1 -1
  191. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/libxml-schematron.html +0 -0
  192. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/libxml-threads.html +0 -0
  193. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/libxml-tree.html +1 -1
  194. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/libxml-uri.html +0 -0
  195. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/libxml-valid.html +0 -0
  196. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/libxml-xinclude.html +0 -0
  197. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/libxml-xlink.html +0 -0
  198. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/libxml-xmlIO.html +0 -0
  199. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/libxml-xmlautomata.html +0 -0
  200. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/libxml-xmlerror.html +2 -2
  201. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/libxml-xmlexports.html +0 -0
  202. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/libxml-xmlmemory.html +0 -0
  203. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/libxml-xmlmodule.html +0 -0
  204. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/libxml-xmlreader.html +2 -2
  205. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/libxml-xmlregexp.html +0 -0
  206. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/libxml-xmlsave.html +0 -0
  207. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/libxml-xmlschemas.html +0 -0
  208. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/libxml-xmlschemastypes.html +0 -0
  209. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/libxml-xmlstring.html +3 -3
  210. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/libxml-xmlunicode.html +0 -0
  211. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/libxml-xmlversion.html +0 -0
  212. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/libxml-xmlwriter.html +0 -0
  213. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/libxml-xpath.html +1 -1
  214. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/libxml-xpathInternals.html +1 -1
  215. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/libxml-xpointer.html +1 -1
  216. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/libxml-xzlib.html +0 -0
  217. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/right.png +0 -0
  218. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/html/up.png +0 -0
  219. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/index.html +0 -0
  220. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/io1.c +0 -0
  221. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/io1.res +0 -0
  222. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/io2.c +0 -0
  223. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/io2.res +0 -0
  224. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/libxml.gif +0 -0
  225. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/parse1.c +0 -0
  226. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/parse2.c +0 -0
  227. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/parse3.c +0 -0
  228. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/parse4.c +0 -0
  229. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/reader1.c +0 -0
  230. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/reader1.res +0 -0
  231. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/reader2.c +0 -0
  232. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/reader3.c +0 -0
  233. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/reader3.res +0 -0
  234. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/reader4.c +0 -0
  235. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/reader4.res +0 -0
  236. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/redhat.gif +0 -0
  237. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/smallfootonly.gif +0 -0
  238. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/structure.gif +0 -0
  239. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/test1.xml +0 -0
  240. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/test2.xml +0 -0
  241. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/test3.xml +0 -0
  242. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/testWriter.c +16 -16
  243. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tree1.c +0 -0
  244. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tree1.res +0 -0
  245. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tree2.c +1 -2
  246. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tree2.res +0 -0
  247. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tst.xml +0 -0
  248. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tutorial/apa.html +0 -0
  249. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tutorial/apb.html +0 -0
  250. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tutorial/apc.html +0 -0
  251. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tutorial/apd.html +0 -0
  252. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tutorial/ape.html +0 -0
  253. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tutorial/apf.html +0 -0
  254. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tutorial/apg.html +0 -0
  255. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tutorial/aph.html +0 -0
  256. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tutorial/api.html +0 -0
  257. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tutorial/ar01s02.html +0 -0
  258. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tutorial/ar01s03.html +0 -0
  259. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tutorial/ar01s04.html +0 -0
  260. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tutorial/ar01s05.html +0 -0
  261. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tutorial/ar01s06.html +0 -0
  262. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tutorial/ar01s07.html +0 -0
  263. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tutorial/ar01s08.html +0 -0
  264. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tutorial/ar01s09.html +0 -0
  265. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tutorial/images/blank.png +0 -0
  266. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tutorial/images/callouts/1.png +0 -0
  267. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tutorial/images/callouts/10.png +0 -0
  268. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tutorial/images/callouts/2.png +0 -0
  269. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tutorial/images/callouts/3.png +0 -0
  270. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tutorial/images/callouts/4.png +0 -0
  271. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tutorial/images/callouts/5.png +0 -0
  272. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tutorial/images/callouts/6.png +0 -0
  273. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tutorial/images/callouts/7.png +0 -0
  274. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tutorial/images/callouts/8.png +0 -0
  275. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tutorial/images/callouts/9.png +0 -0
  276. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tutorial/images/caution.png +0 -0
  277. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tutorial/images/draft.png +0 -0
  278. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tutorial/images/home.png +0 -0
  279. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tutorial/images/important.png +0 -0
  280. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tutorial/images/next.png +0 -0
  281. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tutorial/images/note.png +0 -0
  282. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tutorial/images/prev.png +0 -0
  283. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tutorial/images/tip.png +0 -0
  284. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tutorial/images/toc-blank.png +0 -0
  285. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tutorial/images/toc-minus.png +0 -0
  286. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tutorial/images/toc-plus.png +0 -0
  287. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tutorial/images/up.png +0 -0
  288. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tutorial/images/warning.png +0 -0
  289. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tutorial/includeaddattribute.c +0 -0
  290. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tutorial/includeaddkeyword.c +0 -0
  291. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tutorial/includeconvert.c +0 -0
  292. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tutorial/includegetattribute.c +0 -0
  293. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tutorial/includekeyword.c +0 -0
  294. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tutorial/includexpath.c +0 -0
  295. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tutorial/index.html +0 -0
  296. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tutorial/ix01.html +0 -0
  297. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/tutorial/xmltutorial.pdf +0 -0
  298. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/w3c.png +0 -0
  299. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/writer.xml +0 -0
  300. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/xml.html +154 -8
  301. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/xpath1.c +0 -0
  302. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/xpath1.res +0 -0
  303. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/xpath2.c +0 -0
  304. data/vendor/local/share/doc/{libxml2-2.9.4 → libxml2-2.9.6}/html/xpath2.res +0 -0
  305. data/vendor/local/share/fontconfig/conf.avail/30-metric-aliases.conf +56 -16
  306. data/vendor/local/share/fontconfig/conf.avail/30-urw-aliases.conf +11 -2
  307. data/vendor/local/share/fontconfig/conf.avail/45-latin.conf +4 -0
  308. data/vendor/local/share/fontconfig/conf.avail/60-latin.conf +1 -0
  309. data/vendor/local/share/gtk-doc/html/cairo/bindings-errors.html +5 -6
  310. data/vendor/local/share/gtk-doc/html/cairo/bindings-fonts.html +5 -6
  311. data/vendor/local/share/gtk-doc/html/cairo/bindings-memory.html +5 -6
  312. data/vendor/local/share/gtk-doc/html/cairo/bindings-overloading.html +5 -6
  313. data/vendor/local/share/gtk-doc/html/cairo/bindings-path.html +5 -6
  314. data/vendor/local/share/gtk-doc/html/cairo/bindings-patterns.html +5 -6
  315. data/vendor/local/share/gtk-doc/html/cairo/bindings-return-values.html +5 -6
  316. data/vendor/local/share/gtk-doc/html/cairo/bindings-streams.html +5 -6
  317. data/vendor/local/share/gtk-doc/html/cairo/bindings-surfaces.html +5 -6
  318. data/vendor/local/share/gtk-doc/html/cairo/cairo-Error-handling.html +17 -25
  319. data/vendor/local/share/gtk-doc/html/cairo/cairo-FreeType-Fonts.html +42 -53
  320. data/vendor/local/share/gtk-doc/html/cairo/cairo-Image-Surfaces.html +48 -63
  321. data/vendor/local/share/gtk-doc/html/cairo/cairo-PDF-Surfaces.html +68 -78
  322. data/vendor/local/share/gtk-doc/html/cairo/cairo-PNG-Support.html +34 -47
  323. data/vendor/local/share/gtk-doc/html/cairo/cairo-Paths.html +82 -92
  324. data/vendor/local/share/gtk-doc/html/cairo/cairo-PostScript-Surfaces.html +50 -61
  325. data/vendor/local/share/gtk-doc/html/cairo/cairo-Quartz-(CGFont)-Fonts.html +18 -27
  326. data/vendor/local/share/gtk-doc/html/cairo/cairo-Quartz-Surfaces.html +22 -32
  327. data/vendor/local/share/gtk-doc/html/cairo/cairo-Raster-Sources.html +64 -79
  328. data/vendor/local/share/gtk-doc/html/cairo/cairo-Recording-Surfaces.html +21 -30
  329. data/vendor/local/share/gtk-doc/html/cairo/cairo-Regions.html +99 -125
  330. data/vendor/local/share/gtk-doc/html/cairo/cairo-SVG-Surfaces.html +31 -41
  331. data/vendor/local/share/gtk-doc/html/cairo/cairo-Script-Surfaces.html +43 -56
  332. data/vendor/local/share/gtk-doc/html/cairo/cairo-Tags-and-Links.html +23 -29
  333. data/vendor/local/share/gtk-doc/html/cairo/cairo-Transformations.html +41 -48
  334. data/vendor/local/share/gtk-doc/html/cairo/cairo-Types.html +19 -26
  335. data/vendor/local/share/gtk-doc/html/cairo/cairo-User-Fonts.html +56 -72
  336. data/vendor/local/share/gtk-doc/html/cairo/cairo-Version-Information.html +28 -39
  337. data/vendor/local/share/gtk-doc/html/cairo/cairo-Win32-Fonts.html +39 -51
  338. data/vendor/local/share/gtk-doc/html/cairo/cairo-Win32-Surfaces.html +34 -47
  339. data/vendor/local/share/gtk-doc/html/cairo/cairo-XCB-Surfaces.html +45 -57
  340. data/vendor/local/share/gtk-doc/html/cairo/cairo-XLib-Surfaces.html +62 -79
  341. data/vendor/local/share/gtk-doc/html/cairo/cairo-XLib-XRender-Backend.html +18 -27
  342. data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-device-t.html +53 -95
  343. data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-font-face-t.html +40 -53
  344. data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-font-options-t.html +71 -87
  345. data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-matrix-t.html +49 -57
  346. data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-pattern-t.html +158 -189
  347. data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-scaled-font-t.html +76 -92
  348. data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-surface-t.html +146 -164
  349. data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-t.html +234 -264
  350. data/vendor/local/share/gtk-doc/html/cairo/cairo-drawing.html +5 -6
  351. data/vendor/local/share/gtk-doc/html/cairo/cairo-fonts.html +5 -6
  352. data/vendor/local/share/gtk-doc/html/cairo/cairo-support.html +5 -6
  353. data/vendor/local/share/gtk-doc/html/cairo/cairo-surfaces.html +5 -6
  354. data/vendor/local/share/gtk-doc/html/cairo/cairo-text.html +104 -119
  355. data/vendor/local/share/gtk-doc/html/cairo/cairo.devhelp2 +236 -6
  356. data/vendor/local/share/gtk-doc/html/cairo/index-1.10.html +62 -63
  357. data/vendor/local/share/gtk-doc/html/cairo/index-1.12.html +69 -70
  358. data/vendor/local/share/gtk-doc/html/cairo/index-1.14.html +11 -12
  359. data/vendor/local/share/gtk-doc/html/cairo/index-1.2.html +59 -60
  360. data/vendor/local/share/gtk-doc/html/cairo/index-1.4.html +35 -36
  361. data/vendor/local/share/gtk-doc/html/cairo/index-1.6.html +28 -29
  362. data/vendor/local/share/gtk-doc/html/cairo/index-1.8.html +39 -40
  363. data/vendor/local/share/gtk-doc/html/cairo/index-all.html +510 -511
  364. data/vendor/local/share/gtk-doc/html/cairo/index.html +4 -5
  365. data/vendor/local/share/gtk-doc/html/cairo/language-bindings.html +5 -6
  366. data/vendor/local/share/gtk-doc/html/cairo/left-insensitive.png +0 -0
  367. data/vendor/local/share/gtk-doc/html/cairo/left.png +0 -0
  368. data/vendor/local/share/gtk-doc/html/cairo/right.png +0 -0
  369. data/vendor/local/share/gtk-doc/html/cairo/style.css +160 -142
  370. data/vendor/local/share/gtk-doc/html/cairo/up-insensitive.png +0 -0
  371. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-HTMLparser.html +4 -4
  372. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-dict.html +2 -2
  373. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-hash.html +2 -2
  374. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-list.html +2 -2
  375. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-schemasInternals.html +1 -1
  376. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-tree.html +1 -1
  377. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlerror.html +2 -2
  378. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlreader.html +2 -2
  379. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlstring.html +3 -3
  380. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xpath.html +1 -1
  381. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xpathInternals.html +1 -1
  382. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xpointer.html +1 -1
  383. data/vendor/local/share/license/cairo/README +1 -1
  384. data/vendor/local/share/license/fontconfig/README +58 -2
  385. data/vendor/local/share/license/freetype/README +5 -5
  386. data/vendor/local/share/license/freetype/README.git +1 -1
  387. data/vendor/local/share/license/libpng/README +6 -6
  388. data/vendor/local/share/license/libxml2/README.zOS +212 -0
  389. data/vendor/local/share/man/man1/freetype-config.1 +44 -6
  390. data/vendor/local/share/man/man3/libpng.3 +106 -48
  391. data/vendor/local/share/man/man3/libpngpf.3 +4 -4
  392. data/vendor/local/share/man/man5/png.5 +5 -5
  393. metadata +175 -174
  394. data/vendor/local/share/gtk-doc/html/cairo/index.sgml +0 -764
@@ -4,7 +4,7 @@
4
4
  /* */
5
5
  /* FreeType path stroker (specification). */
6
6
  /* */
7
- /* Copyright 2002-2016 by */
7
+ /* Copyright 2002-2017 by */
8
8
  /* David Turner, Robert Wilhelm, and Werner Lemberg. */
9
9
  /* */
10
10
  /* This file is part of the FreeType project, and may only be used, */
@@ -136,7 +136,7 @@ FT_BEGIN_HEADER
136
136
  * FT_STROKER_LINEJOIN_MITER_VARIABLE generates a mitered line
137
137
  * join as used in XPS. FT_STROKER_LINEJOIN_MITER is an alias
138
138
  * for FT_STROKER_LINEJOIN_MITER_VARIABLE, retained for
139
- * backwards compatibility.
139
+ * backward compatibility.
140
140
  */
141
141
  typedef enum FT_Stroker_LineJoin_
142
142
  {
@@ -5,7 +5,7 @@
5
5
  /* FreeType synthesizing code for emboldening and slanting */
6
6
  /* (specification). */
7
7
  /* */
8
- /* Copyright 2000-2016 by */
8
+ /* Copyright 2000-2017 by */
9
9
  /* David Turner, Robert Wilhelm, and Werner Lemberg. */
10
10
  /* */
11
11
  /* This file is part of the FreeType project, and may only be used, */
@@ -4,7 +4,7 @@
4
4
  /* */
5
5
  /* FreeType low-level system interface definition (specification). */
6
6
  /* */
7
- /* Copyright 1996-2016 by */
7
+ /* Copyright 1996-2017 by */
8
8
  /* David Turner, Robert Wilhelm, and Werner Lemberg. */
9
9
  /* */
10
10
  /* This file is part of the FreeType project, and may only be used, */
@@ -4,7 +4,7 @@
4
4
  /* */
5
5
  /* FreeType trigonometric functions (specification). */
6
6
  /* */
7
- /* Copyright 2001-2016 by */
7
+ /* Copyright 2001-2017 by */
8
8
  /* David Turner, Robert Wilhelm, and Werner Lemberg. */
9
9
  /* */
10
10
  /* This file is part of the FreeType project, and may only be used, */
@@ -5,7 +5,7 @@
5
5
  /* FreeType API for controlling the TrueType driver */
6
6
  /* (specification only). */
7
7
  /* */
8
- /* Copyright 2013-2016 by */
8
+ /* Copyright 2013-2017 by */
9
9
  /* David Turner, Robert Wilhelm, and Werner Lemberg. */
10
10
  /* */
11
11
  /* This file is part of the FreeType project, and may only be used, */
@@ -110,7 +110,7 @@ FT_BEGIN_HEADER
110
110
  * TrueType interpreter fully allows the advance width to be adjusted in
111
111
  * this mode, just the DWrite client will ignore those changes.
112
112
  *
113
- * _ClearType_ _Backwards_ _Compatibility_
113
+ * _ClearType_ _Backward_ _Compatibility_
114
114
  *
115
115
  * This is a set of exceptions made in the TrueType interpreter to
116
116
  * minimize hinting techniques that were problematic with the extra
@@ -118,9 +118,9 @@ FT_BEGIN_HEADER
118
118
  * http://www.beatstamm.com/typography/RTRCh4.htm#Sec1 and
119
119
  * http://www.microsoft.com/typography/cleartype/truetypecleartype.aspx.
120
120
  * This technique is not to be confused with ClearType compatible
121
- * widths. ClearType backwards compatibility has no direct impact on
121
+ * widths. ClearType backward compatibility has no direct impact on
122
122
  * changing advance widths, but there might be an indirect impact on
123
- * disabling some deltas. This could be worked around in backwards
123
+ * disabling some deltas. This could be worked around in backward
124
124
  * compatibility mode.
125
125
  *
126
126
  * _Native_ _ClearType_ _Mode_
@@ -138,7 +138,6 @@ FT_BEGIN_HEADER
138
138
  * interpreter-version
139
139
  *
140
140
  * @description:
141
-
142
141
  * Currently, three versions are available, two representing the
143
142
  * bytecode interpreter with subpixel hinting support (old `Infinality'
144
143
  * code and new stripped-down and higher performance `minimal' code) and
@@ -226,7 +225,7 @@ FT_BEGIN_HEADER
226
225
  * filtering.
227
226
  *
228
227
  * If FreeType has not been compiled with the configuration option
229
- * FT_CONFIG_OPTION_SUBPIXEL_HINTING, selecting version~38 or~40 causes
228
+ * TT_CONFIG_OPTION_SUBPIXEL_HINTING, selecting version~38 or~40 causes
230
229
  * an `FT_Err_Unimplemented_Feature' error.
231
230
  *
232
231
  * Depending on the graphics framework, Microsoft uses different
@@ -4,7 +4,7 @@
4
4
  /* */
5
5
  /* FreeType simple types definitions (specification only). */
6
6
  /* */
7
- /* Copyright 1996-2016 by */
7
+ /* Copyright 1996-2017 by */
8
8
  /* David Turner, Robert Wilhelm, and Werner Lemberg. */
9
9
  /* */
10
10
  /* This file is part of the FreeType project, and may only be used, */
@@ -4,7 +4,7 @@
4
4
  /* */
5
5
  /* FreeType API for accessing Windows fnt-specific data. */
6
6
  /* */
7
- /* Copyright 2003-2016 by */
7
+ /* Copyright 2003-2017 by */
8
8
  /* David Turner, Robert Wilhelm, and Werner Lemberg. */
9
9
  /* */
10
10
  /* This file is part of the FreeType project, and may only be used, */
@@ -5,7 +5,7 @@
5
5
  /* Basic Type 1/Type 2 tables definitions and interface (specification */
6
6
  /* only). */
7
7
  /* */
8
- /* Copyright 1996-2016 by */
8
+ /* Copyright 1996-2017 by */
9
9
  /* David Turner, Robert Wilhelm, and Werner Lemberg. */
10
10
  /* */
11
11
  /* This file is part of the FreeType project, and may only be used, */
@@ -291,7 +291,7 @@ FT_BEGIN_HEADER
291
291
 
292
292
  } PS_DesignMapRec, *PS_DesignMap;
293
293
 
294
- /* backwards-compatible definition */
294
+ /* backward compatible definition */
295
295
  typedef PS_DesignMapRec T1_DesignMap;
296
296
 
297
297
 
@@ -326,7 +326,7 @@ FT_BEGIN_HEADER
326
326
  } PS_BlendRec, *PS_Blend;
327
327
 
328
328
 
329
- /* backwards-compatible definition */
329
+ /* backward compatible definition */
330
330
  typedef PS_BlendRec T1_Blend;
331
331
 
332
332
 
@@ -4,7 +4,7 @@
4
4
  /* */
5
5
  /* TrueType name ID definitions (specification only). */
6
6
  /* */
7
- /* Copyright 1996-2016 by */
7
+ /* Copyright 1996-2017 by */
8
8
  /* David Turner, Robert Wilhelm, and Werner Lemberg. */
9
9
  /* */
10
10
  /* This file is part of the FreeType project, and may only be used, */
@@ -36,7 +36,7 @@ FT_BEGIN_HEADER
36
36
  /*************************************************************************/
37
37
  /* */
38
38
  /* Possible values for the `platform' identifier code in the name */
39
- /* records of the TTF `name' table. */
39
+ /* records of an SFNT `name' table. */
40
40
  /* */
41
41
  /*************************************************************************/
42
42
 
@@ -119,14 +119,19 @@ FT_BEGIN_HEADER
119
119
  * TT_APPLE_ID_VARIANT_SELECTOR ::
120
120
  * From Adobe, not Apple. Not a normal cmap. Specifies variations
121
121
  * on a real cmap.
122
+ *
123
+ * TT_APPLE_ID_FULL_UNICODE ::
124
+ * Used for fallback fonts that provide complete Unicode coverage with
125
+ * a type~13 cmap.
122
126
  */
123
127
 
124
- #define TT_APPLE_ID_DEFAULT 0 /* Unicode 1.0 */
125
- #define TT_APPLE_ID_UNICODE_1_1 1 /* specify Hangul at U+34xx */
126
- #define TT_APPLE_ID_ISO_10646 2 /* deprecated */
127
- #define TT_APPLE_ID_UNICODE_2_0 3 /* or later */
128
+ #define TT_APPLE_ID_DEFAULT 0 /* Unicode 1.0 */
129
+ #define TT_APPLE_ID_UNICODE_1_1 1 /* specify Hangul at U+34xx */
130
+ #define TT_APPLE_ID_ISO_10646 2 /* deprecated */
131
+ #define TT_APPLE_ID_UNICODE_2_0 3 /* or later */
128
132
  #define TT_APPLE_ID_UNICODE_32 4 /* 2.0 or later, full repertoire */
129
- #define TT_APPLE_ID_VARIANT_SELECTOR 5 /* variation selector data */
133
+ #define TT_APPLE_ID_VARIANT_SELECTOR 5 /* variation selector data */
134
+ #define TT_APPLE_ID_FULL_UNICODE 6 /* used with type 13 cmaps */
130
135
 
131
136
 
132
137
  /***********************************************************************
@@ -137,42 +142,6 @@ FT_BEGIN_HEADER
137
142
  * @description:
138
143
  * A list of valid values for the `encoding_id' for
139
144
  * @TT_PLATFORM_MACINTOSH charmaps and name entries.
140
- *
141
- * @values:
142
- * TT_MAC_ID_ROMAN ::
143
- * TT_MAC_ID_JAPANESE ::
144
- * TT_MAC_ID_TRADITIONAL_CHINESE ::
145
- * TT_MAC_ID_KOREAN ::
146
- * TT_MAC_ID_ARABIC ::
147
- * TT_MAC_ID_HEBREW ::
148
- * TT_MAC_ID_GREEK ::
149
- * TT_MAC_ID_RUSSIAN ::
150
- * TT_MAC_ID_RSYMBOL ::
151
- * TT_MAC_ID_DEVANAGARI ::
152
- * TT_MAC_ID_GURMUKHI ::
153
- * TT_MAC_ID_GUJARATI ::
154
- * TT_MAC_ID_ORIYA ::
155
- * TT_MAC_ID_BENGALI ::
156
- * TT_MAC_ID_TAMIL ::
157
- * TT_MAC_ID_TELUGU ::
158
- * TT_MAC_ID_KANNADA ::
159
- * TT_MAC_ID_MALAYALAM ::
160
- * TT_MAC_ID_SINHALESE ::
161
- * TT_MAC_ID_BURMESE ::
162
- * TT_MAC_ID_KHMER ::
163
- * TT_MAC_ID_THAI ::
164
- * TT_MAC_ID_LAOTIAN ::
165
- * TT_MAC_ID_GEORGIAN ::
166
- * TT_MAC_ID_ARMENIAN ::
167
- * TT_MAC_ID_MALDIVIAN ::
168
- * TT_MAC_ID_SIMPLIFIED_CHINESE ::
169
- * TT_MAC_ID_TIBETAN ::
170
- * TT_MAC_ID_MONGOLIAN ::
171
- * TT_MAC_ID_GEEZ ::
172
- * TT_MAC_ID_SLAVIC ::
173
- * TT_MAC_ID_VIETNAMESE ::
174
- * TT_MAC_ID_SINDHI ::
175
- * TT_MAC_ID_UNINTERP ::
176
145
  */
177
146
 
178
147
  #define TT_MAC_ID_ROMAN 0
@@ -247,44 +216,47 @@ FT_BEGIN_HEADER
247
216
  *
248
217
  * @values:
249
218
  * TT_MS_ID_SYMBOL_CS ::
250
- * Corresponds to Microsoft symbol encoding. See
251
- * @FT_ENCODING_MS_SYMBOL.
219
+ * Microsoft symbol encoding. See @FT_ENCODING_MS_SYMBOL.
252
220
  *
253
221
  * TT_MS_ID_UNICODE_CS ::
254
- * Corresponds to a Microsoft WGL4 charmap, matching Unicode. See
222
+ * Microsoft WGL4 charmap, matching Unicode. See
255
223
  * @FT_ENCODING_UNICODE.
256
224
  *
257
225
  * TT_MS_ID_SJIS ::
258
- * Corresponds to SJIS Japanese encoding. See @FT_ENCODING_SJIS.
226
+ * Shift JIS Japanese encoding. See @FT_ENCODING_SJIS.
259
227
  *
260
- * TT_MS_ID_GB2312 ::
261
- * Corresponds to Simplified Chinese as used in Mainland China. See
262
- * @FT_ENCODING_GB2312.
228
+ * TT_MS_ID_PRC ::
229
+ * Chinese encodings as used in the People's Republic of China (PRC).
230
+ * This means the encodings GB~2312 and its supersets GBK and
231
+ * GB~18030. See @FT_ENCODING_PRC.
263
232
  *
264
233
  * TT_MS_ID_BIG_5 ::
265
- * Corresponds to Traditional Chinese as used in Taiwan and Hong Kong.
266
- * See @FT_ENCODING_BIG5.
234
+ * Traditional Chinese as used in Taiwan and Hong Kong. See
235
+ * @FT_ENCODING_BIG5.
267
236
  *
268
237
  * TT_MS_ID_WANSUNG ::
269
- * Corresponds to Korean Wansung encoding. See @FT_ENCODING_WANSUNG.
238
+ * Korean Extended Wansung encoding. See @FT_ENCODING_WANSUNG.
270
239
  *
271
240
  * TT_MS_ID_JOHAB ::
272
- * Corresponds to Johab encoding. See @FT_ENCODING_JOHAB.
241
+ * Korean Johab encoding. See @FT_ENCODING_JOHAB.
273
242
  *
274
243
  * TT_MS_ID_UCS_4 ::
275
- * Corresponds to UCS-4 or UTF-32 charmaps. This has been added to
276
- * the OpenType specification version 1.4 (mid-2001.)
244
+ * UCS-4 or UTF-32 charmaps. This has been added to the OpenType
245
+ * specification version 1.4 (mid-2001).
277
246
  */
278
247
 
279
248
  #define TT_MS_ID_SYMBOL_CS 0
280
249
  #define TT_MS_ID_UNICODE_CS 1
281
250
  #define TT_MS_ID_SJIS 2
282
- #define TT_MS_ID_GB2312 3
251
+ #define TT_MS_ID_PRC 3
283
252
  #define TT_MS_ID_BIG_5 4
284
253
  #define TT_MS_ID_WANSUNG 5
285
254
  #define TT_MS_ID_JOHAB 6
286
255
  #define TT_MS_ID_UCS_4 10
287
256
 
257
+ /* this value is deprecated */
258
+ #define TT_MS_ID_GB2312 TT_MS_ID_PRC
259
+
288
260
 
289
261
  /***********************************************************************
290
262
  *
@@ -312,17 +284,22 @@ FT_BEGIN_HEADER
312
284
  #define TT_ADOBE_ID_LATIN_1 3
313
285
 
314
286
 
315
- /*************************************************************************/
316
- /* */
317
- /* Possible values of the language identifier field in the name records */
318
- /* of the TTF `name' table if the `platform' identifier code is */
319
- /* TT_PLATFORM_MACINTOSH. These values are also used as return values */
320
- /* for function @FT_Get_CMap_Language_ID. */
321
- /* */
322
- /* The canonical source for the Apple assigned Language ID's is at */
323
- /* */
324
- /* https://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6name.html */
325
- /* */
287
+ /***********************************************************************
288
+ *
289
+ * @enum:
290
+ * TT_MAC_LANGID_XXX
291
+ *
292
+ * @description:
293
+ * Possible values of the language identifier field in the name records
294
+ * of the SFNT `name' table if the `platform' identifier code is
295
+ * @TT_PLATFORM_MACINTOSH. These values are also used as return values
296
+ * for function @FT_Get_CMap_Language_ID.
297
+ *
298
+ * The canonical source for Apple's IDs is
299
+ *
300
+ * https://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6name.html
301
+ */
302
+
326
303
  #define TT_MAC_LANGID_ENGLISH 0
327
304
  #define TT_MAC_LANGID_FRENCH 1
328
305
  #define TT_MAC_LANGID_GERMAN 2
@@ -433,15 +410,6 @@ FT_BEGIN_HEADER
433
410
  #define TT_MAC_LANGID_JAVANESE 138
434
411
  #define TT_MAC_LANGID_SUNDANESE 139
435
412
 
436
-
437
- #if 0 /* these seem to be errors that have been dropped */
438
-
439
- #define TT_MAC_LANGID_SCOTTISH_GAELIC 140
440
- #define TT_MAC_LANGID_IRISH_GAELIC 141
441
-
442
- #endif
443
-
444
-
445
413
  /* The following codes are new as of 2000-03-10 */
446
414
  #define TT_MAC_LANGID_GALICIAN 140
447
415
  #define TT_MAC_LANGID_AFRIKAANS 141
@@ -456,18 +424,30 @@ FT_BEGIN_HEADER
456
424
  #define TT_MAC_LANGID_AZERBAIJANI_ROMAN_SCRIPT 150
457
425
 
458
426
 
459
- /*************************************************************************/
460
- /* */
461
- /* Possible values of the language identifier field in the name records */
462
- /* of the TTF `name' table if the `platform' identifier code is */
463
- /* TT_PLATFORM_MICROSOFT. */
464
- /* */
465
- /* The canonical source for the MS assigned LCIDs is */
466
- /* */
467
- /* http://www.microsoft.com/globaldev/reference/lcid-all.mspx */
468
- /* */
427
+ /***********************************************************************
428
+ *
429
+ * @enum:
430
+ * TT_MS_LANGID_XXX
431
+ *
432
+ * @description:
433
+ * Possible values of the language identifier field in the name records
434
+ * of the SFNT `name' table if the `platform' identifier code is
435
+ * @TT_PLATFORM_MICROSOFT. These values are also used as return values
436
+ * for function @FT_Get_CMap_Language_ID.
437
+ *
438
+ * The canonical source for Microsoft's IDs is
439
+ *
440
+ * http://www.microsoft.com/globaldev/reference/lcid-all.mspx ,
441
+ *
442
+ * however, we only provide macros for language identifiers present in
443
+ * the OpenType specification: Microsoft has abandoned the concept of
444
+ * LCIDs (language code identifiers), and format~1 of the `name' table
445
+ * provides a better mechanism for languages not covered here.
446
+ *
447
+ * More legacy values not listed in the reference can be found in the
448
+ * @FT_TRUETYPE_IDS_H header file.
449
+ */
469
450
 
470
- #define TT_MS_LANGID_ARABIC_GENERAL 0x0001
471
451
  #define TT_MS_LANGID_ARABIC_SAUDI_ARABIA 0x0401
472
452
  #define TT_MS_LANGID_ARABIC_IRAQ 0x0801
473
453
  #define TT_MS_LANGID_ARABIC_EGYPT 0x0C01
@@ -485,39 +465,20 @@ FT_BEGIN_HEADER
485
465
  #define TT_MS_LANGID_ARABIC_BAHRAIN 0x3C01
486
466
  #define TT_MS_LANGID_ARABIC_QATAR 0x4001
487
467
  #define TT_MS_LANGID_BULGARIAN_BULGARIA 0x0402
488
- #define TT_MS_LANGID_CATALAN_SPAIN 0x0403
489
- #define TT_MS_LANGID_CHINESE_GENERAL 0x0004
468
+ #define TT_MS_LANGID_CATALAN_CATALAN 0x0403
490
469
  #define TT_MS_LANGID_CHINESE_TAIWAN 0x0404
491
470
  #define TT_MS_LANGID_CHINESE_PRC 0x0804
492
471
  #define TT_MS_LANGID_CHINESE_HONG_KONG 0x0C04
493
472
  #define TT_MS_LANGID_CHINESE_SINGAPORE 0x1004
494
-
495
- #if 1 /* this looks like the correct value */
496
- #define TT_MS_LANGID_CHINESE_MACAU 0x1404
497
- #else /* but beware, Microsoft may change its mind...
498
- the most recent Word reference has the following: */
499
- #define TT_MS_LANGID_CHINESE_MACAU TT_MS_LANGID_CHINESE_HONG_KONG
500
- #endif
501
-
502
- #if 0 /* used only with .NET `cultures'; commented out */
503
- #define TT_MS_LANGID_CHINESE_TRADITIONAL 0x7C04
504
- #endif
505
-
473
+ #define TT_MS_LANGID_CHINESE_MACAO 0x1404
506
474
  #define TT_MS_LANGID_CZECH_CZECH_REPUBLIC 0x0405
507
475
  #define TT_MS_LANGID_DANISH_DENMARK 0x0406
508
476
  #define TT_MS_LANGID_GERMAN_GERMANY 0x0407
509
477
  #define TT_MS_LANGID_GERMAN_SWITZERLAND 0x0807
510
478
  #define TT_MS_LANGID_GERMAN_AUSTRIA 0x0C07
511
479
  #define TT_MS_LANGID_GERMAN_LUXEMBOURG 0x1007
512
- #define TT_MS_LANGID_GERMAN_LIECHTENSTEI 0x1407
480
+ #define TT_MS_LANGID_GERMAN_LIECHTENSTEIN 0x1407
513
481
  #define TT_MS_LANGID_GREEK_GREECE 0x0408
514
-
515
- /* don't ask what this one means... It is commented out currently. */
516
- #if 0
517
- #define TT_MS_LANGID_GREEK_GREECE2 0x2008
518
- #endif
519
-
520
- #define TT_MS_LANGID_ENGLISH_GENERAL 0x0009
521
482
  #define TT_MS_LANGID_ENGLISH_UNITED_STATES 0x0409
522
483
  #define TT_MS_LANGID_ENGLISH_UNITED_KINGDOM 0x0809
523
484
  #define TT_MS_LANGID_ENGLISH_AUSTRALIA 0x0C09
@@ -531,14 +492,12 @@ FT_BEGIN_HEADER
531
492
  #define TT_MS_LANGID_ENGLISH_TRINIDAD 0x2C09
532
493
  #define TT_MS_LANGID_ENGLISH_ZIMBABWE 0x3009
533
494
  #define TT_MS_LANGID_ENGLISH_PHILIPPINES 0x3409
534
- #define TT_MS_LANGID_ENGLISH_INDONESIA 0x3809
535
- #define TT_MS_LANGID_ENGLISH_HONG_KONG 0x3C09
536
495
  #define TT_MS_LANGID_ENGLISH_INDIA 0x4009
537
496
  #define TT_MS_LANGID_ENGLISH_MALAYSIA 0x4409
538
497
  #define TT_MS_LANGID_ENGLISH_SINGAPORE 0x4809
539
498
  #define TT_MS_LANGID_SPANISH_SPAIN_TRADITIONAL_SORT 0x040A
540
499
  #define TT_MS_LANGID_SPANISH_MEXICO 0x080A
541
- #define TT_MS_LANGID_SPANISH_SPAIN_INTERNATIONAL_SORT 0x0C0A
500
+ #define TT_MS_LANGID_SPANISH_SPAIN_MODERN_SORT 0x0C0A
542
501
  #define TT_MS_LANGID_SPANISH_GUATEMALA 0x100A
543
502
  #define TT_MS_LANGID_SPANISH_COSTA_RICA 0x140A
544
503
  #define TT_MS_LANGID_SPANISH_PANAMA 0x180A
@@ -557,9 +516,6 @@ FT_BEGIN_HEADER
557
516
  #define TT_MS_LANGID_SPANISH_NICARAGUA 0x4C0A
558
517
  #define TT_MS_LANGID_SPANISH_PUERTO_RICO 0x500A
559
518
  #define TT_MS_LANGID_SPANISH_UNITED_STATES 0x540A
560
- /* The following ID blatantly violate MS specs by using a */
561
- /* sublanguage > 0x1F. */
562
- #define TT_MS_LANGID_SPANISH_LATIN_AMERICA 0xE40AU
563
519
  #define TT_MS_LANGID_FINNISH_FINLAND 0x040B
564
520
  #define TT_MS_LANGID_FRENCH_FRANCE 0x040C
565
521
  #define TT_MS_LANGID_FRENCH_BELGIUM 0x080C
@@ -567,27 +523,13 @@ FT_BEGIN_HEADER
567
523
  #define TT_MS_LANGID_FRENCH_SWITZERLAND 0x100C
568
524
  #define TT_MS_LANGID_FRENCH_LUXEMBOURG 0x140C
569
525
  #define TT_MS_LANGID_FRENCH_MONACO 0x180C
570
- #define TT_MS_LANGID_FRENCH_WEST_INDIES 0x1C0C
571
- #define TT_MS_LANGID_FRENCH_REUNION 0x200C
572
- #define TT_MS_LANGID_FRENCH_CONGO 0x240C
573
- /* which was formerly: */
574
- #define TT_MS_LANGID_FRENCH_ZAIRE TT_MS_LANGID_FRENCH_CONGO
575
- #define TT_MS_LANGID_FRENCH_SENEGAL 0x280C
576
- #define TT_MS_LANGID_FRENCH_CAMEROON 0x2C0C
577
- #define TT_MS_LANGID_FRENCH_COTE_D_IVOIRE 0x300C
578
- #define TT_MS_LANGID_FRENCH_MALI 0x340C
579
- #define TT_MS_LANGID_FRENCH_MOROCCO 0x380C
580
- #define TT_MS_LANGID_FRENCH_HAITI 0x3C0C
581
- /* and another violation of the spec (see 0xE40AU) */
582
- #define TT_MS_LANGID_FRENCH_NORTH_AFRICA 0xE40CU
583
526
  #define TT_MS_LANGID_HEBREW_ISRAEL 0x040D
584
527
  #define TT_MS_LANGID_HUNGARIAN_HUNGARY 0x040E
585
528
  #define TT_MS_LANGID_ICELANDIC_ICELAND 0x040F
586
529
  #define TT_MS_LANGID_ITALIAN_ITALY 0x0410
587
530
  #define TT_MS_LANGID_ITALIAN_SWITZERLAND 0x0810
588
531
  #define TT_MS_LANGID_JAPANESE_JAPAN 0x0411
589
- #define TT_MS_LANGID_KOREAN_EXTENDED_WANSUNG_KOREA 0x0412
590
- #define TT_MS_LANGID_KOREAN_JOHAB_KOREA 0x0812
532
+ #define TT_MS_LANGID_KOREAN_KOREA 0x0412
591
533
  #define TT_MS_LANGID_DUTCH_NETHERLANDS 0x0413
592
534
  #define TT_MS_LANGID_DUTCH_BELGIUM 0x0813
593
535
  #define TT_MS_LANGID_NORWEGIAN_NORWAY_BOKMAL 0x0414
@@ -595,26 +537,17 @@ FT_BEGIN_HEADER
595
537
  #define TT_MS_LANGID_POLISH_POLAND 0x0415
596
538
  #define TT_MS_LANGID_PORTUGUESE_BRAZIL 0x0416
597
539
  #define TT_MS_LANGID_PORTUGUESE_PORTUGAL 0x0816
598
- #define TT_MS_LANGID_RHAETO_ROMANIC_SWITZERLAND 0x0417
540
+ #define TT_MS_LANGID_ROMANSH_SWITZERLAND 0x0417
599
541
  #define TT_MS_LANGID_ROMANIAN_ROMANIA 0x0418
600
- #define TT_MS_LANGID_MOLDAVIAN_MOLDAVIA 0x0818
601
542
  #define TT_MS_LANGID_RUSSIAN_RUSSIA 0x0419
602
- #define TT_MS_LANGID_RUSSIAN_MOLDAVIA 0x0819
603
543
  #define TT_MS_LANGID_CROATIAN_CROATIA 0x041A
604
544
  #define TT_MS_LANGID_SERBIAN_SERBIA_LATIN 0x081A
605
545
  #define TT_MS_LANGID_SERBIAN_SERBIA_CYRILLIC 0x0C1A
606
-
607
- #if 0 /* this used to be this value, but it looks like we were wrong */
608
- #define TT_MS_LANGID_BOSNIAN_BOSNIA_HERZEGOVINA 0x101A
609
- #else /* current sources say */
610
546
  #define TT_MS_LANGID_CROATIAN_BOSNIA_HERZEGOVINA 0x101A
611
547
  #define TT_MS_LANGID_BOSNIAN_BOSNIA_HERZEGOVINA 0x141A
612
- /* and XPsp2 Platform SDK added (2004-07-26) */
613
- /* Names are shortened to be significant within 40 chars. */
614
548
  #define TT_MS_LANGID_SERBIAN_BOSNIA_HERZ_LATIN 0x181A
615
- #define TT_MS_LANGID_SERBIAN_BOSNIA_HERZ_CYRILLIC 0x181A
616
- #endif
617
-
549
+ #define TT_MS_LANGID_SERBIAN_BOSNIA_HERZ_CYRILLIC 0x1C1A
550
+ #define TT_MS_LANGID_BOSNIAN_BOSNIA_HERZ_CYRILLIC 0x201A
618
551
  #define TT_MS_LANGID_SLOVAK_SLOVAKIA 0x041B
619
552
  #define TT_MS_LANGID_ALBANIAN_ALBANIA 0x041C
620
553
  #define TT_MS_LANGID_SWEDISH_SWEDEN 0x041D
@@ -622,36 +555,30 @@ FT_BEGIN_HEADER
622
555
  #define TT_MS_LANGID_THAI_THAILAND 0x041E
623
556
  #define TT_MS_LANGID_TURKISH_TURKEY 0x041F
624
557
  #define TT_MS_LANGID_URDU_PAKISTAN 0x0420
625
- #define TT_MS_LANGID_URDU_INDIA 0x0820
626
558
  #define TT_MS_LANGID_INDONESIAN_INDONESIA 0x0421
627
559
  #define TT_MS_LANGID_UKRAINIAN_UKRAINE 0x0422
628
560
  #define TT_MS_LANGID_BELARUSIAN_BELARUS 0x0423
629
- #define TT_MS_LANGID_SLOVENE_SLOVENIA 0x0424
561
+ #define TT_MS_LANGID_SLOVENIAN_SLOVENIA 0x0424
630
562
  #define TT_MS_LANGID_ESTONIAN_ESTONIA 0x0425
631
563
  #define TT_MS_LANGID_LATVIAN_LATVIA 0x0426
632
564
  #define TT_MS_LANGID_LITHUANIAN_LITHUANIA 0x0427
633
- #define TT_MS_LANGID_CLASSIC_LITHUANIAN_LITHUANIA 0x0827
634
565
  #define TT_MS_LANGID_TAJIK_TAJIKISTAN 0x0428
635
- #define TT_MS_LANGID_FARSI_IRAN 0x0429
636
566
  #define TT_MS_LANGID_VIETNAMESE_VIET_NAM 0x042A
637
567
  #define TT_MS_LANGID_ARMENIAN_ARMENIA 0x042B
638
568
  #define TT_MS_LANGID_AZERI_AZERBAIJAN_LATIN 0x042C
639
569
  #define TT_MS_LANGID_AZERI_AZERBAIJAN_CYRILLIC 0x082C
640
- #define TT_MS_LANGID_BASQUE_SPAIN 0x042D
641
- #define TT_MS_LANGID_SORBIAN_GERMANY 0x042E
570
+ #define TT_MS_LANGID_BASQUE_BASQUE 0x042D
571
+ #define TT_MS_LANGID_UPPER_SORBIAN_GERMANY 0x042E
572
+ #define TT_MS_LANGID_LOWER_SORBIAN_GERMANY 0x082E
642
573
  #define TT_MS_LANGID_MACEDONIAN_MACEDONIA 0x042F
643
- #define TT_MS_LANGID_SUTU_SOUTH_AFRICA 0x0430
644
- #define TT_MS_LANGID_TSONGA_SOUTH_AFRICA 0x0431
645
- #define TT_MS_LANGID_TSWANA_SOUTH_AFRICA 0x0432
646
- #define TT_MS_LANGID_VENDA_SOUTH_AFRICA 0x0433
647
- #define TT_MS_LANGID_XHOSA_SOUTH_AFRICA 0x0434
648
- #define TT_MS_LANGID_ZULU_SOUTH_AFRICA 0x0435
574
+ #define TT_MS_LANGID_SETSWANA_SOUTH_AFRICA 0x0432
575
+ #define TT_MS_LANGID_ISIXHOSA_SOUTH_AFRICA 0x0434
576
+ #define TT_MS_LANGID_ISIZULU_SOUTH_AFRICA 0x0435
649
577
  #define TT_MS_LANGID_AFRIKAANS_SOUTH_AFRICA 0x0436
650
578
  #define TT_MS_LANGID_GEORGIAN_GEORGIA 0x0437
651
579
  #define TT_MS_LANGID_FAEROESE_FAEROE_ISLANDS 0x0438
652
580
  #define TT_MS_LANGID_HINDI_INDIA 0x0439
653
581
  #define TT_MS_LANGID_MALTESE_MALTA 0x043A
654
- /* Added by XPsp2 Platform SDK (2004-07-26) */
655
582
  #define TT_MS_LANGID_SAMI_NORTHERN_NORWAY 0x043B
656
583
  #define TT_MS_LANGID_SAMI_NORTHERN_SWEDEN 0x083B
657
584
  #define TT_MS_LANGID_SAMI_NORTHERN_FINLAND 0x0C3B
@@ -661,37 +588,21 @@ FT_BEGIN_HEADER
661
588
  #define TT_MS_LANGID_SAMI_SOUTHERN_SWEDEN 0x1C3B
662
589
  #define TT_MS_LANGID_SAMI_SKOLT_FINLAND 0x203B
663
590
  #define TT_MS_LANGID_SAMI_INARI_FINLAND 0x243B
664
- /* ... and we also keep our old identifier... */
665
- #define TT_MS_LANGID_SAAMI_LAPONIA 0x043B
666
-
667
- #if 0 /* this seems to be a previous inversion */
668
- #define TT_MS_LANGID_IRISH_GAELIC_IRELAND 0x043C
669
- #define TT_MS_LANGID_SCOTTISH_GAELIC_UNITED_KINGDOM 0x083C
670
- #else
671
- #define TT_MS_LANGID_SCOTTISH_GAELIC_UNITED_KINGDOM 0x083C
672
- #define TT_MS_LANGID_IRISH_GAELIC_IRELAND 0x043C
673
- #endif
674
-
675
- #define TT_MS_LANGID_YIDDISH_GERMANY 0x043D
591
+ #define TT_MS_LANGID_IRISH_IRELAND 0x083C
676
592
  #define TT_MS_LANGID_MALAY_MALAYSIA 0x043E
677
593
  #define TT_MS_LANGID_MALAY_BRUNEI_DARUSSALAM 0x083E
678
- #define TT_MS_LANGID_KAZAK_KAZAKSTAN 0x043F
679
- #define TT_MS_LANGID_KIRGHIZ_KIRGHIZSTAN /* Cyrillic*/ 0x0440
680
- /* alias declared in Windows 2000 */
681
- #define TT_MS_LANGID_KIRGHIZ_KIRGHIZ_REPUBLIC \
682
- TT_MS_LANGID_KIRGHIZ_KIRGHIZSTAN
683
-
684
- #define TT_MS_LANGID_SWAHILI_KENYA 0x0441
594
+ #define TT_MS_LANGID_KAZAKH_KAZAKHSTAN 0x043F
595
+ #define TT_MS_LANGID_KYRGYZ_KYRGYZSTAN /* Cyrillic*/ 0x0440
596
+ #define TT_MS_LANGID_KISWAHILI_KENYA 0x0441
685
597
  #define TT_MS_LANGID_TURKMEN_TURKMENISTAN 0x0442
686
598
  #define TT_MS_LANGID_UZBEK_UZBEKISTAN_LATIN 0x0443
687
599
  #define TT_MS_LANGID_UZBEK_UZBEKISTAN_CYRILLIC 0x0843
688
- #define TT_MS_LANGID_TATAR_TATARSTAN 0x0444
600
+ #define TT_MS_LANGID_TATAR_RUSSIA 0x0444
689
601
  #define TT_MS_LANGID_BENGALI_INDIA 0x0445
690
602
  #define TT_MS_LANGID_BENGALI_BANGLADESH 0x0845
691
603
  #define TT_MS_LANGID_PUNJABI_INDIA 0x0446
692
- #define TT_MS_LANGID_PUNJABI_ARABIC_PAKISTAN 0x0846
693
604
  #define TT_MS_LANGID_GUJARATI_INDIA 0x0447
694
- #define TT_MS_LANGID_ORIYA_INDIA 0x0448
605
+ #define TT_MS_LANGID_ODIA_INDIA 0x0448
695
606
  #define TT_MS_LANGID_TAMIL_INDIA 0x0449
696
607
  #define TT_MS_LANGID_TELUGU_INDIA 0x044A
697
608
  #define TT_MS_LANGID_KANNADA_INDIA 0x044B
@@ -700,142 +611,241 @@ FT_BEGIN_HEADER
700
611
  #define TT_MS_LANGID_MARATHI_INDIA 0x044E
701
612
  #define TT_MS_LANGID_SANSKRIT_INDIA 0x044F
702
613
  #define TT_MS_LANGID_MONGOLIAN_MONGOLIA /* Cyrillic */ 0x0450
703
- #define TT_MS_LANGID_MONGOLIAN_MONGOLIA_MONGOLIAN 0x0850
704
- #define TT_MS_LANGID_TIBETAN_CHINA 0x0451
705
- /* Don't use the next constant! It has */
706
- /* (1) the wrong spelling (Dzonghka) */
707
- /* (2) Microsoft doesn't officially define it -- */
708
- /* at least it is not in the List of Local */
709
- /* ID Values. */
710
- /* (3) Dzongkha is not the same language as */
711
- /* Tibetan, so merging it is wrong anyway. */
712
- /* */
713
- /* TT_MS_LANGID_TIBETAN_BHUTAN is correct, BTW. */
714
- #define TT_MS_LANGID_DZONGHKA_BHUTAN 0x0851
715
-
716
- #if 0
717
- /* the following used to be defined */
718
- #define TT_MS_LANGID_TIBETAN_BHUTAN 0x0451
719
- /* ... but it was changed; */
720
- #else
721
- /* So we will continue to #define it, but with the correct value */
722
- #define TT_MS_LANGID_TIBETAN_BHUTAN TT_MS_LANGID_DZONGHKA_BHUTAN
723
- #endif
724
-
725
- #define TT_MS_LANGID_WELSH_WALES 0x0452
614
+ #define TT_MS_LANGID_MONGOLIAN_PRC 0x0850
615
+ #define TT_MS_LANGID_TIBETAN_PRC 0x0451
616
+ #define TT_MS_LANGID_WELSH_UNITED_KINGDOM 0x0452
726
617
  #define TT_MS_LANGID_KHMER_CAMBODIA 0x0453
727
618
  #define TT_MS_LANGID_LAO_LAOS 0x0454
728
- #define TT_MS_LANGID_BURMESE_MYANMAR 0x0455
729
- #define TT_MS_LANGID_GALICIAN_SPAIN 0x0456
619
+ #define TT_MS_LANGID_GALICIAN_GALICIAN 0x0456
730
620
  #define TT_MS_LANGID_KONKANI_INDIA 0x0457
731
- #define TT_MS_LANGID_MANIPURI_INDIA /* Bengali */ 0x0458
732
- #define TT_MS_LANGID_SINDHI_INDIA /* Arabic */ 0x0459
733
- #define TT_MS_LANGID_SINDHI_PAKISTAN 0x0859
734
- /* Missing a LCID for Sindhi in Devanagari script */
735
621
  #define TT_MS_LANGID_SYRIAC_SYRIA 0x045A
736
- #define TT_MS_LANGID_SINHALESE_SRI_LANKA 0x045B
737
- #define TT_MS_LANGID_CHEROKEE_UNITED_STATES 0x045C
622
+ #define TT_MS_LANGID_SINHALA_SRI_LANKA 0x045B
738
623
  #define TT_MS_LANGID_INUKTITUT_CANADA 0x045D
624
+ #define TT_MS_LANGID_INUKTITUT_CANADA_LATIN 0x085D
739
625
  #define TT_MS_LANGID_AMHARIC_ETHIOPIA 0x045E
740
- #define TT_MS_LANGID_TAMAZIGHT_MOROCCO /* Arabic */ 0x045F
741
- #define TT_MS_LANGID_TAMAZIGHT_MOROCCO_LATIN 0x085F
742
- /* Missing a LCID for Tifinagh script */
743
- #define TT_MS_LANGID_KASHMIRI_PAKISTAN /* Arabic */ 0x0460
744
- /* Spelled this way by XPsp2 Platform SDK (2004-07-26) */
745
- /* script is yet unclear... might be Arabic, Nagari or Sharada */
746
- #define TT_MS_LANGID_KASHMIRI_SASIA 0x0860
747
- /* ... and aliased (by MS) for compatibility reasons. */
748
- #define TT_MS_LANGID_KASHMIRI_INDIA TT_MS_LANGID_KASHMIRI_SASIA
626
+ #define TT_MS_LANGID_TAMAZIGHT_ALGERIA 0x085F
749
627
  #define TT_MS_LANGID_NEPALI_NEPAL 0x0461
750
- #define TT_MS_LANGID_NEPALI_INDIA 0x0861
751
628
  #define TT_MS_LANGID_FRISIAN_NETHERLANDS 0x0462
752
629
  #define TT_MS_LANGID_PASHTO_AFGHANISTAN 0x0463
753
630
  #define TT_MS_LANGID_FILIPINO_PHILIPPINES 0x0464
754
631
  #define TT_MS_LANGID_DHIVEHI_MALDIVES 0x0465
755
- /* alias declared in Windows 2000 */
756
- #define TT_MS_LANGID_DIVEHI_MALDIVES TT_MS_LANGID_DHIVEHI_MALDIVES
757
- #define TT_MS_LANGID_EDO_NIGERIA 0x0466
758
- #define TT_MS_LANGID_FULFULDE_NIGERIA 0x0467
759
632
  #define TT_MS_LANGID_HAUSA_NIGERIA 0x0468
760
- #define TT_MS_LANGID_IBIBIO_NIGERIA 0x0469
761
633
  #define TT_MS_LANGID_YORUBA_NIGERIA 0x046A
762
634
  #define TT_MS_LANGID_QUECHUA_BOLIVIA 0x046B
763
635
  #define TT_MS_LANGID_QUECHUA_ECUADOR 0x086B
764
636
  #define TT_MS_LANGID_QUECHUA_PERU 0x0C6B
765
- #define TT_MS_LANGID_SEPEDI_SOUTH_AFRICA 0x046C
766
- /* Also spelled by XPsp2 Platform SDK (2004-07-26) */
767
- #define TT_MS_LANGID_SOTHO_SOUTHERN_SOUTH_AFRICA \
768
- TT_MS_LANGID_SEPEDI_SOUTH_AFRICA
769
- /* language codes 0x046D, 0x046E and 0x046F are (still) unknown. */
637
+ #define TT_MS_LANGID_SESOTHO_SA_LEBOA_SOUTH_AFRICA 0x046C
638
+ #define TT_MS_LANGID_BASHKIR_RUSSIA 0x046D
639
+ #define TT_MS_LANGID_LUXEMBOURGISH_LUXEMBOURG 0x046E
640
+ #define TT_MS_LANGID_GREENLANDIC_GREENLAND 0x046F
770
641
  #define TT_MS_LANGID_IGBO_NIGERIA 0x0470
642
+ #define TT_MS_LANGID_YI_PRC 0x0478
643
+ #define TT_MS_LANGID_MAPUDUNGUN_CHILE 0x047A
644
+ #define TT_MS_LANGID_MOHAWK_MOHAWK 0x047C
645
+ #define TT_MS_LANGID_BRETON_FRANCE 0x047E
646
+ #define TT_MS_LANGID_UIGHUR_PRC 0x0480
647
+ #define TT_MS_LANGID_MAORI_NEW_ZEALAND 0x0481
648
+ #define TT_MS_LANGID_OCCITAN_FRANCE 0x0482
649
+ #define TT_MS_LANGID_CORSICAN_FRANCE 0x0483
650
+ #define TT_MS_LANGID_ALSATIAN_FRANCE 0x0484
651
+ #define TT_MS_LANGID_YAKUT_RUSSIA 0x0485
652
+ #define TT_MS_LANGID_KICHE_GUATEMALA 0x0486
653
+ #define TT_MS_LANGID_KINYARWANDA_RWANDA 0x0487
654
+ #define TT_MS_LANGID_WOLOF_SENEGAL 0x0488
655
+ #define TT_MS_LANGID_DARI_AFGHANISTAN 0x048C
656
+
657
+ /* */
658
+
659
+
660
+ /* legacy macro definitions not present in OpenType 1.8.1 */
661
+ #define TT_MS_LANGID_ARABIC_GENERAL 0x0001
662
+ #define TT_MS_LANGID_CATALAN_SPAIN \
663
+ TT_MS_LANGID_CATALAN_CATALAN
664
+ #define TT_MS_LANGID_CHINESE_GENERAL 0x0004
665
+ #define TT_MS_LANGID_CHINESE_MACAU \
666
+ TT_MS_LANGID_CHINESE_MACAO
667
+ #define TT_MS_LANGID_GERMAN_LIECHTENSTEI \
668
+ TT_MS_LANGID_GERMAN_LIECHTENSTEIN
669
+ #define TT_MS_LANGID_ENGLISH_GENERAL 0x0009
670
+ #define TT_MS_LANGID_ENGLISH_INDONESIA 0x3809
671
+ #define TT_MS_LANGID_ENGLISH_HONG_KONG 0x3C09
672
+ #define TT_MS_LANGID_SPANISH_SPAIN_INTERNATIONAL_SORT \
673
+ TT_MS_LANGID_SPANISH_SPAIN_MODERN_SORT
674
+ #define TT_MS_LANGID_SPANISH_LATIN_AMERICA 0xE40AU
675
+ #define TT_MS_LANGID_FRENCH_WEST_INDIES 0x1C0C
676
+ #define TT_MS_LANGID_FRENCH_REUNION 0x200C
677
+ #define TT_MS_LANGID_FRENCH_CONGO 0x240C
678
+ /* which was formerly: */
679
+ #define TT_MS_LANGID_FRENCH_ZAIRE \
680
+ TT_MS_LANGID_FRENCH_CONGO
681
+ #define TT_MS_LANGID_FRENCH_SENEGAL 0x280C
682
+ #define TT_MS_LANGID_FRENCH_CAMEROON 0x2C0C
683
+ #define TT_MS_LANGID_FRENCH_COTE_D_IVOIRE 0x300C
684
+ #define TT_MS_LANGID_FRENCH_MALI 0x340C
685
+ #define TT_MS_LANGID_FRENCH_MOROCCO 0x380C
686
+ #define TT_MS_LANGID_FRENCH_HAITI 0x3C0C
687
+ #define TT_MS_LANGID_FRENCH_NORTH_AFRICA 0xE40CU
688
+ #define TT_MS_LANGID_KOREAN_EXTENDED_WANSUNG_KOREA \
689
+ TT_MS_LANGID_KOREAN_KOREA
690
+ #define TT_MS_LANGID_KOREAN_JOHAB_KOREA 0x0812
691
+ #define TT_MS_LANGID_RHAETO_ROMANIC_SWITZERLAND \
692
+ TT_MS_LANGID_ROMANSH_SWITZERLAND
693
+ #define TT_MS_LANGID_MOLDAVIAN_MOLDAVIA 0x0818
694
+ #define TT_MS_LANGID_RUSSIAN_MOLDAVIA 0x0819
695
+ #define TT_MS_LANGID_URDU_INDIA 0x0820
696
+ #define TT_MS_LANGID_CLASSIC_LITHUANIAN_LITHUANIA 0x0827
697
+ #define TT_MS_LANGID_SLOVENE_SLOVENIA \
698
+ TT_MS_LANGID_SLOVENIAN_SLOVENIA
699
+ #define TT_MS_LANGID_FARSI_IRAN 0x0429
700
+ #define TT_MS_LANGID_BASQUE_SPAIN \
701
+ TT_MS_LANGID_BASQUE_BASQUE
702
+ #define TT_MS_LANGID_SORBIAN_GERMANY \
703
+ TT_MS_LANGID_UPPER_SORBIAN_GERMANY
704
+ #define TT_MS_LANGID_SUTU_SOUTH_AFRICA 0x0430
705
+ #define TT_MS_LANGID_TSONGA_SOUTH_AFRICA 0x0431
706
+ #define TT_MS_LANGID_TSWANA_SOUTH_AFRICA \
707
+ TT_MS_LANGID_SETSWANA_SOUTH_AFRICA
708
+ #define TT_MS_LANGID_VENDA_SOUTH_AFRICA 0x0433
709
+ #define TT_MS_LANGID_XHOSA_SOUTH_AFRICA \
710
+ TT_MS_LANGID_ISIXHOSA_SOUTH_AFRICA
711
+ #define TT_MS_LANGID_ZULU_SOUTH_AFRICA \
712
+ TT_MS_LANGID_ISIZULU_SOUTH_AFRICA
713
+ #define TT_MS_LANGID_SAAMI_LAPONIA 0x043B
714
+ /* the next two values are incorrectly inverted */
715
+ #define TT_MS_LANGID_IRISH_GAELIC_IRELAND 0x043C
716
+ #define TT_MS_LANGID_SCOTTISH_GAELIC_UNITED_KINGDOM 0x083C
717
+ #define TT_MS_LANGID_YIDDISH_GERMANY 0x043D
718
+ #define TT_MS_LANGID_KAZAK_KAZAKSTAN \
719
+ TT_MS_LANGID_KAZAKH_KAZAKHSTAN
720
+ #define TT_MS_LANGID_KIRGHIZ_KIRGHIZ_REPUBLIC \
721
+ TT_MS_LANGID_KYRGYZ_KYRGYZSTAN
722
+ #define TT_MS_LANGID_KIRGHIZ_KIRGHIZSTAN \
723
+ TT_MS_LANGID_KYRGYZ_KYRGYZSTAN
724
+ #define TT_MS_LANGID_SWAHILI_KENYA \
725
+ TT_MS_LANGID_KISWAHILI_KENYA
726
+ #define TT_MS_LANGID_TATAR_TATARSTAN \
727
+ TT_MS_LANGID_TATAR_RUSSIA
728
+ #define TT_MS_LANGID_PUNJABI_ARABIC_PAKISTAN 0x0846
729
+ #define TT_MS_LANGID_ORIYA_INDIA \
730
+ TT_MS_LANGID_ODIA_INDIA
731
+ #define TT_MS_LANGID_MONGOLIAN_MONGOLIA_MONGOLIAN \
732
+ TT_MS_LANGID_MONGOLIAN_PRC
733
+ #define TT_MS_LANGID_TIBETAN_CHINA \
734
+ TT_MS_LANGID_TIBETAN_PRC
735
+ #define TT_MS_LANGID_DZONGHKA_BHUTAN 0x0851
736
+ #define TT_MS_LANGID_TIBETAN_BHUTAN \
737
+ TT_MS_LANGID_DZONGHKA_BHUTAN
738
+ #define TT_MS_LANGID_WELSH_WALES \
739
+ TT_MS_LANGID_WELSH_UNITED_KINGDOM
740
+ #define TT_MS_LANGID_BURMESE_MYANMAR 0x0455
741
+ #define TT_MS_LANGID_GALICIAN_SPAIN \
742
+ TT_MS_LANGID_GALICIAN_GALICIAN
743
+ #define TT_MS_LANGID_MANIPURI_INDIA /* Bengali */ 0x0458
744
+ #define TT_MS_LANGID_SINDHI_INDIA /* Arabic */ 0x0459
745
+ #define TT_MS_LANGID_SINDHI_PAKISTAN 0x0859
746
+ #define TT_MS_LANGID_SINHALESE_SRI_LANKA \
747
+ TT_MS_LANGID_SINHALA_SRI_LANKA
748
+ #define TT_MS_LANGID_CHEROKEE_UNITED_STATES 0x045C
749
+ #define TT_MS_LANGID_TAMAZIGHT_MOROCCO /* Arabic */ 0x045F
750
+ #define TT_MS_LANGID_TAMAZIGHT_MOROCCO_LATIN \
751
+ TT_MS_LANGID_TAMAZIGHT_ALGERIA
752
+ #define TT_MS_LANGID_KASHMIRI_PAKISTAN /* Arabic */ 0x0460
753
+ #define TT_MS_LANGID_KASHMIRI_SASIA 0x0860
754
+ #define TT_MS_LANGID_KASHMIRI_INDIA \
755
+ TT_MS_LANGID_KASHMIRI_SASIA
756
+ #define TT_MS_LANGID_NEPALI_INDIA 0x0861
757
+ #define TT_MS_LANGID_DIVEHI_MALDIVES \
758
+ TT_MS_LANGID_DHIVEHI_MALDIVES
759
+ #define TT_MS_LANGID_EDO_NIGERIA 0x0466
760
+ #define TT_MS_LANGID_FULFULDE_NIGERIA 0x0467
761
+ #define TT_MS_LANGID_IBIBIO_NIGERIA 0x0469
762
+ #define TT_MS_LANGID_SEPEDI_SOUTH_AFRICA \
763
+ TT_MS_LANGID_SESOTHO_SA_LEBOA_SOUTH_AFRICA
764
+ #define TT_MS_LANGID_SOTHO_SOUTHERN_SOUTH_AFRICA \
765
+ TT_MS_LANGID_SESOTHO_SA_LEBOA_SOUTH_AFRICA
771
766
  #define TT_MS_LANGID_KANURI_NIGERIA 0x0471
772
767
  #define TT_MS_LANGID_OROMO_ETHIOPIA 0x0472
773
768
  #define TT_MS_LANGID_TIGRIGNA_ETHIOPIA 0x0473
774
769
  #define TT_MS_LANGID_TIGRIGNA_ERYTHREA 0x0873
775
- /* also spelled in the `Passport SDK' list as: */
776
- #define TT_MS_LANGID_TIGRIGNA_ERYTREA TT_MS_LANGID_TIGRIGNA_ERYTHREA
770
+ #define TT_MS_LANGID_TIGRIGNA_ERYTREA \
771
+ TT_MS_LANGID_TIGRIGNA_ERYTHREA
777
772
  #define TT_MS_LANGID_GUARANI_PARAGUAY 0x0474
778
773
  #define TT_MS_LANGID_HAWAIIAN_UNITED_STATES 0x0475
779
774
  #define TT_MS_LANGID_LATIN 0x0476
780
775
  #define TT_MS_LANGID_SOMALI_SOMALIA 0x0477
781
- /* Note: Yi does not have a (proper) ISO 639-2 code, since it is mostly */
782
- /* not written (but OTOH the peculiar writing system is worth */
783
- /* studying). */
784
- #define TT_MS_LANGID_YI_CHINA 0x0478
776
+ #define TT_MS_LANGID_YI_CHINA \
777
+ TT_MS_LANGID_YI_PRC
785
778
  #define TT_MS_LANGID_PAPIAMENTU_NETHERLANDS_ANTILLES 0x0479
786
- /* language codes from 0x047A to 0x047F are (still) unknown. */
787
- #define TT_MS_LANGID_UIGHUR_CHINA 0x0480
788
- #define TT_MS_LANGID_MAORI_NEW_ZEALAND 0x0481
779
+ #define TT_MS_LANGID_UIGHUR_CHINA \
780
+ TT_MS_LANGID_UIGHUR_PRC
789
781
 
790
- #if 0 /* not deemed useful for fonts */
791
- #define TT_MS_LANGID_HUMAN_INTERFACE_DEVICE 0x04FF
792
- #endif
793
782
 
783
+ /***********************************************************************
784
+ *
785
+ * @enum:
786
+ * TT_NAME_ID_XXX
787
+ *
788
+ * @description:
789
+ * Possible values of the `name' identifier field in the name records of
790
+ * an SFNT `name' table. These values are platform independent.
791
+ */
794
792
 
795
- /*************************************************************************/
796
- /* */
797
- /* Possible values of the `name' identifier field in the name records of */
798
- /* the TTF `name' table. These values are platform independent. */
799
- /* */
800
- #define TT_NAME_ID_COPYRIGHT 0
801
- #define TT_NAME_ID_FONT_FAMILY 1
802
- #define TT_NAME_ID_FONT_SUBFAMILY 2
803
- #define TT_NAME_ID_UNIQUE_ID 3
804
- #define TT_NAME_ID_FULL_NAME 4
805
- #define TT_NAME_ID_VERSION_STRING 5
806
- #define TT_NAME_ID_PS_NAME 6
807
- #define TT_NAME_ID_TRADEMARK 7
793
+ #define TT_NAME_ID_COPYRIGHT 0
794
+ #define TT_NAME_ID_FONT_FAMILY 1
795
+ #define TT_NAME_ID_FONT_SUBFAMILY 2
796
+ #define TT_NAME_ID_UNIQUE_ID 3
797
+ #define TT_NAME_ID_FULL_NAME 4
798
+ #define TT_NAME_ID_VERSION_STRING 5
799
+ #define TT_NAME_ID_PS_NAME 6
800
+ #define TT_NAME_ID_TRADEMARK 7
808
801
 
809
802
  /* the following values are from the OpenType spec */
810
- #define TT_NAME_ID_MANUFACTURER 8
811
- #define TT_NAME_ID_DESIGNER 9
812
- #define TT_NAME_ID_DESCRIPTION 10
813
- #define TT_NAME_ID_VENDOR_URL 11
814
- #define TT_NAME_ID_DESIGNER_URL 12
815
- #define TT_NAME_ID_LICENSE 13
816
- #define TT_NAME_ID_LICENSE_URL 14
803
+ #define TT_NAME_ID_MANUFACTURER 8
804
+ #define TT_NAME_ID_DESIGNER 9
805
+ #define TT_NAME_ID_DESCRIPTION 10
806
+ #define TT_NAME_ID_VENDOR_URL 11
807
+ #define TT_NAME_ID_DESIGNER_URL 12
808
+ #define TT_NAME_ID_LICENSE 13
809
+ #define TT_NAME_ID_LICENSE_URL 14
817
810
  /* number 15 is reserved */
818
- #define TT_NAME_ID_PREFERRED_FAMILY 16
819
- #define TT_NAME_ID_PREFERRED_SUBFAMILY 17
820
- #define TT_NAME_ID_MAC_FULL_NAME 18
811
+ #define TT_NAME_ID_TYPOGRAPHIC_FAMILY 16
812
+ #define TT_NAME_ID_TYPOGRAPHIC_SUBFAMILY 17
813
+ #define TT_NAME_ID_MAC_FULL_NAME 18
821
814
 
822
815
  /* The following code is new as of 2000-01-21 */
823
- #define TT_NAME_ID_SAMPLE_TEXT 19
816
+ #define TT_NAME_ID_SAMPLE_TEXT 19
824
817
 
825
818
  /* This is new in OpenType 1.3 */
826
- #define TT_NAME_ID_CID_FINDFONT_NAME 20
819
+ #define TT_NAME_ID_CID_FINDFONT_NAME 20
827
820
 
828
821
  /* This is new in OpenType 1.5 */
829
- #define TT_NAME_ID_WWS_FAMILY 21
830
- #define TT_NAME_ID_WWS_SUBFAMILY 22
822
+ #define TT_NAME_ID_WWS_FAMILY 21
823
+ #define TT_NAME_ID_WWS_SUBFAMILY 22
831
824
 
825
+ /* This is new in OpenType 1.7 */
826
+ #define TT_NAME_ID_LIGHT_BACKGROUND 23
827
+ #define TT_NAME_ID_DARK_BACKGROUND 24
832
828
 
833
- /*************************************************************************/
834
- /* */
835
- /* Bit mask values for the Unicode Ranges from the TTF `OS2 ' table. */
836
- /* */
837
- /* Updated 08-Nov-2008. */
838
- /* */
829
+ /* This is new in OpenType 1.8 */
830
+ #define TT_NAME_ID_VARIATIONS_PREFIX 25
831
+
832
+ /* these two values are deprecated */
833
+ #define TT_NAME_ID_PREFERRED_FAMILY TT_NAME_ID_TYPOGRAPHIC_FAMILY
834
+ #define TT_NAME_ID_PREFERRED_SUBFAMILY TT_NAME_ID_TYPOGRAPHIC_SUBFAMILY
835
+
836
+
837
+ /***********************************************************************
838
+ *
839
+ * @enum:
840
+ * TT_UCR_XXX
841
+ *
842
+ * @description:
843
+ * Possible bit mask values for the `ulUnicodeRangeX' fields in an SFNT
844
+ * `OS/2' table.
845
+ */
846
+
847
+ /* ulUnicodeRange1 */
848
+ /* --------------- */
839
849
 
840
850
  /* Bit 0 Basic Latin */
841
851
  #define TT_UCR_BASIC_LATIN (1L << 0) /* U+0020-U+007E */
@@ -857,7 +867,7 @@ FT_BEGIN_HEADER
857
867
  /* U+A700-U+A71F */
858
868
  /* Bit 6 Combining Diacritical Marks */
859
869
  /* Combining Diacritical Marks Supplement */
860
- #define TT_UCR_COMBINING_DIACRITICS (1L << 6) /* U+0300-U+036F */
870
+ #define TT_UCR_COMBINING_DIACRITICAL_MARKS (1L << 6) /* U+0300-U+036F */
861
871
  /* U+1DC0-U+1DFF */
862
872
  /* Bit 7 Greek and Coptic */
863
873
  #define TT_UCR_GREEK (1L << 7) /* U+0370-U+03FF */
@@ -925,12 +935,17 @@ FT_BEGIN_HEADER
925
935
  /* Supplemental Punctuation */
926
936
  #define TT_UCR_GENERAL_PUNCTUATION (1L << 31) /* U+2000-U+206F */
927
937
  /* U+2E00-U+2E7F */
938
+
939
+ /* ulUnicodeRange2 */
940
+ /* --------------- */
941
+
928
942
  /* Bit 32 Superscripts And Subscripts */
929
943
  #define TT_UCR_SUPERSCRIPTS_SUBSCRIPTS (1L << 0) /* U+2070-U+209F */
930
944
  /* Bit 33 Currency Symbols */
931
945
  #define TT_UCR_CURRENCY_SYMBOLS (1L << 1) /* U+20A0-U+20CF */
932
946
  /* Bit 34 Combining Diacritical Marks For Symbols */
933
- #define TT_UCR_COMBINING_DIACRITICS_SYMB (1L << 2) /* U+20D0-U+20FF */
947
+ #define TT_UCR_COMBINING_DIACRITICAL_MARKS_SYMB \
948
+ (1L << 2) /* U+20D0-U+20FF */
934
949
  /* Bit 35 Letterlike Symbols */
935
950
  #define TT_UCR_LETTERLIKE_SYMBOLS (1L << 3) /* U+2100-U+214F */
936
951
  /* Bit 36 Number Forms */
@@ -996,13 +1011,13 @@ FT_BEGIN_HEADER
996
1011
  /* Bit 57 High Surrogates */
997
1012
  /* High Private Use Surrogates */
998
1013
  /* Low Surrogates */
999
- /* */
1014
+
1000
1015
  /* According to OpenType specs v.1.3+, */
1001
1016
  /* setting bit 57 implies that there is */
1002
1017
  /* at least one codepoint beyond the */
1003
1018
  /* Basic Multilingual Plane that is */
1004
1019
  /* supported by this font. So it really */
1005
- /* means >= U+10000 */
1020
+ /* means >= U+10000. */
1006
1021
  #define TT_UCR_SURROGATES (1L << 25) /* U+D800-U+DB7F */
1007
1022
  /* U+DB80-U+DBFF */
1008
1023
  /* U+DC00-U+DFFF */
@@ -1034,7 +1049,11 @@ FT_BEGIN_HEADER
1034
1049
  /* Bit 62 Alphabetic Presentation Forms */
1035
1050
  #define TT_UCR_ALPHABETIC_PRESENTATION_FORMS (1L << 30) /* U+FB00-U+FB4F */
1036
1051
  /* Bit 63 Arabic Presentation Forms-A */
1037
- #define TT_UCR_ARABIC_PRESENTATIONS_A (1L << 31) /* U+FB50-U+FDFF */
1052
+ #define TT_UCR_ARABIC_PRESENTATION_FORMS_A (1L << 31) /* U+FB50-U+FDFF */
1053
+
1054
+ /* ulUnicodeRange3 */
1055
+ /* --------------- */
1056
+
1038
1057
  /* Bit 64 Combining Half Marks */
1039
1058
  #define TT_UCR_COMBINING_HALF_MARKS (1L << 0) /* U+FE20-U+FE2F */
1040
1059
  /* Bit 65 Vertical forms */
@@ -1044,7 +1063,7 @@ FT_BEGIN_HEADER
1044
1063
  /* Bit 66 Small Form Variants */
1045
1064
  #define TT_UCR_SMALL_FORM_VARIANTS (1L << 2) /* U+FE50-U+FE6F */
1046
1065
  /* Bit 67 Arabic Presentation Forms-B */
1047
- #define TT_UCR_ARABIC_PRESENTATIONS_B (1L << 3) /* U+FE70-U+FEFE */
1066
+ #define TT_UCR_ARABIC_PRESENTATION_FORMS_B (1L << 3) /* U+FE70-U+FEFE */
1048
1067
  /* Bit 68 Halfwidth and Fullwidth Forms */
1049
1068
  #define TT_UCR_HALFWIDTH_FULLWIDTH_FORMS (1L << 4) /* U+FF00-U+FFEF */
1050
1069
  /* Bit 69 Specials */
@@ -1123,6 +1142,10 @@ FT_BEGIN_HEADER
1123
1142
  #define TT_UCR_TAI_LE (1L << 30) /* U+1950-U+197F */
1124
1143
  /* Bit 95 New Tai Lue */
1125
1144
  #define TT_UCR_NEW_TAI_LUE (1L << 31) /* U+1980-U+19DF */
1145
+
1146
+ /* ulUnicodeRange4 */
1147
+ /* --------------- */
1148
+
1126
1149
  /* Bit 96 Buginese */
1127
1150
  #define TT_UCR_BUGINESE (1L << 0) /* U+1A00-U+1A1F */
1128
1151
  /* Bit 97 Glagolitic */
@@ -1191,42 +1214,18 @@ FT_BEGIN_HEADER
1191
1214
  /*U+1F000-U+1F02F*/
1192
1215
  /* Bit 123-127 Reserved for process-internal usage */
1193
1216
 
1217
+ /* */
1194
1218
 
1195
- /*************************************************************************/
1196
- /* */
1197
- /* Some compilers have a very limited length of identifiers. */
1198
- /* */
1199
- #if defined( __TURBOC__ ) && __TURBOC__ < 0x0410 || defined( __PACIFIC__ )
1200
- #define HAVE_LIMIT_ON_IDENTS
1201
- #endif
1202
-
1203
-
1204
- #ifndef HAVE_LIMIT_ON_IDENTS
1205
-
1206
-
1207
- /*************************************************************************/
1208
- /* */
1209
- /* Here some alias #defines in order to be clearer. */
1210
- /* */
1211
- /* These are not always #defined to stay within the 31~character limit, */
1212
- /* which some compilers have. */
1213
- /* */
1214
- /* Credits go to Dave Hoo <dhoo@flash.net> for pointing out that modern */
1215
- /* Borland compilers (read: from BC++ 3.1 on) can increase this limit. */
1216
- /* If you get a warning with such a compiler, use the -i40 switch. */
1217
- /* */
1218
- #define TT_UCR_ARABIC_PRESENTATION_FORMS_A \
1219
- TT_UCR_ARABIC_PRESENTATIONS_A
1220
- #define TT_UCR_ARABIC_PRESENTATION_FORMS_B \
1221
- TT_UCR_ARABIC_PRESENTATIONS_B
1222
-
1223
- #define TT_UCR_COMBINING_DIACRITICAL_MARKS \
1224
- TT_UCR_COMBINING_DIACRITICS
1225
- #define TT_UCR_COMBINING_DIACRITICAL_MARKS_SYMB \
1226
- TT_UCR_COMBINING_DIACRITICS_SYMB
1227
-
1219
+ /* for backward compatibility with older FreeType versions */
1220
+ #define TT_UCR_ARABIC_PRESENTATION_A \
1221
+ TT_UCR_ARABIC_PRESENTATION_FORMS_A
1222
+ #define TT_UCR_ARABIC_PRESENTATION_B \
1223
+ TT_UCR_ARABIC_PRESENTATION_FORMS_B
1228
1224
 
1229
- #endif /* !HAVE_LIMIT_ON_IDENTS */
1225
+ #define TT_UCR_COMBINING_DIACRITICS \
1226
+ TT_UCR_COMBINING_DIACRITICAL_MARKS
1227
+ #define TT_UCR_COMBINING_DIACRITICS_SYMB \
1228
+ TT_UCR_COMBINING_DIACRITICAL_MARKS_SYMB
1230
1229
 
1231
1230
 
1232
1231
  FT_END_HEADER