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,227 @@
1
+ /***************************************************************************/
2
+ /* */
3
+ /* ftbitmap.h */
4
+ /* */
5
+ /* FreeType utility functions for bitmaps (specification). */
6
+ /* */
7
+ /* Copyright 2004, 2005, 2006, 2008 by */
8
+ /* David Turner, Robert Wilhelm, and Werner Lemberg. */
9
+ /* */
10
+ /* This file is part of the FreeType project, and may only be used, */
11
+ /* modified, and distributed under the terms of the FreeType project */
12
+ /* license, LICENSE.TXT. By continuing to use, modify, or distribute */
13
+ /* this file you indicate that you have read the license and */
14
+ /* understand and accept it fully. */
15
+ /* */
16
+ /***************************************************************************/
17
+
18
+
19
+ #ifndef __FTBITMAP_H__
20
+ #define __FTBITMAP_H__
21
+
22
+
23
+ #include <ft2build.h>
24
+ #include FT_FREETYPE_H
25
+
26
+ #ifdef FREETYPE_H
27
+ #error "freetype.h of FreeType 1 has been loaded!"
28
+ #error "Please fix the directory search order for header files"
29
+ #error "so that freetype.h of FreeType 2 is found first."
30
+ #endif
31
+
32
+
33
+ FT_BEGIN_HEADER
34
+
35
+
36
+ /*************************************************************************/
37
+ /* */
38
+ /* <Section> */
39
+ /* bitmap_handling */
40
+ /* */
41
+ /* <Title> */
42
+ /* Bitmap Handling */
43
+ /* */
44
+ /* <Abstract> */
45
+ /* Handling FT_Bitmap objects. */
46
+ /* */
47
+ /* <Description> */
48
+ /* This section contains functions for converting FT_Bitmap objects. */
49
+ /* */
50
+ /*************************************************************************/
51
+
52
+
53
+ /*************************************************************************/
54
+ /* */
55
+ /* <Function> */
56
+ /* FT_Bitmap_New */
57
+ /* */
58
+ /* <Description> */
59
+ /* Initialize a pointer to an @FT_Bitmap structure. */
60
+ /* */
61
+ /* <InOut> */
62
+ /* abitmap :: A pointer to the bitmap structure. */
63
+ /* */
64
+ FT_EXPORT( void )
65
+ FT_Bitmap_New( FT_Bitmap *abitmap );
66
+
67
+
68
+ /*************************************************************************/
69
+ /* */
70
+ /* <Function> */
71
+ /* FT_Bitmap_Copy */
72
+ /* */
73
+ /* <Description> */
74
+ /* Copy a bitmap into another one. */
75
+ /* */
76
+ /* <Input> */
77
+ /* library :: A handle to a library object. */
78
+ /* */
79
+ /* source :: A handle to the source bitmap. */
80
+ /* */
81
+ /* <Output> */
82
+ /* target :: A handle to the target bitmap. */
83
+ /* */
84
+ /* <Return> */
85
+ /* FreeType error code. 0~means success. */
86
+ /* */
87
+ FT_EXPORT( FT_Error )
88
+ FT_Bitmap_Copy( FT_Library library,
89
+ const FT_Bitmap *source,
90
+ FT_Bitmap *target);
91
+
92
+
93
+ /*************************************************************************/
94
+ /* */
95
+ /* <Function> */
96
+ /* FT_Bitmap_Embolden */
97
+ /* */
98
+ /* <Description> */
99
+ /* Embolden a bitmap. The new bitmap will be about `xStrength' */
100
+ /* pixels wider and `yStrength' pixels higher. The left and bottom */
101
+ /* borders are kept unchanged. */
102
+ /* */
103
+ /* <Input> */
104
+ /* library :: A handle to a library object. */
105
+ /* */
106
+ /* xStrength :: How strong the glyph is emboldened horizontally. */
107
+ /* Expressed in 26.6 pixel format. */
108
+ /* */
109
+ /* yStrength :: How strong the glyph is emboldened vertically. */
110
+ /* Expressed in 26.6 pixel format. */
111
+ /* */
112
+ /* <InOut> */
113
+ /* bitmap :: A handle to the target bitmap. */
114
+ /* */
115
+ /* <Return> */
116
+ /* FreeType error code. 0~means success. */
117
+ /* */
118
+ /* <Note> */
119
+ /* The current implementation restricts `xStrength' to be less than */
120
+ /* or equal to~8 if bitmap is of pixel_mode @FT_PIXEL_MODE_MONO. */
121
+ /* */
122
+ /* If you want to embolden the bitmap owned by a @FT_GlyphSlotRec, */
123
+ /* you should call @FT_GlyphSlot_Own_Bitmap on the slot first. */
124
+ /* */
125
+ FT_EXPORT( FT_Error )
126
+ FT_Bitmap_Embolden( FT_Library library,
127
+ FT_Bitmap* bitmap,
128
+ FT_Pos xStrength,
129
+ FT_Pos yStrength );
130
+
131
+
132
+ /*************************************************************************/
133
+ /* */
134
+ /* <Function> */
135
+ /* FT_Bitmap_Convert */
136
+ /* */
137
+ /* <Description> */
138
+ /* Convert a bitmap object with depth 1bpp, 2bpp, 4bpp, or 8bpp to a */
139
+ /* bitmap object with depth 8bpp, making the number of used bytes per */
140
+ /* line (a.k.a. the `pitch') a multiple of `alignment'. */
141
+ /* */
142
+ /* <Input> */
143
+ /* library :: A handle to a library object. */
144
+ /* */
145
+ /* source :: The source bitmap. */
146
+ /* */
147
+ /* alignment :: The pitch of the bitmap is a multiple of this */
148
+ /* parameter. Common values are 1, 2, or 4. */
149
+ /* */
150
+ /* <Output> */
151
+ /* target :: The target bitmap. */
152
+ /* */
153
+ /* <Return> */
154
+ /* FreeType error code. 0~means success. */
155
+ /* */
156
+ /* <Note> */
157
+ /* It is possible to call @FT_Bitmap_Convert multiple times without */
158
+ /* calling @FT_Bitmap_Done (the memory is simply reallocated). */
159
+ /* */
160
+ /* Use @FT_Bitmap_Done to finally remove the bitmap object. */
161
+ /* */
162
+ /* The `library' argument is taken to have access to FreeType's */
163
+ /* memory handling functions. */
164
+ /* */
165
+ FT_EXPORT( FT_Error )
166
+ FT_Bitmap_Convert( FT_Library library,
167
+ const FT_Bitmap *source,
168
+ FT_Bitmap *target,
169
+ FT_Int alignment );
170
+
171
+
172
+ /*************************************************************************/
173
+ /* */
174
+ /* <Function> */
175
+ /* FT_GlyphSlot_Own_Bitmap */
176
+ /* */
177
+ /* <Description> */
178
+ /* Make sure that a glyph slot owns `slot->bitmap'. */
179
+ /* */
180
+ /* <Input> */
181
+ /* slot :: The glyph slot. */
182
+ /* */
183
+ /* <Return> */
184
+ /* FreeType error code. 0~means success. */
185
+ /* */
186
+ /* <Note> */
187
+ /* This function is to be used in combination with */
188
+ /* @FT_Bitmap_Embolden. */
189
+ /* */
190
+ FT_EXPORT( FT_Error )
191
+ FT_GlyphSlot_Own_Bitmap( FT_GlyphSlot slot );
192
+
193
+
194
+ /*************************************************************************/
195
+ /* */
196
+ /* <Function> */
197
+ /* FT_Bitmap_Done */
198
+ /* */
199
+ /* <Description> */
200
+ /* Destroy a bitmap object created with @FT_Bitmap_New. */
201
+ /* */
202
+ /* <Input> */
203
+ /* library :: A handle to a library object. */
204
+ /* */
205
+ /* bitmap :: The bitmap object to be freed. */
206
+ /* */
207
+ /* <Return> */
208
+ /* FreeType error code. 0~means success. */
209
+ /* */
210
+ /* <Note> */
211
+ /* The `library' argument is taken to have access to FreeType's */
212
+ /* memory handling functions. */
213
+ /* */
214
+ FT_EXPORT( FT_Error )
215
+ FT_Bitmap_Done( FT_Library library,
216
+ FT_Bitmap *bitmap );
217
+
218
+
219
+ /* */
220
+
221
+
222
+ FT_END_HEADER
223
+
224
+ #endif /* __FTBITMAP_H__ */
225
+
226
+
227
+ /* END */
@@ -0,0 +1,1125 @@
1
+ /***************************************************************************/
2
+ /* */
3
+ /* ftcache.h */
4
+ /* */
5
+ /* FreeType Cache subsystem (specification). */
6
+ /* */
7
+ /* Copyright 1996-2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2010 by */
8
+ /* David Turner, Robert Wilhelm, and Werner Lemberg. */
9
+ /* */
10
+ /* This file is part of the FreeType project, and may only be used, */
11
+ /* modified, and distributed under the terms of the FreeType project */
12
+ /* license, LICENSE.TXT. By continuing to use, modify, or distribute */
13
+ /* this file you indicate that you have read the license and */
14
+ /* understand and accept it fully. */
15
+ /* */
16
+ /***************************************************************************/
17
+
18
+
19
+ #ifndef __FTCACHE_H__
20
+ #define __FTCACHE_H__
21
+
22
+
23
+ #include <ft2build.h>
24
+ #include FT_GLYPH_H
25
+
26
+
27
+ FT_BEGIN_HEADER
28
+
29
+
30
+ /*************************************************************************
31
+ *
32
+ * <Section>
33
+ * cache_subsystem
34
+ *
35
+ * <Title>
36
+ * Cache Sub-System
37
+ *
38
+ * <Abstract>
39
+ * How to cache face, size, and glyph data with FreeType~2.
40
+ *
41
+ * <Description>
42
+ * This section describes the FreeType~2 cache sub-system, which is used
43
+ * to limit the number of concurrently opened @FT_Face and @FT_Size
44
+ * objects, as well as caching information like character maps and glyph
45
+ * images while limiting their maximum memory usage.
46
+ *
47
+ * Note that all types and functions begin with the `FTC_' prefix.
48
+ *
49
+ * The cache is highly portable and thus doesn't know anything about the
50
+ * fonts installed on your system, or how to access them. This implies
51
+ * the following scheme:
52
+ *
53
+ * First, available or installed font faces are uniquely identified by
54
+ * @FTC_FaceID values, provided to the cache by the client. Note that
55
+ * the cache only stores and compares these values, and doesn't try to
56
+ * interpret them in any way.
57
+ *
58
+ * Second, the cache calls, only when needed, a client-provided function
59
+ * to convert a @FTC_FaceID into a new @FT_Face object. The latter is
60
+ * then completely managed by the cache, including its termination
61
+ * through @FT_Done_Face.
62
+ *
63
+ * Clients are free to map face IDs to anything else. The most simple
64
+ * usage is to associate them to a (pathname,face_index) pair that is
65
+ * used to call @FT_New_Face. However, more complex schemes are also
66
+ * possible.
67
+ *
68
+ * Note that for the cache to work correctly, the face ID values must be
69
+ * *persistent*, which means that the contents they point to should not
70
+ * change at runtime, or that their value should not become invalid.
71
+ *
72
+ * If this is unavoidable (e.g., when a font is uninstalled at runtime),
73
+ * you should call @FTC_Manager_RemoveFaceID as soon as possible, to let
74
+ * the cache get rid of any references to the old @FTC_FaceID it may
75
+ * keep internally. Failure to do so will lead to incorrect behaviour
76
+ * or even crashes.
77
+ *
78
+ * To use the cache, start with calling @FTC_Manager_New to create a new
79
+ * @FTC_Manager object, which models a single cache instance. You can
80
+ * then look up @FT_Face and @FT_Size objects with
81
+ * @FTC_Manager_LookupFace and @FTC_Manager_LookupSize, respectively.
82
+ *
83
+ * If you want to use the charmap caching, call @FTC_CMapCache_New, then
84
+ * later use @FTC_CMapCache_Lookup to perform the equivalent of
85
+ * @FT_Get_Char_Index, only much faster.
86
+ *
87
+ * If you want to use the @FT_Glyph caching, call @FTC_ImageCache, then
88
+ * later use @FTC_ImageCache_Lookup to retrieve the corresponding
89
+ * @FT_Glyph objects from the cache.
90
+ *
91
+ * If you need lots of small bitmaps, it is much more memory efficient
92
+ * to call @FTC_SBitCache_New followed by @FTC_SBitCache_Lookup. This
93
+ * returns @FTC_SBitRec structures, which are used to store small
94
+ * bitmaps directly. (A small bitmap is one whose metrics and
95
+ * dimensions all fit into 8-bit integers).
96
+ *
97
+ * We hope to also provide a kerning cache in the near future.
98
+ *
99
+ *
100
+ * <Order>
101
+ * FTC_Manager
102
+ * FTC_FaceID
103
+ * FTC_Face_Requester
104
+ *
105
+ * FTC_Manager_New
106
+ * FTC_Manager_Reset
107
+ * FTC_Manager_Done
108
+ * FTC_Manager_LookupFace
109
+ * FTC_Manager_LookupSize
110
+ * FTC_Manager_RemoveFaceID
111
+ *
112
+ * FTC_Node
113
+ * FTC_Node_Unref
114
+ *
115
+ * FTC_ImageCache
116
+ * FTC_ImageCache_New
117
+ * FTC_ImageCache_Lookup
118
+ *
119
+ * FTC_SBit
120
+ * FTC_SBitCache
121
+ * FTC_SBitCache_New
122
+ * FTC_SBitCache_Lookup
123
+ *
124
+ * FTC_CMapCache
125
+ * FTC_CMapCache_New
126
+ * FTC_CMapCache_Lookup
127
+ *
128
+ *************************************************************************/
129
+
130
+
131
+ /*************************************************************************/
132
+ /*************************************************************************/
133
+ /*************************************************************************/
134
+ /***** *****/
135
+ /***** BASIC TYPE DEFINITIONS *****/
136
+ /***** *****/
137
+ /*************************************************************************/
138
+ /*************************************************************************/
139
+ /*************************************************************************/
140
+
141
+
142
+ /*************************************************************************
143
+ *
144
+ * @type: FTC_FaceID
145
+ *
146
+ * @description:
147
+ * An opaque pointer type that is used to identity face objects. The
148
+ * contents of such objects is application-dependent.
149
+ *
150
+ * These pointers are typically used to point to a user-defined
151
+ * structure containing a font file path, and face index.
152
+ *
153
+ * @note:
154
+ * Never use NULL as a valid @FTC_FaceID.
155
+ *
156
+ * Face IDs are passed by the client to the cache manager, which calls,
157
+ * when needed, the @FTC_Face_Requester to translate them into new
158
+ * @FT_Face objects.
159
+ *
160
+ * If the content of a given face ID changes at runtime, or if the value
161
+ * becomes invalid (e.g., when uninstalling a font), you should
162
+ * immediately call @FTC_Manager_RemoveFaceID before any other cache
163
+ * function.
164
+ *
165
+ * Failure to do so will result in incorrect behaviour or even
166
+ * memory leaks and crashes.
167
+ */
168
+ typedef FT_Pointer FTC_FaceID;
169
+
170
+
171
+ /************************************************************************
172
+ *
173
+ * @functype:
174
+ * FTC_Face_Requester
175
+ *
176
+ * @description:
177
+ * A callback function provided by client applications. It is used by
178
+ * the cache manager to translate a given @FTC_FaceID into a new valid
179
+ * @FT_Face object, on demand.
180
+ *
181
+ * <Input>
182
+ * face_id ::
183
+ * The face ID to resolve.
184
+ *
185
+ * library ::
186
+ * A handle to a FreeType library object.
187
+ *
188
+ * req_data ::
189
+ * Application-provided request data (see note below).
190
+ *
191
+ * <Output>
192
+ * aface ::
193
+ * A new @FT_Face handle.
194
+ *
195
+ * <Return>
196
+ * FreeType error code. 0~means success.
197
+ *
198
+ * <Note>
199
+ * The third parameter `req_data' is the same as the one passed by the
200
+ * client when @FTC_Manager_New is called.
201
+ *
202
+ * The face requester should not perform funny things on the returned
203
+ * face object, like creating a new @FT_Size for it, or setting a
204
+ * transformation through @FT_Set_Transform!
205
+ */
206
+ typedef FT_Error
207
+ (*FTC_Face_Requester)( FTC_FaceID face_id,
208
+ FT_Library library,
209
+ FT_Pointer request_data,
210
+ FT_Face* aface );
211
+
212
+ /* */
213
+
214
+ #define FT_POINTER_TO_ULONG( p ) ( (FT_ULong)(FT_Pointer)(p) )
215
+
216
+ #define FTC_FACE_ID_HASH( i ) \
217
+ ((FT_UInt32)(( FT_POINTER_TO_ULONG( i ) >> 3 ) ^ \
218
+ ( FT_POINTER_TO_ULONG( i ) << 7 ) ) )
219
+
220
+
221
+ /*************************************************************************/
222
+ /*************************************************************************/
223
+ /*************************************************************************/
224
+ /***** *****/
225
+ /***** CACHE MANAGER OBJECT *****/
226
+ /***** *****/
227
+ /*************************************************************************/
228
+ /*************************************************************************/
229
+ /*************************************************************************/
230
+
231
+
232
+ /*************************************************************************/
233
+ /* */
234
+ /* <Type> */
235
+ /* FTC_Manager */
236
+ /* */
237
+ /* <Description> */
238
+ /* This object corresponds to one instance of the cache-subsystem. */
239
+ /* It is used to cache one or more @FT_Face objects, along with */
240
+ /* corresponding @FT_Size objects. */
241
+ /* */
242
+ /* The manager intentionally limits the total number of opened */
243
+ /* @FT_Face and @FT_Size objects to control memory usage. See the */
244
+ /* `max_faces' and `max_sizes' parameters of @FTC_Manager_New. */
245
+ /* */
246
+ /* The manager is also used to cache `nodes' of various types while */
247
+ /* limiting their total memory usage. */
248
+ /* */
249
+ /* All limitations are enforced by keeping lists of managed objects */
250
+ /* in most-recently-used order, and flushing old nodes to make room */
251
+ /* for new ones. */
252
+ /* */
253
+ typedef struct FTC_ManagerRec_* FTC_Manager;
254
+
255
+
256
+ /*************************************************************************/
257
+ /* */
258
+ /* <Type> */
259
+ /* FTC_Node */
260
+ /* */
261
+ /* <Description> */
262
+ /* An opaque handle to a cache node object. Each cache node is */
263
+ /* reference-counted. A node with a count of~0 might be flushed */
264
+ /* out of a full cache whenever a lookup request is performed. */
265
+ /* */
266
+ /* If you look up nodes, you have the ability to `acquire' them, */
267
+ /* i.e., to increment their reference count. This will prevent the */
268
+ /* node from being flushed out of the cache until you explicitly */
269
+ /* `release' it (see @FTC_Node_Unref). */
270
+ /* */
271
+ /* See also @FTC_SBitCache_Lookup and @FTC_ImageCache_Lookup. */
272
+ /* */
273
+ typedef struct FTC_NodeRec_* FTC_Node;
274
+
275
+
276
+ /*************************************************************************/
277
+ /* */
278
+ /* <Function> */
279
+ /* FTC_Manager_New */
280
+ /* */
281
+ /* <Description> */
282
+ /* Create a new cache manager. */
283
+ /* */
284
+ /* <Input> */
285
+ /* library :: The parent FreeType library handle to use. */
286
+ /* */
287
+ /* max_faces :: Maximum number of opened @FT_Face objects managed by */
288
+ /* this cache instance. Use~0 for defaults. */
289
+ /* */
290
+ /* max_sizes :: Maximum number of opened @FT_Size objects managed by */
291
+ /* this cache instance. Use~0 for defaults. */
292
+ /* */
293
+ /* max_bytes :: Maximum number of bytes to use for cached data nodes. */
294
+ /* Use~0 for defaults. Note that this value does not */
295
+ /* account for managed @FT_Face and @FT_Size objects. */
296
+ /* */
297
+ /* requester :: An application-provided callback used to translate */
298
+ /* face IDs into real @FT_Face objects. */
299
+ /* */
300
+ /* req_data :: A generic pointer that is passed to the requester */
301
+ /* each time it is called (see @FTC_Face_Requester). */
302
+ /* */
303
+ /* <Output> */
304
+ /* amanager :: A handle to a new manager object. 0~in case of */
305
+ /* failure. */
306
+ /* */
307
+ /* <Return> */
308
+ /* FreeType error code. 0~means success. */
309
+ /* */
310
+ FT_EXPORT( FT_Error )
311
+ FTC_Manager_New( FT_Library library,
312
+ FT_UInt max_faces,
313
+ FT_UInt max_sizes,
314
+ FT_ULong max_bytes,
315
+ FTC_Face_Requester requester,
316
+ FT_Pointer req_data,
317
+ FTC_Manager *amanager );
318
+
319
+
320
+ /*************************************************************************/
321
+ /* */
322
+ /* <Function> */
323
+ /* FTC_Manager_Reset */
324
+ /* */
325
+ /* <Description> */
326
+ /* Empty a given cache manager. This simply gets rid of all the */
327
+ /* currently cached @FT_Face and @FT_Size objects within the manager. */
328
+ /* */
329
+ /* <InOut> */
330
+ /* manager :: A handle to the manager. */
331
+ /* */
332
+ FT_EXPORT( void )
333
+ FTC_Manager_Reset( FTC_Manager manager );
334
+
335
+
336
+ /*************************************************************************/
337
+ /* */
338
+ /* <Function> */
339
+ /* FTC_Manager_Done */
340
+ /* */
341
+ /* <Description> */
342
+ /* Destroy a given manager after emptying it. */
343
+ /* */
344
+ /* <Input> */
345
+ /* manager :: A handle to the target cache manager object. */
346
+ /* */
347
+ FT_EXPORT( void )
348
+ FTC_Manager_Done( FTC_Manager manager );
349
+
350
+
351
+ /*************************************************************************/
352
+ /* */
353
+ /* <Function> */
354
+ /* FTC_Manager_LookupFace */
355
+ /* */
356
+ /* <Description> */
357
+ /* Retrieve the @FT_Face object that corresponds to a given face ID */
358
+ /* through a cache manager. */
359
+ /* */
360
+ /* <Input> */
361
+ /* manager :: A handle to the cache manager. */
362
+ /* */
363
+ /* face_id :: The ID of the face object. */
364
+ /* */
365
+ /* <Output> */
366
+ /* aface :: A handle to the face object. */
367
+ /* */
368
+ /* <Return> */
369
+ /* FreeType error code. 0~means success. */
370
+ /* */
371
+ /* <Note> */
372
+ /* The returned @FT_Face object is always owned by the manager. You */
373
+ /* should never try to discard it yourself. */
374
+ /* */
375
+ /* The @FT_Face object doesn't necessarily have a current size object */
376
+ /* (i.e., face->size can be 0). If you need a specific `font size', */
377
+ /* use @FTC_Manager_LookupSize instead. */
378
+ /* */
379
+ /* Never change the face's transformation matrix (i.e., never call */
380
+ /* the @FT_Set_Transform function) on a returned face! If you need */
381
+ /* to transform glyphs, do it yourself after glyph loading. */
382
+ /* */
383
+ /* When you perform a lookup, out-of-memory errors are detected */
384
+ /* _within_ the lookup and force incremental flushes of the cache */
385
+ /* until enough memory is released for the lookup to succeed. */
386
+ /* */
387
+ /* If a lookup fails with `FT_Err_Out_Of_Memory' the cache has */
388
+ /* already been completely flushed, and still no memory was available */
389
+ /* for the operation. */
390
+ /* */
391
+ FT_EXPORT( FT_Error )
392
+ FTC_Manager_LookupFace( FTC_Manager manager,
393
+ FTC_FaceID face_id,
394
+ FT_Face *aface );
395
+
396
+
397
+ /*************************************************************************/
398
+ /* */
399
+ /* <Struct> */
400
+ /* FTC_ScalerRec */
401
+ /* */
402
+ /* <Description> */
403
+ /* A structure used to describe a given character size in either */
404
+ /* pixels or points to the cache manager. See */
405
+ /* @FTC_Manager_LookupSize. */
406
+ /* */
407
+ /* <Fields> */
408
+ /* face_id :: The source face ID. */
409
+ /* */
410
+ /* width :: The character width. */
411
+ /* */
412
+ /* height :: The character height. */
413
+ /* */
414
+ /* pixel :: A Boolean. If 1, the `width' and `height' fields are */
415
+ /* interpreted as integer pixel character sizes. */
416
+ /* Otherwise, they are expressed as 1/64th of points. */
417
+ /* */
418
+ /* x_res :: Only used when `pixel' is value~0 to indicate the */
419
+ /* horizontal resolution in dpi. */
420
+ /* */
421
+ /* y_res :: Only used when `pixel' is value~0 to indicate the */
422
+ /* vertical resolution in dpi. */
423
+ /* */
424
+ /* <Note> */
425
+ /* This type is mainly used to retrieve @FT_Size objects through the */
426
+ /* cache manager. */
427
+ /* */
428
+ typedef struct FTC_ScalerRec_
429
+ {
430
+ FTC_FaceID face_id;
431
+ FT_UInt width;
432
+ FT_UInt height;
433
+ FT_Int pixel;
434
+ FT_UInt x_res;
435
+ FT_UInt y_res;
436
+
437
+ } FTC_ScalerRec;
438
+
439
+
440
+ /*************************************************************************/
441
+ /* */
442
+ /* <Struct> */
443
+ /* FTC_Scaler */
444
+ /* */
445
+ /* <Description> */
446
+ /* A handle to an @FTC_ScalerRec structure. */
447
+ /* */
448
+ typedef struct FTC_ScalerRec_* FTC_Scaler;
449
+
450
+
451
+ /*************************************************************************/
452
+ /* */
453
+ /* <Function> */
454
+ /* FTC_Manager_LookupSize */
455
+ /* */
456
+ /* <Description> */
457
+ /* Retrieve the @FT_Size object that corresponds to a given */
458
+ /* @FTC_ScalerRec pointer through a cache manager. */
459
+ /* */
460
+ /* <Input> */
461
+ /* manager :: A handle to the cache manager. */
462
+ /* */
463
+ /* scaler :: A scaler handle. */
464
+ /* */
465
+ /* <Output> */
466
+ /* asize :: A handle to the size object. */
467
+ /* */
468
+ /* <Return> */
469
+ /* FreeType error code. 0~means success. */
470
+ /* */
471
+ /* <Note> */
472
+ /* The returned @FT_Size object is always owned by the manager. You */
473
+ /* should never try to discard it by yourself. */
474
+ /* */
475
+ /* You can access the parent @FT_Face object simply as `size->face' */
476
+ /* if you need it. Note that this object is also owned by the */
477
+ /* manager. */
478
+ /* */
479
+ /* <Note> */
480
+ /* When you perform a lookup, out-of-memory errors are detected */
481
+ /* _within_ the lookup and force incremental flushes of the cache */
482
+ /* until enough memory is released for the lookup to succeed. */
483
+ /* */
484
+ /* If a lookup fails with `FT_Err_Out_Of_Memory' the cache has */
485
+ /* already been completely flushed, and still no memory is available */
486
+ /* for the operation. */
487
+ /* */
488
+ FT_EXPORT( FT_Error )
489
+ FTC_Manager_LookupSize( FTC_Manager manager,
490
+ FTC_Scaler scaler,
491
+ FT_Size *asize );
492
+
493
+
494
+ /*************************************************************************/
495
+ /* */
496
+ /* <Function> */
497
+ /* FTC_Node_Unref */
498
+ /* */
499
+ /* <Description> */
500
+ /* Decrement a cache node's internal reference count. When the count */
501
+ /* reaches 0, it is not destroyed but becomes eligible for subsequent */
502
+ /* cache flushes. */
503
+ /* */
504
+ /* <Input> */
505
+ /* node :: The cache node handle. */
506
+ /* */
507
+ /* manager :: The cache manager handle. */
508
+ /* */
509
+ FT_EXPORT( void )
510
+ FTC_Node_Unref( FTC_Node node,
511
+ FTC_Manager manager );
512
+
513
+
514
+ /*************************************************************************
515
+ *
516
+ * @function:
517
+ * FTC_Manager_RemoveFaceID
518
+ *
519
+ * @description:
520
+ * A special function used to indicate to the cache manager that
521
+ * a given @FTC_FaceID is no longer valid, either because its
522
+ * content changed, or because it was deallocated or uninstalled.
523
+ *
524
+ * @input:
525
+ * manager ::
526
+ * The cache manager handle.
527
+ *
528
+ * face_id ::
529
+ * The @FTC_FaceID to be removed.
530
+ *
531
+ * @note:
532
+ * This function flushes all nodes from the cache corresponding to this
533
+ * `face_id', with the exception of nodes with a non-null reference
534
+ * count.
535
+ *
536
+ * Such nodes are however modified internally so as to never appear
537
+ * in later lookups with the same `face_id' value, and to be immediately
538
+ * destroyed when released by all their users.
539
+ *
540
+ */
541
+ FT_EXPORT( void )
542
+ FTC_Manager_RemoveFaceID( FTC_Manager manager,
543
+ FTC_FaceID face_id );
544
+
545
+
546
+ /*************************************************************************/
547
+ /* */
548
+ /* <Section> */
549
+ /* cache_subsystem */
550
+ /* */
551
+ /*************************************************************************/
552
+
553
+ /*************************************************************************
554
+ *
555
+ * @type:
556
+ * FTC_CMapCache
557
+ *
558
+ * @description:
559
+ * An opaque handle used to model a charmap cache. This cache is to
560
+ * hold character codes -> glyph indices mappings.
561
+ *
562
+ */
563
+ typedef struct FTC_CMapCacheRec_* FTC_CMapCache;
564
+
565
+
566
+ /*************************************************************************
567
+ *
568
+ * @function:
569
+ * FTC_CMapCache_New
570
+ *
571
+ * @description:
572
+ * Create a new charmap cache.
573
+ *
574
+ * @input:
575
+ * manager ::
576
+ * A handle to the cache manager.
577
+ *
578
+ * @output:
579
+ * acache ::
580
+ * A new cache handle. NULL in case of error.
581
+ *
582
+ * @return:
583
+ * FreeType error code. 0~means success.
584
+ *
585
+ * @note:
586
+ * Like all other caches, this one will be destroyed with the cache
587
+ * manager.
588
+ *
589
+ */
590
+ FT_EXPORT( FT_Error )
591
+ FTC_CMapCache_New( FTC_Manager manager,
592
+ FTC_CMapCache *acache );
593
+
594
+
595
+ /************************************************************************
596
+ *
597
+ * @function:
598
+ * FTC_CMapCache_Lookup
599
+ *
600
+ * @description:
601
+ * Translate a character code into a glyph index, using the charmap
602
+ * cache.
603
+ *
604
+ * @input:
605
+ * cache ::
606
+ * A charmap cache handle.
607
+ *
608
+ * face_id ::
609
+ * The source face ID.
610
+ *
611
+ * cmap_index ::
612
+ * The index of the charmap in the source face. Any negative value
613
+ * means to use the cache @FT_Face's default charmap.
614
+ *
615
+ * char_code ::
616
+ * The character code (in the corresponding charmap).
617
+ *
618
+ * @return:
619
+ * Glyph index. 0~means `no glyph'.
620
+ *
621
+ */
622
+ FT_EXPORT( FT_UInt )
623
+ FTC_CMapCache_Lookup( FTC_CMapCache cache,
624
+ FTC_FaceID face_id,
625
+ FT_Int cmap_index,
626
+ FT_UInt32 char_code );
627
+
628
+
629
+ /*************************************************************************/
630
+ /* */
631
+ /* <Section> */
632
+ /* cache_subsystem */
633
+ /* */
634
+ /*************************************************************************/
635
+
636
+
637
+ /*************************************************************************/
638
+ /*************************************************************************/
639
+ /*************************************************************************/
640
+ /***** *****/
641
+ /***** IMAGE CACHE OBJECT *****/
642
+ /***** *****/
643
+ /*************************************************************************/
644
+ /*************************************************************************/
645
+ /*************************************************************************/
646
+
647
+
648
+ /*************************************************************************
649
+ *
650
+ * @struct:
651
+ * FTC_ImageTypeRec
652
+ *
653
+ * @description:
654
+ * A structure used to model the type of images in a glyph cache.
655
+ *
656
+ * @fields:
657
+ * face_id ::
658
+ * The face ID.
659
+ *
660
+ * width ::
661
+ * The width in pixels.
662
+ *
663
+ * height ::
664
+ * The height in pixels.
665
+ *
666
+ * flags ::
667
+ * The load flags, as in @FT_Load_Glyph.
668
+ *
669
+ */
670
+ typedef struct FTC_ImageTypeRec_
671
+ {
672
+ FTC_FaceID face_id;
673
+ FT_Int width;
674
+ FT_Int height;
675
+ FT_Int32 flags;
676
+
677
+ } FTC_ImageTypeRec;
678
+
679
+
680
+ /*************************************************************************
681
+ *
682
+ * @type:
683
+ * FTC_ImageType
684
+ *
685
+ * @description:
686
+ * A handle to an @FTC_ImageTypeRec structure.
687
+ *
688
+ */
689
+ typedef struct FTC_ImageTypeRec_* FTC_ImageType;
690
+
691
+
692
+ /* */
693
+
694
+
695
+ #define FTC_IMAGE_TYPE_COMPARE( d1, d2 ) \
696
+ ( (d1)->face_id == (d2)->face_id && \
697
+ (d1)->width == (d2)->width && \
698
+ (d1)->flags == (d2)->flags )
699
+
700
+ #define FTC_IMAGE_TYPE_HASH( d ) \
701
+ (FT_UFast)( FTC_FACE_ID_HASH( (d)->face_id ) ^ \
702
+ ( (d)->width << 8 ) ^ (d)->height ^ \
703
+ ( (d)->flags << 4 ) )
704
+
705
+
706
+ /*************************************************************************/
707
+ /* */
708
+ /* <Type> */
709
+ /* FTC_ImageCache */
710
+ /* */
711
+ /* <Description> */
712
+ /* A handle to an glyph image cache object. They are designed to */
713
+ /* hold many distinct glyph images while not exceeding a certain */
714
+ /* memory threshold. */
715
+ /* */
716
+ typedef struct FTC_ImageCacheRec_* FTC_ImageCache;
717
+
718
+
719
+ /*************************************************************************/
720
+ /* */
721
+ /* <Function> */
722
+ /* FTC_ImageCache_New */
723
+ /* */
724
+ /* <Description> */
725
+ /* Create a new glyph image cache. */
726
+ /* */
727
+ /* <Input> */
728
+ /* manager :: The parent manager for the image cache. */
729
+ /* */
730
+ /* <Output> */
731
+ /* acache :: A handle to the new glyph image cache object. */
732
+ /* */
733
+ /* <Return> */
734
+ /* FreeType error code. 0~means success. */
735
+ /* */
736
+ FT_EXPORT( FT_Error )
737
+ FTC_ImageCache_New( FTC_Manager manager,
738
+ FTC_ImageCache *acache );
739
+
740
+
741
+ /*************************************************************************/
742
+ /* */
743
+ /* <Function> */
744
+ /* FTC_ImageCache_Lookup */
745
+ /* */
746
+ /* <Description> */
747
+ /* Retrieve a given glyph image from a glyph image cache. */
748
+ /* */
749
+ /* <Input> */
750
+ /* cache :: A handle to the source glyph image cache. */
751
+ /* */
752
+ /* type :: A pointer to a glyph image type descriptor. */
753
+ /* */
754
+ /* gindex :: The glyph index to retrieve. */
755
+ /* */
756
+ /* <Output> */
757
+ /* aglyph :: The corresponding @FT_Glyph object. 0~in case of */
758
+ /* failure. */
759
+ /* */
760
+ /* anode :: Used to return the address of of the corresponding cache */
761
+ /* node after incrementing its reference count (see note */
762
+ /* below). */
763
+ /* */
764
+ /* <Return> */
765
+ /* FreeType error code. 0~means success. */
766
+ /* */
767
+ /* <Note> */
768
+ /* The returned glyph is owned and managed by the glyph image cache. */
769
+ /* Never try to transform or discard it manually! You can however */
770
+ /* create a copy with @FT_Glyph_Copy and modify the new one. */
771
+ /* */
772
+ /* If `anode' is _not_ NULL, it receives the address of the cache */
773
+ /* node containing the glyph image, after increasing its reference */
774
+ /* count. This ensures that the node (as well as the @FT_Glyph) will */
775
+ /* always be kept in the cache until you call @FTC_Node_Unref to */
776
+ /* `release' it. */
777
+ /* */
778
+ /* If `anode' is NULL, the cache node is left unchanged, which means */
779
+ /* that the @FT_Glyph could be flushed out of the cache on the next */
780
+ /* call to one of the caching sub-system APIs. Don't assume that it */
781
+ /* is persistent! */
782
+ /* */
783
+ FT_EXPORT( FT_Error )
784
+ FTC_ImageCache_Lookup( FTC_ImageCache cache,
785
+ FTC_ImageType type,
786
+ FT_UInt gindex,
787
+ FT_Glyph *aglyph,
788
+ FTC_Node *anode );
789
+
790
+
791
+ /*************************************************************************/
792
+ /* */
793
+ /* <Function> */
794
+ /* FTC_ImageCache_LookupScaler */
795
+ /* */
796
+ /* <Description> */
797
+ /* A variant of @FTC_ImageCache_Lookup that uses an @FTC_ScalerRec */
798
+ /* to specify the face ID and its size. */
799
+ /* */
800
+ /* <Input> */
801
+ /* cache :: A handle to the source glyph image cache. */
802
+ /* */
803
+ /* scaler :: A pointer to a scaler descriptor. */
804
+ /* */
805
+ /* load_flags :: The corresponding load flags. */
806
+ /* */
807
+ /* gindex :: The glyph index to retrieve. */
808
+ /* */
809
+ /* <Output> */
810
+ /* aglyph :: The corresponding @FT_Glyph object. 0~in case of */
811
+ /* failure. */
812
+ /* */
813
+ /* anode :: Used to return the address of of the corresponding */
814
+ /* cache node after incrementing its reference count */
815
+ /* (see note below). */
816
+ /* */
817
+ /* <Return> */
818
+ /* FreeType error code. 0~means success. */
819
+ /* */
820
+ /* <Note> */
821
+ /* The returned glyph is owned and managed by the glyph image cache. */
822
+ /* Never try to transform or discard it manually! You can however */
823
+ /* create a copy with @FT_Glyph_Copy and modify the new one. */
824
+ /* */
825
+ /* If `anode' is _not_ NULL, it receives the address of the cache */
826
+ /* node containing the glyph image, after increasing its reference */
827
+ /* count. This ensures that the node (as well as the @FT_Glyph) will */
828
+ /* always be kept in the cache until you call @FTC_Node_Unref to */
829
+ /* `release' it. */
830
+ /* */
831
+ /* If `anode' is NULL, the cache node is left unchanged, which means */
832
+ /* that the @FT_Glyph could be flushed out of the cache on the next */
833
+ /* call to one of the caching sub-system APIs. Don't assume that it */
834
+ /* is persistent! */
835
+ /* */
836
+ /* Calls to @FT_Set_Char_Size and friends have no effect on cached */
837
+ /* glyphs; you should always use the FreeType cache API instead. */
838
+ /* */
839
+ FT_EXPORT( FT_Error )
840
+ FTC_ImageCache_LookupScaler( FTC_ImageCache cache,
841
+ FTC_Scaler scaler,
842
+ FT_ULong load_flags,
843
+ FT_UInt gindex,
844
+ FT_Glyph *aglyph,
845
+ FTC_Node *anode );
846
+
847
+
848
+ /*************************************************************************/
849
+ /* */
850
+ /* <Type> */
851
+ /* FTC_SBit */
852
+ /* */
853
+ /* <Description> */
854
+ /* A handle to a small bitmap descriptor. See the @FTC_SBitRec */
855
+ /* structure for details. */
856
+ /* */
857
+ typedef struct FTC_SBitRec_* FTC_SBit;
858
+
859
+
860
+ /*************************************************************************/
861
+ /* */
862
+ /* <Struct> */
863
+ /* FTC_SBitRec */
864
+ /* */
865
+ /* <Description> */
866
+ /* A very compact structure used to describe a small glyph bitmap. */
867
+ /* */
868
+ /* <Fields> */
869
+ /* width :: The bitmap width in pixels. */
870
+ /* */
871
+ /* height :: The bitmap height in pixels. */
872
+ /* */
873
+ /* left :: The horizontal distance from the pen position to the */
874
+ /* left bitmap border (a.k.a. `left side bearing', or */
875
+ /* `lsb'). */
876
+ /* */
877
+ /* top :: The vertical distance from the pen position (on the */
878
+ /* baseline) to the upper bitmap border (a.k.a. `top */
879
+ /* side bearing'). The distance is positive for upwards */
880
+ /* y~coordinates. */
881
+ /* */
882
+ /* format :: The format of the glyph bitmap (monochrome or gray). */
883
+ /* */
884
+ /* max_grays :: Maximum gray level value (in the range 1 to~255). */
885
+ /* */
886
+ /* pitch :: The number of bytes per bitmap line. May be positive */
887
+ /* or negative. */
888
+ /* */
889
+ /* xadvance :: The horizontal advance width in pixels. */
890
+ /* */
891
+ /* yadvance :: The vertical advance height in pixels. */
892
+ /* */
893
+ /* buffer :: A pointer to the bitmap pixels. */
894
+ /* */
895
+ typedef struct FTC_SBitRec_
896
+ {
897
+ FT_Byte width;
898
+ FT_Byte height;
899
+ FT_Char left;
900
+ FT_Char top;
901
+
902
+ FT_Byte format;
903
+ FT_Byte max_grays;
904
+ FT_Short pitch;
905
+ FT_Char xadvance;
906
+ FT_Char yadvance;
907
+
908
+ FT_Byte* buffer;
909
+
910
+ } FTC_SBitRec;
911
+
912
+
913
+ /*************************************************************************/
914
+ /* */
915
+ /* <Type> */
916
+ /* FTC_SBitCache */
917
+ /* */
918
+ /* <Description> */
919
+ /* A handle to a small bitmap cache. These are special cache objects */
920
+ /* used to store small glyph bitmaps (and anti-aliased pixmaps) in a */
921
+ /* much more efficient way than the traditional glyph image cache */
922
+ /* implemented by @FTC_ImageCache. */
923
+ /* */
924
+ typedef struct FTC_SBitCacheRec_* FTC_SBitCache;
925
+
926
+
927
+ /*************************************************************************/
928
+ /* */
929
+ /* <Function> */
930
+ /* FTC_SBitCache_New */
931
+ /* */
932
+ /* <Description> */
933
+ /* Create a new cache to store small glyph bitmaps. */
934
+ /* */
935
+ /* <Input> */
936
+ /* manager :: A handle to the source cache manager. */
937
+ /* */
938
+ /* <Output> */
939
+ /* acache :: A handle to the new sbit cache. NULL in case of error. */
940
+ /* */
941
+ /* <Return> */
942
+ /* FreeType error code. 0~means success. */
943
+ /* */
944
+ FT_EXPORT( FT_Error )
945
+ FTC_SBitCache_New( FTC_Manager manager,
946
+ FTC_SBitCache *acache );
947
+
948
+
949
+ /*************************************************************************/
950
+ /* */
951
+ /* <Function> */
952
+ /* FTC_SBitCache_Lookup */
953
+ /* */
954
+ /* <Description> */
955
+ /* Look up a given small glyph bitmap in a given sbit cache and */
956
+ /* `lock' it to prevent its flushing from the cache until needed. */
957
+ /* */
958
+ /* <Input> */
959
+ /* cache :: A handle to the source sbit cache. */
960
+ /* */
961
+ /* type :: A pointer to the glyph image type descriptor. */
962
+ /* */
963
+ /* gindex :: The glyph index. */
964
+ /* */
965
+ /* <Output> */
966
+ /* sbit :: A handle to a small bitmap descriptor. */
967
+ /* */
968
+ /* anode :: Used to return the address of of the corresponding cache */
969
+ /* node after incrementing its reference count (see note */
970
+ /* below). */
971
+ /* */
972
+ /* <Return> */
973
+ /* FreeType error code. 0~means success. */
974
+ /* */
975
+ /* <Note> */
976
+ /* The small bitmap descriptor and its bit buffer are owned by the */
977
+ /* cache and should never be freed by the application. They might */
978
+ /* as well disappear from memory on the next cache lookup, so don't */
979
+ /* treat them as persistent data. */
980
+ /* */
981
+ /* The descriptor's `buffer' field is set to~0 to indicate a missing */
982
+ /* glyph bitmap. */
983
+ /* */
984
+ /* If `anode' is _not_ NULL, it receives the address of the cache */
985
+ /* node containing the bitmap, after increasing its reference count. */
986
+ /* This ensures that the node (as well as the image) will always be */
987
+ /* kept in the cache until you call @FTC_Node_Unref to `release' it. */
988
+ /* */
989
+ /* If `anode' is NULL, the cache node is left unchanged, which means */
990
+ /* that the bitmap could be flushed out of the cache on the next */
991
+ /* call to one of the caching sub-system APIs. Don't assume that it */
992
+ /* is persistent! */
993
+ /* */
994
+ FT_EXPORT( FT_Error )
995
+ FTC_SBitCache_Lookup( FTC_SBitCache cache,
996
+ FTC_ImageType type,
997
+ FT_UInt gindex,
998
+ FTC_SBit *sbit,
999
+ FTC_Node *anode );
1000
+
1001
+
1002
+ /*************************************************************************/
1003
+ /* */
1004
+ /* <Function> */
1005
+ /* FTC_SBitCache_LookupScaler */
1006
+ /* */
1007
+ /* <Description> */
1008
+ /* A variant of @FTC_SBitCache_Lookup that uses an @FTC_ScalerRec */
1009
+ /* to specify the face ID and its size. */
1010
+ /* */
1011
+ /* <Input> */
1012
+ /* cache :: A handle to the source sbit cache. */
1013
+ /* */
1014
+ /* scaler :: A pointer to the scaler descriptor. */
1015
+ /* */
1016
+ /* load_flags :: The corresponding load flags. */
1017
+ /* */
1018
+ /* gindex :: The glyph index. */
1019
+ /* */
1020
+ /* <Output> */
1021
+ /* sbit :: A handle to a small bitmap descriptor. */
1022
+ /* */
1023
+ /* anode :: Used to return the address of of the corresponding */
1024
+ /* cache node after incrementing its reference count */
1025
+ /* (see note below). */
1026
+ /* */
1027
+ /* <Return> */
1028
+ /* FreeType error code. 0~means success. */
1029
+ /* */
1030
+ /* <Note> */
1031
+ /* The small bitmap descriptor and its bit buffer are owned by the */
1032
+ /* cache and should never be freed by the application. They might */
1033
+ /* as well disappear from memory on the next cache lookup, so don't */
1034
+ /* treat them as persistent data. */
1035
+ /* */
1036
+ /* The descriptor's `buffer' field is set to~0 to indicate a missing */
1037
+ /* glyph bitmap. */
1038
+ /* */
1039
+ /* If `anode' is _not_ NULL, it receives the address of the cache */
1040
+ /* node containing the bitmap, after increasing its reference count. */
1041
+ /* This ensures that the node (as well as the image) will always be */
1042
+ /* kept in the cache until you call @FTC_Node_Unref to `release' it. */
1043
+ /* */
1044
+ /* If `anode' is NULL, the cache node is left unchanged, which means */
1045
+ /* that the bitmap could be flushed out of the cache on the next */
1046
+ /* call to one of the caching sub-system APIs. Don't assume that it */
1047
+ /* is persistent! */
1048
+ /* */
1049
+ FT_EXPORT( FT_Error )
1050
+ FTC_SBitCache_LookupScaler( FTC_SBitCache cache,
1051
+ FTC_Scaler scaler,
1052
+ FT_ULong load_flags,
1053
+ FT_UInt gindex,
1054
+ FTC_SBit *sbit,
1055
+ FTC_Node *anode );
1056
+
1057
+
1058
+ /* */
1059
+
1060
+ #ifdef FT_CONFIG_OPTION_OLD_INTERNALS
1061
+
1062
+ /*@***********************************************************************/
1063
+ /* */
1064
+ /* <Struct> */
1065
+ /* FTC_FontRec */
1066
+ /* */
1067
+ /* <Description> */
1068
+ /* A simple structure used to describe a given `font' to the cache */
1069
+ /* manager. Note that a `font' is the combination of a given face */
1070
+ /* with a given character size. */
1071
+ /* */
1072
+ /* <Fields> */
1073
+ /* face_id :: The ID of the face to use. */
1074
+ /* */
1075
+ /* pix_width :: The character width in integer pixels. */
1076
+ /* */
1077
+ /* pix_height :: The character height in integer pixels. */
1078
+ /* */
1079
+ typedef struct FTC_FontRec_
1080
+ {
1081
+ FTC_FaceID face_id;
1082
+ FT_UShort pix_width;
1083
+ FT_UShort pix_height;
1084
+
1085
+ } FTC_FontRec;
1086
+
1087
+
1088
+ /* */
1089
+
1090
+
1091
+ #define FTC_FONT_COMPARE( f1, f2 ) \
1092
+ ( (f1)->face_id == (f2)->face_id && \
1093
+ (f1)->pix_width == (f2)->pix_width && \
1094
+ (f1)->pix_height == (f2)->pix_height )
1095
+
1096
+ #define FTC_FONT_HASH( f ) \
1097
+ (FT_UInt32)( FTC_FACE_ID_HASH((f)->face_id) ^ \
1098
+ ((f)->pix_width << 8) ^ \
1099
+ ((f)->pix_height) )
1100
+
1101
+ typedef FTC_FontRec* FTC_Font;
1102
+
1103
+
1104
+ FT_EXPORT( FT_Error )
1105
+ FTC_Manager_Lookup_Face( FTC_Manager manager,
1106
+ FTC_FaceID face_id,
1107
+ FT_Face *aface );
1108
+
1109
+ FT_EXPORT( FT_Error )
1110
+ FTC_Manager_Lookup_Size( FTC_Manager manager,
1111
+ FTC_Font font,
1112
+ FT_Face *aface,
1113
+ FT_Size *asize );
1114
+
1115
+ #endif /* FT_CONFIG_OPTION_OLD_INTERNALS */
1116
+
1117
+
1118
+ /* */
1119
+
1120
+ FT_END_HEADER
1121
+
1122
+ #endif /* __FTCACHE_H__ */
1123
+
1124
+
1125
+ /* END */