cairo 1.15.2-x64-mingw32 → 1.15.3-x64-mingw32

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of cairo might be problematic. Click here for more details.

Files changed (293) hide show
  1. checksums.yaml +4 -4
  2. data/NEWS +20 -0
  3. data/Rakefile +10 -18
  4. data/ext/cairo/extconf.rb +1 -0
  5. data/ext/cairo/rb_cairo.h +1 -1
  6. data/ext/cairo/rb_cairo_font_options.c +5 -1
  7. data/ext/cairo/rb_cairo_surface.c +32 -6
  8. data/lib/2.2/cairo.so +0 -0
  9. data/lib/2.3/cairo.so +0 -0
  10. data/test/test_font_options.rb +47 -2
  11. data/test/test_pdf_surface.rb +8 -0
  12. data/test/test_svg_surface.rb +8 -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 +1 -1
  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/libgcc_s_seh-1.dll +0 -0
  28. data/vendor/local/bin/libpixman-1-0.dll +0 -0
  29. data/vendor/local/bin/libpng-config +1 -1
  30. data/vendor/local/bin/libpng16-16.dll +0 -0
  31. data/vendor/local/bin/libpng16-config +1 -1
  32. data/vendor/local/bin/libstdc++-6.dll +0 -0
  33. data/vendor/local/bin/libwinpthread-1.dll +0 -0
  34. data/vendor/local/bin/libxml2-2.dll +0 -0
  35. data/vendor/local/bin/png-fix-itxt.exe +0 -0
  36. data/vendor/local/bin/pngfix.exe +0 -0
  37. data/vendor/local/bin/xml2-config +4 -4
  38. data/vendor/local/bin/xmlcatalog.exe +0 -0
  39. data/vendor/local/bin/xmllint.exe +0 -0
  40. data/vendor/local/bin/zlib1.dll +0 -0
  41. data/vendor/local/etc/fonts/conf.d/10-hinting-slight.conf +13 -0
  42. data/vendor/local/etc/fonts/conf.d/10-scale-bitmap-fonts.conf +17 -15
  43. data/vendor/local/etc/fonts/conf.d/30-metric-aliases.conf +83 -17
  44. data/vendor/local/etc/fonts/conf.d/45-latin.conf +113 -33
  45. data/vendor/local/etc/fonts/conf.d/60-latin.conf +3 -0
  46. data/vendor/local/etc/fonts/fonts.conf +0 -66
  47. data/vendor/local/include/fontconfig/fcprivate.h +3 -0
  48. data/vendor/local/include/fontconfig/fontconfig.h +48 -7
  49. data/vendor/local/include/freetype2/freetype/config/ftoption.h +95 -13
  50. data/vendor/local/include/freetype2/freetype/config/ftstdlib.h +3 -1
  51. data/vendor/local/include/freetype2/freetype/freetype.h +66 -32
  52. data/vendor/local/include/freetype2/freetype/ftautoh.h +9 -1
  53. data/vendor/local/include/freetype2/freetype/ftcache.h +4 -4
  54. data/vendor/local/include/freetype2/freetype/ftcffdrv.h +18 -5
  55. data/vendor/local/include/freetype2/freetype/ftcid.h +2 -2
  56. data/vendor/local/include/freetype2/freetype/ftgzip.h +5 -5
  57. data/vendor/local/include/freetype2/freetype/ftimage.h +1 -11
  58. data/vendor/local/include/freetype2/freetype/ftmm.h +9 -5
  59. data/vendor/local/include/freetype2/freetype/ftotval.h +6 -6
  60. data/vendor/local/include/freetype2/freetype/ftoutln.h +8 -0
  61. data/vendor/local/include/freetype2/freetype/ftsystem.h +1 -1
  62. data/vendor/local/include/freetype2/freetype/ftttdrv.h +41 -22
  63. data/vendor/local/include/freetype2/freetype/tttables.h +1 -1
  64. data/vendor/local/include/libpng16/png.h +259 -123
  65. data/vendor/local/include/libpng16/pngconf.h +25 -25
  66. data/vendor/local/include/libpng16/pnglibconf.h +2 -1
  67. data/vendor/local/include/libxml2/libxml/dict.h +14 -8
  68. data/vendor/local/include/libxml2/libxml/parser.h +2 -2
  69. data/vendor/local/include/libxml2/libxml/parserInternals.h +1 -1
  70. data/vendor/local/include/libxml2/libxml/schemasInternals.h +46 -46
  71. data/vendor/local/include/libxml2/libxml/tree.h +2 -1
  72. data/vendor/local/include/libxml2/libxml/xmlerror.h +1 -1
  73. data/vendor/local/include/libxml2/libxml/xmlstring.h +4 -4
  74. data/vendor/local/include/libxml2/libxml/xmlversion.h +5 -5
  75. data/vendor/local/include/libxml2/libxml/xpathInternals.h +1 -1
  76. data/vendor/local/include/pixman-1/pixman-version.h +3 -3
  77. data/vendor/local/include/png.h +259 -123
  78. data/vendor/local/include/pngconf.h +25 -25
  79. data/vendor/local/include/pnglibconf.h +2 -1
  80. data/vendor/local/lib/cmake/libxml2/libxml2-config.cmake +3 -3
  81. data/vendor/local/lib/fontconfig.def +10 -1
  82. data/vendor/local/lib/libcairo-gobject.a +0 -0
  83. data/vendor/local/lib/libcairo-gobject.dll.a +0 -0
  84. data/vendor/local/lib/libcairo-gobject.la +2 -2
  85. data/vendor/local/lib/libcairo-script-interpreter.a +0 -0
  86. data/vendor/local/lib/libcairo-script-interpreter.dll.a +0 -0
  87. data/vendor/local/lib/libcairo-script-interpreter.la +2 -2
  88. data/vendor/local/lib/libcairo.a +0 -0
  89. data/vendor/local/lib/libcairo.dll.a +0 -0
  90. data/vendor/local/lib/libcairo.la +2 -2
  91. data/vendor/local/lib/libfontconfig.dll.a +0 -0
  92. data/vendor/local/lib/libfontconfig.la +5 -5
  93. data/vendor/local/lib/libfreetype.a +0 -0
  94. data/vendor/local/lib/libfreetype.dll.a +0 -0
  95. data/vendor/local/lib/libfreetype.la +1 -1
  96. data/vendor/local/lib/libpixman-1.a +0 -0
  97. data/vendor/local/lib/libpixman-1.dll.a +0 -0
  98. data/vendor/local/lib/libpixman-1.la +5 -5
  99. data/vendor/local/lib/libpng.a +0 -0
  100. data/vendor/local/lib/libpng.dll.a +0 -0
  101. data/vendor/local/lib/libpng.la +2 -2
  102. data/vendor/local/lib/libpng16.a +0 -0
  103. data/vendor/local/lib/libpng16.dll.a +0 -0
  104. data/vendor/local/lib/libpng16.la +2 -2
  105. data/vendor/local/lib/libxml2.a +0 -0
  106. data/vendor/local/lib/libxml2.dll.a +0 -0
  107. data/vendor/local/lib/libxml2.la +3 -3
  108. data/vendor/local/lib/libz.a +0 -0
  109. data/vendor/local/lib/libz.dll.a +0 -0
  110. data/vendor/local/lib/pkgconfig/fontconfig.pc +3 -3
  111. data/vendor/local/lib/pkgconfig/freetype2.pc +1 -1
  112. data/vendor/local/lib/pkgconfig/libpng.pc +1 -1
  113. data/vendor/local/lib/pkgconfig/libpng16.pc +1 -1
  114. data/vendor/local/lib/pkgconfig/libxml-2.0.pc +2 -2
  115. data/vendor/local/lib/pkgconfig/pixman-1.pc +1 -1
  116. data/vendor/local/lib/xml2Conf.sh +2 -2
  117. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/Copyright +0 -0
  118. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/examples/testHTML.c +0 -0
  119. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/examples/testSAX.c +0 -0
  120. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/examples/testXPath.c +0 -0
  121. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/examples/xmllint.c +19 -11
  122. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/DOM.gif +0 -0
  123. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/FAQ.html +0 -0
  124. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/Libxml2-Logo-180x168.gif +0 -0
  125. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/Libxml2-Logo-90x34.gif +0 -0
  126. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/encoding.html +0 -0
  127. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/examples.xml +0 -0
  128. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/examples.xsl +0 -0
  129. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/html/book1.html +1 -1
  130. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/html/home.png +0 -0
  131. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/html/index.html +1 -1
  132. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/html/left.png +0 -0
  133. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/html/libxml-DOCBparser.html +0 -0
  134. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/html/libxml-HTMLparser.html +0 -0
  135. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/html/libxml-HTMLtree.html +0 -0
  136. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/html/libxml-SAX.html +0 -0
  137. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/html/libxml-SAX2.html +0 -0
  138. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/html/libxml-c14n.html +0 -0
  139. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/html/libxml-catalog.html +0 -0
  140. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/html/libxml-chvalid.html +0 -0
  141. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/html/libxml-debugXML.html +0 -0
  142. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/html/libxml-dict.html +14 -14
  143. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/html/libxml-encoding.html +0 -0
  144. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/html/libxml-entities.html +0 -0
  145. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/html/libxml-globals.html +0 -0
  146. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/html/libxml-hash.html +0 -0
  147. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/html/libxml-lib.html +1 -1
  148. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/html/libxml-list.html +0 -0
  149. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/html/libxml-nanoftp.html +0 -0
  150. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/html/libxml-nanohttp.html +0 -0
  151. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/html/libxml-parser.html +1 -1
  152. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/html/libxml-parserInternals.html +0 -0
  153. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/html/libxml-pattern.html +0 -0
  154. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/html/libxml-relaxng.html +0 -0
  155. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/html/libxml-schemasInternals.html +0 -0
  156. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/html/libxml-schematron.html +0 -0
  157. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/html/libxml-threads.html +0 -0
  158. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/html/libxml-tree.html +2 -1
  159. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/html/libxml-uri.html +0 -0
  160. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/html/libxml-valid.html +0 -0
  161. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/html/libxml-xinclude.html +0 -0
  162. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/html/libxml-xlink.html +0 -0
  163. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/html/libxml-xmlIO.html +0 -0
  164. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/html/libxml-xmlautomata.html +0 -0
  165. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/html/libxml-xmlerror.html +0 -0
  166. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/html/libxml-xmlexports.html +0 -0
  167. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/html/libxml-xmlmemory.html +1 -1
  168. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/html/libxml-xmlmodule.html +0 -0
  169. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/html/libxml-xmlreader.html +0 -0
  170. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/html/libxml-xmlregexp.html +1 -1
  171. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/html/libxml-xmlsave.html +0 -0
  172. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/html/libxml-xmlschemas.html +0 -0
  173. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/html/libxml-xmlschemastypes.html +0 -0
  174. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/html/libxml-xmlstring.html +4 -4
  175. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/html/libxml-xmlunicode.html +0 -0
  176. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/html/libxml-xmlversion.html +0 -0
  177. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/html/libxml-xmlwriter.html +0 -0
  178. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/html/libxml-xpath.html +0 -0
  179. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/html/libxml-xpathInternals.html +0 -0
  180. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/html/libxml-xpointer.html +0 -0
  181. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/html/libxml-xzlib.html +0 -0
  182. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/html/right.png +0 -0
  183. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/html/up.png +0 -0
  184. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/index.html +0 -0
  185. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/io1.c +0 -0
  186. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/io1.res +1 -1
  187. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/io2.c +0 -0
  188. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/io2.res +0 -0
  189. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/libxml.gif +0 -0
  190. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/parse1.c +0 -0
  191. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/parse2.c +0 -0
  192. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/parse3.c +0 -0
  193. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/parse4.c +0 -0
  194. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/reader1.c +0 -0
  195. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/reader1.res +0 -0
  196. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/reader2.c +0 -0
  197. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/reader3.c +0 -0
  198. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/reader3.res +0 -0
  199. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/reader4.c +0 -0
  200. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/reader4.res +0 -0
  201. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/redhat.gif +0 -0
  202. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/smallfootonly.gif +0 -0
  203. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/structure.gif +0 -0
  204. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/test1.xml +0 -0
  205. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/test2.xml +0 -0
  206. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/test3.xml +0 -0
  207. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/testWriter.c +0 -0
  208. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/tree1.c +0 -0
  209. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/tree1.res +0 -0
  210. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/tree2.c +0 -0
  211. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/tree2.res +0 -0
  212. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/tst.xml +0 -0
  213. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/tutorial/apa.html +0 -0
  214. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/tutorial/apb.html +0 -0
  215. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/tutorial/apc.html +0 -0
  216. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/tutorial/apd.html +0 -0
  217. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/tutorial/ape.html +0 -0
  218. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/tutorial/apf.html +0 -0
  219. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/tutorial/apg.html +0 -0
  220. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/tutorial/aph.html +0 -0
  221. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/tutorial/api.html +0 -0
  222. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/tutorial/ar01s02.html +0 -0
  223. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/tutorial/ar01s03.html +0 -0
  224. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/tutorial/ar01s04.html +0 -0
  225. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/tutorial/ar01s05.html +0 -0
  226. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/tutorial/ar01s06.html +0 -0
  227. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/tutorial/ar01s07.html +0 -0
  228. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/tutorial/ar01s08.html +0 -0
  229. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/tutorial/ar01s09.html +0 -0
  230. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/tutorial/images/blank.png +0 -0
  231. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/tutorial/images/callouts/1.png +0 -0
  232. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/tutorial/images/callouts/10.png +0 -0
  233. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/tutorial/images/callouts/2.png +0 -0
  234. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/tutorial/images/callouts/3.png +0 -0
  235. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/tutorial/images/callouts/4.png +0 -0
  236. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/tutorial/images/callouts/5.png +0 -0
  237. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/tutorial/images/callouts/6.png +0 -0
  238. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/tutorial/images/callouts/7.png +0 -0
  239. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/tutorial/images/callouts/8.png +0 -0
  240. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/tutorial/images/callouts/9.png +0 -0
  241. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/tutorial/images/caution.png +0 -0
  242. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/tutorial/images/draft.png +0 -0
  243. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/tutorial/images/home.png +0 -0
  244. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/tutorial/images/important.png +0 -0
  245. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/tutorial/images/next.png +0 -0
  246. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/tutorial/images/note.png +0 -0
  247. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/tutorial/images/prev.png +0 -0
  248. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/tutorial/images/tip.png +0 -0
  249. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/tutorial/images/toc-blank.png +0 -0
  250. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/tutorial/images/toc-minus.png +0 -0
  251. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/tutorial/images/toc-plus.png +0 -0
  252. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/tutorial/images/up.png +0 -0
  253. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/tutorial/images/warning.png +0 -0
  254. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/tutorial/includeaddattribute.c +0 -0
  255. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/tutorial/includeaddkeyword.c +0 -0
  256. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/tutorial/includeconvert.c +0 -0
  257. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/tutorial/includegetattribute.c +0 -0
  258. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/tutorial/includekeyword.c +0 -0
  259. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/tutorial/includexpath.c +0 -0
  260. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/tutorial/index.html +0 -0
  261. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/tutorial/ix01.html +0 -0
  262. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/tutorial/xmltutorial.pdf +0 -0
  263. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/w3c.png +0 -0
  264. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/writer.xml +0 -0
  265. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/xml.html +165 -0
  266. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/xpath1.c +0 -0
  267. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/xpath1.res +0 -0
  268. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/xpath2.c +0 -0
  269. data/vendor/local/share/doc/{libxml2-2.9.2 → libxml2-2.9.4}/html/xpath2.res +0 -0
  270. data/vendor/local/share/fontconfig/conf.avail/10-hinting-full.conf +13 -0
  271. data/vendor/local/share/fontconfig/conf.avail/10-hinting-medium.conf +13 -0
  272. data/vendor/local/share/fontconfig/conf.avail/10-hinting-none.conf +13 -0
  273. data/vendor/local/share/fontconfig/conf.avail/10-hinting-slight.conf +13 -0
  274. data/vendor/local/share/fontconfig/conf.avail/10-scale-bitmap-fonts.conf +17 -15
  275. data/vendor/local/share/fontconfig/conf.avail/30-metric-aliases.conf +83 -17
  276. data/vendor/local/share/fontconfig/conf.avail/45-latin.conf +113 -33
  277. data/vendor/local/share/fontconfig/conf.avail/60-latin.conf +3 -0
  278. data/vendor/local/share/gtk-doc/html/libxml2/general.html +1 -1
  279. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-dict.html +16 -16
  280. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-parser.html +1 -1
  281. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-tree.html +3 -2
  282. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlmemory.html +1 -1
  283. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlregexp.html +1 -1
  284. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlstring.html +4 -4
  285. data/vendor/local/share/gtk-doc/html/libxml2/libxml2.devhelp +1 -0
  286. data/vendor/local/share/license/fontconfig/README +220 -2
  287. data/vendor/local/share/license/freetype/README +5 -5
  288. data/vendor/local/share/license/libpng/README +4 -1
  289. data/vendor/local/share/man/man1/freetype-config.1 +1 -1
  290. data/vendor/local/share/man/man3/libpng.3 +82 -27
  291. data/vendor/local/share/man/man3/libpngpf.3 +2 -2
  292. data/vendor/local/share/man/man5/png.5 +2 -2
  293. metadata +185 -176
@@ -10,6 +10,7 @@
10
10
  <family>Thorndale AMT</family>
11
11
  <family>Luxi Serif</family>
12
12
  <family>Nimbus Roman No9 L</family>
13
+ <family>Nimbus Roman</family>
13
14
  <family>Times</family>
14
15
  </prefer>
15
16
  </alias>
@@ -23,6 +24,7 @@
23
24
  <family>Albany AMT</family>
24
25
  <family>Luxi Sans</family>
25
26
  <family>Nimbus Sans L</family>
27
+ <family>Nimbus Sans</family>
26
28
  <family>Helvetica</family>
27
29
  <family>Lucida Sans Unicode</family>
28
30
  <family>BPG Glaho International</family> <!-- lat,cyr,arab,geor -->
@@ -40,6 +42,7 @@
40
42
  <family>Cumberland AMT</family>
41
43
  <family>Luxi Mono</family>
42
44
  <family>Nimbus Mono L</family>
45
+ <family>Nimbus Mono</family>
43
46
  <family>Courier</family>
44
47
  </prefer>
45
48
  </alias>
@@ -78,72 +78,6 @@
78
78
  <cachedir>~/.fontconfig</cachedir>
79
79
 
80
80
  <config>
81
- <!--
82
- These are the default Unicode chars that are expected to be blank
83
- in fonts. All other blank chars are assumed to be broken and
84
- won't appear in the resulting charsets
85
- -->
86
- <blank>
87
- <int>0x0020</int> <!-- SPACE -->
88
- <int>0x00A0</int> <!-- NO-BREAK SPACE -->
89
- <int>0x00AD</int> <!-- SOFT HYPHEN -->
90
- <int>0x034F</int> <!-- COMBINING GRAPHEME JOINER -->
91
- <int>0x0600</int> <!-- ARABIC NUMBER SIGN -->
92
- <int>0x0601</int> <!-- ARABIC SIGN SANAH -->
93
- <int>0x0602</int> <!-- ARABIC FOOTNOTE MARKER -->
94
- <int>0x0603</int> <!-- ARABIC SIGN SAFHA -->
95
- <int>0x06DD</int> <!-- ARABIC END OF AYAH -->
96
- <int>0x070F</int> <!-- SYRIAC ABBREVIATION MARK -->
97
- <int>0x115F</int> <!-- HANGUL CHOSEONG FILLER -->
98
- <int>0x1160</int> <!-- HANGUL JUNGSEONG FILLER -->
99
- <int>0x1680</int> <!-- OGHAM SPACE MARK -->
100
- <int>0x17B4</int> <!-- KHMER VOWEL INHERENT AQ -->
101
- <int>0x17B5</int> <!-- KHMER VOWEL INHERENT AA -->
102
- <int>0x180E</int> <!-- MONGOLIAN VOWEL SEPARATOR -->
103
- <int>0x2000</int> <!-- EN QUAD -->
104
- <int>0x2001</int> <!-- EM QUAD -->
105
- <int>0x2002</int> <!-- EN SPACE -->
106
- <int>0x2003</int> <!-- EM SPACE -->
107
- <int>0x2004</int> <!-- THREE-PER-EM SPACE -->
108
- <int>0x2005</int> <!-- FOUR-PER-EM SPACE -->
109
- <int>0x2006</int> <!-- SIX-PER-EM SPACE -->
110
- <int>0x2007</int> <!-- FIGURE SPACE -->
111
- <int>0x2008</int> <!-- PUNCTUATION SPACE -->
112
- <int>0x2009</int> <!-- THIN SPACE -->
113
- <int>0x200A</int> <!-- HAIR SPACE -->
114
- <int>0x200B</int> <!-- ZERO WIDTH SPACE -->
115
- <int>0x200C</int> <!-- ZERO WIDTH NON-JOINER -->
116
- <int>0x200D</int> <!-- ZERO WIDTH JOINER -->
117
- <int>0x200E</int> <!-- LEFT-TO-RIGHT MARK -->
118
- <int>0x200F</int> <!-- RIGHT-TO-LEFT MARK -->
119
- <int>0x2028</int> <!-- LINE SEPARATOR -->
120
- <int>0x2029</int> <!-- PARAGRAPH SEPARATOR -->
121
- <int>0x202A</int> <!-- LEFT-TO-RIGHT EMBEDDING -->
122
- <int>0x202B</int> <!-- RIGHT-TO-LEFT EMBEDDING -->
123
- <int>0x202C</int> <!-- POP DIRECTIONAL FORMATTING -->
124
- <int>0x202D</int> <!-- LEFT-TO-RIGHT OVERRIDE -->
125
- <int>0x202E</int> <!-- RIGHT-TO-LEFT OVERRIDE -->
126
- <int>0x202F</int> <!-- NARROW NO-BREAK SPACE -->
127
- <int>0x205F</int> <!-- MEDIUM MATHEMATICAL SPACE -->
128
- <int>0x2060</int> <!-- WORD JOINER -->
129
- <int>0x2061</int> <!-- FUNCTION APPLICATION -->
130
- <int>0x2062</int> <!-- INVISIBLE TIMES -->
131
- <int>0x2063</int> <!-- INVISIBLE SEPARATOR -->
132
- <int>0x206A</int> <!-- INHIBIT SYMMETRIC SWAPPING -->
133
- <int>0x206B</int> <!-- ACTIVATE SYMMETRIC SWAPPING -->
134
- <int>0x206C</int> <!-- INHIBIT ARABIC FORM SHAPING -->
135
- <int>0x206D</int> <!-- ACTIVATE ARABIC FORM SHAPING -->
136
- <int>0x206E</int> <!-- NATIONAL DIGIT SHAPES -->
137
- <int>0x206F</int> <!-- NOMINAL DIGIT SHAPES -->
138
- <int>0x2800</int> <!-- BRAILLE PATTERN BLANK -->
139
- <int>0x3000</int> <!-- IDEOGRAPHIC SPACE -->
140
- <int>0x3164</int> <!-- HANGUL FILLER -->
141
- <int>0xFEFF</int> <!-- ZERO WIDTH NO-BREAK SPACE -->
142
- <int>0xFFA0</int> <!-- HALFWIDTH HANGUL FILLER -->
143
- <int>0xFFF9</int> <!-- INTERLINEAR ANNOTATION ANCHOR -->
144
- <int>0xFFFA</int> <!-- INTERLINEAR ANNOTATION SEPARATOR -->
145
- <int>0xFFFB</int> <!-- INTERLINEAR ANNOTATION TERMINATOR -->
146
- </blank>
147
81
  <!--
148
82
  Rescan configuration every 30 seconds when FcFontSetList is called
149
83
  -->
@@ -77,6 +77,9 @@
77
77
  case FcTypeLangSet: \
78
78
  __v__.u.l = va_arg (va, const FcLangSet *); \
79
79
  break; \
80
+ case FcTypeRange: \
81
+ __v__.u.r = va_arg (va, const FcRange *); \
82
+ break; \
80
83
  } \
81
84
  if (!FcPatternAdd (__p__, __o__, __v__, FcTrue)) \
82
85
  goto _FcPatternVapBuild_bail1; \
@@ -51,7 +51,7 @@ typedef int FcBool;
51
51
  */
52
52
 
53
53
  #define FC_MAJOR 2
54
- #define FC_MINOR 11
54
+ #define FC_MINOR 12
55
55
  #define FC_REVISION 1
56
56
 
57
57
  #define FC_VERSION ((FC_MAJOR * 10000) + (FC_MINOR * 100) + (FC_REVISION))
@@ -66,7 +66,10 @@ typedef int FcBool;
66
66
  * it means multiple copies of the font information.
67
67
  */
68
68
 
69
- #define FC_CACHE_VERSION "4"
69
+ #define FC_CACHE_VERSION_NUMBER 7
70
+ #define _FC_STRINGIFY_(s) #s
71
+ #define _FC_STRINGIFY(s) _FC_STRINGIFY_(s)
72
+ #define FC_CACHE_VERSION _FC_STRINGIFY(FC_CACHE_VERSION_NUMBER)
70
73
 
71
74
  #define FcTrue 1
72
75
  #define FcFalse 0
@@ -75,7 +78,7 @@ typedef int FcBool;
75
78
  #define FC_STYLE "style" /* String */
76
79
  #define FC_SLANT "slant" /* Int */
77
80
  #define FC_WEIGHT "weight" /* Int */
78
- #define FC_SIZE "size" /* Double */
81
+ #define FC_SIZE "size" /* Range (double) */
79
82
  #define FC_ASPECT "aspect" /* Double */
80
83
  #define FC_PIXEL_SIZE "pixelsize" /* Double */
81
84
  #define FC_SPACING "spacing" /* Int */
@@ -94,7 +97,9 @@ typedef int FcBool;
94
97
  #define FC_RASTERIZER "rasterizer" /* String (deprecated) */
95
98
  #define FC_OUTLINE "outline" /* Bool */
96
99
  #define FC_SCALABLE "scalable" /* Bool */
97
- #define FC_SCALE "scale" /* double */
100
+ #define FC_COLOR "color" /* Bool */
101
+ #define FC_SCALE "scale" /* double (deprecated) */
102
+ #define FC_SYMBOL "symbol" /* Bool */
98
103
  #define FC_DPI "dpi" /* double */
99
104
  #define FC_RGBA "rgba" /* Int */
100
105
  #define FC_MINSPACE "minspace" /* Bool use minimum line spacing */
@@ -115,7 +120,7 @@ typedef int FcBool;
115
120
  #define FC_FONT_FEATURES "fontfeatures" /* String */
116
121
  #define FC_NAMELANG "namelang" /* String RFC 3866 langs */
117
122
  #define FC_PRGNAME "prgname" /* String */
118
- #define FC_HASH "hash" /* String */
123
+ #define FC_HASH "hash" /* String (deprecated) */
119
124
  #define FC_POSTSCRIPT_NAME "postscriptname" /* String */
120
125
 
121
126
  #define FC_CACHE_SUFFIX ".cache-" FC_CACHE_VERSION
@@ -131,6 +136,8 @@ typedef int FcBool;
131
136
  #define FC_WEIGHT_EXTRALIGHT 40
132
137
  #define FC_WEIGHT_ULTRALIGHT FC_WEIGHT_EXTRALIGHT
133
138
  #define FC_WEIGHT_LIGHT 50
139
+ #define FC_WEIGHT_DEMILIGHT 55
140
+ #define FC_WEIGHT_SEMILIGHT FC_WEIGHT_DEMILIGHT
134
141
  #define FC_WEIGHT_BOOK 75
135
142
  #define FC_WEIGHT_REGULAR 80
136
143
  #define FC_WEIGHT_NORMAL FC_WEIGHT_REGULAR
@@ -194,7 +201,8 @@ typedef enum _FcType {
194
201
  FcTypeMatrix,
195
202
  FcTypeCharSet,
196
203
  FcTypeFTFace,
197
- FcTypeLangSet
204
+ FcTypeLangSet,
205
+ FcTypeRange
198
206
  } FcType;
199
207
 
200
208
  typedef struct _FcMatrix {
@@ -212,7 +220,7 @@ typedef struct _FcMatrix {
212
220
  typedef struct _FcCharSet FcCharSet;
213
221
 
214
222
  typedef struct _FcObjectType {
215
- const char *object;
223
+ char *object;
216
224
  FcType type;
217
225
  } FcObjectType;
218
226
 
@@ -231,6 +239,8 @@ typedef struct _FcPattern FcPattern;
231
239
 
232
240
  typedef struct _FcLangSet FcLangSet;
233
241
 
242
+ typedef struct _FcRange FcRange;
243
+
234
244
  typedef struct _FcValue {
235
245
  FcType type;
236
246
  union {
@@ -242,6 +252,7 @@ typedef struct _FcValue {
242
252
  const FcCharSet *c;
243
253
  void *f;
244
254
  const FcLangSet *l;
255
+ const FcRange *r;
245
256
  } u;
246
257
  } FcValue;
247
258
 
@@ -853,6 +864,9 @@ FcPatternAddBool (FcPattern *p, const char *object, FcBool b);
853
864
  FcPublic FcBool
854
865
  FcPatternAddLangSet (FcPattern *p, const char *object, const FcLangSet *ls);
855
866
 
867
+ FcPublic FcBool
868
+ FcPatternAddRange (FcPattern *p, const char *object, const FcRange *r);
869
+
856
870
  FcPublic FcResult
857
871
  FcPatternGetInteger (const FcPattern *p, const char *object, int n, int *i);
858
872
 
@@ -874,6 +888,9 @@ FcPatternGetBool (const FcPattern *p, const char *object, int n, FcBool *b);
874
888
  FcPublic FcResult
875
889
  FcPatternGetLangSet (const FcPattern *p, const char *object, int n, FcLangSet **ls);
876
890
 
891
+ FcPublic FcResult
892
+ FcPatternGetRange (const FcPattern *p, const char *object, int id, FcRange **r);
893
+
877
894
  FcPublic FcPattern *
878
895
  FcPatternVaBuild (FcPattern *p, va_list va);
879
896
 
@@ -883,6 +900,30 @@ FcPatternBuild (FcPattern *p, ...) FC_ATTRIBUTE_SENTINEL(0);
883
900
  FcPublic FcChar8 *
884
901
  FcPatternFormat (FcPattern *pat, const FcChar8 *format);
885
902
 
903
+ /* fcrange.c */
904
+ FcPublic FcRange *
905
+ FcRangeCreateDouble (double begin, double end);
906
+
907
+ FcPublic FcRange *
908
+ FcRangeCreateInteger (FcChar32 begin, FcChar32 end);
909
+
910
+ FcPublic void
911
+ FcRangeDestroy (FcRange *range);
912
+
913
+ FcPublic FcRange *
914
+ FcRangeCopy (const FcRange *r);
915
+
916
+ FcPublic FcBool
917
+ FcRangeGetDouble(const FcRange *range, double *begin, double *end);
918
+
919
+ /* fcweight.c */
920
+
921
+ FcPublic int
922
+ FcWeightFromOpenType (int ot_weight);
923
+
924
+ FcPublic int
925
+ FcWeightToOpenType (int fc_weight);
926
+
886
927
  /* fcstr.c */
887
928
 
888
929
  FcPublic FcChar8 *
@@ -75,6 +75,36 @@ FT_BEGIN_HEADER
75
75
  /*************************************************************************/
76
76
 
77
77
 
78
+ /*************************************************************************/
79
+ /* */
80
+ /* If you enable this configuration option, FreeType recognizes an */
81
+ /* environment variable called `FREETYPE_PROPERTIES', which can be used */
82
+ /* to control the various font drivers and modules. The controllable */
83
+ /* properties are listed in the section `Controlling FreeType Modules' */
84
+ /* in the reference's table of contents; currently there are properties */
85
+ /* for the auto-hinter (file `ftautoh.h'), CFF (file `ftcffdrv.h'), and */
86
+ /* TrueType (file `ftttdrv.h'). */
87
+ /* */
88
+ /* `FREETYPE_PROPERTIES' has the following syntax form (broken here into */
89
+ /* multiple lines for better readability). */
90
+ /* */
91
+ /* <optional whitespace> */
92
+ /* <module-name1> ':' */
93
+ /* <property-name1> '=' <property-value1> */
94
+ /* <whitespace> */
95
+ /* <module-name2> ':' */
96
+ /* <property-name2> '=' <property-value2> */
97
+ /* ... */
98
+ /* */
99
+ /* Example: */
100
+ /* */
101
+ /* FREETYPE_PROPERTIES=truetype:interpreter-version=35 \ */
102
+ /* cff:no-stem-darkening=1 \ */
103
+ /* autofitter:warping=1 */
104
+ /* */
105
+ #define FT_CONFIG_OPTION_ENVIRONMENT_PROPERTIES
106
+
107
+
78
108
  /*************************************************************************/
79
109
  /* */
80
110
  /* Uncomment the line below if you want to activate sub-pixel rendering */
@@ -492,7 +522,21 @@ FT_BEGIN_HEADER
492
522
  /* code will be used. */
493
523
  /* */
494
524
  /* Setting this macro is needed for systems that prohibit address */
495
- /* fixups, such as BREW. */
525
+ /* fixups, such as BREW. [Note that standard compilers like gcc or */
526
+ /* clang handle PIC generation automatically; you don't have to set */
527
+ /* FT_CONFIG_OPTION_PIC, which is only necessary for very special */
528
+ /* compilers.] */
529
+ /* */
530
+ /* Note that FT_CONFIG_OPTION_PIC support is not available for all */
531
+ /* modules (see `modules.cfg' for a complete list). For building with */
532
+ /* FT_CONFIG_OPTION_PIC support, do the following. */
533
+ /* */
534
+ /* 0. Clone the repository. */
535
+ /* 1. Define FT_CONFIG_OPTION_PIC. */
536
+ /* 2. Remove all subdirectories in `src' that don't have */
537
+ /* FT_CONFIG_OPTION_PIC support. */
538
+ /* 3. Comment out the corresponding modules in `modules.cfg'. */
539
+ /* 4. Compile. */
496
540
  /* */
497
541
  /* #define FT_CONFIG_OPTION_PIC */
498
542
 
@@ -586,23 +630,53 @@ FT_BEGIN_HEADER
586
630
  /*************************************************************************/
587
631
  /* */
588
632
  /* Define TT_CONFIG_OPTION_SUBPIXEL_HINTING if you want to compile */
589
- /* EXPERIMENTAL subpixel hinting support into the TrueType driver. This */
590
- /* replaces the native TrueType hinting mechanism when anything but */
591
- /* FT_RENDER_MODE_MONO is requested. */
633
+ /* subpixel hinting support into the TrueType driver. This modifies the */
634
+ /* TrueType hinting mechanism when anything but FT_RENDER_MODE_MONO is */
635
+ /* requested. */
592
636
  /* */
593
- /* Enabling this causes the TrueType driver to ignore instructions under */
594
- /* certain conditions. This is done in accordance with the guide here, */
595
- /* with some minor differences: */
637
+ /* In particular, it modifies the bytecode interpreter to interpret (or */
638
+ /* not) instructions in a certain way so that all TrueType fonts look */
639
+ /* like they do in a Windows ClearType (DirectWrite) environment. See */
640
+ /* [1] for a technical overview on what this means. See `ttinterp.h' */
641
+ /* for more details on the LEAN option. */
596
642
  /* */
597
- /* http://www.microsoft.com/typography/cleartype/truetypecleartype.aspx */
643
+ /* There are three options. */
598
644
  /* */
599
- /* By undefining this, you only compile the code necessary to hint */
600
- /* TrueType glyphs with native TT hinting. */
645
+ /* 1. This option is associated with the `Infinality' moniker. */
646
+ /* Contributed by an individual nicknamed Infinality with the goal of */
647
+ /* making TrueType fonts render better than on Windows. A high */
648
+ /* amount of configurability and flexibility, down to rules for */
649
+ /* single glyphs in fonts, but also very slow. Its experimental and */
650
+ /* slow nature and the original developer losing interest meant that */
651
+ /* this option was never enabled in default builds. */
601
652
  /* */
602
- /* This option requires TT_CONFIG_OPTION_BYTECODE_INTERPRETER to be */
603
- /* defined. */
653
+ /* 2. The new default mode for the TrueType driver. The Infinality code */
654
+ /* base was stripped to the bare minimum and all configurability */
655
+ /* removed in the name of speed and simplicity. The configurability */
656
+ /* was mainly aimed at legacy fonts like Arial, Times New Roman, or */
657
+ /* Courier. Legacy fonts are fonts that modify vertical stems to */
658
+ /* achieve clean black-and-white bitmaps. The new mode focuses on */
659
+ /* applying a minimal set of rules to all fonts indiscriminately so */
660
+ /* that modern and web fonts render well while legacy fonts render */
661
+ /* okay. */
604
662
  /* */
605
- /* #define TT_CONFIG_OPTION_SUBPIXEL_HINTING */
663
+ /* 3. Compile both. */
664
+ /* */
665
+ /* By undefining these, you get rendering behavior like on Windows */
666
+ /* without ClearType, i.e., Windows XP without ClearType enabled and */
667
+ /* Win9x (interpreter version v35). Or not, depending on how much */
668
+ /* hinting blood and testing tears the font designer put into a given */
669
+ /* font. If you define one or both subpixel hinting options, you can */
670
+ /* switch between between v35 and the ones you define. */
671
+ /* */
672
+ /* This option requires TT_CONFIG_OPTION_BYTECODE_INTERPRETER to be */
673
+ /* defined. */
674
+ /* */
675
+ /* [1] http://www.microsoft.com/typography/cleartype/truetypecleartype.aspx */
676
+ /* */
677
+ /* #define TT_CONFIG_OPTION_SUBPIXEL_HINTING 1 */
678
+ #define TT_CONFIG_OPTION_SUBPIXEL_HINTING 2
679
+ /* #define TT_CONFIG_OPTION_SUBPIXEL_HINTING ( 1 | 2 ) */
606
680
 
607
681
 
608
682
  /*************************************************************************/
@@ -811,6 +885,14 @@ FT_BEGIN_HEADER
811
885
  */
812
886
  #ifdef TT_CONFIG_OPTION_BYTECODE_INTERPRETER
813
887
  #define TT_USE_BYTECODE_INTERPRETER
888
+
889
+ #if TT_CONFIG_OPTION_SUBPIXEL_HINTING & 1
890
+ #define TT_SUPPORT_SUBPIXEL_HINTING_INFINALITY
891
+ #endif
892
+
893
+ #if TT_CONFIG_OPTION_SUBPIXEL_HINTING & 2
894
+ #define TT_SUPPORT_SUBPIXEL_HINTING_MINIMAL
895
+ #endif
814
896
  #endif
815
897
 
816
898
 
@@ -63,6 +63,7 @@
63
63
  #define FT_INT_MAX INT_MAX
64
64
  #define FT_INT_MIN INT_MIN
65
65
  #define FT_UINT_MAX UINT_MAX
66
+ #define FT_LONG_MIN LONG_MIN
66
67
  #define FT_LONG_MAX LONG_MAX
67
68
  #define FT_ULONG_MAX ULONG_MAX
68
69
 
@@ -141,7 +142,8 @@
141
142
  /**********************************************************************/
142
143
 
143
144
 
144
- #define ft_atol atol
145
+ #define ft_strtol strtol
146
+ #define ft_getenv getenv
145
147
 
146
148
 
147
149
  /**********************************************************************/
@@ -651,11 +651,11 @@ FT_BEGIN_HEADER
651
651
  /* */
652
652
  /* FT_ENCODING_SJIS :: */
653
653
  /* Corresponds to Japanese SJIS encoding. More info at */
654
- /* at `http://en.wikipedia.org/wiki/Shift_JIS'. */
654
+ /* `http://en.wikipedia.org/wiki/Shift_JIS'. */
655
655
  /* See note on multi-byte encodings below. */
656
656
  /* */
657
657
  /* FT_ENCODING_GB2312 :: */
658
- /* Corresponds to an encoding system for Simplified Chinese as used */
658
+ /* Corresponds to an encoding system for Simplified Chinese as */
659
659
  /* used in mainland China. */
660
660
  /* */
661
661
  /* FT_ENCODING_BIG5 :: */
@@ -1103,7 +1103,7 @@ FT_BEGIN_HEADER
1103
1103
  /* FT_FACE_FLAG_SCALABLE :: */
1104
1104
  /* Indicates that the face contains outline glyphs. This doesn't */
1105
1105
  /* prevent bitmap strikes, i.e., a face can have both this and */
1106
- /* and @FT_FACE_FLAG_FIXED_SIZES set. */
1106
+ /* @FT_FACE_FLAG_FIXED_SIZES set. */
1107
1107
  /* */
1108
1108
  /* FT_FACE_FLAG_FIXED_SIZES :: */
1109
1109
  /* Indicates that the face contains bitmap strikes. See also the */
@@ -1222,7 +1222,7 @@ FT_BEGIN_HEADER
1222
1222
  *
1223
1223
  */
1224
1224
  #define FT_HAS_HORIZONTAL( face ) \
1225
- ( face->face_flags & FT_FACE_FLAG_HORIZONTAL )
1225
+ ( (face)->face_flags & FT_FACE_FLAG_HORIZONTAL )
1226
1226
 
1227
1227
 
1228
1228
  /*************************************************************************
@@ -1236,7 +1236,7 @@ FT_BEGIN_HEADER
1236
1236
  *
1237
1237
  */
1238
1238
  #define FT_HAS_VERTICAL( face ) \
1239
- ( face->face_flags & FT_FACE_FLAG_VERTICAL )
1239
+ ( (face)->face_flags & FT_FACE_FLAG_VERTICAL )
1240
1240
 
1241
1241
 
1242
1242
  /*************************************************************************
@@ -1250,7 +1250,7 @@ FT_BEGIN_HEADER
1250
1250
  *
1251
1251
  */
1252
1252
  #define FT_HAS_KERNING( face ) \
1253
- ( face->face_flags & FT_FACE_FLAG_KERNING )
1253
+ ( (face)->face_flags & FT_FACE_FLAG_KERNING )
1254
1254
 
1255
1255
 
1256
1256
  /*************************************************************************
@@ -1265,7 +1265,7 @@ FT_BEGIN_HEADER
1265
1265
  *
1266
1266
  */
1267
1267
  #define FT_IS_SCALABLE( face ) \
1268
- ( face->face_flags & FT_FACE_FLAG_SCALABLE )
1268
+ ( (face)->face_flags & FT_FACE_FLAG_SCALABLE )
1269
1269
 
1270
1270
 
1271
1271
  /*************************************************************************
@@ -1284,7 +1284,7 @@ FT_BEGIN_HEADER
1284
1284
  *
1285
1285
  */
1286
1286
  #define FT_IS_SFNT( face ) \
1287
- ( face->face_flags & FT_FACE_FLAG_SFNT )
1287
+ ( (face)->face_flags & FT_FACE_FLAG_SFNT )
1288
1288
 
1289
1289
 
1290
1290
  /*************************************************************************
@@ -1299,7 +1299,7 @@ FT_BEGIN_HEADER
1299
1299
  *
1300
1300
  */
1301
1301
  #define FT_IS_FIXED_WIDTH( face ) \
1302
- ( face->face_flags & FT_FACE_FLAG_FIXED_WIDTH )
1302
+ ( (face)->face_flags & FT_FACE_FLAG_FIXED_WIDTH )
1303
1303
 
1304
1304
 
1305
1305
  /*************************************************************************
@@ -1314,7 +1314,7 @@ FT_BEGIN_HEADER
1314
1314
  *
1315
1315
  */
1316
1316
  #define FT_HAS_FIXED_SIZES( face ) \
1317
- ( face->face_flags & FT_FACE_FLAG_FIXED_SIZES )
1317
+ ( (face)->face_flags & FT_FACE_FLAG_FIXED_SIZES )
1318
1318
 
1319
1319
 
1320
1320
  /*************************************************************************
@@ -1340,7 +1340,7 @@ FT_BEGIN_HEADER
1340
1340
  *
1341
1341
  */
1342
1342
  #define FT_HAS_GLYPH_NAMES( face ) \
1343
- ( face->face_flags & FT_FACE_FLAG_GLYPH_NAMES )
1343
+ ( (face)->face_flags & FT_FACE_FLAG_GLYPH_NAMES )
1344
1344
 
1345
1345
 
1346
1346
  /*************************************************************************
@@ -1355,7 +1355,21 @@ FT_BEGIN_HEADER
1355
1355
  *
1356
1356
  */
1357
1357
  #define FT_HAS_MULTIPLE_MASTERS( face ) \
1358
- ( face->face_flags & FT_FACE_FLAG_MULTIPLE_MASTERS )
1358
+ ( (face)->face_flags & FT_FACE_FLAG_MULTIPLE_MASTERS )
1359
+
1360
+
1361
+ /*************************************************************************
1362
+ *
1363
+ * @macro:
1364
+ * FT_IS_NAMED_INSTANCE( face )
1365
+ *
1366
+ * @description:
1367
+ * A macro that returns true whenever a face object is a named instance
1368
+ * of a GX variation font.
1369
+ *
1370
+ */
1371
+ #define FT_IS_NAMED_INSTANCE( face ) \
1372
+ ( (face)->face_index & 0x7FFF0000L )
1359
1373
 
1360
1374
 
1361
1375
  /*************************************************************************
@@ -1373,7 +1387,7 @@ FT_BEGIN_HEADER
1373
1387
  *
1374
1388
  */
1375
1389
  #define FT_IS_CID_KEYED( face ) \
1376
- ( face->face_flags & FT_FACE_FLAG_CID_KEYED )
1390
+ ( (face)->face_flags & FT_FACE_FLAG_CID_KEYED )
1377
1391
 
1378
1392
 
1379
1393
  /*************************************************************************
@@ -1387,7 +1401,7 @@ FT_BEGIN_HEADER
1387
1401
  *
1388
1402
  */
1389
1403
  #define FT_IS_TRICKY( face ) \
1390
- ( face->face_flags & FT_FACE_FLAG_TRICKY )
1404
+ ( (face)->face_flags & FT_FACE_FLAG_TRICKY )
1391
1405
 
1392
1406
 
1393
1407
  /*************************************************************************
@@ -1401,7 +1415,7 @@ FT_BEGIN_HEADER
1401
1415
  *
1402
1416
  */
1403
1417
  #define FT_HAS_COLOR( face ) \
1404
- ( face->face_flags & FT_FACE_FLAG_COLOR )
1418
+ ( (face)->face_flags & FT_FACE_FLAG_COLOR )
1405
1419
 
1406
1420
 
1407
1421
  /*************************************************************************/
@@ -1941,7 +1955,7 @@ FT_BEGIN_HEADER
1941
1955
  /* */
1942
1956
  /* If the @FT_OPEN_MEMORY bit is set, assume that this is a */
1943
1957
  /* memory file of `memory_size' bytes, located at `memory_address'. */
1944
- /* The data are are not copied, and the client is responsible for */
1958
+ /* The data are not copied, and the client is responsible for */
1945
1959
  /* releasing and destroying them _after_ the corresponding call to */
1946
1960
  /* @FT_Done_Face. */
1947
1961
  /* */
@@ -2331,17 +2345,26 @@ FT_BEGIN_HEADER
2331
2345
  /* FT_Size_Request_Type */
2332
2346
  /* */
2333
2347
  /* <Description> */
2334
- /* An enumeration type that lists the supported size request types. */
2348
+ /* An enumeration type that lists the supported size request types, */
2349
+ /* i.e., what input size (in font units) maps to the requested output */
2350
+ /* size (in pixels, as computed from the arguments of */
2351
+ /* @FT_Size_Request). */
2335
2352
  /* */
2336
2353
  /* <Values> */
2337
2354
  /* FT_SIZE_REQUEST_TYPE_NOMINAL :: */
2338
2355
  /* The nominal size. The `units_per_EM' field of @FT_FaceRec is */
2339
2356
  /* used to determine both scaling values. */
2340
2357
  /* */
2358
+ /* This is the standard scaling found in most applications. In */
2359
+ /* particular, use this size request type for TrueType fonts if */
2360
+ /* they provide optical scaling or something similar. Note, */
2361
+ /* however, that `units_per_EM' is a rather abstract value which */
2362
+ /* bears no relation to the actual size of the glyphs in a font. */
2363
+ /* */
2341
2364
  /* FT_SIZE_REQUEST_TYPE_REAL_DIM :: */
2342
- /* The real dimension. The sum of the the `ascender' and (minus */
2343
- /* of) the `descender' fields of @FT_FaceRec are used to determine */
2344
- /* both scaling values. */
2365
+ /* The real dimension. The sum of the `ascender' and (minus of) */
2366
+ /* the `descender' fields of @FT_FaceRec are used to determine both */
2367
+ /* scaling values. */
2345
2368
  /* */
2346
2369
  /* FT_SIZE_REQUEST_TYPE_BBOX :: */
2347
2370
  /* The font bounding box. The width and height of the `bbox' field */
@@ -2391,22 +2414,29 @@ FT_BEGIN_HEADER
2391
2414
  /* <Fields> */
2392
2415
  /* type :: See @FT_Size_Request_Type. */
2393
2416
  /* */
2394
- /* width :: The desired width. */
2417
+ /* width :: The desired width, given as a 26.6 fractional */
2418
+ /* point value (with 72pt = 1in). */
2395
2419
  /* */
2396
- /* height :: The desired height. */
2420
+ /* height :: The desired height, given as a 26.6 fractional */
2421
+ /* point value (with 72pt = 1in). */
2397
2422
  /* */
2398
- /* horiResolution :: The horizontal resolution. If set to zero, */
2399
- /* `width' is treated as a 26.6 fractional pixel */
2400
- /* value. */
2423
+ /* horiResolution :: The horizontal resolution (dpi, i.e., pixels per */
2424
+ /* inch). If set to zero, `width' is treated as a */
2425
+ /* 26.6 fractional *pixel* value. */
2401
2426
  /* */
2402
- /* vertResolution :: The vertical resolution. If set to zero, */
2403
- /* `height' is treated as a 26.6 fractional pixel */
2404
- /* value. */
2427
+ /* vertResolution :: The vertical resolution (dpi, i.e., pixels per */
2428
+ /* inch). If set to zero, `height' is treated as a */
2429
+ /* 26.6 fractional *pixel* value. */
2405
2430
  /* */
2406
2431
  /* <Note> */
2407
2432
  /* If `width' is zero, then the horizontal scaling value is set equal */
2408
2433
  /* to the vertical scaling value, and vice versa. */
2409
2434
  /* */
2435
+ /* If `type' is FT_SIZE_REQUEST_TYPE_SCALES, `width' and `height' are */
2436
+ /* interpreted directly as 16.16 fractional scaling values, without */
2437
+ /* any further modification, and both `horiResolution' and */
2438
+ /* `vertResolution' are ignored. */
2439
+ /* */
2410
2440
  typedef struct FT_Size_RequestRec_
2411
2441
  {
2412
2442
  FT_Size_Request_Type type;
@@ -2578,6 +2608,10 @@ FT_BEGIN_HEADER
2578
2608
  /* don't have a corresponding glyph in the font). See the discussion */
2579
2609
  /* of the @FT_FACE_FLAG_CID_KEYED flag for more details. */
2580
2610
  /* */
2611
+ /* If you receive `FT_Err_Glyph_Too_Big', try getting the glyph */
2612
+ /* outline at EM size, then scale it manually and fill it as a */
2613
+ /* graphics operation. */
2614
+ /* */
2581
2615
  FT_EXPORT( FT_Error )
2582
2616
  FT_Load_Glyph( FT_Face face,
2583
2617
  FT_UInt glyph_index,
@@ -2855,7 +2889,7 @@ FT_BEGIN_HEADER
2855
2889
  *
2856
2890
  * If @FT_LOAD_RENDER is also set, the glyph is rendered in the
2857
2891
  * corresponding mode (i.e., the mode that matches the used algorithm
2858
- * best). An exeption is FT_LOAD_TARGET_MONO since it implies
2892
+ * best). An exception is FT_LOAD_TARGET_MONO since it implies
2859
2893
  * @FT_LOAD_MONOCHROME.
2860
2894
  *
2861
2895
  * You can use a hinting algorithm that doesn't correspond to the same
@@ -3273,7 +3307,7 @@ FT_BEGIN_HEADER
3273
3307
  /* `.notdef'). */
3274
3308
  /* */
3275
3309
  /* This function always returns an error if the config macro */
3276
- /* `FT_CONFIG_OPTION_NO_GLYPH_NAMES' is not defined in `ftoptions.h'. */
3310
+ /* `FT_CONFIG_OPTION_NO_GLYPH_NAMES' is not defined in `ftoption.h'. */
3277
3311
  /* */
3278
3312
  FT_EXPORT( FT_Error )
3279
3313
  FT_Get_Glyph_Name( FT_Face face,
@@ -4171,8 +4205,8 @@ FT_BEGIN_HEADER
4171
4205
  *
4172
4206
  */
4173
4207
  #define FREETYPE_MAJOR 2
4174
- #define FREETYPE_MINOR 6
4175
- #define FREETYPE_PATCH 3
4208
+ #define FREETYPE_MINOR 7
4209
+ #define FREETYPE_PATCH 0
4176
4210
 
4177
4211
 
4178
4212
  /*************************************************************************/