cairo 1.15.9-x64-mingw32 → 1.15.10-x64-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
@@ -5,7 +5,7 @@
5
5
  /* Basic SFNT/TrueType tables definitions and interface */
6
6
  /* (specification 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, */
@@ -45,8 +45,9 @@ FT_BEGIN_HEADER
45
45
  /* TrueType specific table types and functions. */
46
46
  /* */
47
47
  /* <Description> */
48
- /* This section contains the definition of TrueType-specific tables */
49
- /* as well as some routines used to access and process them. */
48
+ /* This section contains definitions of some basic tables specific to */
49
+ /* TrueType and OpenType as well as some routines used to access and */
50
+ /* process them. */
50
51
  /* */
51
52
  /* <Order> */
52
53
  /* TT_Header */
@@ -76,8 +77,8 @@ FT_BEGIN_HEADER
76
77
  /* TT_Header */
77
78
  /* */
78
79
  /* <Description> */
79
- /* A structure used to model a TrueType font header table. All */
80
- /* fields follow the TrueType specification. */
80
+ /* A structure to model a TrueType font header table. All fields */
81
+ /* follow the OpenType specification. */
81
82
  /* */
82
83
  typedef struct TT_Header_
83
84
  {
@@ -114,9 +115,9 @@ FT_BEGIN_HEADER
114
115
  /* TT_HoriHeader */
115
116
  /* */
116
117
  /* <Description> */
117
- /* A structure used to model a TrueType horizontal header, the `hhea' */
118
+ /* A structure to model a TrueType horizontal header, the `hhea' */
118
119
  /* table, as well as the corresponding horizontal metrics table, */
119
- /* i.e., the `hmtx' table. */
120
+ /* `hmtx'. */
120
121
  /* */
121
122
  /* <Fields> */
122
123
  /* Version :: The table version. */
@@ -131,7 +132,7 @@ FT_BEGIN_HEADER
131
132
  /* glyphs found in the font (maybe ASCII). */
132
133
  /* */
133
134
  /* You should use the `sTypoAscender' field */
134
- /* of the OS/2 table instead if you want */
135
+ /* of the `OS/2' table instead if you want */
135
136
  /* the correct one. */
136
137
  /* */
137
138
  /* Descender :: The font's descender, i.e., the distance */
@@ -145,7 +146,7 @@ FT_BEGIN_HEADER
145
146
  /* glyphs found in the font (maybe ASCII). */
146
147
  /* */
147
148
  /* You should use the `sTypoDescender' */
148
- /* field of the OS/2 table instead if you */
149
+ /* field of the `OS/2' table instead if you */
149
150
  /* want the correct one. */
150
151
  /* */
151
152
  /* Line_Gap :: The font's line gap, i.e., the distance */
@@ -175,6 +176,8 @@ FT_BEGIN_HEADER
175
176
  /* caret_Slope_Run :: The run coefficient of the cursor's */
176
177
  /* slope. */
177
178
  /* */
179
+ /* caret_Offset :: The cursor's offset for slanted fonts. */
180
+ /* */
178
181
  /* Reserved :: 8~reserved bytes. */
179
182
  /* */
180
183
  /* metric_Data_Format :: Always~0. */
@@ -188,13 +191,10 @@ FT_BEGIN_HEADER
188
191
  /* short_metrics :: A pointer into the `hmtx' table. */
189
192
  /* */
190
193
  /* <Note> */
191
- /* IMPORTANT: The TT_HoriHeader and TT_VertHeader structures should */
192
- /* be identical except for the names of their fields, */
193
- /* which are different. */
194
- /* */
195
- /* This ensures that a single function in the `ttload' */
196
- /* module is able to read both the horizontal and vertical */
197
- /* headers. */
194
+ /* For an OpenType variation font, the values of the following fields */
195
+ /* can change after a call to @FT_Set_Var_Design_Coordinates (and */
196
+ /* friends) if the font contains an `MVAR' table: `caret_Slope_Rise', */
197
+ /* `caret_Slope_Run', and `caret_Offset'. */
198
198
  /* */
199
199
  typedef struct TT_HoriHeader_
200
200
  {
@@ -217,9 +217,9 @@ FT_BEGIN_HEADER
217
217
  FT_Short metric_Data_Format;
218
218
  FT_UShort number_Of_HMetrics;
219
219
 
220
- /* The following fields are not defined by the TrueType specification */
220
+ /* The following fields are not defined by the OpenType specification */
221
221
  /* but they are used to connect the metrics header to the relevant */
222
- /* `HMTX' table. */
222
+ /* `hmtx' table. */
223
223
 
224
224
  void* long_metrics;
225
225
  void* short_metrics;
@@ -234,8 +234,8 @@ FT_BEGIN_HEADER
234
234
  /* */
235
235
  /* <Description> */
236
236
  /* A structure used to model a TrueType vertical header, the `vhea' */
237
- /* table, as well as the corresponding vertical metrics table, i.e., */
238
- /* the `vmtx' table. */
237
+ /* table, as well as the corresponding vertical metrics table, */
238
+ /* `vmtx'. */
239
239
  /* */
240
240
  /* <Fields> */
241
241
  /* Version :: The table version. */
@@ -251,8 +251,8 @@ FT_BEGIN_HEADER
251
251
  /* ASCII). */
252
252
  /* */
253
253
  /* You should use the `sTypoAscender' */
254
- /* field of the OS/2 table instead if you */
255
- /* want the correct one. */
254
+ /* field of the `OS/2' table instead if */
255
+ /* you want the correct one. */
256
256
  /* */
257
257
  /* Descender :: The font's descender, i.e., the */
258
258
  /* distance from the baseline to the */
@@ -266,8 +266,8 @@ FT_BEGIN_HEADER
266
266
  /* ASCII). */
267
267
  /* */
268
268
  /* You should use the `sTypoDescender' */
269
- /* field of the OS/2 table instead if you */
270
- /* want the correct one. */
269
+ /* field of the `OS/2' table instead if */
270
+ /* you want the correct one. */
271
271
  /* */
272
272
  /* Line_Gap :: The font's line gap, i.e., the distance */
273
273
  /* to add to the ascender and descender to */
@@ -297,30 +297,26 @@ FT_BEGIN_HEADER
297
297
  /* slope. */
298
298
  /* */
299
299
  /* caret_Offset :: The cursor's offset for slanted fonts. */
300
- /* This value is `reserved' in vmtx */
301
- /* version 1.0. */
302
300
  /* */
303
301
  /* Reserved :: 8~reserved bytes. */
304
302
  /* */
305
303
  /* metric_Data_Format :: Always~0. */
306
304
  /* */
307
- /* number_Of_HMetrics :: Number of VMetrics entries in the */
305
+ /* number_Of_VMetrics :: Number of VMetrics entries in the */
308
306
  /* `vmtx' table -- this value can be */
309
307
  /* smaller than the total number of glyphs */
310
308
  /* in the font. */
311
309
  /* */
312
- /* long_metrics :: A pointer into the `vmtx' table. */
310
+ /* long_metrics :: A pointer into the `vmtx' table. */
313
311
  /* */
314
- /* short_metrics :: A pointer into the `vmtx' table. */
312
+ /* short_metrics :: A pointer into the `vmtx' table. */
315
313
  /* */
316
314
  /* <Note> */
317
- /* IMPORTANT: The TT_HoriHeader and TT_VertHeader structures should */
318
- /* be identical except for the names of their fields, */
319
- /* which are different. */
320
- /* */
321
- /* This ensures that a single function in the `ttload' */
322
- /* module is able to read both the horizontal and vertical */
323
- /* headers. */
315
+ /* For an OpenType variation font, the values of the following fields */
316
+ /* can change after a call to @FT_Set_Var_Design_Coordinates (and */
317
+ /* friends) if the font contains an `MVAR' table: `Ascender', */
318
+ /* `Descender', `Line_Gap', `caret_Slope_Rise', `caret_Slope_Run', */
319
+ /* and `caret_Offset'. */
324
320
  /* */
325
321
  typedef struct TT_VertHeader_
326
322
  {
@@ -331,9 +327,9 @@ FT_BEGIN_HEADER
331
327
 
332
328
  FT_UShort advance_Height_Max; /* advance height maximum */
333
329
 
334
- FT_Short min_Top_Side_Bearing; /* minimum left-sb or top-sb */
335
- FT_Short min_Bottom_Side_Bearing; /* minimum right-sb or bottom-sb */
336
- FT_Short yMax_Extent; /* xmax or ymax extents */
330
+ FT_Short min_Top_Side_Bearing; /* minimum top-sb */
331
+ FT_Short min_Bottom_Side_Bearing; /* minimum bottom-sb */
332
+ FT_Short yMax_Extent; /* ymax extents */
337
333
  FT_Short caret_Slope_Rise;
338
334
  FT_Short caret_Slope_Run;
339
335
  FT_Short caret_Offset;
@@ -343,9 +339,9 @@ FT_BEGIN_HEADER
343
339
  FT_Short metric_Data_Format;
344
340
  FT_UShort number_Of_VMetrics;
345
341
 
346
- /* The following fields are not defined by the TrueType specification */
347
- /* but they're used to connect the metrics header to the relevant */
348
- /* `HMTX' or `VMTX' table. */
342
+ /* The following fields are not defined by the OpenType specification */
343
+ /* but they are used to connect the metrics header to the relevant */
344
+ /* `vmtx' table. */
349
345
 
350
346
  void* long_metrics;
351
347
  void* short_metrics;
@@ -359,12 +355,28 @@ FT_BEGIN_HEADER
359
355
  /* TT_OS2 */
360
356
  /* */
361
357
  /* <Description> */
362
- /* A structure used to model a TrueType OS/2 table. All fields */
363
- /* comply to the OpenType specification. */
358
+ /* A structure to model a TrueType `OS/2' table. All fields comply */
359
+ /* to the OpenType specification. */
360
+ /* */
361
+ /* Note that we now support old Mac fonts that do not include an */
362
+ /* `OS/2' table. In this case, the `version' field is always set to */
363
+ /* 0xFFFF. */
364
364
  /* */
365
- /* Note that we now support old Mac fonts that do not include an OS/2 */
366
- /* table. In this case, the `version' field is always set to 0xFFFF. */
365
+ /* <Note> */
366
+ /* For an OpenType variation font, the values of the following fields */
367
+ /* can change after a call to @FT_Set_Var_Design_Coordinates (and */
368
+ /* friends) if the font contains an `MVAR' table: `sCapHeight', */
369
+ /* `sTypoAscender', `sTypoDescender', `sTypoLineGap', `sxHeight', */
370
+ /* `usWinAscent', `usWinDescent', `yStrikeoutPosition', */
371
+ /* `yStrikeoutSize', `ySubscriptXOffset', `ySubScriptXSize', */
372
+ /* `ySubscriptYOffset', `ySubscriptYSize', `ySuperscriptXOffset', */
373
+ /* `ySuperscriptXSize', `ySuperscriptYOffset', and */
374
+ /* `ySuperscriptYSize'. */
375
+ /* */
376
+ /* Possible values for bits in the `ulUnicodeRangeX' fields are given */
377
+ /* by the @TT_UCR_XXX macros. */
367
378
  /* */
379
+
368
380
  typedef struct TT_OS2_
369
381
  {
370
382
  FT_UShort version; /* 0x0001 - more or 0xFFFF */
@@ -429,10 +441,16 @@ FT_BEGIN_HEADER
429
441
  /* TT_Postscript */
430
442
  /* */
431
443
  /* <Description> */
432
- /* A structure used to model a TrueType PostScript table. All fields */
433
- /* comply to the TrueType specification. This structure does not */
434
- /* reference the PostScript glyph names, which can be nevertheless */
435
- /* accessed with the `ttpost' module. */
444
+ /* A structure to model a TrueType `post' table. All fields comply */
445
+ /* to the OpenType specification. This structure does not reference */
446
+ /* a font's PostScript glyph names; use @FT_Get_Glyph_Name to */
447
+ /* retrieve them. */
448
+ /* */
449
+ /* <Note> */
450
+ /* For an OpenType variation font, the values of the following fields */
451
+ /* can change after a call to @FT_Set_Var_Design_Coordinates (and */
452
+ /* friends) if the font contains an `MVAR' table: `underlinePosition' */
453
+ /* and `underlineThickness'. */
436
454
  /* */
437
455
  typedef struct TT_Postscript_
438
456
  {
@@ -446,8 +464,8 @@ FT_BEGIN_HEADER
446
464
  FT_ULong minMemType1;
447
465
  FT_ULong maxMemType1;
448
466
 
449
- /* Glyph names follow in the file, but we don't */
450
- /* load them by default. See the ttpost.c file. */
467
+ /* Glyph names follow in the `post' table, but we don't */
468
+ /* load them by default. */
451
469
 
452
470
  } TT_Postscript;
453
471
 
@@ -458,8 +476,8 @@ FT_BEGIN_HEADER
458
476
  /* TT_PCLT */
459
477
  /* */
460
478
  /* <Description> */
461
- /* A structure used to model a TrueType PCLT table. All fields */
462
- /* comply to the TrueType specification. */
479
+ /* A structure to model a TrueType `PCLT' table. All fields comply */
480
+ /* to the OpenType specification. */
463
481
  /* */
464
482
  typedef struct TT_PCLT_
465
483
  {
@@ -488,9 +506,9 @@ FT_BEGIN_HEADER
488
506
  /* TT_MaxProfile */
489
507
  /* */
490
508
  /* <Description> */
491
- /* The maximum profile is a table containing many max values, which */
492
- /* can be used to pre-allocate arrays. This ensures that no memory */
493
- /* allocation occurs during a glyph load. */
509
+ /* The maximum profile (`maxp') table contains many max values, which */
510
+ /* can be used to pre-allocate arrays for speeding up glyph loading */
511
+ /* and hinting. */
494
512
  /* */
495
513
  /* <Fields> */
496
514
  /* version :: The version number. */
@@ -500,21 +518,19 @@ FT_BEGIN_HEADER
500
518
  /* */
501
519
  /* maxPoints :: The maximum number of points in a */
502
520
  /* non-composite TrueType glyph. See also */
503
- /* the structure element */
504
521
  /* `maxCompositePoints'. */
505
522
  /* */
506
523
  /* maxContours :: The maximum number of contours in a */
507
524
  /* non-composite TrueType glyph. See also */
508
- /* the structure element */
509
525
  /* `maxCompositeContours'. */
510
526
  /* */
511
527
  /* maxCompositePoints :: The maximum number of points in a */
512
- /* composite TrueType glyph. See also the */
513
- /* structure element `maxPoints'. */
528
+ /* composite TrueType glyph. See also */
529
+ /* `maxPoints'. */
514
530
  /* */
515
531
  /* maxCompositeContours :: The maximum number of contours in a */
516
- /* composite TrueType glyph. See also the */
517
- /* structure element `maxContours'. */
532
+ /* composite TrueType glyph. See also */
533
+ /* `maxContours'. */
518
534
  /* */
519
535
  /* maxZones :: The maximum number of zones used for */
520
536
  /* glyph hinting. */
@@ -575,8 +591,9 @@ FT_BEGIN_HEADER
575
591
  /* FT_Sfnt_Tag */
576
592
  /* */
577
593
  /* <Description> */
578
- /* An enumeration used to specify the index of an SFNT table. */
579
- /* Used in the @FT_Get_Sfnt_Table API function. */
594
+ /* An enumeration to specify indices of SFNT tables loaded and parsed */
595
+ /* by FreeType during initialization of an SFNT font. Used in the */
596
+ /* @FT_Get_Sfnt_Table API function. */
580
597
  /* */
581
598
  /* <Values> */
582
599
  /* FT_SFNT_HEAD :: To access the font's @TT_Header structure. */
@@ -624,7 +641,7 @@ FT_BEGIN_HEADER
624
641
  /* FT_Get_Sfnt_Table */
625
642
  /* */
626
643
  /* <Description> */
627
- /* Return a pointer to a given SFNT table within a face. */
644
+ /* Return a pointer to a given SFNT table stored within a face. */
628
645
  /* */
629
646
  /* <Input> */
630
647
  /* face :: A handle to the source. */
@@ -632,7 +649,7 @@ FT_BEGIN_HEADER
632
649
  /* tag :: The index of the SFNT table. */
633
650
  /* */
634
651
  /* <Return> */
635
- /* A type-less pointer to the table. This will be~0 in case of */
652
+ /* A type-less pointer to the table. This will be NULL in case of */
636
653
  /* error, or if the corresponding table was not found *OR* loaded */
637
654
  /* from the file. */
638
655
  /* */
@@ -661,70 +678,70 @@ FT_BEGIN_HEADER
661
678
  FT_Sfnt_Tag tag );
662
679
 
663
680
 
664
- /**************************************************************************
665
- *
666
- * @function:
667
- * FT_Load_Sfnt_Table
668
- *
669
- * @description:
670
- * Load any font table into client memory.
671
- *
672
- * @input:
673
- * face ::
674
- * A handle to the source face.
675
- *
676
- * tag ::
677
- * The four-byte tag of the table to load. Use the value~0 if you want
678
- * to access the whole font file. Otherwise, you can use one of the
679
- * definitions found in the @FT_TRUETYPE_TAGS_H file, or forge a new
680
- * one with @FT_MAKE_TAG.
681
- *
682
- * offset ::
683
- * The starting offset in the table (or file if tag == 0).
684
- *
685
- * @output:
686
- * buffer ::
687
- * The target buffer address. The client must ensure that the memory
688
- * array is big enough to hold the data.
689
- *
690
- * @inout:
691
- * length ::
692
- * If the `length' parameter is NULL, then try to load the whole table.
693
- * Return an error code if it fails.
694
- *
695
- * Else, if `*length' is~0, exit immediately while returning the
696
- * table's (or file) full size in it.
697
- *
698
- * Else the number of bytes to read from the table or file, from the
699
- * starting offset.
700
- *
701
- * @return:
702
- * FreeType error code. 0~means success.
703
- *
704
- * @note:
705
- * If you need to determine the table's length you should first call this
706
- * function with `*length' set to~0, as in the following example:
707
- *
708
- * {
709
- * FT_ULong length = 0;
710
- *
711
- *
712
- * error = FT_Load_Sfnt_Table( face, tag, 0, NULL, &length );
713
- * if ( error ) { ... table does not exist ... }
714
- *
715
- * buffer = malloc( length );
716
- * if ( buffer == NULL ) { ... not enough memory ... }
717
- *
718
- * error = FT_Load_Sfnt_Table( face, tag, 0, buffer, &length );
719
- * if ( error ) { ... could not load table ... }
720
- * }
721
- *
722
- * Note that structures like @TT_Header or @TT_OS2 can't be used with
723
- * this function; they are limited to @FT_Get_Sfnt_Table. Reason is that
724
- * those structures depend on the processor architecture, with varying
725
- * size (e.g. 32bit vs. 64bit) or order (big endian vs. little endian).
726
- *
727
- */
681
+ /**************************************************************************
682
+ *
683
+ * @function:
684
+ * FT_Load_Sfnt_Table
685
+ *
686
+ * @description:
687
+ * Load any SFNT font table into client memory.
688
+ *
689
+ * @input:
690
+ * face ::
691
+ * A handle to the source face.
692
+ *
693
+ * tag ::
694
+ * The four-byte tag of the table to load. Use value~0 if you want
695
+ * to access the whole font file. Otherwise, you can use one of the
696
+ * definitions found in the @FT_TRUETYPE_TAGS_H file, or forge a new
697
+ * one with @FT_MAKE_TAG.
698
+ *
699
+ * offset ::
700
+ * The starting offset in the table (or file if tag~==~0).
701
+ *
702
+ * @output:
703
+ * buffer ::
704
+ * The target buffer address. The client must ensure that the memory
705
+ * array is big enough to hold the data.
706
+ *
707
+ * @inout:
708
+ * length ::
709
+ * If the `length' parameter is NULL, try to load the whole table.
710
+ * Return an error code if it fails.
711
+ *
712
+ * Else, if `*length' is~0, exit immediately while returning the
713
+ * table's (or file) full size in it.
714
+ *
715
+ * Else the number of bytes to read from the table or file, from the
716
+ * starting offset.
717
+ *
718
+ * @return:
719
+ * FreeType error code. 0~means success.
720
+ *
721
+ * @note:
722
+ * If you need to determine the table's length you should first call this
723
+ * function with `*length' set to~0, as in the following example:
724
+ *
725
+ * {
726
+ * FT_ULong length = 0;
727
+ *
728
+ *
729
+ * error = FT_Load_Sfnt_Table( face, tag, 0, NULL, &length );
730
+ * if ( error ) { ... table does not exist ... }
731
+ *
732
+ * buffer = malloc( length );
733
+ * if ( buffer == NULL ) { ... not enough memory ... }
734
+ *
735
+ * error = FT_Load_Sfnt_Table( face, tag, 0, buffer, &length );
736
+ * if ( error ) { ... could not load table ... }
737
+ * }
738
+ *
739
+ * Note that structures like @TT_Header or @TT_OS2 can't be used with
740
+ * this function; they are limited to @FT_Get_Sfnt_Table. Reason is that
741
+ * those structures depend on the processor architecture, with varying
742
+ * size (e.g. 32bit vs. 64bit) or order (big endian vs. little endian).
743
+ *
744
+ */
728
745
  FT_EXPORT( FT_Error )
729
746
  FT_Load_Sfnt_Table( FT_Face face,
730
747
  FT_ULong tag,
@@ -733,41 +750,41 @@ FT_BEGIN_HEADER
733
750
  FT_ULong* length );
734
751
 
735
752
 
736
- /**************************************************************************
737
- *
738
- * @function:
739
- * FT_Sfnt_Table_Info
740
- *
741
- * @description:
742
- * Return information on an SFNT table.
743
- *
744
- * @input:
745
- * face ::
746
- * A handle to the source face.
747
- *
748
- * table_index ::
749
- * The index of an SFNT table. The function returns
750
- * FT_Err_Table_Missing for an invalid value.
751
- *
752
- * @inout:
753
- * tag ::
754
- * The name tag of the SFNT table. If the value is NULL, `table_index'
755
- * is ignored, and `length' returns the number of SFNT tables in the
756
- * font.
757
- *
758
- * @output:
759
- * length ::
760
- * The length of the SFNT table (or the number of SFNT tables, depending
761
- * on `tag').
762
- *
763
- * @return:
764
- * FreeType error code. 0~means success.
765
- *
766
- * @note:
767
- * While parsing fonts, FreeType handles SFNT tables with length zero as
768
- * missing.
769
- *
770
- */
753
+ /**************************************************************************
754
+ *
755
+ * @function:
756
+ * FT_Sfnt_Table_Info
757
+ *
758
+ * @description:
759
+ * Return information on an SFNT table.
760
+ *
761
+ * @input:
762
+ * face ::
763
+ * A handle to the source face.
764
+ *
765
+ * table_index ::
766
+ * The index of an SFNT table. The function returns
767
+ * FT_Err_Table_Missing for an invalid value.
768
+ *
769
+ * @inout:
770
+ * tag ::
771
+ * The name tag of the SFNT table. If the value is NULL, `table_index'
772
+ * is ignored, and `length' returns the number of SFNT tables in the
773
+ * font.
774
+ *
775
+ * @output:
776
+ * length ::
777
+ * The length of the SFNT table (or the number of SFNT tables, depending
778
+ * on `tag').
779
+ *
780
+ * @return:
781
+ * FreeType error code. 0~means success.
782
+ *
783
+ * @note:
784
+ * While parsing fonts, FreeType handles SFNT tables with length zero as
785
+ * missing.
786
+ *
787
+ */
771
788
  FT_EXPORT( FT_Error )
772
789
  FT_Sfnt_Table_Info( FT_Face face,
773
790
  FT_UInt table_index,
@@ -781,16 +798,16 @@ FT_BEGIN_HEADER
781
798
  /* FT_Get_CMap_Language_ID */
782
799
  /* */
783
800
  /* <Description> */
784
- /* Return TrueType/sfnt specific cmap language ID. Definitions of */
785
- /* language ID values are in `ttnameid.h'. */
801
+ /* Return cmap language ID as specified in the OpenType standard. */
802
+ /* Definitions of language ID values are in file @FT_TRUETYPE_IDS_H. */
786
803
  /* */
787
804
  /* <Input> */
788
805
  /* charmap :: */
789
806
  /* The target charmap. */
790
807
  /* */
791
808
  /* <Return> */
792
- /* The language ID of `charmap'. If `charmap' doesn't belong to a */
793
- /* TrueType/sfnt face, just return~0 as the default value. */
809
+ /* The language ID of `charmap'. If `charmap' doesn't belong to an */
810
+ /* SFNT face, just return~0 as the default value. */
794
811
  /* */
795
812
  /* For a format~14 cmap (to access Unicode IVS), the return value is */
796
813
  /* 0xFFFFFFFF. */
@@ -805,15 +822,15 @@ FT_BEGIN_HEADER
805
822
  /* FT_Get_CMap_Format */
806
823
  /* */
807
824
  /* <Description> */
808
- /* Return TrueType/sfnt specific cmap format. */
825
+ /* Return the format of an SFNT `cmap' table. */
809
826
  /* */
810
827
  /* <Input> */
811
828
  /* charmap :: */
812
829
  /* The target charmap. */
813
830
  /* */
814
831
  /* <Return> */
815
- /* The format of `charmap'. If `charmap' doesn't belong to a */
816
- /* TrueType/sfnt face, return -1. */
832
+ /* The format of `charmap'. If `charmap' doesn't belong to an SFNT */
833
+ /* face, return -1. */
817
834
  /* */
818
835
  FT_EXPORT( FT_Long )
819
836
  FT_Get_CMap_Format( FT_CharMap charmap );