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
@@ -4,7 +4,7 @@
4
4
  /* */
5
5
  /* FreeType incremental loading (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, */
@@ -5,7 +5,7 @@
5
5
  /* FreeType API for color filtering of subpixel bitmap glyphs */
6
6
  /* (specification). */
7
7
  /* */
8
- /* Copyright 2006-2016 by */
8
+ /* Copyright 2006-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, */
@@ -44,9 +44,16 @@ FT_BEGIN_HEADER
44
44
  * Reduce color fringes of subpixel-rendered bitmaps.
45
45
  *
46
46
  * @description:
47
- * Subpixel rendering exploits the color-striped structure of LCD
48
- * pixels, increasing the available resolution in the direction of the
49
- * stripe (usually horizontal RGB) by a factor of~3. Since these
47
+ * Should you #define FT_CONFIG_OPTION_SUBPIXEL_RENDERING in your
48
+ * `ftoption.h', which enables patented ClearType-style rendering,
49
+ * the LCD-optimized glyph bitmaps should be filtered to reduce color
50
+ * fringes inherent to this technology. The default FreeType LCD
51
+ * rendering uses different technology, and API described below,
52
+ * although available, does nothing.
53
+ *
54
+ * ClearType-style LCD rendering exploits the color-striped structure of
55
+ * LCD pixels, increasing the available resolution in the direction of
56
+ * the stripe (usually horizontal RGB) by a factor of~3. Since these
50
57
  * subpixels are color pixels, using them unfiltered creates severe
51
58
  * color fringes. Use the @FT_Library_SetLcdFilter API to specify a
52
59
  * low-pass filter, which is then applied to subpixel-rendered bitmaps
@@ -54,12 +61,6 @@ FT_BEGIN_HEADER
54
61
  * the higher resolution to reduce color fringes, making the glyph image
55
62
  * slightly blurrier. Positional improvements will remain.
56
63
  *
57
- * Note that no filter is active by default, and that this function is
58
- * *not* implemented in default builds of the library. You need to
59
- * #define FT_CONFIG_OPTION_SUBPIXEL_RENDERING in your `ftoption.h' file
60
- * in order to activate it and explicitly call @FT_Library_SetLcdFilter
61
- * to enable it.
62
- *
63
64
  * A filter should have two properties:
64
65
  *
65
66
  * 1) It should be normalized, meaning the sum of the 5~components
@@ -268,6 +269,9 @@ FT_BEGIN_HEADER
268
269
  * defined in your build of the library, which should correspond to all
269
270
  * default builds of FreeType.
270
271
  *
272
+ * LCD filter weights can also be set per face using @FT_Face_Properties
273
+ * with @FT_PARAM_TAG_LCD_FILTER_WEIGHTS.
274
+ *
271
275
  * @since:
272
276
  * 2.4.0
273
277
  */
@@ -275,6 +279,38 @@ FT_BEGIN_HEADER
275
279
  FT_Library_SetLcdFilterWeights( FT_Library library,
276
280
  unsigned char *weights );
277
281
 
282
+
283
+ /**************************************************************************
284
+ *
285
+ * @constant:
286
+ * FT_PARAM_TAG_LCD_FILTER_WEIGHTS
287
+ *
288
+ * @description:
289
+ * An @FT_Parameter tag to be used with @FT_Face_Properties. The
290
+ * corresponding argument specifies the five LCD filter weights for a
291
+ * given face (if using @FT_LOAD_TARGET_LCD, for example), overriding
292
+ * the global default values or the values set up with
293
+ * @FT_Library_SetLcdFilterWeights.
294
+ *
295
+ */
296
+ #define FT_PARAM_TAG_LCD_FILTER_WEIGHTS \
297
+ FT_MAKE_TAG( 'l', 'c', 'd', 'f' )
298
+
299
+
300
+ /*
301
+ * @type:
302
+ * FT_LcdFiveTapFilter
303
+ *
304
+ * @description:
305
+ * A typedef for passing the five LCD filter weights to
306
+ * @FT_Face_Properties within an @FT_Parameter structure.
307
+ *
308
+ */
309
+ #define FT_LCD_FILTER_FIVE_TAPS 5
310
+
311
+ typedef FT_Byte FT_LcdFiveTapFilter[FT_LCD_FILTER_FIVE_TAPS];
312
+
313
+
278
314
  /* */
279
315
 
280
316
 
@@ -4,7 +4,7 @@
4
4
  /* */
5
5
  /* Generic list support for FreeType (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
  /* LZW-compressed stream support. */
6
6
  /* */
7
- /* Copyright 2004-2016 by */
7
+ /* Copyright 2004-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
  /* Additional Mac-specific API. */
6
6
  /* */
7
- /* Copyright 1996-2016 by */
7
+ /* Copyright 1996-2017 by */
8
8
  /* Just van Rossum, David Turner, Robert Wilhelm, and Werner Lemberg. */
9
9
  /* */
10
10
  /* This file is part of the FreeType project, and may only be used, */
@@ -35,11 +35,12 @@
35
35
  FT_BEGIN_HEADER
36
36
 
37
37
 
38
- /* gcc-3.4.1 and later can warn about functions tagged as deprecated */
38
+ /* gcc-3.1 and later can warn about functions tagged as deprecated */
39
39
  #ifndef FT_DEPRECATED_ATTRIBUTE
40
- #if defined(__GNUC__) && \
41
- ((__GNUC__ >= 4) || ((__GNUC__ == 3) && (__GNUC_MINOR__ >= 1)))
42
- #define FT_DEPRECATED_ATTRIBUTE __attribute__((deprecated))
40
+ #if defined( __GNUC__ ) && \
41
+ ( ( __GNUC__ >= 4 ) || \
42
+ ( ( __GNUC__ == 3 ) && ( __GNUC_MINOR__ >= 1 ) ) )
43
+ #define FT_DEPRECATED_ATTRIBUTE __attribute__(( deprecated ))
43
44
  #else
44
45
  #define FT_DEPRECATED_ATTRIBUTE
45
46
  #endif
@@ -4,7 +4,7 @@
4
4
  /* */
5
5
  /* FreeType Multiple Master font interface (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, */
@@ -43,11 +43,10 @@ FT_BEGIN_HEADER
43
43
  /* Master fonts, i.e., the selection of specific design instances by */
44
44
  /* setting design axis coordinates. */
45
45
  /* */
46
- /* George Williams has extended this interface to make it work with */
47
- /* both Type~1 Multiple Masters fonts and GX distortable (var) */
48
- /* fonts. Some of these routines only work with MM fonts, others */
49
- /* will work with both types. They are similar enough that a */
50
- /* consistent interface makes sense. */
46
+ /* Besides Adobe MM fonts, the interface supports Apple's TrueType GX */
47
+ /* and OpenType variation fonts. Some of the routines only work with */
48
+ /* Adobe MM fonts, others will work with all three types. They are */
49
+ /* similar enough that a consistent interface makes sense. */
51
50
  /* */
52
51
  /*************************************************************************/
53
52
 
@@ -58,10 +57,11 @@ FT_BEGIN_HEADER
58
57
  /* FT_MM_Axis */
59
58
  /* */
60
59
  /* <Description> */
61
- /* A simple structure used to model a given axis in design space for */
62
- /* Multiple Masters fonts. */
60
+ /* A structure to model a given axis in design space for Multiple */
61
+ /* Masters fonts. */
63
62
  /* */
64
- /* This structure can't be used for GX var fonts. */
63
+ /* This structure can't be used for TrueType GX or OpenType variation */
64
+ /* fonts. */
65
65
  /* */
66
66
  /* <Fields> */
67
67
  /* name :: The axis's name. */
@@ -85,10 +85,11 @@ FT_BEGIN_HEADER
85
85
  /* FT_Multi_Master */
86
86
  /* */
87
87
  /* <Description> */
88
- /* A structure used to model the axes and space of a Multiple Masters */
88
+ /* A structure to model the axes and space of a Multiple Masters */
89
89
  /* font. */
90
90
  /* */
91
- /* This structure can't be used for GX var fonts. */
91
+ /* This structure can't be used for TrueType GX or OpenType variation */
92
+ /* fonts. */
92
93
  /* */
93
94
  /* <Fields> */
94
95
  /* num_axis :: Number of axes. Cannot exceed~4. */
@@ -115,27 +116,35 @@ FT_BEGIN_HEADER
115
116
  /* FT_Var_Axis */
116
117
  /* */
117
118
  /* <Description> */
118
- /* A simple structure used to model a given axis in design space for */
119
- /* Multiple Masters and GX var fonts. */
119
+ /* A structure to model a given axis in design space for Multiple */
120
+ /* Masters, TrueType GX, and OpenType variation fonts. */
120
121
  /* */
121
122
  /* <Fields> */
122
123
  /* name :: The axis's name. */
123
- /* Not always meaningful for GX. */
124
+ /* Not always meaningful for TrueType GX or OpenType */
125
+ /* variation fonts. */
124
126
  /* */
125
127
  /* minimum :: The axis's minimum design coordinate. */
126
128
  /* */
127
129
  /* def :: The axis's default design coordinate. */
128
- /* FreeType computes meaningful default values for MM; it */
129
- /* is then an integer value, not in 16.16 format. */
130
+ /* FreeType computes meaningful default values for Adobe */
131
+ /* MM fonts. */
130
132
  /* */
131
133
  /* maximum :: The axis's maximum design coordinate. */
132
134
  /* */
133
- /* tag :: The axis's tag (the GX equivalent to `name'). */
134
- /* FreeType provides default values for MM if possible. */
135
+ /* tag :: The axis's tag (the equivalent to `name' for TrueType */
136
+ /* GX and OpenType variation fonts). FreeType provides */
137
+ /* default values for Adobe MM fonts if possible. */
135
138
  /* */
136
- /* strid :: The entry in `name' table (another GX version of */
137
- /* `name'). */
138
- /* Not meaningful for MM. */
139
+ /* strid :: The axis name entry in the font's `name' table. This */
140
+ /* is another (and often better) version of the `name' */
141
+ /* field for TrueType GX or OpenType variation fonts. Not */
142
+ /* meaningful for Adobe MM fonts. */
143
+ /* */
144
+ /* <Note> */
145
+ /* The fields `minimum', `def', and `maximum' are 16.16 fractional */
146
+ /* values for TrueType GX and OpenType variation fonts. For Adobe MM */
147
+ /* fonts, the values are integers. */
139
148
  /* */
140
149
  typedef struct FT_Var_Axis_
141
150
  {
@@ -157,15 +166,20 @@ FT_BEGIN_HEADER
157
166
  /* FT_Var_Named_Style */
158
167
  /* */
159
168
  /* <Description> */
160
- /* A simple structure used to model a named style in a GX var font. */
169
+ /* A structure to model a named instance in a TrueType GX or OpenType */
170
+ /* variation font. */
161
171
  /* */
162
- /* This structure can't be used for MM fonts. */
172
+ /* This structure can't be used for Adobe MM fonts. */
163
173
  /* */
164
174
  /* <Fields> */
165
- /* coords :: The design coordinates for this style. */
175
+ /* coords :: The design coordinates for this instance. */
166
176
  /* This is an array with one entry for each axis. */
167
177
  /* */
168
- /* strid :: The entry in `name' table identifying this style. */
178
+ /* strid :: The entry in `name' table identifying this instance. */
179
+ /* */
180
+ /* psid :: The entry in `name' table identifying a PostScript name */
181
+ /* for this instance. Value 0xFFFF indicates a missing */
182
+ /* entry. */
169
183
  /* */
170
184
  typedef struct FT_Var_Named_Style_
171
185
  {
@@ -182,17 +196,19 @@ FT_BEGIN_HEADER
182
196
  /* FT_MM_Var */
183
197
  /* */
184
198
  /* <Description> */
185
- /* A structure used to model the axes and space of a Multiple Masters */
186
- /* or GX var distortable font. */
199
+ /* A structure to model the axes and space of an Adobe MM, TrueType */
200
+ /* GX, or OpenType variation font. */
187
201
  /* */
188
- /* Some fields are specific to one format and not to the other. */
202
+ /* Some fields are specific to one format and not to the others. */
189
203
  /* */
190
204
  /* <Fields> */
191
205
  /* num_axis :: The number of axes. The maximum value is~4 for */
192
- /* MM; no limit in GX. */
206
+ /* Adobe MM fonts; no limit in TrueType GX or */
207
+ /* OpenType variation fonts. */
193
208
  /* */
194
209
  /* num_designs :: The number of designs; should be normally */
195
- /* 2^num_axis for MM fonts. Not meaningful for GX */
210
+ /* 2^num_axis for Adobe MM fonts. Not meaningful */
211
+ /* for TrueType GX or OpenType variation fonts */
196
212
  /* (where every glyph could have a different */
197
213
  /* number of designs). */
198
214
  /* */
@@ -200,21 +216,23 @@ FT_BEGIN_HEADER
200
216
  /* a tuple of design coordinates that has a string */
201
217
  /* ID (in the `name' table) associated with it. */
202
218
  /* The font can tell the user that, for example, */
203
- /* [Weight=1.5,Width=1.1] is `Bold'. */
219
+ /* [Weight=1.5,Width=1.1] is `Bold'. Another name */
220
+ /* for `named style' is `named instance'. */
204
221
  /* */
205
- /* For Type 1 Multiple Masters fonts, this value */
206
- /* is always zero because the format does not */
207
- /* support named styles. */
222
+ /* For Adobe Multiple Masters fonts, this value is */
223
+ /* always zero because the format does not support */
224
+ /* named styles. */
208
225
  /* */
209
226
  /* axis :: An axis descriptor table. */
210
- /* GX fonts contain slightly more data than MM. */
227
+ /* TrueType GX and OpenType variation fonts */
228
+ /* contain slightly more data than Adobe MM fonts. */
211
229
  /* Memory management of this pointer is done */
212
230
  /* internally by FreeType. */
213
231
  /* */
214
- /* namedstyle :: A named style table. */
215
- /* Only meaningful with GX. */
216
- /* Memory management of this pointer is done */
217
- /* internally by FreeType. */
232
+ /* namedstyle :: A named style (instance) table. */
233
+ /* Only meaningful for TrueType GX and OpenType */
234
+ /* variation fonts. Memory management of this */
235
+ /* pointer is done internally by FreeType. */
218
236
  /* */
219
237
  typedef struct FT_MM_Var_
220
238
  {
@@ -233,9 +251,10 @@ FT_BEGIN_HEADER
233
251
  /* FT_Get_Multi_Master */
234
252
  /* */
235
253
  /* <Description> */
236
- /* Retrieve the Multiple Master descriptor of a given font. */
254
+ /* Retrieve a variation descriptor of a given Adobe MM font. */
237
255
  /* */
238
- /* This function can't be used with GX fonts. */
256
+ /* This function can't be used with TrueType GX or OpenType variation */
257
+ /* fonts. */
239
258
  /* */
240
259
  /* <Input> */
241
260
  /* face :: A handle to the source face. */
@@ -257,13 +276,15 @@ FT_BEGIN_HEADER
257
276
  /* FT_Get_MM_Var */
258
277
  /* */
259
278
  /* <Description> */
260
- /* Retrieve the Multiple Master/GX var descriptor of a given font. */
279
+ /* Retrieve a variation descriptor for a given font. */
280
+ /* */
281
+ /* This function works with all supported variation formats. */
261
282
  /* */
262
283
  /* <Input> */
263
284
  /* face :: A handle to the source face. */
264
285
  /* */
265
286
  /* <Output> */
266
- /* amaster :: The Multiple Masters/GX var descriptor. */
287
+ /* amaster :: The variation descriptor. */
267
288
  /* Allocates a data structure, which the user must */
268
289
  /* deallocate with `free' after use. */
269
290
  /* */
@@ -281,10 +302,11 @@ FT_BEGIN_HEADER
281
302
  /* FT_Set_MM_Design_Coordinates */
282
303
  /* */
283
304
  /* <Description> */
284
- /* For Multiple Masters fonts, choose an interpolated font design */
285
- /* through design coordinates. */
305
+ /* For Adobe MM fonts, choose an interpolated font design through */
306
+ /* design coordinates. */
286
307
  /* */
287
- /* This function can't be used with GX fonts. */
308
+ /* This function can't be used with TrueType GX or OpenType variation */
309
+ /* fonts. */
288
310
  /* */
289
311
  /* <InOut> */
290
312
  /* face :: A handle to the source face. */
@@ -300,6 +322,11 @@ FT_BEGIN_HEADER
300
322
  /* <Return> */
301
323
  /* FreeType error code. 0~means success. */
302
324
  /* */
325
+ /* <Note> */
326
+ /* To reset all axes to the default values, call the function with */
327
+ /* `num_coords' set to zero and `coords' set to NULL (new feature in */
328
+ /* FreeType version 2.8.1). */
329
+ /* */
303
330
  FT_EXPORT( FT_Error )
304
331
  FT_Set_MM_Design_Coordinates( FT_Face face,
305
332
  FT_UInt num_coords,
@@ -312,8 +339,9 @@ FT_BEGIN_HEADER
312
339
  /* FT_Set_Var_Design_Coordinates */
313
340
  /* */
314
341
  /* <Description> */
315
- /* For Multiple Master or GX Var fonts, choose an interpolated font */
316
- /* design through design coordinates. */
342
+ /* Choose an interpolated font design through design coordinates. */
343
+ /* */
344
+ /* This function works with all supported variation formats. */
317
345
  /* */
318
346
  /* <InOut> */
319
347
  /* face :: A handle to the source face. */
@@ -329,6 +357,11 @@ FT_BEGIN_HEADER
329
357
  /* <Return> */
330
358
  /* FreeType error code. 0~means success. */
331
359
  /* */
360
+ /* <Note> */
361
+ /* To reset all axes to the default values, call the function with */
362
+ /* `num_coords' set to zero and `coords' set to NULL (new feature in */
363
+ /* FreeType version 2.8.1). */
364
+ /* */
332
365
  FT_EXPORT( FT_Error )
333
366
  FT_Set_Var_Design_Coordinates( FT_Face face,
334
367
  FT_UInt num_coords,
@@ -341,8 +374,10 @@ FT_BEGIN_HEADER
341
374
  /* FT_Get_Var_Design_Coordinates */
342
375
  /* */
343
376
  /* <Description> */
344
- /* For Multiple Master and GX Var fonts, get the design coordinates */
345
- /* of the currently selected interpolated font. */
377
+ /* Get the design coordinates of the currently selected interpolated */
378
+ /* font. */
379
+ /* */
380
+ /* This function works with all supported variation formats. */
346
381
  /* */
347
382
  /* <Input> */
348
383
  /* face :: A handle to the source face. */
@@ -369,8 +404,10 @@ FT_BEGIN_HEADER
369
404
  /* FT_Set_MM_Blend_Coordinates */
370
405
  /* */
371
406
  /* <Description> */
372
- /* For Multiple Masters and GX var fonts, choose an interpolated font */
373
- /* design through normalized blend coordinates. */
407
+ /* Choose an interpolated font design through normalized blend */
408
+ /* coordinates. */
409
+ /* */
410
+ /* This function works with all supported variation formats. */
374
411
  /* */
375
412
  /* <InOut> */
376
413
  /* face :: A handle to the source face. */
@@ -382,12 +419,18 @@ FT_BEGIN_HEADER
382
419
  /* use default values for the remaining axes. */
383
420
  /* */
384
421
  /* coords :: The design coordinates array (each element must be */
385
- /* between 0 and 1.0 for MM fonts, and between -1.0 and */
386
- /* 1.0 for GX var fonts). */
422
+ /* between 0 and 1.0 for Adobe MM fonts, and between */
423
+ /* -1.0 and 1.0 for TrueType GX and OpenType variation */
424
+ /* fonts). */
387
425
  /* */
388
426
  /* <Return> */
389
427
  /* FreeType error code. 0~means success. */
390
428
  /* */
429
+ /* <Note> */
430
+ /* To reset all axes to the default values, call the function with */
431
+ /* `num_coords' set to zero and `coords' set to NULL (new feature in */
432
+ /* FreeType version 2.8.1). */
433
+ /* */
391
434
  FT_EXPORT( FT_Error )
392
435
  FT_Set_MM_Blend_Coordinates( FT_Face face,
393
436
  FT_UInt num_coords,
@@ -400,16 +443,18 @@ FT_BEGIN_HEADER
400
443
  /* FT_Get_MM_Blend_Coordinates */
401
444
  /* */
402
445
  /* <Description> */
403
- /* For Multiple Masters and GX var fonts, get the normalized blend */
404
- /* coordinates of the currently selected interpolated font. */
446
+ /* Get the normalized blend coordinates of the currently selected */
447
+ /* interpolated font. */
448
+ /* */
449
+ /* This function works with all supported variation formats. */
405
450
  /* */
406
451
  /* <Input> */
407
452
  /* face :: A handle to the source face. */
408
453
  /* */
409
454
  /* num_coords :: The number of normalized blend coordinates to */
410
455
  /* retrieve. If it is larger than the number of axes, */
411
- /* set the excess values to~0.5 for MM fonts, and to~0 */
412
- /* for GX var fonts. */
456
+ /* set the excess values to~0.5 for Adobe MM fonts, and */
457
+ /* to~0 for TrueType GX and OpenType variation fonts. */
413
458
  /* */
414
459
  /* <Output> */
415
460
  /* coords :: The normalized blend coordinates array. */
@@ -450,6 +495,50 @@ FT_BEGIN_HEADER
450
495
  FT_UInt num_coords,
451
496
  FT_Fixed* coords );
452
497
 
498
+
499
+ /*************************************************************************/
500
+ /* */
501
+ /* <Enum> */
502
+ /* FT_VAR_AXIS_FLAG_XXX */
503
+ /* */
504
+ /* <Description> */
505
+ /* A list of bit flags used in the return value of */
506
+ /* @FT_Get_Var_Axis_Flags. */
507
+ /* */
508
+ /* <Values> */
509
+ /* FT_VAR_AXIS_FLAG_HIDDEN :: */
510
+ /* The variation axis should not be exposed to user interfaces. */
511
+ /* */
512
+ #define FT_VAR_AXIS_FLAG_HIDDEN 1
513
+
514
+
515
+ /*************************************************************************/
516
+ /* */
517
+ /* <Function> */
518
+ /* FT_Get_Var_Axis_Flags */
519
+ /* */
520
+ /* <Description> */
521
+ /* Get the `flags' field of an OpenType Variation Axis Record. */
522
+ /* */
523
+ /* Not meaningful for Adobe MM fonts (`*flags' is always zero). */
524
+ /* */
525
+ /* <Input> */
526
+ /* master :: The variation descriptor. */
527
+ /* */
528
+ /* axis_index :: The index of the requested variation axis. */
529
+ /* */
530
+ /* <Output> */
531
+ /* flags :: The `flags' field. See @FT_VAR_AXIS_FLAG_XXX for */
532
+ /* possible values. */
533
+ /* */
534
+ /* <Return> */
535
+ /* FreeType error code. 0~means success. */
536
+ /* */
537
+ FT_EXPORT( FT_Error )
538
+ FT_Get_Var_Axis_Flags( FT_MM_Var* master,
539
+ FT_UInt axis_index,
540
+ FT_UInt* flags );
541
+
453
542
  /* */
454
543
 
455
544