cairo 1.10.0-x86-mingw32 → 1.10.1-x86-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 (560) hide show
  1. data/Gemfile +14 -0
  2. data/NEWS +33 -0
  3. data/README.rdoc +115 -0
  4. data/Rakefile +69 -80
  5. data/ext/cairo/cairo.def +1 -1
  6. data/ext/cairo/depend +2 -0
  7. data/ext/cairo/extconf.rb +7 -5
  8. data/ext/cairo/rb_cairo.c +4 -1
  9. data/ext/cairo/rb_cairo.h +4 -0
  10. data/ext/cairo/rb_cairo_constants.c +6 -2
  11. data/ext/cairo/rb_cairo_context.c +3 -2
  12. data/ext/cairo/rb_cairo_device.c +8 -0
  13. data/ext/cairo/rb_cairo_font_face.c +1 -1
  14. data/ext/cairo/rb_cairo_surface.c +40 -0
  15. data/lib/1.8/cairo.so +0 -0
  16. data/lib/1.9/cairo.so +0 -0
  17. data/lib/cairo.rb +3 -3
  18. data/lib/cairo/color.rb +4 -4
  19. data/lib/cairo/context/path.rb +2 -1
  20. data/test/run-test.rb +1 -1
  21. data/test/test_context.rb +1 -1
  22. data/test/test_font_face.rb +1 -1
  23. data/test/test_recording_surface.rb +4 -1
  24. data/test/test_xml_surface.rb +2 -1
  25. data/vendor/local/bin/fc-cache.exe +0 -0
  26. data/vendor/local/bin/fc-cat.exe +0 -0
  27. data/vendor/local/bin/fc-list.exe +0 -0
  28. data/vendor/local/bin/freetype-config +160 -0
  29. data/vendor/local/bin/libcairo-2.dll +0 -0
  30. data/vendor/local/bin/libcairo-gobject-2.dll +0 -0
  31. data/vendor/local/bin/libcairo-script-interpreter-2.dll +0 -0
  32. data/vendor/local/bin/xmlwf.exe +0 -0
  33. data/vendor/local/etc/fonts/fonts.dtd +224 -0
  34. data/vendor/local/include/cairo/cairo-version.h +1 -1
  35. data/vendor/local/include/cairo/cairo.h +1 -1
  36. data/vendor/local/include/expat.h +1014 -0
  37. data/vendor/local/include/expat_external.h +115 -0
  38. data/vendor/local/include/fontconfig/fcfreetype.h +59 -0
  39. data/vendor/local/include/fontconfig/fcprivate.h +123 -0
  40. data/vendor/local/include/fontconfig/fontconfig.h +963 -0
  41. data/vendor/local/include/freetype2/freetype/config/ftconfig.h +477 -0
  42. data/vendor/local/include/freetype2/freetype/config/ftheader.h +780 -0
  43. data/vendor/local/include/freetype2/freetype/config/ftmodule.h +20 -0
  44. data/vendor/local/include/freetype2/freetype/config/ftoption.h +733 -0
  45. data/vendor/local/include/freetype2/freetype/config/ftstdlib.h +173 -0
  46. data/vendor/local/include/freetype2/freetype/freetype.h +3919 -0
  47. data/vendor/local/include/freetype2/freetype/ftadvanc.h +179 -0
  48. data/vendor/local/include/freetype2/freetype/ftbbox.h +94 -0
  49. data/vendor/local/include/freetype2/freetype/ftbdf.h +209 -0
  50. data/vendor/local/include/freetype2/freetype/ftbitmap.h +227 -0
  51. data/vendor/local/include/freetype2/freetype/ftcache.h +1125 -0
  52. data/vendor/local/include/freetype2/freetype/ftchapters.h +103 -0
  53. data/vendor/local/include/freetype2/freetype/ftcid.h +166 -0
  54. data/vendor/local/include/freetype2/freetype/fterrdef.h +244 -0
  55. data/vendor/local/include/freetype2/freetype/fterrors.h +206 -0
  56. data/vendor/local/include/freetype2/freetype/ftgasp.h +120 -0
  57. data/vendor/local/include/freetype2/freetype/ftglyph.h +613 -0
  58. data/vendor/local/include/freetype2/freetype/ftgxval.h +358 -0
  59. data/vendor/local/include/freetype2/freetype/ftgzip.h +102 -0
  60. data/vendor/local/include/freetype2/freetype/ftimage.h +1301 -0
  61. data/vendor/local/include/freetype2/freetype/ftincrem.h +353 -0
  62. data/vendor/local/include/freetype2/freetype/ftlcdfil.h +213 -0
  63. data/vendor/local/include/freetype2/freetype/ftlist.h +277 -0
  64. data/vendor/local/include/freetype2/freetype/ftlzw.h +99 -0
  65. data/vendor/local/include/freetype2/freetype/ftmac.h +274 -0
  66. data/vendor/local/include/freetype2/freetype/ftmm.h +378 -0
  67. data/vendor/local/include/freetype2/freetype/ftmodapi.h +483 -0
  68. data/vendor/local/include/freetype2/freetype/ftmoderr.h +155 -0
  69. data/vendor/local/include/freetype2/freetype/ftotval.h +203 -0
  70. data/vendor/local/include/freetype2/freetype/ftoutln.h +537 -0
  71. data/vendor/local/include/freetype2/freetype/ftpfr.h +172 -0
  72. data/vendor/local/include/freetype2/freetype/ftrender.h +230 -0
  73. data/vendor/local/include/freetype2/freetype/ftsizes.h +159 -0
  74. data/vendor/local/include/freetype2/freetype/ftsnames.h +200 -0
  75. data/vendor/local/include/freetype2/freetype/ftstroke.h +716 -0
  76. data/vendor/local/include/freetype2/freetype/ftsynth.h +80 -0
  77. data/vendor/local/include/freetype2/freetype/ftsystem.h +347 -0
  78. data/vendor/local/include/freetype2/freetype/fttrigon.h +350 -0
  79. data/vendor/local/include/freetype2/freetype/fttypes.h +588 -0
  80. data/vendor/local/include/freetype2/freetype/ftwinfnt.h +274 -0
  81. data/vendor/local/include/freetype2/freetype/ftxf86.h +83 -0
  82. data/vendor/local/include/freetype2/freetype/t1tables.h +504 -0
  83. data/vendor/local/include/freetype2/freetype/ttnameid.h +1247 -0
  84. data/vendor/local/include/freetype2/freetype/tttables.h +759 -0
  85. data/vendor/local/include/freetype2/freetype/tttags.h +107 -0
  86. data/vendor/local/include/freetype2/freetype/ttunpat.h +59 -0
  87. data/vendor/local/include/ft2build.h +61 -0
  88. data/vendor/local/include/libpng14/png.h +2701 -0
  89. data/vendor/local/include/libpng14/pngconf.h +1525 -0
  90. data/vendor/local/include/png.h +2701 -0
  91. data/vendor/local/include/pngconf.h +1525 -0
  92. data/vendor/local/include/zconf.h +461 -0
  93. data/vendor/local/include/zlib.h +1589 -0
  94. data/vendor/local/lib/cairo.lib +0 -0
  95. data/vendor/local/lib/expat.lib +0 -0
  96. data/vendor/local/lib/fontconfig.def +195 -0
  97. data/vendor/local/lib/fontconfig.lib +0 -0
  98. data/vendor/local/lib/freetype.def +186 -0
  99. data/vendor/local/lib/freetype.lib +0 -0
  100. data/vendor/local/lib/libcairo-gobject.dll.a +0 -0
  101. data/vendor/local/lib/libcairo-script-interpreter.dll.a +0 -0
  102. data/vendor/local/lib/libcairo.dll.a +0 -0
  103. data/vendor/local/lib/libexpat.def +73 -0
  104. data/vendor/local/lib/libexpat.dll.a +0 -0
  105. data/vendor/local/lib/libfontconfig.dll.a +0 -0
  106. data/vendor/local/lib/libfreetype.dll.a +0 -0
  107. data/vendor/local/lib/libpng.def +192 -0
  108. data/vendor/local/lib/libpng.lib +0 -0
  109. data/vendor/local/lib/libpng14.dll.a +0 -0
  110. data/vendor/local/lib/libz.dll.a +0 -0
  111. data/vendor/local/lib/pkgconfig/cairo-fc.pc +2 -2
  112. data/vendor/local/lib/pkgconfig/cairo-ft.pc +2 -2
  113. data/vendor/local/lib/pkgconfig/cairo-gobject.pc +2 -2
  114. data/vendor/local/lib/pkgconfig/cairo-pdf.pc +2 -2
  115. data/vendor/local/lib/pkgconfig/cairo-png.pc +2 -2
  116. data/vendor/local/lib/pkgconfig/cairo-ps.pc +2 -2
  117. data/vendor/local/lib/pkgconfig/cairo-svg.pc +2 -2
  118. data/vendor/local/lib/pkgconfig/cairo-win32-font.pc +2 -2
  119. data/vendor/local/lib/pkgconfig/cairo-win32.pc +2 -2
  120. data/vendor/local/lib/pkgconfig/cairo.pc +2 -2
  121. data/vendor/local/lib/pkgconfig/fontconfig.pc +11 -0
  122. data/vendor/local/lib/pkgconfig/freetype2.pc +12 -0
  123. data/vendor/local/lib/pkgconfig/libpng.pc +11 -0
  124. data/vendor/local/lib/pkgconfig/libpng14.pc +11 -0
  125. data/vendor/local/lib/zdll.lib +0 -0
  126. data/vendor/local/lib/zlib.def +67 -0
  127. data/vendor/local/man/man1/xmlwf.1 +251 -0
  128. data/vendor/local/manifest/{cairo-dev_1.10.0-1_win32.mft → cairo-dev_1.10.2-1_win32.mft} +6 -3
  129. data/vendor/local/manifest/cairo_1.10.2-1_win32.mft +7 -0
  130. data/vendor/local/manifest/expat-dev_2.0.1-1_win32.mft +10 -0
  131. data/vendor/local/manifest/fontconfig-dev_2.8.0-2_win32.mft +387 -0
  132. data/vendor/local/manifest/freetype-dev_2.4.2-1_win32.mft +56 -0
  133. data/vendor/local/manifest/libpng-dev_1.4.3-1_win32.mft +15 -0
  134. data/vendor/local/manifest/zlib-dev_1.2.5-2_win32.mft +8 -0
  135. data/vendor/local/share/aclocal/freetype2.m4 +194 -0
  136. data/vendor/local/share/doc/{cairo_1.10.0-1_win32 → cairo_1.10.2-1_win32}/COPYING +0 -0
  137. data/vendor/local/share/doc/{cairo_1.10.0-1_win32 → cairo_1.10.2-1_win32}/COPYING-LGPL-2.1 +0 -0
  138. data/vendor/local/share/doc/{cairo_1.10.0-1_win32 → cairo_1.10.2-1_win32}/COPYING-MPL-1.1 +0 -0
  139. data/vendor/local/share/doc/fontconfig/fontconfig-devel.pdf +42484 -4
  140. data/vendor/local/share/doc/fontconfig/fontconfig-devel.txt +5046 -0
  141. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcatomiccreate.html +224 -0
  142. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcatomicdeletenew.html +216 -0
  143. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcatomicdestroy.html +210 -0
  144. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcatomiclock.html +223 -0
  145. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcatomicnewfile.html +222 -0
  146. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcatomicorigfile.html +221 -0
  147. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcatomicreplaceorig.html +223 -0
  148. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcatomicunlock.html +216 -0
  149. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcblanksadd.html +222 -0
  150. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcblankscreate.html +216 -0
  151. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcblanksdestroy.html +216 -0
  152. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcblanksismember.html +211 -0
  153. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fccachecopyset.html +228 -0
  154. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fccachedir.html +221 -0
  155. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fccachenumfont.html +211 -0
  156. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fccachenumsubdir.html +221 -0
  157. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fccachesubdir.html +244 -0
  158. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fccharsetaddchar.html +226 -0
  159. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fccharsetcopy.html +227 -0
  160. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fccharsetcount.html +221 -0
  161. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fccharsetcoverage.html +249 -0
  162. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fccharsetcreate.html +220 -0
  163. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fccharsetdestroy.html +226 -0
  164. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fccharsetequal.html +232 -0
  165. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fccharsetfirstpage.html +238 -0
  166. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fccharsethaschar.html +231 -0
  167. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fccharsetintersect.html +232 -0
  168. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fccharsetintersectcount.html +231 -0
  169. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fccharsetissubset.html +231 -0
  170. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fccharsetmerge.html +261 -0
  171. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fccharsetnew.html +208 -0
  172. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fccharsetnextpage.html +243 -0
  173. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fccharsetsubtract.html +231 -0
  174. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fccharsetsubtractcount.html +231 -0
  175. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fccharsetunion.html +231 -0
  176. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcconfigappfontadddir.html +229 -0
  177. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcconfigappfontaddfile.html +228 -0
  178. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcconfigappfontclear.html +222 -0
  179. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcconfigbuildfonts.html +224 -0
  180. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcconfigcreate.html +216 -0
  181. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcconfigdestroy.html +219 -0
  182. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcconfigenablehome.html +230 -0
  183. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcconfigfilename.html +237 -0
  184. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcconfiggetblanks.html +225 -0
  185. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcconfiggetcache.html +217 -0
  186. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcconfiggetcachedirs.html +227 -0
  187. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcconfiggetconfigdirs.html +228 -0
  188. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcconfiggetconfigfiles.html +227 -0
  189. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcconfiggetcurrent.html +216 -0
  190. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcconfiggetfontdirs.html +229 -0
  191. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcconfiggetfonts.html +234 -0
  192. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcconfiggetrescaninterval.html +230 -0
  193. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcconfighome.html +221 -0
  194. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcconfigparseandload.html +220 -0
  195. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcconfigreference.html +231 -0
  196. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcconfigsetcurrent.html +222 -0
  197. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcconfigsetrescaninterval.html +229 -0
  198. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcconfigsubstitute.html +233 -0
  199. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcconfigsubstitutewithpat.html +251 -0
  200. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcconfiguptodate.html +228 -0
  201. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcdefaultsubstitute.html +234 -0
  202. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcdircacheload.html +239 -0
  203. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcdircacheloadfile.html +233 -0
  204. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcdircacheread.html +239 -0
  205. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcdircacheunlink.html +239 -0
  206. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcdircacheunload.html +211 -0
  207. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcdircachevalid.html +222 -0
  208. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcdirsave.html +245 -0
  209. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcdirscan.html +266 -0
  210. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcfileisdir.html +222 -0
  211. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcfilescan.html +276 -0
  212. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcfini.html +219 -0
  213. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcfontlist.html +244 -0
  214. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcfontmatch.html +262 -0
  215. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcfontrenderprepare.html +259 -0
  216. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcfontsetadd.html +223 -0
  217. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcfontsetcreate.html +216 -0
  218. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcfontsetdestroy.html +217 -0
  219. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcfontsetlist.html +261 -0
  220. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcfontsetmatch.html +273 -0
  221. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcfontsetprint.html +224 -0
  222. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcfontsetsort.html +303 -0
  223. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcfontsetsortdestroy.html +222 -0
  224. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcfontsort.html +289 -0
  225. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcfreetypecharindex.html +226 -0
  226. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcfreetypecharset.html +225 -0
  227. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcfreetypecharsetandspacing.html +241 -0
  228. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcfreetypequery.html +233 -0
  229. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcfreetypequeryface.html +222 -0
  230. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcgetlangs.html +216 -0
  231. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcgetversion.html +216 -0
  232. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcinit.html +219 -0
  233. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcinitbringuptodate.html +208 -0
  234. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcinitloadconfig.html +217 -0
  235. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcinitloadconfigandfonts.html +217 -0
  236. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcinitreinitialize.html +219 -0
  237. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcislower.html +222 -0
  238. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcisupper.html +222 -0
  239. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fclanggetcharset.html +205 -0
  240. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fclangsetadd.html +239 -0
  241. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fclangsetcompare.html +239 -0
  242. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fclangsetcontains.html +259 -0
  243. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fclangsetcopy.html +225 -0
  244. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fclangsetcreate.html +219 -0
  245. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fclangsetdestroy.html +220 -0
  246. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fclangsetequal.html +232 -0
  247. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fclangsetgetlangs.html +221 -0
  248. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fclangsethash.html +233 -0
  249. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fclangsethaslang.html +255 -0
  250. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcmatrixcopy.html +225 -0
  251. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcmatrixequal.html +236 -0
  252. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcmatrixinit.html +225 -0
  253. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcmatrixmultiply.html +246 -0
  254. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcmatrixrotate.html +261 -0
  255. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcmatrixscale.html +261 -0
  256. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcmatrixshear.html +250 -0
  257. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcnameconstant.html +221 -0
  258. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcnamegetconstant.html +221 -0
  259. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcnamegetobjecttype.html +210 -0
  260. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcnameparse.html +221 -0
  261. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcnameregisterconstants.html +228 -0
  262. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcnameregisterobjecttypes.html +228 -0
  263. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcnameunparse.html +218 -0
  264. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcnameunregisterconstants.html +228 -0
  265. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcnameunregisterobjecttypes.html +226 -0
  266. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcobjectsetadd.html +222 -0
  267. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcobjectsetbuild.html +262 -0
  268. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcobjectsetcreate.html +216 -0
  269. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcobjectsetdestroy.html +216 -0
  270. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcpatternadd-type.html +404 -0
  271. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcpatternadd.html +240 -0
  272. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcpatternaddweak.html +242 -0
  273. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcpatternbuild.html +313 -0
  274. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcpatterncreate.html +216 -0
  275. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcpatterndel.html +222 -0
  276. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcpatterndestroy.html +217 -0
  277. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcpatternduplicate.html +223 -0
  278. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcpatternequal.html +231 -0
  279. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcpatternequalsubset.html +242 -0
  280. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcpatternfilter.html +244 -0
  281. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcpatternformat.html +602 -0
  282. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcpatternget-type.html +435 -0
  283. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcpatternget.html +249 -0
  284. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcpatternhash.html +217 -0
  285. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcpatternprint.html +218 -0
  286. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcpatternreference.html +222 -0
  287. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcpatternremove.html +227 -0
  288. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcstrbasename.html +212 -0
  289. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcstrcmp.html +232 -0
  290. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcstrcmpignorecase.html +233 -0
  291. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcstrcopy.html +226 -0
  292. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcstrcopyfilename.html +234 -0
  293. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcstrdirname.html +223 -0
  294. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcstrdowncase.html +222 -0
  295. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcstrfree.html +217 -0
  296. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcstrlistcreate.html +221 -0
  297. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcstrlistdone.html +210 -0
  298. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcstrlistnext.html +221 -0
  299. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcstrplus.html +233 -0
  300. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcstrsetadd.html +231 -0
  301. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcstrsetaddfilename.html +233 -0
  302. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcstrsetcreate.html +216 -0
  303. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcstrsetdel.html +237 -0
  304. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcstrsetdestroy.html +221 -0
  305. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcstrsetequal.html +233 -0
  306. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcstrsetmember.html +232 -0
  307. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcstrstr.html +244 -0
  308. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcstrstrignorecase.html +244 -0
  309. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fctolower.html +222 -0
  310. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcucs4toutf8.html +233 -0
  311. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcutf16len.html +278 -0
  312. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcutf16toucs4.html +265 -0
  313. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcutf8len.html +261 -0
  314. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcutf8toucs4.html +249 -0
  315. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcvaluedestroy.html +222 -0
  316. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcvalueequal.html +212 -0
  317. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcvalueprint.html +223 -0
  318. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcvaluesave.html +227 -0
  319. data/vendor/local/share/doc/fontconfig/fontconfig-devel/ln12.html +128 -0
  320. data/vendor/local/share/doc/fontconfig/fontconfig-devel/t1.html +133 -0
  321. data/vendor/local/share/doc/fontconfig/fontconfig-devel/x102.html +1463 -0
  322. data/vendor/local/share/doc/fontconfig/fontconfig-devel/x19.html +264 -0
  323. data/vendor/local/share/doc/fontconfig/fontconfig-devel/x31.html +590 -0
  324. data/vendor/local/share/doc/fontconfig/fontconfig-user.html +1352 -0
  325. data/vendor/local/share/doc/fontconfig/fontconfig-user.pdf +0 -0
  326. data/vendor/local/share/doc/fontconfig/fontconfig-user.txt +644 -0
  327. data/vendor/local/share/gtk-doc/html/cairo/cairo-FreeType-Fonts.html +11 -28
  328. data/vendor/local/share/gtk-doc/html/cairo/cairo-Image-Surfaces.html +10 -26
  329. data/vendor/local/share/gtk-doc/html/cairo/cairo-Paths.html +42 -99
  330. data/vendor/local/share/gtk-doc/html/cairo/cairo-PostScript-Surfaces.html +22 -47
  331. data/vendor/local/share/gtk-doc/html/cairo/cairo-Quartz-(CGFont)-Fonts.html +1 -2
  332. data/vendor/local/share/gtk-doc/html/cairo/cairo-Quartz-Surfaces.html +5 -15
  333. data/vendor/local/share/gtk-doc/html/cairo/cairo-Recording-Surfaces.html +201 -0
  334. data/vendor/local/share/gtk-doc/html/cairo/cairo-Types.html +5 -15
  335. data/vendor/local/share/gtk-doc/html/cairo/cairo-Version-Information.html +43 -113
  336. data/vendor/local/share/gtk-doc/html/cairo/cairo-Win32-Fonts.html +1 -2
  337. data/vendor/local/share/gtk-doc/html/cairo/cairo-Win32-Surfaces.html +3 -4
  338. data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-device-t.html +21 -48
  339. data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-pattern-t.html +8 -26
  340. data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-scaled-font-t.html +61 -148
  341. data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-surface-t.html +19 -45
  342. data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-t.html +15 -39
  343. data/vendor/local/share/gtk-doc/html/cairo/cairo-surfaces.html +3 -0
  344. data/vendor/local/share/gtk-doc/html/cairo/cairo.devhelp +6 -2
  345. data/vendor/local/share/gtk-doc/html/cairo/cairo.devhelp2 +6 -2
  346. data/vendor/local/share/gtk-doc/html/cairo/index-1.10.html +9 -0
  347. data/vendor/local/share/gtk-doc/html/cairo/index-all.html +6 -0
  348. data/vendor/local/share/gtk-doc/html/cairo/index.html +4 -1
  349. data/vendor/local/share/gtk-doc/html/cairo/index.sgml +8 -0
  350. data/vendor/local/share/man/man1/fc-cache.1 +70 -0
  351. data/vendor/local/share/man/man1/fc-cat.1 +44 -0
  352. data/vendor/local/share/man/man1/fc-list.1 +72 -0
  353. data/vendor/local/share/man/man1/fc-match.1 +73 -0
  354. data/vendor/local/share/man/man1/fc-query.1 +57 -0
  355. data/vendor/local/share/man/man1/fc-scan.1 +52 -0
  356. data/vendor/local/share/man/man3/FcAtomicCreate.3 +19 -0
  357. data/vendor/local/share/man/man3/FcAtomicDeleteNew.3 +16 -0
  358. data/vendor/local/share/man/man3/FcAtomicDestroy.3 +16 -0
  359. data/vendor/local/share/man/man3/FcAtomicLock.3 +18 -0
  360. data/vendor/local/share/man/man3/FcAtomicNewFile.3 +17 -0
  361. data/vendor/local/share/man/man3/FcAtomicOrigFile.3 +16 -0
  362. data/vendor/local/share/man/man3/FcAtomicReplaceOrig.3 +18 -0
  363. data/vendor/local/share/man/man3/FcAtomicUnlock.3 +16 -0
  364. data/vendor/local/share/man/man3/FcBlanksAdd.3 +18 -0
  365. data/vendor/local/share/man/man3/FcBlanksCreate.3 +16 -0
  366. data/vendor/local/share/man/man3/FcBlanksDestroy.3 +16 -0
  367. data/vendor/local/share/man/man3/FcBlanksIsMember.3 +18 -0
  368. data/vendor/local/share/man/man3/FcCacheCopySet.3 +18 -0
  369. data/vendor/local/share/man/man3/FcCacheDir.3 +16 -0
  370. data/vendor/local/share/man/man3/FcCacheNumFont.3 +17 -0
  371. data/vendor/local/share/man/man3/FcCacheNumSubdir.3 +16 -0
  372. data/vendor/local/share/man/man3/FcCacheSubdir.3 +20 -0
  373. data/vendor/local/share/man/man3/FcCharSetAddChar.3 +19 -0
  374. data/vendor/local/share/man/man3/FcCharSetCopy.3 +17 -0
  375. data/vendor/local/share/man/man3/FcCharSetCount.3 +16 -0
  376. data/vendor/local/share/man/man3/FcCharSetCoverage.3 +23 -0
  377. data/vendor/local/share/man/man3/FcCharSetCreate.3 +17 -0
  378. data/vendor/local/share/man/man3/FcCharSetDestroy.3 +18 -0
  379. data/vendor/local/share/man/man3/FcCharSetEqual.3 +18 -0
  380. data/vendor/local/share/man/man3/FcCharSetFirstPage.3 +20 -0
  381. data/vendor/local/share/man/man3/FcCharSetHasChar.3 +17 -0
  382. data/vendor/local/share/man/man3/FcCharSetIntersect.3 +18 -0
  383. data/vendor/local/share/man/man3/FcCharSetIntersectCount.3 +17 -0
  384. data/vendor/local/share/man/man3/FcCharSetIsSubset.3 +17 -0
  385. data/vendor/local/share/man/man3/FcCharSetMerge.3 +23 -0
  386. data/vendor/local/share/man/man3/FcCharSetNew.3 +16 -0
  387. data/vendor/local/share/man/man3/FcCharSetNextPage.3 +20 -0
  388. data/vendor/local/share/man/man3/FcCharSetSubtract.3 +17 -0
  389. data/vendor/local/share/man/man3/FcCharSetSubtractCount.3 +17 -0
  390. data/vendor/local/share/man/man3/FcCharSetUnion.3 +17 -0
  391. data/vendor/local/share/man/man3/FcConfigAppFontAddDir.3 +20 -0
  392. data/vendor/local/share/man/man3/FcConfigAppFontAddFile.3 +19 -0
  393. data/vendor/local/share/man/man3/FcConfigAppFontClear.3 +17 -0
  394. data/vendor/local/share/man/man3/FcConfigBuildFonts.3 +19 -0
  395. data/vendor/local/share/man/man3/FcConfigCreate.3 +16 -0
  396. data/vendor/local/share/man/man3/FcConfigDestroy.3 +19 -0
  397. data/vendor/local/share/man/man3/FcConfigEnableHome.3 +20 -0
  398. data/vendor/local/share/man/man3/FcConfigFilename.3 +26 -0
  399. data/vendor/local/share/man/man3/FcConfigGetBlanks.3 +20 -0
  400. data/vendor/local/share/man/man3/FcConfigGetCache.3 +17 -0
  401. data/vendor/local/share/man/man3/FcConfigGetCacheDirs.3 +19 -0
  402. data/vendor/local/share/man/man3/FcConfigGetConfigDirs.3 +18 -0
  403. data/vendor/local/share/man/man3/FcConfigGetConfigFiles.3 +17 -0
  404. data/vendor/local/share/man/man3/FcConfigGetCurrent.3 +16 -0
  405. data/vendor/local/share/man/man3/FcConfigGetFontDirs.3 +19 -0
  406. data/vendor/local/share/man/man3/FcConfigGetFonts.3 +20 -0
  407. data/vendor/local/share/man/man3/FcConfigGetRescanInterval.3 +20 -0
  408. data/vendor/local/share/man/man3/FcConfigHome.3 +18 -0
  409. data/vendor/local/share/man/man3/FcConfigParseAndLoad.3 +23 -0
  410. data/vendor/local/share/man/man3/FcConfigReference.3 +21 -0
  411. data/vendor/local/share/man/man3/FcConfigSetCurrent.3 +17 -0
  412. data/vendor/local/share/man/man3/FcConfigSetRescanInterval.3 +20 -0
  413. data/vendor/local/share/man/man3/FcConfigSubstitute.3 +20 -0
  414. data/vendor/local/share/man/man3/FcConfigSubstituteWithPat.3 +24 -0
  415. data/vendor/local/share/man/man3/FcConfigUptoDate.3 +18 -0
  416. data/vendor/local/share/man/man3/FcDefaultSubstitute.3 +27 -0
  417. data/vendor/local/share/man/man3/FcDirCacheLoad.3 +21 -0
  418. data/vendor/local/share/man/man3/FcDirCacheLoadFile.3 +19 -0
  419. data/vendor/local/share/man/man3/FcDirCacheRead.3 +21 -0
  420. data/vendor/local/share/man/man3/FcDirCacheUnlink.3 +20 -0
  421. data/vendor/local/share/man/man3/FcDirCacheUnload.3 +17 -0
  422. data/vendor/local/share/man/man3/FcDirCacheValid.3 +17 -0
  423. data/vendor/local/share/man/man3/FcDirSave.3 +22 -0
  424. data/vendor/local/share/man/man3/FcDirScan.3 +26 -0
  425. data/vendor/local/share/man/man3/FcFileIsDir.3 +17 -0
  426. data/vendor/local/share/man/man3/FcFileScan.3 +31 -0
  427. data/vendor/local/share/man/man3/FcFini.3 +19 -0
  428. data/vendor/local/share/man/man3/FcFontList.3 +21 -0
  429. data/vendor/local/share/man/man3/FcFontMatch.3 +25 -0
  430. data/vendor/local/share/man/man3/FcFontRenderPrepare.3 +21 -0
  431. data/vendor/local/share/man/man3/FcFontSetAdd.3 +19 -0
  432. data/vendor/local/share/man/man3/FcFontSetCreate.3 +16 -0
  433. data/vendor/local/share/man/man3/FcFontSetDestroy.3 +17 -0
  434. data/vendor/local/share/man/man3/FcFontSetList.3 +25 -0
  435. data/vendor/local/share/man/man3/FcFontSetMatch.3 +28 -0
  436. data/vendor/local/share/man/man3/FcFontSetPrint.3 +19 -0
  437. data/vendor/local/share/man/man3/FcFontSetSort.3 +39 -0
  438. data/vendor/local/share/man/man3/FcFontSetSortDestroy.3 +19 -0
  439. data/vendor/local/share/man/man3/FcFontSort.3 +33 -0
  440. data/vendor/local/share/man/man3/FcFreeTypeCharIndex.3 +22 -0
  441. data/vendor/local/share/man/man3/FcFreeTypeCharSet.3 +21 -0
  442. data/vendor/local/share/man/man3/FcFreeTypeCharSetAndSpacing.3 +28 -0
  443. data/vendor/local/share/man/man3/FcFreeTypeQuery.3 +21 -0
  444. data/vendor/local/share/man/man3/FcFreeTypeQueryFace.3 +21 -0
  445. data/vendor/local/share/man/man3/FcGetLangs.3 +16 -0
  446. data/vendor/local/share/man/man3/FcGetVersion.3 +16 -0
  447. data/vendor/local/share/man/man3/FcInit.3 +19 -0
  448. data/vendor/local/share/man/man3/FcInitBringUptoDate.3 +19 -0
  449. data/vendor/local/share/man/man3/FcInitLoadConfig.3 +17 -0
  450. data/vendor/local/share/man/man3/FcInitLoadConfigAndFonts.3 +17 -0
  451. data/vendor/local/share/man/man3/FcInitReinitialize.3 +19 -0
  452. data/vendor/local/share/man/man3/FcIsLower.3 +17 -0
  453. data/vendor/local/share/man/man3/FcIsUpper.3 +17 -0
  454. data/vendor/local/share/man/man3/FcLangGetCharSet.3 +16 -0
  455. data/vendor/local/share/man/man3/FcLangSetAdd.3 +20 -0
  456. data/vendor/local/share/man/man3/FcLangSetCompare.3 +22 -0
  457. data/vendor/local/share/man/man3/FcLangSetContains.3 +22 -0
  458. data/vendor/local/share/man/man3/FcLangSetCopy.3 +17 -0
  459. data/vendor/local/share/man/man3/FcLangSetCreate.3 +16 -0
  460. data/vendor/local/share/man/man3/FcLangSetDestroy.3 +17 -0
  461. data/vendor/local/share/man/man3/FcLangSetEqual.3 +18 -0
  462. data/vendor/local/share/man/man3/FcLangSetGetLangs.3 +16 -0
  463. data/vendor/local/share/man/man3/FcLangSetHasLang.3 +23 -0
  464. data/vendor/local/share/man/man3/FcLangSetHash.3 +20 -0
  465. data/vendor/local/share/man/man3/FcMatrixCopy.3 +17 -0
  466. data/vendor/local/share/man/man3/FcMatrixEqual.3 +19 -0
  467. data/vendor/local/share/man/man3/FcMatrixInit.3 +17 -0
  468. data/vendor/local/share/man/man3/FcMatrixMultiply.3 +20 -0
  469. data/vendor/local/share/man/man3/FcMatrixRotate.3 +27 -0
  470. data/vendor/local/share/man/man3/FcMatrixScale.3 +27 -0
  471. data/vendor/local/share/man/man3/FcMatrixShear.3 +27 -0
  472. data/vendor/local/share/man/man3/FcNameConstant.3 +18 -0
  473. data/vendor/local/share/man/man3/FcNameGetConstant.3 +16 -0
  474. data/vendor/local/share/man/man3/FcNameGetObjectType.3 +16 -0
  475. data/vendor/local/share/man/man3/FcNameParse.3 +16 -0
  476. data/vendor/local/share/man/man3/FcNameRegisterConstants.3 +19 -0
  477. data/vendor/local/share/man/man3/FcNameRegisterObjectTypes.3 +19 -0
  478. data/vendor/local/share/man/man3/FcNameUnparse.3 +18 -0
  479. data/vendor/local/share/man/man3/FcNameUnregisterConstants.3 +19 -0
  480. data/vendor/local/share/man/man3/FcNameUnregisterObjectTypes.3 +17 -0
  481. data/vendor/local/share/man/man3/FcObjectSetAdd.3 +18 -0
  482. data/vendor/local/share/man/man3/FcObjectSetBuild.3 +26 -0
  483. data/vendor/local/share/man/man3/FcObjectSetCreate.3 +16 -0
  484. data/vendor/local/share/man/man3/FcObjectSetDestroy.3 +16 -0
  485. data/vendor/local/share/man/man3/FcPatternAdd-Type.3 +49 -0
  486. data/vendor/local/share/man/man3/FcPatternAdd.3 +23 -0
  487. data/vendor/local/share/man/man3/FcPatternAddWeak.3 +20 -0
  488. data/vendor/local/share/man/man3/FcPatternBuild.3 +50 -0
  489. data/vendor/local/share/man/man3/FcPatternCreate.3 +16 -0
  490. data/vendor/local/share/man/man3/FcPatternDel.3 +18 -0
  491. data/vendor/local/share/man/man3/FcPatternDestroy.3 +17 -0
  492. data/vendor/local/share/man/man3/FcPatternDuplicate.3 +18 -0
  493. data/vendor/local/share/man/man3/FcPatternEqual.3 +17 -0
  494. data/vendor/local/share/man/man3/FcPatternEqualSubset.3 +19 -0
  495. data/vendor/local/share/man/man3/FcPatternFilter.3 +20 -0
  496. data/vendor/local/share/man/man3/FcPatternFormat.3 +205 -0
  497. data/vendor/local/share/man/man3/FcPatternGet-Type.3 +56 -0
  498. data/vendor/local/share/man/man3/FcPatternGet.3 +22 -0
  499. data/vendor/local/share/man/man3/FcPatternHash.3 +17 -0
  500. data/vendor/local/share/man/man3/FcPatternPrint.3 +18 -0
  501. data/vendor/local/share/man/man3/FcPatternReference.3 +17 -0
  502. data/vendor/local/share/man/man3/FcPatternRemove.3 +19 -0
  503. data/vendor/local/share/man/man3/FcStrBasename.3 +18 -0
  504. data/vendor/local/share/man/man3/FcStrCmp.3 +18 -0
  505. data/vendor/local/share/man/man3/FcStrCmpIgnoreCase.3 +19 -0
  506. data/vendor/local/share/man/man3/FcStrCopy.3 +18 -0
  507. data/vendor/local/share/man/man3/FcStrCopyFilename.3 +23 -0
  508. data/vendor/local/share/man/man3/FcStrDirname.3 +18 -0
  509. data/vendor/local/share/man/man3/FcStrDowncase.3 +17 -0
  510. data/vendor/local/share/man/man3/FcStrFree.3 +17 -0
  511. data/vendor/local/share/man/man3/FcStrListCreate.3 +16 -0
  512. data/vendor/local/share/man/man3/FcStrListDone.3 +16 -0
  513. data/vendor/local/share/man/man3/FcStrListNext.3 +16 -0
  514. data/vendor/local/share/man/man3/FcStrPlus.3 +19 -0
  515. data/vendor/local/share/man/man3/FcStrSetAdd.3 +17 -0
  516. data/vendor/local/share/man/man3/FcStrSetAddFilename.3 +19 -0
  517. data/vendor/local/share/man/man3/FcStrSetCreate.3 +16 -0
  518. data/vendor/local/share/man/man3/FcStrSetDel.3 +18 -0
  519. data/vendor/local/share/man/man3/FcStrSetDestroy.3 +16 -0
  520. data/vendor/local/share/man/man3/FcStrSetEqual.3 +19 -0
  521. data/vendor/local/share/man/man3/FcStrSetMember.3 +18 -0
  522. data/vendor/local/share/man/man3/FcStrStr.3 +20 -0
  523. data/vendor/local/share/man/man3/FcStrStrIgnoreCase.3 +20 -0
  524. data/vendor/local/share/man/man3/FcToLower.3 +17 -0
  525. data/vendor/local/share/man/man3/FcUcs4ToUtf8.3 +19 -0
  526. data/vendor/local/share/man/man3/FcUtf16Len.3 +27 -0
  527. data/vendor/local/share/man/man3/FcUtf16ToUcs4.3 +23 -0
  528. data/vendor/local/share/man/man3/FcUtf8Len.3 +24 -0
  529. data/vendor/local/share/man/man3/FcUtf8ToUcs4.3 +21 -0
  530. data/vendor/local/share/man/man3/FcValueDestroy.3 +17 -0
  531. data/vendor/local/share/man/man3/FcValueEqual.3 +19 -0
  532. data/vendor/local/share/man/man3/FcValuePrint.3 +18 -0
  533. data/vendor/local/share/man/man3/FcValueSave.3 +17 -0
  534. data/vendor/local/share/man/man3/libpng.3 +4455 -0
  535. data/vendor/local/share/man/man3/libpngpf.3 +808 -0
  536. data/vendor/local/share/man/man5/fonts-conf.5 +644 -0
  537. data/vendor/local/share/man/man5/png.5 +74 -0
  538. data/vendor/local/src/tml/packaging/{cairo_1.10.0-1_win32.log → cairo_1.10.2-1_win32.log} +242 -235
  539. data/vendor/local/src/tml/packaging/{cairo_1.10.0-1_win32.sh → cairo_1.10.2-1_win32.sh} +11 -3
  540. data/vendor/local/src/tml/packaging/expat_2.0.1-1_win32.log +188 -0
  541. data/vendor/local/src/tml/packaging/expat_2.0.1-1_win32.sh +68 -0
  542. data/vendor/local/src/tml/packaging/fontconfig_2.8.0-2_win32.log +999 -0
  543. data/vendor/local/src/tml/packaging/fontconfig_2.8.0-2_win32.sh +79 -0
  544. data/vendor/local/src/tml/packaging/freetype_2.4.2-1_win32.log +364 -0
  545. data/vendor/local/src/tml/packaging/freetype_2.4.2-1_win32.sh +93 -0
  546. data/vendor/local/src/tml/packaging/libpng_1.4.3-1_win32.log +272 -0
  547. data/vendor/local/src/tml/packaging/libpng_1.4.3-1_win32.sh +71 -0
  548. data/vendor/local/src/tml/packaging/zlib_1.2.5-2_win32.log +42 -0
  549. data/vendor/local/src/tml/packaging/zlib_1.2.5-2_win32.sh +189 -0
  550. metadata +586 -122
  551. data/extconf.rb +0 -45
  552. data/misc/update-colors.rb +0 -143
  553. data/samples/agg/README +0 -4
  554. data/tmp/i386-mingw32/cairo/1.8.7/fake.rb +0 -6
  555. data/tmp/i386-mingw32/cairo/1.8.7/mkmf.rb +0 -1836
  556. data/tmp/i386-mingw32/cairo/1.8.7/rbconfig.rb +0 -183
  557. data/tmp/i386-mingw32/cairo/1.9.2/fake.rb +0 -6
  558. data/tmp/i386-mingw32/cairo/1.9.2/mkmf.rb +0 -2079
  559. data/tmp/i386-mingw32/cairo/1.9.2/rbconfig.rb +0 -226
  560. data/vendor/local/manifest/cairo_1.10.0-1_win32.mft +0 -5
@@ -0,0 +1,1301 @@
1
+ /***************************************************************************/
2
+ /* */
3
+ /* ftimage.h */
4
+ /* */
5
+ /* FreeType glyph image formats and default raster interface */
6
+ /* (specification). */
7
+ /* */
8
+ /* Copyright 1996-2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, */
9
+ /* 2010 by */
10
+ /* David Turner, Robert Wilhelm, and Werner Lemberg. */
11
+ /* */
12
+ /* This file is part of the FreeType project, and may only be used, */
13
+ /* modified, and distributed under the terms of the FreeType project */
14
+ /* license, LICENSE.TXT. By continuing to use, modify, or distribute */
15
+ /* this file you indicate that you have read the license and */
16
+ /* understand and accept it fully. */
17
+ /* */
18
+ /***************************************************************************/
19
+
20
+ /*************************************************************************/
21
+ /* */
22
+ /* Note: A `raster' is simply a scan-line converter, used to render */
23
+ /* FT_Outlines into FT_Bitmaps. */
24
+ /* */
25
+ /*************************************************************************/
26
+
27
+
28
+ #ifndef __FTIMAGE_H__
29
+ #define __FTIMAGE_H__
30
+
31
+
32
+ /* _STANDALONE_ is from ftgrays.c */
33
+ #ifndef _STANDALONE_
34
+ #include <ft2build.h>
35
+ #endif
36
+
37
+
38
+ FT_BEGIN_HEADER
39
+
40
+
41
+ /*************************************************************************/
42
+ /* */
43
+ /* <Section> */
44
+ /* basic_types */
45
+ /* */
46
+ /*************************************************************************/
47
+
48
+
49
+ /*************************************************************************/
50
+ /* */
51
+ /* <Type> */
52
+ /* FT_Pos */
53
+ /* */
54
+ /* <Description> */
55
+ /* The type FT_Pos is used to store vectorial coordinates. Depending */
56
+ /* on the context, these can represent distances in integer font */
57
+ /* units, or 16.16, or 26.6 fixed float pixel coordinates. */
58
+ /* */
59
+ typedef signed long FT_Pos;
60
+
61
+
62
+ /*************************************************************************/
63
+ /* */
64
+ /* <Struct> */
65
+ /* FT_Vector */
66
+ /* */
67
+ /* <Description> */
68
+ /* A simple structure used to store a 2D vector; coordinates are of */
69
+ /* the FT_Pos type. */
70
+ /* */
71
+ /* <Fields> */
72
+ /* x :: The horizontal coordinate. */
73
+ /* y :: The vertical coordinate. */
74
+ /* */
75
+ typedef struct FT_Vector_
76
+ {
77
+ FT_Pos x;
78
+ FT_Pos y;
79
+
80
+ } FT_Vector;
81
+
82
+
83
+ /*************************************************************************/
84
+ /* */
85
+ /* <Struct> */
86
+ /* FT_BBox */
87
+ /* */
88
+ /* <Description> */
89
+ /* A structure used to hold an outline's bounding box, i.e., the */
90
+ /* coordinates of its extrema in the horizontal and vertical */
91
+ /* directions. */
92
+ /* */
93
+ /* <Fields> */
94
+ /* xMin :: The horizontal minimum (left-most). */
95
+ /* */
96
+ /* yMin :: The vertical minimum (bottom-most). */
97
+ /* */
98
+ /* xMax :: The horizontal maximum (right-most). */
99
+ /* */
100
+ /* yMax :: The vertical maximum (top-most). */
101
+ /* */
102
+ /* <Note> */
103
+ /* The bounding box is specified with the coordinates of the lower */
104
+ /* left and the upper right corner. In PostScript, those values are */
105
+ /* often called (llx,lly) and (urx,ury), respectively. */
106
+ /* */
107
+ /* If `yMin' is negative, this value gives the glyph's descender. */
108
+ /* Otherwise, the glyph doesn't descend below the baseline. */
109
+ /* Similarly, if `ymax' is positive, this value gives the glyph's */
110
+ /* ascender. */
111
+ /* */
112
+ /* `xMin' gives the horizontal distance from the glyph's origin to */
113
+ /* the left edge of the glyph's bounding box. If `xMin' is negative, */
114
+ /* the glyph extends to the left of the origin. */
115
+ /* */
116
+ typedef struct FT_BBox_
117
+ {
118
+ FT_Pos xMin, yMin;
119
+ FT_Pos xMax, yMax;
120
+
121
+ } FT_BBox;
122
+
123
+
124
+ /*************************************************************************/
125
+ /* */
126
+ /* <Enum> */
127
+ /* FT_Pixel_Mode */
128
+ /* */
129
+ /* <Description> */
130
+ /* An enumeration type used to describe the format of pixels in a */
131
+ /* given bitmap. Note that additional formats may be added in the */
132
+ /* future. */
133
+ /* */
134
+ /* <Values> */
135
+ /* FT_PIXEL_MODE_NONE :: */
136
+ /* Value~0 is reserved. */
137
+ /* */
138
+ /* FT_PIXEL_MODE_MONO :: */
139
+ /* A monochrome bitmap, using 1~bit per pixel. Note that pixels */
140
+ /* are stored in most-significant order (MSB), which means that */
141
+ /* the left-most pixel in a byte has value 128. */
142
+ /* */
143
+ /* FT_PIXEL_MODE_GRAY :: */
144
+ /* An 8-bit bitmap, generally used to represent anti-aliased glyph */
145
+ /* images. Each pixel is stored in one byte. Note that the number */
146
+ /* of `gray' levels is stored in the `num_grays' field of the */
147
+ /* @FT_Bitmap structure (it generally is 256). */
148
+ /* */
149
+ /* FT_PIXEL_MODE_GRAY2 :: */
150
+ /* A 2-bit per pixel bitmap, used to represent embedded */
151
+ /* anti-aliased bitmaps in font files according to the OpenType */
152
+ /* specification. We haven't found a single font using this */
153
+ /* format, however. */
154
+ /* */
155
+ /* FT_PIXEL_MODE_GRAY4 :: */
156
+ /* A 4-bit per pixel bitmap, representing embedded anti-aliased */
157
+ /* bitmaps in font files according to the OpenType specification. */
158
+ /* We haven't found a single font using this format, however. */
159
+ /* */
160
+ /* FT_PIXEL_MODE_LCD :: */
161
+ /* An 8-bit bitmap, representing RGB or BGR decimated glyph images */
162
+ /* used for display on LCD displays; the bitmap is three times */
163
+ /* wider than the original glyph image. See also */
164
+ /* @FT_RENDER_MODE_LCD. */
165
+ /* */
166
+ /* FT_PIXEL_MODE_LCD_V :: */
167
+ /* An 8-bit bitmap, representing RGB or BGR decimated glyph images */
168
+ /* used for display on rotated LCD displays; the bitmap is three */
169
+ /* times taller than the original glyph image. See also */
170
+ /* @FT_RENDER_MODE_LCD_V. */
171
+ /* */
172
+ typedef enum FT_Pixel_Mode_
173
+ {
174
+ FT_PIXEL_MODE_NONE = 0,
175
+ FT_PIXEL_MODE_MONO,
176
+ FT_PIXEL_MODE_GRAY,
177
+ FT_PIXEL_MODE_GRAY2,
178
+ FT_PIXEL_MODE_GRAY4,
179
+ FT_PIXEL_MODE_LCD,
180
+ FT_PIXEL_MODE_LCD_V,
181
+
182
+ FT_PIXEL_MODE_MAX /* do not remove */
183
+
184
+ } FT_Pixel_Mode;
185
+
186
+
187
+ /*************************************************************************/
188
+ /* */
189
+ /* <Enum> */
190
+ /* ft_pixel_mode_xxx */
191
+ /* */
192
+ /* <Description> */
193
+ /* A list of deprecated constants. Use the corresponding */
194
+ /* @FT_Pixel_Mode values instead. */
195
+ /* */
196
+ /* <Values> */
197
+ /* ft_pixel_mode_none :: See @FT_PIXEL_MODE_NONE. */
198
+ /* ft_pixel_mode_mono :: See @FT_PIXEL_MODE_MONO. */
199
+ /* ft_pixel_mode_grays :: See @FT_PIXEL_MODE_GRAY. */
200
+ /* ft_pixel_mode_pal2 :: See @FT_PIXEL_MODE_GRAY2. */
201
+ /* ft_pixel_mode_pal4 :: See @FT_PIXEL_MODE_GRAY4. */
202
+ /* */
203
+ #define ft_pixel_mode_none FT_PIXEL_MODE_NONE
204
+ #define ft_pixel_mode_mono FT_PIXEL_MODE_MONO
205
+ #define ft_pixel_mode_grays FT_PIXEL_MODE_GRAY
206
+ #define ft_pixel_mode_pal2 FT_PIXEL_MODE_GRAY2
207
+ #define ft_pixel_mode_pal4 FT_PIXEL_MODE_GRAY4
208
+
209
+ /* */
210
+
211
+ #if 0
212
+
213
+ /*************************************************************************/
214
+ /* */
215
+ /* <Enum> */
216
+ /* FT_Palette_Mode */
217
+ /* */
218
+ /* <Description> */
219
+ /* THIS TYPE IS DEPRECATED. DO NOT USE IT! */
220
+ /* */
221
+ /* An enumeration type to describe the format of a bitmap palette, */
222
+ /* used with ft_pixel_mode_pal4 and ft_pixel_mode_pal8. */
223
+ /* */
224
+ /* <Values> */
225
+ /* ft_palette_mode_rgb :: The palette is an array of 3-byte RGB */
226
+ /* records. */
227
+ /* */
228
+ /* ft_palette_mode_rgba :: The palette is an array of 4-byte RGBA */
229
+ /* records. */
230
+ /* */
231
+ /* <Note> */
232
+ /* As ft_pixel_mode_pal2, pal4 and pal8 are currently unused by */
233
+ /* FreeType, these types are not handled by the library itself. */
234
+ /* */
235
+ typedef enum FT_Palette_Mode_
236
+ {
237
+ ft_palette_mode_rgb = 0,
238
+ ft_palette_mode_rgba,
239
+
240
+ ft_palette_mode_max /* do not remove */
241
+
242
+ } FT_Palette_Mode;
243
+
244
+ /* */
245
+
246
+ #endif
247
+
248
+
249
+ /*************************************************************************/
250
+ /* */
251
+ /* <Struct> */
252
+ /* FT_Bitmap */
253
+ /* */
254
+ /* <Description> */
255
+ /* A structure used to describe a bitmap or pixmap to the raster. */
256
+ /* Note that we now manage pixmaps of various depths through the */
257
+ /* `pixel_mode' field. */
258
+ /* */
259
+ /* <Fields> */
260
+ /* rows :: The number of bitmap rows. */
261
+ /* */
262
+ /* width :: The number of pixels in bitmap row. */
263
+ /* */
264
+ /* pitch :: The pitch's absolute value is the number of bytes */
265
+ /* taken by one bitmap row, including padding. */
266
+ /* However, the pitch is positive when the bitmap has */
267
+ /* a `down' flow, and negative when it has an `up' */
268
+ /* flow. In all cases, the pitch is an offset to add */
269
+ /* to a bitmap pointer in order to go down one row. */
270
+ /* */
271
+ /* For the B/W rasterizer, `pitch' is always an even */
272
+ /* number. */
273
+ /* */
274
+ /* buffer :: A typeless pointer to the bitmap buffer. This */
275
+ /* value should be aligned on 32-bit boundaries in */
276
+ /* most cases. */
277
+ /* */
278
+ /* num_grays :: This field is only used with */
279
+ /* @FT_PIXEL_MODE_GRAY; it gives the number of gray */
280
+ /* levels used in the bitmap. */
281
+ /* */
282
+ /* pixel_mode :: The pixel mode, i.e., how pixel bits are stored. */
283
+ /* See @FT_Pixel_Mode for possible values. */
284
+ /* */
285
+ /* palette_mode :: This field is intended for paletted pixel modes; */
286
+ /* it indicates how the palette is stored. Not */
287
+ /* used currently. */
288
+ /* */
289
+ /* palette :: A typeless pointer to the bitmap palette; this */
290
+ /* field is intended for paletted pixel modes. Not */
291
+ /* used currently. */
292
+ /* */
293
+ /* <Note> */
294
+ /* For now, the only pixel modes supported by FreeType are mono and */
295
+ /* grays. However, drivers might be added in the future to support */
296
+ /* more `colorful' options. */
297
+ /* */
298
+ typedef struct FT_Bitmap_
299
+ {
300
+ int rows;
301
+ int width;
302
+ int pitch;
303
+ unsigned char* buffer;
304
+ short num_grays;
305
+ char pixel_mode;
306
+ char palette_mode;
307
+ void* palette;
308
+
309
+ } FT_Bitmap;
310
+
311
+
312
+ /*************************************************************************/
313
+ /* */
314
+ /* <Section> */
315
+ /* outline_processing */
316
+ /* */
317
+ /*************************************************************************/
318
+
319
+
320
+ /*************************************************************************/
321
+ /* */
322
+ /* <Struct> */
323
+ /* FT_Outline */
324
+ /* */
325
+ /* <Description> */
326
+ /* This structure is used to describe an outline to the scan-line */
327
+ /* converter. */
328
+ /* */
329
+ /* <Fields> */
330
+ /* n_contours :: The number of contours in the outline. */
331
+ /* */
332
+ /* n_points :: The number of points in the outline. */
333
+ /* */
334
+ /* points :: A pointer to an array of `n_points' @FT_Vector */
335
+ /* elements, giving the outline's point coordinates. */
336
+ /* */
337
+ /* tags :: A pointer to an array of `n_points' chars, giving */
338
+ /* each outline point's type. */
339
+ /* */
340
+ /* If bit~0 is unset, the point is `off' the curve, */
341
+ /* i.e., a Bézier control point, while it is `on' if */
342
+ /* set. */
343
+ /* */
344
+ /* Bit~1 is meaningful for `off' points only. If set, */
345
+ /* it indicates a third-order Bézier arc control point; */
346
+ /* and a second-order control point if unset. */
347
+ /* */
348
+ /* If bit~2 is set, bits 5-7 contain the drop-out mode */
349
+ /* (as defined in the OpenType specification; the value */
350
+ /* is the same as the argument to the SCANMODE */
351
+ /* instruction). */
352
+ /* */
353
+ /* Bits 3 and~4 are reserved for internal purposes. */
354
+ /* */
355
+ /* contours :: An array of `n_contours' shorts, giving the end */
356
+ /* point of each contour within the outline. For */
357
+ /* example, the first contour is defined by the points */
358
+ /* `0' to `contours[0]', the second one is defined by */
359
+ /* the points `contours[0]+1' to `contours[1]', etc. */
360
+ /* */
361
+ /* flags :: A set of bit flags used to characterize the outline */
362
+ /* and give hints to the scan-converter and hinter on */
363
+ /* how to convert/grid-fit it. See @FT_OUTLINE_FLAGS. */
364
+ /* */
365
+ /* <Note> */
366
+ /* The B/W rasterizer only checks bit~2 in the `tags' array for the */
367
+ /* first point of each contour. The drop-out mode as given with */
368
+ /* @FT_OUTLINE_IGNORE_DROPOUTS, @FT_OUTLINE_SMART_DROPOUTS, and */
369
+ /* @FT_OUTLINE_INCLUDE_STUBS in `flags' is then overridden. */
370
+ /* */
371
+ typedef struct FT_Outline_
372
+ {
373
+ short n_contours; /* number of contours in glyph */
374
+ short n_points; /* number of points in the glyph */
375
+
376
+ FT_Vector* points; /* the outline's points */
377
+ char* tags; /* the points flags */
378
+ short* contours; /* the contour end points */
379
+
380
+ int flags; /* outline masks */
381
+
382
+ } FT_Outline;
383
+
384
+ /* Following limits must be consistent with */
385
+ /* FT_Outline.{n_contours,n_points} */
386
+ #define FT_OUTLINE_CONTOURS_MAX SHRT_MAX
387
+ #define FT_OUTLINE_POINTS_MAX SHRT_MAX
388
+
389
+
390
+ /*************************************************************************/
391
+ /* */
392
+ /* <Enum> */
393
+ /* FT_OUTLINE_FLAGS */
394
+ /* */
395
+ /* <Description> */
396
+ /* A list of bit-field constants use for the flags in an outline's */
397
+ /* `flags' field. */
398
+ /* */
399
+ /* <Values> */
400
+ /* FT_OUTLINE_NONE :: */
401
+ /* Value~0 is reserved. */
402
+ /* */
403
+ /* FT_OUTLINE_OWNER :: */
404
+ /* If set, this flag indicates that the outline's field arrays */
405
+ /* (i.e., `points', `flags', and `contours') are `owned' by the */
406
+ /* outline object, and should thus be freed when it is destroyed. */
407
+ /* */
408
+ /* FT_OUTLINE_EVEN_ODD_FILL :: */
409
+ /* By default, outlines are filled using the non-zero winding rule. */
410
+ /* If set to 1, the outline will be filled using the even-odd fill */
411
+ /* rule (only works with the smooth rasterizer). */
412
+ /* */
413
+ /* FT_OUTLINE_REVERSE_FILL :: */
414
+ /* By default, outside contours of an outline are oriented in */
415
+ /* clock-wise direction, as defined in the TrueType specification. */
416
+ /* This flag is set if the outline uses the opposite direction */
417
+ /* (typically for Type~1 fonts). This flag is ignored by the scan */
418
+ /* converter. */
419
+ /* */
420
+ /* FT_OUTLINE_IGNORE_DROPOUTS :: */
421
+ /* By default, the scan converter will try to detect drop-outs in */
422
+ /* an outline and correct the glyph bitmap to ensure consistent */
423
+ /* shape continuity. If set, this flag hints the scan-line */
424
+ /* converter to ignore such cases. See below for more information. */
425
+ /* */
426
+ /* FT_OUTLINE_SMART_DROPOUTS :: */
427
+ /* Select smart dropout control. If unset, use simple dropout */
428
+ /* control. Ignored if @FT_OUTLINE_IGNORE_DROPOUTS is set. See */
429
+ /* below for more information. */
430
+ /* */
431
+ /* FT_OUTLINE_INCLUDE_STUBS :: */
432
+ /* If set, turn pixels on for `stubs', otherwise exclude them. */
433
+ /* Ignored if @FT_OUTLINE_IGNORE_DROPOUTS is set. See below for */
434
+ /* more information. */
435
+ /* */
436
+ /* FT_OUTLINE_HIGH_PRECISION :: */
437
+ /* This flag indicates that the scan-line converter should try to */
438
+ /* convert this outline to bitmaps with the highest possible */
439
+ /* quality. It is typically set for small character sizes. Note */
440
+ /* that this is only a hint that might be completely ignored by a */
441
+ /* given scan-converter. */
442
+ /* */
443
+ /* FT_OUTLINE_SINGLE_PASS :: */
444
+ /* This flag is set to force a given scan-converter to only use a */
445
+ /* single pass over the outline to render a bitmap glyph image. */
446
+ /* Normally, it is set for very large character sizes. It is only */
447
+ /* a hint that might be completely ignored by a given */
448
+ /* scan-converter. */
449
+ /* */
450
+ /* <Note> */
451
+ /* The flags @FT_OUTLINE_IGNORE_DROPOUTS, @FT_OUTLINE_SMART_DROPOUTS, */
452
+ /* and @FT_OUTLINE_INCLUDE_STUBS are ignored by the smooth */
453
+ /* rasterizer. */
454
+ /* */
455
+ /* There exists a second mechanism to pass the drop-out mode to the */
456
+ /* B/W rasterizer; see the `tags' field in @FT_Outline. */
457
+ /* */
458
+ /* Please refer to the description of the `SCANTYPE' instruction in */
459
+ /* the OpenType specification (in file `ttinst1.doc') how simple */
460
+ /* drop-outs, smart drop-outs, and stubs are defined. */
461
+ /* */
462
+ #define FT_OUTLINE_NONE 0x0
463
+ #define FT_OUTLINE_OWNER 0x1
464
+ #define FT_OUTLINE_EVEN_ODD_FILL 0x2
465
+ #define FT_OUTLINE_REVERSE_FILL 0x4
466
+ #define FT_OUTLINE_IGNORE_DROPOUTS 0x8
467
+ #define FT_OUTLINE_SMART_DROPOUTS 0x10
468
+ #define FT_OUTLINE_INCLUDE_STUBS 0x20
469
+
470
+ #define FT_OUTLINE_HIGH_PRECISION 0x100
471
+ #define FT_OUTLINE_SINGLE_PASS 0x200
472
+
473
+
474
+ /*************************************************************************
475
+ *
476
+ * @enum:
477
+ * ft_outline_flags
478
+ *
479
+ * @description:
480
+ * These constants are deprecated. Please use the corresponding
481
+ * @FT_OUTLINE_FLAGS values.
482
+ *
483
+ * @values:
484
+ * ft_outline_none :: See @FT_OUTLINE_NONE.
485
+ * ft_outline_owner :: See @FT_OUTLINE_OWNER.
486
+ * ft_outline_even_odd_fill :: See @FT_OUTLINE_EVEN_ODD_FILL.
487
+ * ft_outline_reverse_fill :: See @FT_OUTLINE_REVERSE_FILL.
488
+ * ft_outline_ignore_dropouts :: See @FT_OUTLINE_IGNORE_DROPOUTS.
489
+ * ft_outline_high_precision :: See @FT_OUTLINE_HIGH_PRECISION.
490
+ * ft_outline_single_pass :: See @FT_OUTLINE_SINGLE_PASS.
491
+ */
492
+ #define ft_outline_none FT_OUTLINE_NONE
493
+ #define ft_outline_owner FT_OUTLINE_OWNER
494
+ #define ft_outline_even_odd_fill FT_OUTLINE_EVEN_ODD_FILL
495
+ #define ft_outline_reverse_fill FT_OUTLINE_REVERSE_FILL
496
+ #define ft_outline_ignore_dropouts FT_OUTLINE_IGNORE_DROPOUTS
497
+ #define ft_outline_high_precision FT_OUTLINE_HIGH_PRECISION
498
+ #define ft_outline_single_pass FT_OUTLINE_SINGLE_PASS
499
+
500
+ /* */
501
+
502
+ #define FT_CURVE_TAG( flag ) ( flag & 3 )
503
+
504
+ #define FT_CURVE_TAG_ON 1
505
+ #define FT_CURVE_TAG_CONIC 0
506
+ #define FT_CURVE_TAG_CUBIC 2
507
+
508
+ #define FT_CURVE_TAG_HAS_SCANMODE 4
509
+
510
+ #define FT_CURVE_TAG_TOUCH_X 8 /* reserved for the TrueType hinter */
511
+ #define FT_CURVE_TAG_TOUCH_Y 16 /* reserved for the TrueType hinter */
512
+
513
+ #define FT_CURVE_TAG_TOUCH_BOTH ( FT_CURVE_TAG_TOUCH_X | \
514
+ FT_CURVE_TAG_TOUCH_Y )
515
+
516
+ #define FT_Curve_Tag_On FT_CURVE_TAG_ON
517
+ #define FT_Curve_Tag_Conic FT_CURVE_TAG_CONIC
518
+ #define FT_Curve_Tag_Cubic FT_CURVE_TAG_CUBIC
519
+ #define FT_Curve_Tag_Touch_X FT_CURVE_TAG_TOUCH_X
520
+ #define FT_Curve_Tag_Touch_Y FT_CURVE_TAG_TOUCH_Y
521
+
522
+
523
+ /*************************************************************************/
524
+ /* */
525
+ /* <FuncType> */
526
+ /* FT_Outline_MoveToFunc */
527
+ /* */
528
+ /* <Description> */
529
+ /* A function pointer type used to describe the signature of a `move */
530
+ /* to' function during outline walking/decomposition. */
531
+ /* */
532
+ /* A `move to' is emitted to start a new contour in an outline. */
533
+ /* */
534
+ /* <Input> */
535
+ /* to :: A pointer to the target point of the `move to'. */
536
+ /* */
537
+ /* user :: A typeless pointer which is passed from the caller of the */
538
+ /* decomposition function. */
539
+ /* */
540
+ /* <Return> */
541
+ /* Error code. 0~means success. */
542
+ /* */
543
+ typedef int
544
+ (*FT_Outline_MoveToFunc)( const FT_Vector* to,
545
+ void* user );
546
+
547
+ #define FT_Outline_MoveTo_Func FT_Outline_MoveToFunc
548
+
549
+
550
+ /*************************************************************************/
551
+ /* */
552
+ /* <FuncType> */
553
+ /* FT_Outline_LineToFunc */
554
+ /* */
555
+ /* <Description> */
556
+ /* A function pointer type used to describe the signature of a `line */
557
+ /* to' function during outline walking/decomposition. */
558
+ /* */
559
+ /* A `line to' is emitted to indicate a segment in the outline. */
560
+ /* */
561
+ /* <Input> */
562
+ /* to :: A pointer to the target point of the `line to'. */
563
+ /* */
564
+ /* user :: A typeless pointer which is passed from the caller of the */
565
+ /* decomposition function. */
566
+ /* */
567
+ /* <Return> */
568
+ /* Error code. 0~means success. */
569
+ /* */
570
+ typedef int
571
+ (*FT_Outline_LineToFunc)( const FT_Vector* to,
572
+ void* user );
573
+
574
+ #define FT_Outline_LineTo_Func FT_Outline_LineToFunc
575
+
576
+
577
+ /*************************************************************************/
578
+ /* */
579
+ /* <FuncType> */
580
+ /* FT_Outline_ConicToFunc */
581
+ /* */
582
+ /* <Description> */
583
+ /* A function pointer type used to describe the signature of a `conic */
584
+ /* to' function during outline walking or decomposition. */
585
+ /* */
586
+ /* A `conic to' is emitted to indicate a second-order Bézier arc in */
587
+ /* the outline. */
588
+ /* */
589
+ /* <Input> */
590
+ /* control :: An intermediate control point between the last position */
591
+ /* and the new target in `to'. */
592
+ /* */
593
+ /* to :: A pointer to the target end point of the conic arc. */
594
+ /* */
595
+ /* user :: A typeless pointer which is passed from the caller of */
596
+ /* the decomposition function. */
597
+ /* */
598
+ /* <Return> */
599
+ /* Error code. 0~means success. */
600
+ /* */
601
+ typedef int
602
+ (*FT_Outline_ConicToFunc)( const FT_Vector* control,
603
+ const FT_Vector* to,
604
+ void* user );
605
+
606
+ #define FT_Outline_ConicTo_Func FT_Outline_ConicToFunc
607
+
608
+
609
+ /*************************************************************************/
610
+ /* */
611
+ /* <FuncType> */
612
+ /* FT_Outline_CubicToFunc */
613
+ /* */
614
+ /* <Description> */
615
+ /* A function pointer type used to describe the signature of a `cubic */
616
+ /* to' function during outline walking or decomposition. */
617
+ /* */
618
+ /* A `cubic to' is emitted to indicate a third-order Bézier arc. */
619
+ /* */
620
+ /* <Input> */
621
+ /* control1 :: A pointer to the first Bézier control point. */
622
+ /* */
623
+ /* control2 :: A pointer to the second Bézier control point. */
624
+ /* */
625
+ /* to :: A pointer to the target end point. */
626
+ /* */
627
+ /* user :: A typeless pointer which is passed from the caller of */
628
+ /* the decomposition function. */
629
+ /* */
630
+ /* <Return> */
631
+ /* Error code. 0~means success. */
632
+ /* */
633
+ typedef int
634
+ (*FT_Outline_CubicToFunc)( const FT_Vector* control1,
635
+ const FT_Vector* control2,
636
+ const FT_Vector* to,
637
+ void* user );
638
+
639
+ #define FT_Outline_CubicTo_Func FT_Outline_CubicToFunc
640
+
641
+
642
+ /*************************************************************************/
643
+ /* */
644
+ /* <Struct> */
645
+ /* FT_Outline_Funcs */
646
+ /* */
647
+ /* <Description> */
648
+ /* A structure to hold various function pointers used during outline */
649
+ /* decomposition in order to emit segments, conic, and cubic Béziers. */
650
+ /* */
651
+ /* <Fields> */
652
+ /* move_to :: The `move to' emitter. */
653
+ /* */
654
+ /* line_to :: The segment emitter. */
655
+ /* */
656
+ /* conic_to :: The second-order Bézier arc emitter. */
657
+ /* */
658
+ /* cubic_to :: The third-order Bézier arc emitter. */
659
+ /* */
660
+ /* shift :: The shift that is applied to coordinates before they */
661
+ /* are sent to the emitter. */
662
+ /* */
663
+ /* delta :: The delta that is applied to coordinates before they */
664
+ /* are sent to the emitter, but after the shift. */
665
+ /* */
666
+ /* <Note> */
667
+ /* The point coordinates sent to the emitters are the transformed */
668
+ /* version of the original coordinates (this is important for high */
669
+ /* accuracy during scan-conversion). The transformation is simple: */
670
+ /* */
671
+ /* { */
672
+ /* x' = (x << shift) - delta */
673
+ /* y' = (x << shift) - delta */
674
+ /* } */
675
+ /* */
676
+ /* Set the values of `shift' and `delta' to~0 to get the original */
677
+ /* point coordinates. */
678
+ /* */
679
+ typedef struct FT_Outline_Funcs_
680
+ {
681
+ FT_Outline_MoveToFunc move_to;
682
+ FT_Outline_LineToFunc line_to;
683
+ FT_Outline_ConicToFunc conic_to;
684
+ FT_Outline_CubicToFunc cubic_to;
685
+
686
+ int shift;
687
+ FT_Pos delta;
688
+
689
+ } FT_Outline_Funcs;
690
+
691
+
692
+ /*************************************************************************/
693
+ /* */
694
+ /* <Section> */
695
+ /* basic_types */
696
+ /* */
697
+ /*************************************************************************/
698
+
699
+
700
+ /*************************************************************************/
701
+ /* */
702
+ /* <Macro> */
703
+ /* FT_IMAGE_TAG */
704
+ /* */
705
+ /* <Description> */
706
+ /* This macro converts four-letter tags to an unsigned long type. */
707
+ /* */
708
+ /* <Note> */
709
+ /* Since many 16-bit compilers don't like 32-bit enumerations, you */
710
+ /* should redefine this macro in case of problems to something like */
711
+ /* this: */
712
+ /* */
713
+ /* { */
714
+ /* #define FT_IMAGE_TAG( value, _x1, _x2, _x3, _x4 ) value */
715
+ /* } */
716
+ /* */
717
+ /* to get a simple enumeration without assigning special numbers. */
718
+ /* */
719
+ #ifndef FT_IMAGE_TAG
720
+ #define FT_IMAGE_TAG( value, _x1, _x2, _x3, _x4 ) \
721
+ value = ( ( (unsigned long)_x1 << 24 ) | \
722
+ ( (unsigned long)_x2 << 16 ) | \
723
+ ( (unsigned long)_x3 << 8 ) | \
724
+ (unsigned long)_x4 )
725
+ #endif /* FT_IMAGE_TAG */
726
+
727
+
728
+ /*************************************************************************/
729
+ /* */
730
+ /* <Enum> */
731
+ /* FT_Glyph_Format */
732
+ /* */
733
+ /* <Description> */
734
+ /* An enumeration type used to describe the format of a given glyph */
735
+ /* image. Note that this version of FreeType only supports two image */
736
+ /* formats, even though future font drivers will be able to register */
737
+ /* their own format. */
738
+ /* */
739
+ /* <Values> */
740
+ /* FT_GLYPH_FORMAT_NONE :: */
741
+ /* The value~0 is reserved. */
742
+ /* */
743
+ /* FT_GLYPH_FORMAT_COMPOSITE :: */
744
+ /* The glyph image is a composite of several other images. This */
745
+ /* format is _only_ used with @FT_LOAD_NO_RECURSE, and is used to */
746
+ /* report compound glyphs (like accented characters). */
747
+ /* */
748
+ /* FT_GLYPH_FORMAT_BITMAP :: */
749
+ /* The glyph image is a bitmap, and can be described as an */
750
+ /* @FT_Bitmap. You generally need to access the `bitmap' field of */
751
+ /* the @FT_GlyphSlotRec structure to read it. */
752
+ /* */
753
+ /* FT_GLYPH_FORMAT_OUTLINE :: */
754
+ /* The glyph image is a vectorial outline made of line segments */
755
+ /* and Bézier arcs; it can be described as an @FT_Outline; you */
756
+ /* generally want to access the `outline' field of the */
757
+ /* @FT_GlyphSlotRec structure to read it. */
758
+ /* */
759
+ /* FT_GLYPH_FORMAT_PLOTTER :: */
760
+ /* The glyph image is a vectorial path with no inside and outside */
761
+ /* contours. Some Type~1 fonts, like those in the Hershey family, */
762
+ /* contain glyphs in this format. These are described as */
763
+ /* @FT_Outline, but FreeType isn't currently capable of rendering */
764
+ /* them correctly. */
765
+ /* */
766
+ typedef enum FT_Glyph_Format_
767
+ {
768
+ FT_IMAGE_TAG( FT_GLYPH_FORMAT_NONE, 0, 0, 0, 0 ),
769
+
770
+ FT_IMAGE_TAG( FT_GLYPH_FORMAT_COMPOSITE, 'c', 'o', 'm', 'p' ),
771
+ FT_IMAGE_TAG( FT_GLYPH_FORMAT_BITMAP, 'b', 'i', 't', 's' ),
772
+ FT_IMAGE_TAG( FT_GLYPH_FORMAT_OUTLINE, 'o', 'u', 't', 'l' ),
773
+ FT_IMAGE_TAG( FT_GLYPH_FORMAT_PLOTTER, 'p', 'l', 'o', 't' )
774
+
775
+ } FT_Glyph_Format;
776
+
777
+
778
+ /*************************************************************************/
779
+ /* */
780
+ /* <Enum> */
781
+ /* ft_glyph_format_xxx */
782
+ /* */
783
+ /* <Description> */
784
+ /* A list of deprecated constants. Use the corresponding */
785
+ /* @FT_Glyph_Format values instead. */
786
+ /* */
787
+ /* <Values> */
788
+ /* ft_glyph_format_none :: See @FT_GLYPH_FORMAT_NONE. */
789
+ /* ft_glyph_format_composite :: See @FT_GLYPH_FORMAT_COMPOSITE. */
790
+ /* ft_glyph_format_bitmap :: See @FT_GLYPH_FORMAT_BITMAP. */
791
+ /* ft_glyph_format_outline :: See @FT_GLYPH_FORMAT_OUTLINE. */
792
+ /* ft_glyph_format_plotter :: See @FT_GLYPH_FORMAT_PLOTTER. */
793
+ /* */
794
+ #define ft_glyph_format_none FT_GLYPH_FORMAT_NONE
795
+ #define ft_glyph_format_composite FT_GLYPH_FORMAT_COMPOSITE
796
+ #define ft_glyph_format_bitmap FT_GLYPH_FORMAT_BITMAP
797
+ #define ft_glyph_format_outline FT_GLYPH_FORMAT_OUTLINE
798
+ #define ft_glyph_format_plotter FT_GLYPH_FORMAT_PLOTTER
799
+
800
+
801
+ /*************************************************************************/
802
+ /*************************************************************************/
803
+ /*************************************************************************/
804
+ /***** *****/
805
+ /***** R A S T E R D E F I N I T I O N S *****/
806
+ /***** *****/
807
+ /*************************************************************************/
808
+ /*************************************************************************/
809
+ /*************************************************************************/
810
+
811
+
812
+ /*************************************************************************/
813
+ /* */
814
+ /* A raster is a scan converter, in charge of rendering an outline into */
815
+ /* a a bitmap. This section contains the public API for rasters. */
816
+ /* */
817
+ /* Note that in FreeType 2, all rasters are now encapsulated within */
818
+ /* specific modules called `renderers'. See `freetype/ftrender.h' for */
819
+ /* more details on renderers. */
820
+ /* */
821
+ /*************************************************************************/
822
+
823
+
824
+ /*************************************************************************/
825
+ /* */
826
+ /* <Section> */
827
+ /* raster */
828
+ /* */
829
+ /* <Title> */
830
+ /* Scanline Converter */
831
+ /* */
832
+ /* <Abstract> */
833
+ /* How vectorial outlines are converted into bitmaps and pixmaps. */
834
+ /* */
835
+ /* <Description> */
836
+ /* This section contains technical definitions. */
837
+ /* */
838
+ /*************************************************************************/
839
+
840
+
841
+ /*************************************************************************/
842
+ /* */
843
+ /* <Type> */
844
+ /* FT_Raster */
845
+ /* */
846
+ /* <Description> */
847
+ /* A handle (pointer) to a raster object. Each object can be used */
848
+ /* independently to convert an outline into a bitmap or pixmap. */
849
+ /* */
850
+ typedef struct FT_RasterRec_* FT_Raster;
851
+
852
+
853
+ /*************************************************************************/
854
+ /* */
855
+ /* <Struct> */
856
+ /* FT_Span */
857
+ /* */
858
+ /* <Description> */
859
+ /* A structure used to model a single span of gray (or black) pixels */
860
+ /* when rendering a monochrome or anti-aliased bitmap. */
861
+ /* */
862
+ /* <Fields> */
863
+ /* x :: The span's horizontal start position. */
864
+ /* */
865
+ /* len :: The span's length in pixels. */
866
+ /* */
867
+ /* coverage :: The span color/coverage, ranging from 0 (background) */
868
+ /* to 255 (foreground). Only used for anti-aliased */
869
+ /* rendering. */
870
+ /* */
871
+ /* <Note> */
872
+ /* This structure is used by the span drawing callback type named */
873
+ /* @FT_SpanFunc which takes the y~coordinate of the span as a */
874
+ /* a parameter. */
875
+ /* */
876
+ /* The coverage value is always between 0 and 255. If you want less */
877
+ /* gray values, the callback function has to reduce them. */
878
+ /* */
879
+ typedef struct FT_Span_
880
+ {
881
+ short x;
882
+ unsigned short len;
883
+ unsigned char coverage;
884
+
885
+ } FT_Span;
886
+
887
+
888
+ /*************************************************************************/
889
+ /* */
890
+ /* <FuncType> */
891
+ /* FT_SpanFunc */
892
+ /* */
893
+ /* <Description> */
894
+ /* A function used as a call-back by the anti-aliased renderer in */
895
+ /* order to let client applications draw themselves the gray pixel */
896
+ /* spans on each scan line. */
897
+ /* */
898
+ /* <Input> */
899
+ /* y :: The scanline's y~coordinate. */
900
+ /* */
901
+ /* count :: The number of spans to draw on this scanline. */
902
+ /* */
903
+ /* spans :: A table of `count' spans to draw on the scanline. */
904
+ /* */
905
+ /* user :: User-supplied data that is passed to the callback. */
906
+ /* */
907
+ /* <Note> */
908
+ /* This callback allows client applications to directly render the */
909
+ /* gray spans of the anti-aliased bitmap to any kind of surfaces. */
910
+ /* */
911
+ /* This can be used to write anti-aliased outlines directly to a */
912
+ /* given background bitmap, and even perform translucency. */
913
+ /* */
914
+ /* Note that the `count' field cannot be greater than a fixed value */
915
+ /* defined by the `FT_MAX_GRAY_SPANS' configuration macro in */
916
+ /* `ftoption.h'. By default, this value is set to~32, which means */
917
+ /* that if there are more than 32~spans on a given scanline, the */
918
+ /* callback is called several times with the same `y' parameter in */
919
+ /* order to draw all callbacks. */
920
+ /* */
921
+ /* Otherwise, the callback is only called once per scan-line, and */
922
+ /* only for those scanlines that do have `gray' pixels on them. */
923
+ /* */
924
+ typedef void
925
+ (*FT_SpanFunc)( int y,
926
+ int count,
927
+ const FT_Span* spans,
928
+ void* user );
929
+
930
+ #define FT_Raster_Span_Func FT_SpanFunc
931
+
932
+
933
+ /*************************************************************************/
934
+ /* */
935
+ /* <FuncType> */
936
+ /* FT_Raster_BitTest_Func */
937
+ /* */
938
+ /* <Description> */
939
+ /* THIS TYPE IS DEPRECATED. DO NOT USE IT. */
940
+ /* */
941
+ /* A function used as a call-back by the monochrome scan-converter */
942
+ /* to test whether a given target pixel is already set to the drawing */
943
+ /* `color'. These tests are crucial to implement drop-out control */
944
+ /* per-se the TrueType spec. */
945
+ /* */
946
+ /* <Input> */
947
+ /* y :: The pixel's y~coordinate. */
948
+ /* */
949
+ /* x :: The pixel's x~coordinate. */
950
+ /* */
951
+ /* user :: User-supplied data that is passed to the callback. */
952
+ /* */
953
+ /* <Return> */
954
+ /* 1~if the pixel is `set', 0~otherwise. */
955
+ /* */
956
+ typedef int
957
+ (*FT_Raster_BitTest_Func)( int y,
958
+ int x,
959
+ void* user );
960
+
961
+
962
+ /*************************************************************************/
963
+ /* */
964
+ /* <FuncType> */
965
+ /* FT_Raster_BitSet_Func */
966
+ /* */
967
+ /* <Description> */
968
+ /* THIS TYPE IS DEPRECATED. DO NOT USE IT. */
969
+ /* */
970
+ /* A function used as a call-back by the monochrome scan-converter */
971
+ /* to set an individual target pixel. This is crucial to implement */
972
+ /* drop-out control according to the TrueType specification. */
973
+ /* */
974
+ /* <Input> */
975
+ /* y :: The pixel's y~coordinate. */
976
+ /* */
977
+ /* x :: The pixel's x~coordinate. */
978
+ /* */
979
+ /* user :: User-supplied data that is passed to the callback. */
980
+ /* */
981
+ /* <Return> */
982
+ /* 1~if the pixel is `set', 0~otherwise. */
983
+ /* */
984
+ typedef void
985
+ (*FT_Raster_BitSet_Func)( int y,
986
+ int x,
987
+ void* user );
988
+
989
+
990
+ /*************************************************************************/
991
+ /* */
992
+ /* <Enum> */
993
+ /* FT_RASTER_FLAG_XXX */
994
+ /* */
995
+ /* <Description> */
996
+ /* A list of bit flag constants as used in the `flags' field of a */
997
+ /* @FT_Raster_Params structure. */
998
+ /* */
999
+ /* <Values> */
1000
+ /* FT_RASTER_FLAG_DEFAULT :: This value is 0. */
1001
+ /* */
1002
+ /* FT_RASTER_FLAG_AA :: This flag is set to indicate that an */
1003
+ /* anti-aliased glyph image should be */
1004
+ /* generated. Otherwise, it will be */
1005
+ /* monochrome (1-bit). */
1006
+ /* */
1007
+ /* FT_RASTER_FLAG_DIRECT :: This flag is set to indicate direct */
1008
+ /* rendering. In this mode, client */
1009
+ /* applications must provide their own span */
1010
+ /* callback. This lets them directly */
1011
+ /* draw or compose over an existing bitmap. */
1012
+ /* If this bit is not set, the target */
1013
+ /* pixmap's buffer _must_ be zeroed before */
1014
+ /* rendering. */
1015
+ /* */
1016
+ /* Note that for now, direct rendering is */
1017
+ /* only possible with anti-aliased glyphs. */
1018
+ /* */
1019
+ /* FT_RASTER_FLAG_CLIP :: This flag is only used in direct */
1020
+ /* rendering mode. If set, the output will */
1021
+ /* be clipped to a box specified in the */
1022
+ /* `clip_box' field of the */
1023
+ /* @FT_Raster_Params structure. */
1024
+ /* */
1025
+ /* Note that by default, the glyph bitmap */
1026
+ /* is clipped to the target pixmap, except */
1027
+ /* in direct rendering mode where all spans */
1028
+ /* are generated if no clipping box is set. */
1029
+ /* */
1030
+ #define FT_RASTER_FLAG_DEFAULT 0x0
1031
+ #define FT_RASTER_FLAG_AA 0x1
1032
+ #define FT_RASTER_FLAG_DIRECT 0x2
1033
+ #define FT_RASTER_FLAG_CLIP 0x4
1034
+
1035
+ /* deprecated */
1036
+ #define ft_raster_flag_default FT_RASTER_FLAG_DEFAULT
1037
+ #define ft_raster_flag_aa FT_RASTER_FLAG_AA
1038
+ #define ft_raster_flag_direct FT_RASTER_FLAG_DIRECT
1039
+ #define ft_raster_flag_clip FT_RASTER_FLAG_CLIP
1040
+
1041
+
1042
+ /*************************************************************************/
1043
+ /* */
1044
+ /* <Struct> */
1045
+ /* FT_Raster_Params */
1046
+ /* */
1047
+ /* <Description> */
1048
+ /* A structure to hold the arguments used by a raster's render */
1049
+ /* function. */
1050
+ /* */
1051
+ /* <Fields> */
1052
+ /* target :: The target bitmap. */
1053
+ /* */
1054
+ /* source :: A pointer to the source glyph image (e.g., an */
1055
+ /* @FT_Outline). */
1056
+ /* */
1057
+ /* flags :: The rendering flags. */
1058
+ /* */
1059
+ /* gray_spans :: The gray span drawing callback. */
1060
+ /* */
1061
+ /* black_spans :: The black span drawing callback. UNIMPLEMENTED! */
1062
+ /* */
1063
+ /* bit_test :: The bit test callback. UNIMPLEMENTED! */
1064
+ /* */
1065
+ /* bit_set :: The bit set callback. UNIMPLEMENTED! */
1066
+ /* */
1067
+ /* user :: User-supplied data that is passed to each drawing */
1068
+ /* callback. */
1069
+ /* */
1070
+ /* clip_box :: An optional clipping box. It is only used in */
1071
+ /* direct rendering mode. Note that coordinates here */
1072
+ /* should be expressed in _integer_ pixels (and not in */
1073
+ /* 26.6 fixed-point units). */
1074
+ /* */
1075
+ /* <Note> */
1076
+ /* An anti-aliased glyph bitmap is drawn if the @FT_RASTER_FLAG_AA */
1077
+ /* bit flag is set in the `flags' field, otherwise a monochrome */
1078
+ /* bitmap is generated. */
1079
+ /* */
1080
+ /* If the @FT_RASTER_FLAG_DIRECT bit flag is set in `flags', the */
1081
+ /* raster will call the `gray_spans' callback to draw gray pixel */
1082
+ /* spans, in the case of an aa glyph bitmap, it will call */
1083
+ /* `black_spans', and `bit_test' and `bit_set' in the case of a */
1084
+ /* monochrome bitmap. This allows direct composition over a */
1085
+ /* pre-existing bitmap through user-provided callbacks to perform the */
1086
+ /* span drawing/composition. */
1087
+ /* */
1088
+ /* Note that the `bit_test' and `bit_set' callbacks are required when */
1089
+ /* rendering a monochrome bitmap, as they are crucial to implement */
1090
+ /* correct drop-out control as defined in the TrueType specification. */
1091
+ /* */
1092
+ typedef struct FT_Raster_Params_
1093
+ {
1094
+ const FT_Bitmap* target;
1095
+ const void* source;
1096
+ int flags;
1097
+ FT_SpanFunc gray_spans;
1098
+ FT_SpanFunc black_spans; /* doesn't work! */
1099
+ FT_Raster_BitTest_Func bit_test; /* doesn't work! */
1100
+ FT_Raster_BitSet_Func bit_set; /* doesn't work! */
1101
+ void* user;
1102
+ FT_BBox clip_box;
1103
+
1104
+ } FT_Raster_Params;
1105
+
1106
+
1107
+ /*************************************************************************/
1108
+ /* */
1109
+ /* <FuncType> */
1110
+ /* FT_Raster_NewFunc */
1111
+ /* */
1112
+ /* <Description> */
1113
+ /* A function used to create a new raster object. */
1114
+ /* */
1115
+ /* <Input> */
1116
+ /* memory :: A handle to the memory allocator. */
1117
+ /* */
1118
+ /* <Output> */
1119
+ /* raster :: A handle to the new raster object. */
1120
+ /* */
1121
+ /* <Return> */
1122
+ /* Error code. 0~means success. */
1123
+ /* */
1124
+ /* <Note> */
1125
+ /* The `memory' parameter is a typeless pointer in order to avoid */
1126
+ /* un-wanted dependencies on the rest of the FreeType code. In */
1127
+ /* practice, it is an @FT_Memory object, i.e., a handle to the */
1128
+ /* standard FreeType memory allocator. However, this field can be */
1129
+ /* completely ignored by a given raster implementation. */
1130
+ /* */
1131
+ typedef int
1132
+ (*FT_Raster_NewFunc)( void* memory,
1133
+ FT_Raster* raster );
1134
+
1135
+ #define FT_Raster_New_Func FT_Raster_NewFunc
1136
+
1137
+
1138
+ /*************************************************************************/
1139
+ /* */
1140
+ /* <FuncType> */
1141
+ /* FT_Raster_DoneFunc */
1142
+ /* */
1143
+ /* <Description> */
1144
+ /* A function used to destroy a given raster object. */
1145
+ /* */
1146
+ /* <Input> */
1147
+ /* raster :: A handle to the raster object. */
1148
+ /* */
1149
+ typedef void
1150
+ (*FT_Raster_DoneFunc)( FT_Raster raster );
1151
+
1152
+ #define FT_Raster_Done_Func FT_Raster_DoneFunc
1153
+
1154
+
1155
+ /*************************************************************************/
1156
+ /* */
1157
+ /* <FuncType> */
1158
+ /* FT_Raster_ResetFunc */
1159
+ /* */
1160
+ /* <Description> */
1161
+ /* FreeType provides an area of memory called the `render pool', */
1162
+ /* available to all registered rasters. This pool can be freely used */
1163
+ /* during a given scan-conversion but is shared by all rasters. Its */
1164
+ /* content is thus transient. */
1165
+ /* */
1166
+ /* This function is called each time the render pool changes, or just */
1167
+ /* after a new raster object is created. */
1168
+ /* */
1169
+ /* <Input> */
1170
+ /* raster :: A handle to the new raster object. */
1171
+ /* */
1172
+ /* pool_base :: The address in memory of the render pool. */
1173
+ /* */
1174
+ /* pool_size :: The size in bytes of the render pool. */
1175
+ /* */
1176
+ /* <Note> */
1177
+ /* Rasters can ignore the render pool and rely on dynamic memory */
1178
+ /* allocation if they want to (a handle to the memory allocator is */
1179
+ /* passed to the raster constructor). However, this is not */
1180
+ /* recommended for efficiency purposes. */
1181
+ /* */
1182
+ typedef void
1183
+ (*FT_Raster_ResetFunc)( FT_Raster raster,
1184
+ unsigned char* pool_base,
1185
+ unsigned long pool_size );
1186
+
1187
+ #define FT_Raster_Reset_Func FT_Raster_ResetFunc
1188
+
1189
+
1190
+ /*************************************************************************/
1191
+ /* */
1192
+ /* <FuncType> */
1193
+ /* FT_Raster_SetModeFunc */
1194
+ /* */
1195
+ /* <Description> */
1196
+ /* This function is a generic facility to change modes or attributes */
1197
+ /* in a given raster. This can be used for debugging purposes, or */
1198
+ /* simply to allow implementation-specific `features' in a given */
1199
+ /* raster module. */
1200
+ /* */
1201
+ /* <Input> */
1202
+ /* raster :: A handle to the new raster object. */
1203
+ /* */
1204
+ /* mode :: A 4-byte tag used to name the mode or property. */
1205
+ /* */
1206
+ /* args :: A pointer to the new mode/property to use. */
1207
+ /* */
1208
+ typedef int
1209
+ (*FT_Raster_SetModeFunc)( FT_Raster raster,
1210
+ unsigned long mode,
1211
+ void* args );
1212
+
1213
+ #define FT_Raster_Set_Mode_Func FT_Raster_SetModeFunc
1214
+
1215
+
1216
+ /*************************************************************************/
1217
+ /* */
1218
+ /* <FuncType> */
1219
+ /* FT_Raster_RenderFunc */
1220
+ /* */
1221
+ /* <Description> */
1222
+ /* Invoke a given raster to scan-convert a given glyph image into a */
1223
+ /* target bitmap. */
1224
+ /* */
1225
+ /* <Input> */
1226
+ /* raster :: A handle to the raster object. */
1227
+ /* */
1228
+ /* params :: A pointer to an @FT_Raster_Params structure used to */
1229
+ /* store the rendering parameters. */
1230
+ /* */
1231
+ /* <Return> */
1232
+ /* Error code. 0~means success. */
1233
+ /* */
1234
+ /* <Note> */
1235
+ /* The exact format of the source image depends on the raster's glyph */
1236
+ /* format defined in its @FT_Raster_Funcs structure. It can be an */
1237
+ /* @FT_Outline or anything else in order to support a large array of */
1238
+ /* glyph formats. */
1239
+ /* */
1240
+ /* Note also that the render function can fail and return a */
1241
+ /* `FT_Err_Unimplemented_Feature' error code if the raster used does */
1242
+ /* not support direct composition. */
1243
+ /* */
1244
+ /* XXX: For now, the standard raster doesn't support direct */
1245
+ /* composition but this should change for the final release (see */
1246
+ /* the files `demos/src/ftgrays.c' and `demos/src/ftgrays2.c' */
1247
+ /* for examples of distinct implementations which support direct */
1248
+ /* composition). */
1249
+ /* */
1250
+ typedef int
1251
+ (*FT_Raster_RenderFunc)( FT_Raster raster,
1252
+ const FT_Raster_Params* params );
1253
+
1254
+ #define FT_Raster_Render_Func FT_Raster_RenderFunc
1255
+
1256
+
1257
+ /*************************************************************************/
1258
+ /* */
1259
+ /* <Struct> */
1260
+ /* FT_Raster_Funcs */
1261
+ /* */
1262
+ /* <Description> */
1263
+ /* A structure used to describe a given raster class to the library. */
1264
+ /* */
1265
+ /* <Fields> */
1266
+ /* glyph_format :: The supported glyph format for this raster. */
1267
+ /* */
1268
+ /* raster_new :: The raster constructor. */
1269
+ /* */
1270
+ /* raster_reset :: Used to reset the render pool within the raster. */
1271
+ /* */
1272
+ /* raster_render :: A function to render a glyph into a given bitmap. */
1273
+ /* */
1274
+ /* raster_done :: The raster destructor. */
1275
+ /* */
1276
+ typedef struct FT_Raster_Funcs_
1277
+ {
1278
+ FT_Glyph_Format glyph_format;
1279
+ FT_Raster_NewFunc raster_new;
1280
+ FT_Raster_ResetFunc raster_reset;
1281
+ FT_Raster_SetModeFunc raster_set_mode;
1282
+ FT_Raster_RenderFunc raster_render;
1283
+ FT_Raster_DoneFunc raster_done;
1284
+
1285
+ } FT_Raster_Funcs;
1286
+
1287
+
1288
+ /* */
1289
+
1290
+
1291
+ FT_END_HEADER
1292
+
1293
+ #endif /* __FTIMAGE_H__ */
1294
+
1295
+
1296
+ /* END */
1297
+
1298
+
1299
+ /* Local Variables: */
1300
+ /* coding: utf-8 */
1301
+ /* End: */