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
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9628b453119ca047558822f51b5d344e9bba3f19
4
- data.tar.gz: 4c346e96472eb43dfdd199592915265491ff3057
3
+ metadata.gz: e9842651100d20901318ea528bd64fcfd538cb05
4
+ data.tar.gz: 659ae87499b2cec88ab043b0d5502395e88396f8
5
5
  SHA512:
6
- metadata.gz: f80adb90ddc12dba5552cdbf07840b02e9a5bbdb530c539101907c036fb47becf3b69541c4714c72c4055a5a05e2a958bcefbfff4ba9f91911a2c9c2dcd4864f
7
- data.tar.gz: 20909541b35815235fc2d3dd2dc4e94828e4a6695d4970ce9053bd7c82cdad4be54ca111a356764f7c367d21b472ef1d57d7f6eceb7a331003f4d0f587c4fd23
6
+ metadata.gz: 3105c9ddf41febe4223b5bde59ee9c2939e0c0ec6a85e0137056255544c12092d702e483553fcd87e23abf22c9e832c60cc4802c64889a0f65651007d2655b01
7
+ data.tar.gz: 782be3215eb7420f47c6b3f193bfaf6a9591709ce1ca76b8745dacf9f7bba59433a101767f0faf47e0fd8afc6844023394be79f6137d5c502ddb9395303dc7c5
data/NEWS CHANGED
@@ -1,3 +1,23 @@
1
+ Release 1.15.10 (2017-10-15) Kouhei Sutou <kou@cozmixng.org>
2
+ ============================================================
3
+
4
+ Improvements
5
+ ------------
6
+
7
+ * Windows: Ensure setting PATH environment variable.
8
+
9
+ * Added cairo 1.15.8 support.
10
+
11
+ * Windows: Updated bundled libraries:
12
+
13
+ * libpng: 1.6.29 -> 1.6.32
14
+
15
+ * freetype: 2.9.4 -> 2.9.6
16
+
17
+ * fontconfig: 2.12.1 -> 2.12.4
18
+
19
+ * cairo: 1.15.4 -> 1.15.8
20
+
1
21
  Release 1.15.9 (2017-06-03) Kouhei Sutou <kou@cozmixng.org>
2
22
  ===========================================================
3
23
 
data/Rakefile CHANGED
@@ -444,6 +444,8 @@ end
444
444
 
445
445
  windows_task = WindowsTask.new(spec) do |task|
446
446
  zlib_version = "1.2.11"
447
+ libpng_version = "1.6.32"
448
+ freetype_version = "2.8.1"
447
449
  task.packages = [
448
450
  {
449
451
  # We should use the same version as Ruby Installer.
@@ -458,16 +460,16 @@ windows_task = WindowsTask.new(spec) do |task|
458
460
  },
459
461
  {
460
462
  :name => "libpng",
461
- :version => "1.6.29",
462
- :download_base_url => "https://downloads.sourceforge.net/project/libpng/libpng16/1.6.29",
463
+ :version => libpng_version,
464
+ :download_base_url => "https://downloads.sourceforge.net/project/libpng/libpng16/#{libpng_version}",
463
465
  :windows => {
464
466
  :built_file => "bin/libpng16-16.dll",
465
467
  },
466
468
  },
467
469
  {
468
470
  :name => "freetype",
469
- :version => "2.7.1",
470
- :download_base_url => "https://downloads.sourceforge.net/project/freetype/freetype2/2.7.1",
471
+ :version => freetype_version,
472
+ :download_base_url => "https://downloads.sourceforge.net/project/freetype/freetype2/#{freetype_version}",
471
473
  :compression_method => "bz2",
472
474
  :windows => {
473
475
  :built_file => "bin/libfreetype-7.dll",
@@ -475,7 +477,7 @@ windows_task = WindowsTask.new(spec) do |task|
475
477
  },
476
478
  {
477
479
  :name => "libxml2",
478
- :version => "2.9.4",
480
+ :version => "2.9.6",
479
481
  :download_base_url => "ftp://xmlsoft.org/libxml2",
480
482
  :compression_method => "gz",
481
483
  :windows => {
@@ -487,7 +489,7 @@ windows_task = WindowsTask.new(spec) do |task|
487
489
  },
488
490
  {
489
491
  :name => "fontconfig",
490
- :version => "2.12.1",
492
+ :version => "2.12.4",
491
493
  :download_base_url => "https://www.freedesktop.org/software/fontconfig/release",
492
494
  :compression_method => "bz2",
493
495
  :windows => {
@@ -509,7 +511,7 @@ windows_task = WindowsTask.new(spec) do |task|
509
511
  },
510
512
  {
511
513
  :name => "cairo",
512
- :version => "1.15.4",
514
+ :version => "1.15.8",
513
515
  :download_site => :cairo_snapshots,
514
516
  :windows => {
515
517
  :built_file => "bin/libcairo-2.dll",
data/ext/cairo/rb_cairo.h CHANGED
@@ -73,7 +73,7 @@ RB_CAIRO_BEGIN_DECLS
73
73
 
74
74
  #define RB_CAIRO_VERSION_MAJOR 1
75
75
  #define RB_CAIRO_VERSION_MINOR 15
76
- #define RB_CAIRO_VERSION_MICRO 9
76
+ #define RB_CAIRO_VERSION_MICRO 10
77
77
 
78
78
  RB_CAIRO_VAR VALUE rb_mCairo;
79
79
  RB_CAIRO_VAR VALUE rb_cCairo_Context;
data/lib/2.2/cairo.so CHANGED
Binary file
data/lib/2.3/cairo.so CHANGED
Binary file
data/lib/2.4/cairo.so CHANGED
Binary file
data/lib/cairo.rb CHANGED
@@ -9,12 +9,12 @@ if /mingw|mswin|mswin32/ =~ RUBY_PLATFORM
9
9
  begin
10
10
  require "ruby_installer/runtime"
11
11
  rescue LoadError
12
- ENV["PATH"] = %w(bin lib).collect do |dir|
13
- "#{base_dir}\\#{dir};"
14
- end.join("") + ENV["PATH"]
15
12
  else
16
13
  RubyInstaller::Runtime.add_dll_directory("#{base_dir}\\bin")
17
14
  end
15
+ ENV["PATH"] = %w(bin lib).collect do |dir|
16
+ "#{base_dir}\\#{dir};"
17
+ end.join("") + ENV["PATH"]
18
18
  else
19
19
  require "rbconfig"
20
20
  ENV["PATH"] = %w(bin lib).collect do |dir|
@@ -11,12 +11,16 @@ module CairoTestUtils
11
11
  end
12
12
  end
13
13
 
14
- def only_win32
15
- omit("Only for Win32 platform") unless win32
14
+ def only_windows
15
+ omit("Only for Windows platform") unless windows?
16
16
  end
17
17
 
18
- def win32?
19
- /cygwin|mingw|mswin32|bccwin32/.match(RUBY_PLATFORM) ? true : false
18
+ def only_not_windows
19
+ omit("Only for not Windows platform") if windows?
20
+ end
21
+
22
+ def windows?
23
+ /cygwin|mingw|mswin|bccwin/ === RUBY_PLATFORM
20
24
  end
21
25
 
22
26
  def quartz?
data/test/test_context.rb CHANGED
@@ -74,7 +74,7 @@ class ContextTest < Test::Unit::TestCase
74
74
  face = context.font_face
75
75
  default_font_family = ""
76
76
  default_font_family = "Helvetica" if quartz?
77
- default_font_family = "Arial" if win32?
77
+ default_font_family = "Arial" if windows?
78
78
  assert_equal([default_font_family,
79
79
  Cairo::FONT_SLANT_NORMAL,
80
80
  Cairo::FONT_WEIGHT_NORMAL],
@@ -55,7 +55,7 @@ class FontFaceTest < Test::Unit::TestCase
55
55
  face = Cairo::ToyFontFace.new
56
56
  default_font_family = ""
57
57
  default_font_family = "Helvetica" if quartz?
58
- default_font_family = "Arial" if win32?
58
+ default_font_family = "Arial" if windows?
59
59
  assert_equal([default_font_family,
60
60
  Cairo::FONT_SLANT_NORMAL,
61
61
  Cairo::FONT_WEIGHT_NORMAL],
@@ -6,6 +6,7 @@ class RecordingSurfaceTest < Test::Unit::TestCase
6
6
  end
7
7
 
8
8
  def test_new
9
+ only_not_windows
9
10
  only_cairo_version(1, 12, 0)
10
11
  surface = Cairo::RecordingSurface.new(10, 20, 300, 400)
11
12
  assert_equal([0.0, 0.0, 0.0, 0.0], surface.ink_extents)
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -1,6 +1,6 @@
1
1
  #! /bin/sh
2
2
  #
3
- # Copyright 2000-2016 by
3
+ # Copyright 2000-2017 by
4
4
  # David Turner, Robert Wilhelm, and Werner Lemberg.
5
5
  #
6
6
  # This file is part of the FreeType project, and may only be used, modified,
@@ -12,11 +12,55 @@
12
12
  LC_ALL=C
13
13
  export LC_ALL
14
14
 
15
- prefix="/home/vagrant/rcairo.win64/vendor/local"
16
- exec_prefix="/home/vagrant/rcairo.win64/vendor/local"
17
- exec_prefix_set="no"
18
- includedir="/home/vagrant/rcairo.win64/vendor/local/include"
19
- libdir="/home/vagrant/rcairo.win64/vendor/local/lib"
15
+
16
+ # if `pkg-config' is available, use values from `freetype2.pc'
17
+ /usr/bin/pkg-config --atleast-pkgconfig-version 0.24 >/dev/null 2>&1
18
+ if test $? -eq 0 ; then
19
+ # note that option `--variable' is not affected by the
20
+ # PKG_CONFIG_SYSROOT_DIR environment variable
21
+ if test "x$SYSROOT" != "x" ; then
22
+ PKG_CONFIG_SYSROOT_DIR="$SYSROOT"
23
+ export PKG_CONFIG_SYSROOT_DIR
24
+ fi
25
+
26
+ prefix=`/usr/bin/pkg-config --variable prefix freetype2`
27
+ exec_prefix=`/usr/bin/pkg-config --variable exec_prefix freetype2`
28
+
29
+ includedir=`/usr/bin/pkg-config --variable includedir freetype2`
30
+ libdir=`/usr/bin/pkg-config --variable libdir freetype2`
31
+
32
+ version=`/usr/bin/pkg-config --modversion freetype2`
33
+
34
+ cflags=`/usr/bin/pkg-config --cflags freetype2`
35
+ dynamic_libs=`/usr/bin/pkg-config --libs freetype2`
36
+ static_libs=`/usr/bin/pkg-config --static --libs freetype2`
37
+ else
38
+ prefix="/home/vagrant/rcairo.win64/vendor/local"
39
+ exec_prefix="/home/vagrant/rcairo.win64/vendor/local"
40
+
41
+ includedir="/home/vagrant/rcairo.win64/vendor/local/include"
42
+ libdir="/home/vagrant/rcairo.win64/vendor/local/lib"
43
+
44
+ version=21.0.15
45
+
46
+ cflags="-I${SYSROOT}$includedir/freetype2"
47
+ dynamic_libs="-lfreetype"
48
+ static_libs="-lfreetype -L/home/vagrant/rcairo.win64/vendor/local/lib -lz -L/home/vagrant/rcairo.win64/vendor/local/lib -lpng16 -lz"
49
+ if test "${SYSROOT}$libdir" != "/usr/lib" &&
50
+ test "${SYSROOT}$libdir" != "/usr/lib64" ; then
51
+ libs_L="-L${SYSROOT}$libdir"
52
+ fi
53
+ fi
54
+
55
+ orig_prefix=$prefix
56
+ orig_exec_prefix=$exec_prefix
57
+
58
+ orig_includedir=$includedir
59
+ orig_libdir=$libdir
60
+
61
+ include_suffix=`echo $includedir | sed "s|$prefix||"`
62
+ lib_suffix=`echo $libdir | sed "s|$exec_prefix||"`
63
+
20
64
 
21
65
  usage()
22
66
  {
@@ -39,14 +83,17 @@ Options:
39
83
  library
40
84
  --static make command line options display flags
41
85
  for static linking
86
+ --help display this help and exit
42
87
  EOF
43
88
  exit $1
44
89
  }
45
90
 
91
+
46
92
  if test $# -eq 0 ; then
47
93
  usage 1 1>&2
48
94
  fi
49
95
 
96
+
50
97
  while test $# -gt 0 ; do
51
98
  case "$1" in
52
99
  -*=*)
@@ -74,8 +121,8 @@ while test $# -gt 0 ; do
74
121
  echo_exec_prefix=yes
75
122
  ;;
76
123
  --version)
77
- echo 19.0.13
78
- exit 0
124
+ echo_version=yes
125
+ break
79
126
  ;;
80
127
  --ftversion)
81
128
  echo_ft_version=yes
@@ -92,6 +139,9 @@ while test $# -gt 0 ; do
92
139
  --static)
93
140
  show_static=yes
94
141
  ;;
142
+ --help)
143
+ usage 0
144
+ ;;
95
145
  *)
96
146
  usage 1 1>&2
97
147
  ;;
@@ -99,12 +149,27 @@ while test $# -gt 0 ; do
99
149
  shift
100
150
  done
101
151
 
152
+
102
153
  if test "$local_prefix" = "yes" ; then
103
154
  if test "$exec_prefix_set" != "yes" ; then
104
155
  exec_prefix=$prefix
105
156
  fi
106
157
  fi
107
158
 
159
+ if test "$local_prefix" = "yes" ; then
160
+ includedir=${prefix}${include_suffix}
161
+ if test "$exec_prefix_set" = "yes" ; then
162
+ libdir=${exec_prefix}${lib_suffix}
163
+ else
164
+ libdir=${prefix}${lib_suffix}
165
+ fi
166
+ fi
167
+
168
+
169
+ if test "$echo_version" = "yes" ; then
170
+ echo $version
171
+ fi
172
+
108
173
  if test "$echo_prefix" = "yes" ; then
109
174
  echo ${SYSROOT}$prefix
110
175
  fi
@@ -113,15 +178,6 @@ if test "$echo_exec_prefix" = "yes" ; then
113
178
  echo ${SYSROOT}$exec_prefix
114
179
  fi
115
180
 
116
- if test "$exec_prefix_set" = "yes" ; then
117
- libdir=$exec_prefix/lib
118
- else
119
- if test "$local_prefix" = "yes" ; then
120
- includedir=$prefix/include
121
- libdir=$prefix/lib
122
- fi
123
- fi
124
-
125
181
  if test "$echo_ft_version" = "yes" ; then
126
182
  major=`grep define ${SYSROOT}$includedir/freetype2/freetype/freetype.h \
127
183
  | grep FREETYPE_MAJOR \
@@ -136,26 +192,20 @@ if test "$echo_ft_version" = "yes" ; then
136
192
  fi
137
193
 
138
194
  if test "$echo_cflags" = "yes" ; then
139
- echo -I${SYSROOT}$includedir/freetype2
195
+ echo $cflags | sed "s|$orig_includedir/freetype2|$includedir/freetype2|"
140
196
  fi
141
197
 
142
198
  if test "$echo_libs" = "yes" ; then
143
- libs="-lfreetype"
144
- staticlibs="-lfreetype -L/home/vagrant/rcairo.win64/vendor/local/lib -lz -L/home/vagrant/rcairo.win64/vendor/local/lib -lpng16 -lz"
145
199
  if test "$show_static" = "yes" ; then
146
- libs="$staticlibs"
147
- fi
148
- if test "${SYSROOT}$libdir" != "/usr/lib" &&
149
- test "${SYSROOT}$libdir" != "/usr/lib64"; then
150
- echo -L${SYSROOT}$libdir $libs
200
+ libs="$libs_L $static_libs"
151
201
  else
152
- echo $libs
202
+ libs="$libs_L $dynamic_libs"
153
203
  fi
204
+ echo $libs | sed "s|$orig_libdir|$libdir|"
154
205
  fi
155
206
 
156
207
  if test "$echo_libtool" = "yes" ; then
157
- convlib="libfreetype.la"
158
- echo ${SYSROOT}$libdir/$convlib
208
+ echo ${SYSROOT}$libdir/libfreetype.la
159
209
  fi
160
210
 
161
211
  # EOF
Binary file
Binary file
Binary file
Binary file
@@ -11,7 +11,7 @@
11
11
 
12
12
  # Modeled after libxml-config.
13
13
 
14
- version="1.6.29"
14
+ version="1.6.32"
15
15
  prefix="/home/vagrant/rcairo.win64/vendor/local"
16
16
  exec_prefix="${prefix}"
17
17
  libdir="${exec_prefix}/lib"
Binary file
@@ -11,7 +11,7 @@
11
11
 
12
12
  # Modeled after libxml-config.
13
13
 
14
- version="1.6.29"
14
+ version="1.6.32"
15
15
  prefix="/home/vagrant/rcairo.win64/vendor/local"
16
16
  exec_prefix="${prefix}"
17
17
  libdir="${exec_prefix}/lib"
Binary file
Binary file
Binary file
@@ -58,7 +58,7 @@ while test $# -gt 0; do
58
58
  ;;
59
59
 
60
60
  --version)
61
- echo 2.9.4
61
+ echo 2.9.6
62
62
  exit 0
63
63
  ;;
64
64
 
Binary file
Binary file
Binary file
@@ -6,17 +6,17 @@
6
6
 
7
7
  Alias similar/metric-compatible families from various sources:
8
8
 
9
- PostScript fonts: URW fonts: GUST fonts: Windows fonts:
10
- ====================== ====================== ================= ==================
11
- Helvetica Nimbus Sans TeX Gyre Heros
12
- Helvetica Condensed Nimbus Sans Narrow TeX Gyre Heros Cn
13
- Times Nimbus Roman TeX Gyre Termes
14
- Courier Nimbus Mono TeX Gyre Cursor
15
- ITC Avant Garde Gothic URW Gothic TeX Gyre Adventor
16
- ITC Bookman Bookman URW TeX Gyre Bonum Bookman Old Style
17
- ITC Zapf Chancery Chancery URW TeX Gyre Chorus
18
- Palatino Palladio URW TeX Gyre Pagella Palatino Linotype
19
- New Century Schoolbook Century SchoolBook URW TeX Gyre Schola Century Schoolbook
9
+ PostScript fonts: URW fonts: GUST fonts: Windows fonts:
10
+ ====================== ================== ================= ==================
11
+ Helvetica Nimbus Sans TeX Gyre Heros
12
+ Helvetica Narrow Nimbus Sans Narrow TeX Gyre Heros Cn
13
+ Times Nimbus Roman TeX Gyre Termes
14
+ Courier Nimbus Mono PS TeX Gyre Cursor
15
+ ITC Avant Garde Gothic URW Gothic TeX Gyre Adventor
16
+ ITC Bookman URW Bookman TeX Gyre Bonum Bookman Old Style
17
+ ITC Zapf Chancery Z003 TeX Gyre Chorus
18
+ Palatino P052 TeX Gyre Pagella Palatino Linotype
19
+ New Century Schoolbook C059 TeX Gyre Schola Century Schoolbook
20
20
 
21
21
  Microsoft fonts: Liberation fonts: Google CrOS core fonts: StarOffice fonts: AMT fonts:
22
22
  ================ ====================== ======================= ================= ==============
@@ -73,14 +73,14 @@ but in an order preferring similar designs first. We do this in three steps:
73
73
  <alias binding="same">
74
74
  <family>Nimbus Sans Narrow</family>
75
75
  <default>
76
- <family>Helvetica Condensed</family>
76
+ <family>Helvetica Narrow</family>
77
77
  </default>
78
78
  </alias>
79
79
 
80
80
  <alias binding="same">
81
81
  <family>TeX Gyre Heros Cn</family>
82
82
  <default>
83
- <family>Helvetica Condensed</family>
83
+ <family>Helvetica Narrow</family>
84
84
  </default>
85
85
  </alias>
86
86
 
@@ -119,6 +119,13 @@ but in an order preferring similar designs first. We do this in three steps:
119
119
  </default>
120
120
  </alias>
121
121
 
122
+ <alias binding="same">
123
+ <family>Nimbus Mono PS</family>
124
+ <default>
125
+ <family>Courier</family>
126
+ </default>
127
+ </alias>
128
+
122
129
  <alias binding="same">
123
130
  <family>TeX Gyre Cursor</family>
124
131
  <default>
@@ -175,6 +182,13 @@ but in an order preferring similar designs first. We do this in three steps:
175
182
  </default>
176
183
  </alias>
177
184
 
185
+ <alias binding="same">
186
+ <family>URW Bookman</family>
187
+ <default>
188
+ <family>ITC Bookman</family>
189
+ </default>
190
+ </alias>
191
+
178
192
  <alias binding="same">
179
193
  <family>TeX Gyre Bonum</family>
180
194
  <default>
@@ -210,6 +224,13 @@ but in an order preferring similar designs first. We do this in three steps:
210
224
  </default>
211
225
  </alias>
212
226
 
227
+ <alias binding="same">
228
+ <family>Z003</family>
229
+ <default>
230
+ <family>ITC Zapf Chancery</family>
231
+ </default>
232
+ </alias>
233
+
213
234
  <alias binding="same">
214
235
  <family>TeX Gyre Chorus</family>
215
236
  <default>
@@ -231,6 +252,13 @@ but in an order preferring similar designs first. We do this in three steps:
231
252
  </default>
232
253
  </alias>
233
254
 
255
+ <alias binding="same">
256
+ <family>P052</family>
257
+ <default>
258
+ <family>Palatino</family>
259
+ </default>
260
+ </alias>
261
+
234
262
  <alias binding="same">
235
263
  <family>TeX Gyre Pagella</family>
236
264
  <default>
@@ -259,6 +287,13 @@ but in an order preferring similar designs first. We do this in three steps:
259
287
  </default>
260
288
  </alias>
261
289
 
290
+ <alias binding="same">
291
+ <family>C059</family>
292
+ <default>
293
+ <family>New Century Schoolbook</family>
294
+ </default>
295
+ </alias>
296
+
262
297
  <alias binding="same">
263
298
  <family>TeX Gyre Schola</family>
264
299
  <default>
@@ -405,7 +440,7 @@ but in an order preferring similar designs first. We do this in three steps:
405
440
  </alias>
406
441
 
407
442
  <alias>
408
- <family>Helvetica Condensed</family>
443
+ <family>Helvetica Narrow</family>
409
444
  <default>
410
445
  <family>Arial Narrow</family>
411
446
  </default>
@@ -437,7 +472,7 @@ but in an order preferring similar designs first. We do this in three steps:
437
472
  <alias>
438
473
  <family>Arial Narrow</family>
439
474
  <default>
440
- <family>Helvetica Condensed</family>
475
+ <family>Helvetica Narrow</family>
441
476
  </default>
442
477
  </alias>
443
478
 
@@ -470,7 +505,7 @@ but in an order preferring similar designs first. We do this in three steps:
470
505
  </alias>
471
506
 
472
507
  <alias binding="same">
473
- <family>Helvetica Condensed</family>
508
+ <family>Helvetica Narrow</family>
474
509
  <accept>
475
510
  <family>TeX Gyre Heros Cn</family>
476
511
  <family>Nimbus Sans Narrow</family>
@@ -490,6 +525,7 @@ but in an order preferring similar designs first. We do this in three steps:
490
525
  <family>Courier</family>
491
526
  <accept>
492
527
  <family>TeX Gyre Cursor</family>
528
+ <family>Nimbus Mono PS</family>
493
529
  <family>Nimbus Mono</family>
494
530
  <family>Nimbus Mono L</family>
495
531
  </accept>
@@ -509,6 +545,7 @@ but in an order preferring similar designs first. We do this in three steps:
509
545
  <accept>
510
546
  <family>Bookman Old Style</family>
511
547
  <family>TeX Gyre Bonum</family>
548
+ <family>URW Bookman</family>
512
549
  <family>Bookman URW</family>
513
550
  <family>URW Bookman L</family>
514
551
  </accept>
@@ -518,6 +555,7 @@ but in an order preferring similar designs first. We do this in three steps:
518
555
  <family>ITC Zapf Chancery</family>
519
556
  <accept>
520
557
  <family>TeX Gyre Chorus</family>
558
+ <family>Z003</family>
521
559
  <family>Chancery URW</family>
522
560
  <family>URW Chancery L</family>
523
561
  </accept>
@@ -528,6 +566,7 @@ but in an order preferring similar designs first. We do this in three steps:
528
566
  <accept>
529
567
  <family>Palatino Linotype</family>
530
568
  <family>TeX Gyre Pagella</family>
569
+ <family>P052</family>
531
570
  <family>Palladio URW</family>
532
571
  <family>URW Palladio L</family>
533
572
  </accept>
@@ -538,6 +577,7 @@ but in an order preferring similar designs first. We do this in three steps:
538
577
  <accept>
539
578
  <family>Century Schoolbook</family>
540
579
  <family>TeX Gyre Schola</family>
580
+ <family>C059</family>
541
581
  <family>Century SchoolBook URW</family>
542
582
  <family>Century Schoolbook L</family>
543
583
  </accept>