poppler 0.90.2.3-x86-mingw32 → 0.90.3-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (759) hide show
  1. data/ChangeLog +11 -0
  2. data/ext/poppler/depend +4 -2
  3. data/ext/poppler/rbpoppler-form-field.c +2 -2
  4. data/ext/poppler/rbpoppler-page.c +12 -3
  5. data/lib/1.8/poppler.so +0 -0
  6. data/lib/1.9/poppler.so +0 -0
  7. data/vendor/local/bin/fc-cache.exe +0 -0
  8. data/vendor/local/bin/fc-cat.exe +0 -0
  9. data/vendor/local/bin/fc-list.exe +0 -0
  10. data/vendor/local/bin/freetype-config +160 -0
  11. data/vendor/local/bin/freetype6.dll +0 -0
  12. data/vendor/local/bin/gtk-demo.exe +0 -0
  13. data/vendor/local/bin/gtk-query-immodules-2.0.exe +0 -0
  14. data/vendor/local/bin/gtk-update-icon-cache.exe +0 -0
  15. data/vendor/local/bin/libatk-1.0-0.dll +0 -0
  16. data/vendor/local/bin/libcairo-2.dll +0 -0
  17. data/vendor/local/bin/libcairo-gobject-2.dll +0 -0
  18. data/vendor/local/bin/libcairo-script-interpreter-2.dll +0 -0
  19. data/vendor/local/bin/libexpat-1.dll +0 -0
  20. data/vendor/local/bin/libfontconfig-1.dll +0 -0
  21. data/vendor/local/bin/libgailutil-18.dll +0 -0
  22. data/vendor/local/bin/libgcc_s_dw2-1.dll +0 -0
  23. data/vendor/local/bin/libgdk-win32-2.0-0.dll +0 -0
  24. data/vendor/local/bin/libgtk-win32-2.0-0.dll +0 -0
  25. data/vendor/local/bin/libpango-1.0-0.dll +0 -0
  26. data/vendor/local/bin/libpangocairo-1.0-0.dll +0 -0
  27. data/vendor/local/bin/libpangoft2-1.0-0.dll +0 -0
  28. data/vendor/local/bin/libpangowin32-1.0-0.dll +0 -0
  29. data/vendor/local/bin/pango-querymodules.exe +0 -0
  30. data/vendor/local/bin/pango-view.exe +0 -0
  31. data/vendor/local/bin/pkg-config.exe +0 -0
  32. data/vendor/local/bin/xmlwf.exe +0 -0
  33. data/vendor/local/bin/zlib1.dll +0 -0
  34. data/vendor/local/etc/fonts/fonts.conf +151 -0
  35. data/vendor/local/etc/fonts/fonts.dtd +224 -0
  36. data/vendor/local/etc/gtk-2.0/gtk.immodules +1 -1
  37. data/vendor/local/etc/pango/pango.modules +1 -1
  38. data/vendor/local/gtk+-bundle_2.22.0-20101016_win32.README.txt +29 -0
  39. data/vendor/local/include/atk-1.0/atk/atk-enum-types.h +45 -0
  40. data/vendor/local/include/atk-1.0/atk/atk.h +56 -0
  41. data/vendor/local/include/atk-1.0/atk/atkaction.h +111 -0
  42. data/vendor/local/include/atk-1.0/atk/atkcomponent.h +171 -0
  43. data/vendor/local/include/atk-1.0/atk/atkdocument.h +83 -0
  44. data/vendor/local/include/atk-1.0/atk/atkeditabletext.h +104 -0
  45. data/vendor/local/include/atk-1.0/atk/atkgobjectaccessible.h +65 -0
  46. data/vendor/local/include/atk-1.0/atk/atkhyperlink.h +106 -0
  47. data/vendor/local/include/atk-1.0/atk/atkhyperlinkimpl.h +75 -0
  48. data/vendor/local/include/atk-1.0/atk/atkhypertext.h +78 -0
  49. data/vendor/local/include/atk-1.0/atk/atkimage.h +87 -0
  50. data/vendor/local/include/atk-1.0/atk/atkmisc.h +89 -0
  51. data/vendor/local/include/atk-1.0/atk/atknoopobject.h +55 -0
  52. data/vendor/local/include/atk-1.0/atk/atknoopobjectfactory.h +57 -0
  53. data/vendor/local/include/atk-1.0/atk/atkobject.h +649 -0
  54. data/vendor/local/include/atk-1.0/atk/atkobjectfactory.h +67 -0
  55. data/vendor/local/include/atk-1.0/atk/atkplug.h +61 -0
  56. data/vendor/local/include/atk-1.0/atk/atkregistry.h +69 -0
  57. data/vendor/local/include/atk-1.0/atk/atkrelation.h +89 -0
  58. data/vendor/local/include/atk-1.0/atk/atkrelationset.h +78 -0
  59. data/vendor/local/include/atk-1.0/atk/atkrelationtype.h +83 -0
  60. data/vendor/local/include/atk-1.0/atk/atkselection.h +95 -0
  61. data/vendor/local/include/atk-1.0/atk/atksocket.h +65 -0
  62. data/vendor/local/include/atk-1.0/atk/atkstate.h +178 -0
  63. data/vendor/local/include/atk-1.0/atk/atkstateset.h +80 -0
  64. data/vendor/local/include/atk-1.0/atk/atkstreamablecontent.h +105 -0
  65. data/vendor/local/include/atk-1.0/atk/atktable.h +217 -0
  66. data/vendor/local/include/atk-1.0/atk/atktext.h +365 -0
  67. data/vendor/local/include/atk-1.0/atk/atkutil.h +313 -0
  68. data/vendor/local/include/atk-1.0/atk/atkvalue.h +93 -0
  69. data/vendor/local/include/expat.h +1014 -0
  70. data/vendor/local/include/expat_external.h +115 -0
  71. data/vendor/local/include/fontconfig/fcfreetype.h +59 -0
  72. data/vendor/local/include/fontconfig/fcprivate.h +123 -0
  73. data/vendor/local/include/fontconfig/fontconfig.h +963 -0
  74. data/vendor/local/include/freetype2/freetype/config/ftconfig.h +477 -0
  75. data/vendor/local/include/freetype2/freetype/config/ftheader.h +780 -0
  76. data/vendor/local/include/freetype2/freetype/config/ftmodule.h +20 -0
  77. data/vendor/local/include/freetype2/freetype/config/ftoption.h +733 -0
  78. data/vendor/local/include/freetype2/freetype/config/ftstdlib.h +173 -0
  79. data/vendor/local/include/freetype2/freetype/freetype.h +3919 -0
  80. data/vendor/local/include/freetype2/freetype/ftadvanc.h +179 -0
  81. data/vendor/local/include/freetype2/freetype/ftbbox.h +94 -0
  82. data/vendor/local/include/freetype2/freetype/ftbdf.h +209 -0
  83. data/vendor/local/include/freetype2/freetype/ftbitmap.h +227 -0
  84. data/vendor/local/include/freetype2/freetype/ftcache.h +1125 -0
  85. data/vendor/local/include/freetype2/freetype/ftchapters.h +103 -0
  86. data/vendor/local/include/freetype2/freetype/ftcid.h +166 -0
  87. data/vendor/local/include/freetype2/freetype/fterrdef.h +244 -0
  88. data/vendor/local/include/freetype2/freetype/fterrors.h +206 -0
  89. data/vendor/local/include/freetype2/freetype/ftgasp.h +120 -0
  90. data/vendor/local/include/freetype2/freetype/ftglyph.h +613 -0
  91. data/vendor/local/include/freetype2/freetype/ftgxval.h +358 -0
  92. data/vendor/local/include/freetype2/freetype/ftgzip.h +102 -0
  93. data/vendor/local/include/freetype2/freetype/ftimage.h +1301 -0
  94. data/vendor/local/include/freetype2/freetype/ftincrem.h +353 -0
  95. data/vendor/local/include/freetype2/freetype/ftlcdfil.h +213 -0
  96. data/vendor/local/include/freetype2/freetype/ftlist.h +277 -0
  97. data/vendor/local/include/freetype2/freetype/ftlzw.h +99 -0
  98. data/vendor/local/include/freetype2/freetype/ftmac.h +274 -0
  99. data/vendor/local/include/freetype2/freetype/ftmm.h +378 -0
  100. data/vendor/local/include/freetype2/freetype/ftmodapi.h +483 -0
  101. data/vendor/local/include/freetype2/freetype/ftmoderr.h +155 -0
  102. data/vendor/local/include/freetype2/freetype/ftotval.h +203 -0
  103. data/vendor/local/include/freetype2/freetype/ftoutln.h +537 -0
  104. data/vendor/local/include/freetype2/freetype/ftpfr.h +172 -0
  105. data/vendor/local/include/freetype2/freetype/ftrender.h +230 -0
  106. data/vendor/local/include/freetype2/freetype/ftsizes.h +159 -0
  107. data/vendor/local/include/freetype2/freetype/ftsnames.h +200 -0
  108. data/vendor/local/include/freetype2/freetype/ftstroke.h +716 -0
  109. data/vendor/local/include/freetype2/freetype/ftsynth.h +80 -0
  110. data/vendor/local/include/freetype2/freetype/ftsystem.h +347 -0
  111. data/vendor/local/include/freetype2/freetype/fttrigon.h +350 -0
  112. data/vendor/local/include/freetype2/freetype/fttypes.h +588 -0
  113. data/vendor/local/include/freetype2/freetype/ftwinfnt.h +274 -0
  114. data/vendor/local/include/freetype2/freetype/ftxf86.h +83 -0
  115. data/vendor/local/include/freetype2/freetype/t1tables.h +504 -0
  116. data/vendor/local/include/freetype2/freetype/ttnameid.h +1247 -0
  117. data/vendor/local/include/freetype2/freetype/tttables.h +759 -0
  118. data/vendor/local/include/freetype2/freetype/tttags.h +107 -0
  119. data/vendor/local/include/freetype2/freetype/ttunpat.h +59 -0
  120. data/vendor/local/include/ft2build.h +61 -0
  121. data/vendor/local/include/pango-1.0/pango/pango-enum-types.h +2 -2
  122. data/vendor/local/include/pango-1.0/pango/pango-features.h +2 -2
  123. data/vendor/local/include/pixman-1/pixman-version.h +50 -0
  124. data/vendor/local/include/pixman-1/pixman.h +936 -0
  125. data/vendor/local/include/zconf.h +461 -0
  126. data/vendor/local/include/zlib.h +1589 -0
  127. data/vendor/local/lib/atk-1.0.def +238 -0
  128. data/vendor/local/lib/atk-1.0.lib +0 -0
  129. data/vendor/local/lib/cairo.lib +0 -0
  130. data/vendor/local/lib/expat.lib +0 -0
  131. data/vendor/local/lib/fontconfig.def +195 -0
  132. data/vendor/local/lib/fontconfig.lib +0 -0
  133. data/vendor/local/lib/freetype.def +186 -0
  134. data/vendor/local/lib/freetype.lib +0 -0
  135. data/vendor/local/lib/gailutil.lib +0 -0
  136. data/vendor/local/lib/gdk-win32-2.0.lib +0 -0
  137. data/vendor/local/lib/gtk-2.0/2.10.0/engines/libpixmap.dll +0 -0
  138. data/vendor/local/lib/gtk-2.0/2.10.0/engines/libwimp.dll +0 -0
  139. data/vendor/local/lib/gtk-2.0/modules/libgail.dll +0 -0
  140. data/vendor/local/lib/gtk-win32-2.0.lib +0 -0
  141. data/vendor/local/lib/libatk-1.0.dll.a +0 -0
  142. data/vendor/local/lib/libcairo-gobject.dll.a +0 -0
  143. data/vendor/local/lib/libcairo-script-interpreter.dll.a +0 -0
  144. data/vendor/local/lib/libcairo.dll.a +0 -0
  145. data/vendor/local/lib/libexpat.def +73 -0
  146. data/vendor/local/lib/libexpat.dll.a +0 -0
  147. data/vendor/local/lib/libfontconfig.dll.a +0 -0
  148. data/vendor/local/lib/libfreetype.dll.a +0 -0
  149. data/vendor/local/lib/libgailutil.dll.a +0 -0
  150. data/vendor/local/lib/libgdk-win32-2.0.dll.a +0 -0
  151. data/vendor/local/lib/libgtk-win32-2.0.dll.a +0 -0
  152. data/vendor/local/lib/libpango-1.0.dll.a +0 -0
  153. data/vendor/local/lib/libpangocairo-1.0.dll.a +0 -0
  154. data/vendor/local/lib/libpangoft2-1.0.dll.a +0 -0
  155. data/vendor/local/lib/libpangowin32-1.0.dll.a +0 -0
  156. data/vendor/local/lib/libpixman-1.a +0 -0
  157. data/vendor/local/lib/libz.dll.a +0 -0
  158. data/vendor/local/lib/pango-1.0.lib +0 -0
  159. data/vendor/local/lib/pangocairo-1.0.lib +0 -0
  160. data/vendor/local/lib/pangoft2-1.0.lib +0 -0
  161. data/vendor/local/lib/pangowin32-1.0.lib +0 -0
  162. data/vendor/local/lib/pkgconfig/atk.pc +11 -0
  163. data/vendor/local/lib/pkgconfig/cairo-fc.pc +1 -1
  164. data/vendor/local/lib/pkgconfig/cairo-ft.pc +1 -1
  165. data/vendor/local/lib/pkgconfig/cairo-gobject.pc +1 -1
  166. data/vendor/local/lib/pkgconfig/cairo-pdf.pc +1 -1
  167. data/vendor/local/lib/pkgconfig/cairo-png.pc +1 -1
  168. data/vendor/local/lib/pkgconfig/cairo-ps.pc +1 -1
  169. data/vendor/local/lib/pkgconfig/cairo-svg.pc +1 -1
  170. data/vendor/local/lib/pkgconfig/cairo-win32-font.pc +1 -1
  171. data/vendor/local/lib/pkgconfig/cairo-win32.pc +1 -1
  172. data/vendor/local/lib/pkgconfig/cairo.pc +1 -1
  173. data/vendor/local/lib/pkgconfig/fontconfig.pc +11 -0
  174. data/vendor/local/lib/pkgconfig/freetype2.pc +12 -0
  175. data/vendor/local/lib/pkgconfig/gail.pc +1 -1
  176. data/vendor/local/lib/pkgconfig/gdk-2.0.pc +1 -1
  177. data/vendor/local/lib/pkgconfig/gdk-win32-2.0.pc +1 -1
  178. data/vendor/local/lib/pkgconfig/gtk+-2.0.pc +1 -1
  179. data/vendor/local/lib/pkgconfig/gtk+-win32-2.0.pc +1 -1
  180. data/vendor/local/lib/pkgconfig/pango.pc +2 -2
  181. data/vendor/local/lib/pkgconfig/pangocairo.pc +2 -2
  182. data/vendor/local/lib/pkgconfig/pangoft2.pc +2 -2
  183. data/vendor/local/lib/pkgconfig/pangowin32.pc +2 -2
  184. data/vendor/local/lib/pkgconfig/pixman-1.pc +11 -0
  185. data/vendor/local/lib/zdll.lib +0 -0
  186. data/vendor/local/lib/zlib.def +67 -0
  187. data/vendor/local/man/man1/xmlwf.1 +251 -0
  188. data/vendor/local/manifest/atk-dev_1.32.0-1_win32.mft +37 -0
  189. data/vendor/local/manifest/atk_1.32.0-1_win32.mft +95 -0
  190. data/vendor/local/manifest/{cairo-dev_1.10.0-1_win32.mft → cairo-dev_1.10.0-2_win32.mft} +6 -4
  191. data/vendor/local/manifest/cairo_1.10.0-2_win32.mft +7 -0
  192. data/vendor/local/manifest/expat-dev_2.0.1-1_win32.mft +10 -0
  193. data/vendor/local/manifest/expat_2.0.1-1_win32.mft +2 -0
  194. data/vendor/local/manifest/fontconfig-dev_2.8.0-2_win32.mft +387 -0
  195. data/vendor/local/manifest/fontconfig_2.8.0-2_win32.mft +3 -0
  196. data/vendor/local/manifest/freetype-dev_2.4.2-1_win32.mft +56 -0
  197. data/vendor/local/manifest/freetype_2.4.2-1_win32.mft +2 -0
  198. data/vendor/local/manifest/gtk+-bundle_2.22.0-20101016_win32.mft +2910 -0
  199. data/vendor/local/manifest/{pango-dev_1.28.1-2_win32.mft → pango-dev_1.28.3-1_win32.mft} +5 -5
  200. data/vendor/local/manifest/{pango_1.28.1-2_win32.mft → pango_1.28.3-1_win32.mft} +2 -2
  201. data/vendor/local/manifest/zlib-dev_1.2.5-2_win32.mft +8 -0
  202. data/vendor/local/manifest/zlib_1.2.5-2_win32.mft +2 -0
  203. data/vendor/local/share/aclocal/freetype2.m4 +194 -0
  204. data/vendor/local/share/aclocal/pkg.m4 +155 -0
  205. data/vendor/local/share/doc/cairo_1.10.0-2_win32/COPYING +33 -0
  206. data/vendor/local/share/doc/cairo_1.10.0-2_win32/COPYING-LGPL-2.1 +510 -0
  207. data/vendor/local/share/doc/cairo_1.10.0-2_win32/COPYING-MPL-1.1 +470 -0
  208. data/vendor/local/share/doc/fontconfig/fontconfig-devel.pdf +42484 -4
  209. data/vendor/local/share/doc/fontconfig/fontconfig-devel.txt +5046 -0
  210. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcatomiccreate.html +224 -0
  211. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcatomicdeletenew.html +216 -0
  212. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcatomicdestroy.html +210 -0
  213. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcatomiclock.html +223 -0
  214. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcatomicnewfile.html +222 -0
  215. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcatomicorigfile.html +221 -0
  216. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcatomicreplaceorig.html +223 -0
  217. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcatomicunlock.html +216 -0
  218. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcblanksadd.html +222 -0
  219. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcblankscreate.html +216 -0
  220. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcblanksdestroy.html +216 -0
  221. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcblanksismember.html +211 -0
  222. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fccachecopyset.html +228 -0
  223. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fccachedir.html +221 -0
  224. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fccachenumfont.html +211 -0
  225. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fccachenumsubdir.html +221 -0
  226. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fccachesubdir.html +244 -0
  227. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fccharsetaddchar.html +226 -0
  228. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fccharsetcopy.html +227 -0
  229. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fccharsetcount.html +221 -0
  230. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fccharsetcoverage.html +249 -0
  231. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fccharsetcreate.html +220 -0
  232. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fccharsetdestroy.html +226 -0
  233. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fccharsetequal.html +232 -0
  234. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fccharsetfirstpage.html +238 -0
  235. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fccharsethaschar.html +231 -0
  236. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fccharsetintersect.html +232 -0
  237. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fccharsetintersectcount.html +231 -0
  238. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fccharsetissubset.html +231 -0
  239. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fccharsetmerge.html +261 -0
  240. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fccharsetnew.html +208 -0
  241. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fccharsetnextpage.html +243 -0
  242. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fccharsetsubtract.html +231 -0
  243. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fccharsetsubtractcount.html +231 -0
  244. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fccharsetunion.html +231 -0
  245. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcconfigappfontadddir.html +229 -0
  246. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcconfigappfontaddfile.html +228 -0
  247. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcconfigappfontclear.html +222 -0
  248. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcconfigbuildfonts.html +224 -0
  249. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcconfigcreate.html +216 -0
  250. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcconfigdestroy.html +219 -0
  251. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcconfigenablehome.html +230 -0
  252. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcconfigfilename.html +237 -0
  253. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcconfiggetblanks.html +225 -0
  254. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcconfiggetcache.html +217 -0
  255. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcconfiggetcachedirs.html +227 -0
  256. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcconfiggetconfigdirs.html +228 -0
  257. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcconfiggetconfigfiles.html +227 -0
  258. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcconfiggetcurrent.html +216 -0
  259. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcconfiggetfontdirs.html +229 -0
  260. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcconfiggetfonts.html +234 -0
  261. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcconfiggetrescaninterval.html +230 -0
  262. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcconfighome.html +221 -0
  263. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcconfigparseandload.html +220 -0
  264. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcconfigreference.html +231 -0
  265. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcconfigsetcurrent.html +222 -0
  266. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcconfigsetrescaninterval.html +229 -0
  267. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcconfigsubstitute.html +233 -0
  268. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcconfigsubstitutewithpat.html +251 -0
  269. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcconfiguptodate.html +228 -0
  270. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcdefaultsubstitute.html +234 -0
  271. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcdircacheload.html +239 -0
  272. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcdircacheloadfile.html +233 -0
  273. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcdircacheread.html +239 -0
  274. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcdircacheunlink.html +239 -0
  275. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcdircacheunload.html +211 -0
  276. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcdircachevalid.html +222 -0
  277. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcdirsave.html +245 -0
  278. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcdirscan.html +266 -0
  279. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcfileisdir.html +222 -0
  280. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcfilescan.html +276 -0
  281. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcfini.html +219 -0
  282. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcfontlist.html +244 -0
  283. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcfontmatch.html +262 -0
  284. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcfontrenderprepare.html +259 -0
  285. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcfontsetadd.html +223 -0
  286. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcfontsetcreate.html +216 -0
  287. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcfontsetdestroy.html +217 -0
  288. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcfontsetlist.html +261 -0
  289. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcfontsetmatch.html +273 -0
  290. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcfontsetprint.html +224 -0
  291. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcfontsetsort.html +303 -0
  292. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcfontsetsortdestroy.html +222 -0
  293. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcfontsort.html +289 -0
  294. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcfreetypecharindex.html +226 -0
  295. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcfreetypecharset.html +225 -0
  296. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcfreetypecharsetandspacing.html +241 -0
  297. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcfreetypequery.html +233 -0
  298. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcfreetypequeryface.html +222 -0
  299. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcgetlangs.html +216 -0
  300. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcgetversion.html +216 -0
  301. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcinit.html +219 -0
  302. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcinitbringuptodate.html +208 -0
  303. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcinitloadconfig.html +217 -0
  304. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcinitloadconfigandfonts.html +217 -0
  305. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcinitreinitialize.html +219 -0
  306. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcislower.html +222 -0
  307. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcisupper.html +222 -0
  308. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fclanggetcharset.html +205 -0
  309. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fclangsetadd.html +239 -0
  310. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fclangsetcompare.html +239 -0
  311. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fclangsetcontains.html +259 -0
  312. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fclangsetcopy.html +225 -0
  313. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fclangsetcreate.html +219 -0
  314. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fclangsetdestroy.html +220 -0
  315. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fclangsetequal.html +232 -0
  316. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fclangsetgetlangs.html +221 -0
  317. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fclangsethash.html +233 -0
  318. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fclangsethaslang.html +255 -0
  319. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcmatrixcopy.html +225 -0
  320. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcmatrixequal.html +236 -0
  321. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcmatrixinit.html +225 -0
  322. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcmatrixmultiply.html +246 -0
  323. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcmatrixrotate.html +261 -0
  324. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcmatrixscale.html +261 -0
  325. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcmatrixshear.html +250 -0
  326. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcnameconstant.html +221 -0
  327. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcnamegetconstant.html +221 -0
  328. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcnamegetobjecttype.html +210 -0
  329. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcnameparse.html +221 -0
  330. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcnameregisterconstants.html +228 -0
  331. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcnameregisterobjecttypes.html +228 -0
  332. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcnameunparse.html +218 -0
  333. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcnameunregisterconstants.html +228 -0
  334. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcnameunregisterobjecttypes.html +226 -0
  335. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcobjectsetadd.html +222 -0
  336. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcobjectsetbuild.html +262 -0
  337. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcobjectsetcreate.html +216 -0
  338. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcobjectsetdestroy.html +216 -0
  339. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcpatternadd-type.html +404 -0
  340. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcpatternadd.html +240 -0
  341. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcpatternaddweak.html +242 -0
  342. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcpatternbuild.html +313 -0
  343. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcpatterncreate.html +216 -0
  344. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcpatterndel.html +222 -0
  345. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcpatterndestroy.html +217 -0
  346. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcpatternduplicate.html +223 -0
  347. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcpatternequal.html +231 -0
  348. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcpatternequalsubset.html +242 -0
  349. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcpatternfilter.html +244 -0
  350. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcpatternformat.html +602 -0
  351. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcpatternget-type.html +435 -0
  352. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcpatternget.html +249 -0
  353. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcpatternhash.html +217 -0
  354. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcpatternprint.html +218 -0
  355. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcpatternreference.html +222 -0
  356. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcpatternremove.html +227 -0
  357. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcstrbasename.html +212 -0
  358. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcstrcmp.html +232 -0
  359. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcstrcmpignorecase.html +233 -0
  360. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcstrcopy.html +226 -0
  361. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcstrcopyfilename.html +234 -0
  362. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcstrdirname.html +223 -0
  363. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcstrdowncase.html +222 -0
  364. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcstrfree.html +217 -0
  365. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcstrlistcreate.html +221 -0
  366. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcstrlistdone.html +210 -0
  367. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcstrlistnext.html +221 -0
  368. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcstrplus.html +233 -0
  369. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcstrsetadd.html +231 -0
  370. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcstrsetaddfilename.html +233 -0
  371. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcstrsetcreate.html +216 -0
  372. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcstrsetdel.html +237 -0
  373. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcstrsetdestroy.html +221 -0
  374. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcstrsetequal.html +233 -0
  375. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcstrsetmember.html +232 -0
  376. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcstrstr.html +244 -0
  377. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcstrstrignorecase.html +244 -0
  378. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fctolower.html +222 -0
  379. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcucs4toutf8.html +233 -0
  380. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcutf16len.html +278 -0
  381. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcutf16toucs4.html +265 -0
  382. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcutf8len.html +261 -0
  383. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcutf8toucs4.html +249 -0
  384. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcvaluedestroy.html +222 -0
  385. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcvalueequal.html +212 -0
  386. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcvalueprint.html +223 -0
  387. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcvaluesave.html +227 -0
  388. data/vendor/local/share/doc/fontconfig/fontconfig-devel/ln12.html +128 -0
  389. data/vendor/local/share/doc/fontconfig/fontconfig-devel/t1.html +133 -0
  390. data/vendor/local/share/doc/fontconfig/fontconfig-devel/x102.html +1463 -0
  391. data/vendor/local/share/doc/fontconfig/fontconfig-devel/x19.html +264 -0
  392. data/vendor/local/share/doc/fontconfig/fontconfig-devel/x31.html +590 -0
  393. data/vendor/local/share/doc/fontconfig/fontconfig-user.html +1352 -0
  394. data/vendor/local/share/doc/fontconfig/fontconfig-user.pdf +0 -0
  395. data/vendor/local/share/doc/fontconfig/fontconfig-user.txt +644 -0
  396. data/vendor/local/share/doc/gtk+-bundle_2.22.0-20101016_win32/components.lst +28 -0
  397. data/vendor/local/share/doc/{pango-1.28.1 → pango-1.28.3}/COPYING +0 -0
  398. data/vendor/local/share/doc/{pango-dev-1.28.1 → pango-dev-1.28.3}/COPYING +0 -0
  399. data/vendor/local/share/gtk-doc/html/pango/PangoEngineLang.html +44 -50
  400. data/vendor/local/share/gtk-doc/html/pango/PangoEngineShape.html +45 -51
  401. data/vendor/local/share/gtk-doc/html/pango/PangoFcDecoder.html +44 -61
  402. data/vendor/local/share/gtk-doc/html/pango/PangoFcFont.html +89 -101
  403. data/vendor/local/share/gtk-doc/html/pango/PangoFcFontMap.html +173 -171
  404. data/vendor/local/share/gtk-doc/html/pango/PangoMarkupFormat.html +6 -27
  405. data/vendor/local/share/gtk-doc/html/pango/index-1.10.html +3 -24
  406. data/vendor/local/share/gtk-doc/html/pango/index-1.12.html +3 -24
  407. data/vendor/local/share/gtk-doc/html/pango/index-1.14.html +3 -24
  408. data/vendor/local/share/gtk-doc/html/pango/index-1.16.html +3 -24
  409. data/vendor/local/share/gtk-doc/html/pango/index-1.18.html +5 -26
  410. data/vendor/local/share/gtk-doc/html/pango/index-1.2.html +3 -24
  411. data/vendor/local/share/gtk-doc/html/pango/index-1.20.html +5 -26
  412. data/vendor/local/share/gtk-doc/html/pango/index-1.22.html +5 -26
  413. data/vendor/local/share/gtk-doc/html/pango/index-1.24.html +3 -24
  414. data/vendor/local/share/gtk-doc/html/pango/index-1.26.html +3 -24
  415. data/vendor/local/share/gtk-doc/html/pango/index-1.28.html +3 -24
  416. data/vendor/local/share/gtk-doc/html/pango/index-1.4.html +3 -24
  417. data/vendor/local/share/gtk-doc/html/pango/index-1.6.html +6 -27
  418. data/vendor/local/share/gtk-doc/html/pango/index-1.8.html +22 -43
  419. data/vendor/local/share/gtk-doc/html/pango/index-all.html +70 -91
  420. data/vendor/local/share/gtk-doc/html/pango/index-deprecated.html +3 -24
  421. data/vendor/local/share/gtk-doc/html/pango/index.html +5 -26
  422. data/vendor/local/share/gtk-doc/html/pango/index.sgml +31 -30
  423. data/vendor/local/share/gtk-doc/html/pango/lowlevel.html +6 -27
  424. data/vendor/local/share/gtk-doc/html/pango/pango-ATSUI-Fonts.html +20 -39
  425. data/vendor/local/share/gtk-doc/html/pango/pango-Bidirectional-Text.html +73 -88
  426. data/vendor/local/share/gtk-doc/html/pango/pango-Cairo-Rendering.html +405 -320
  427. data/vendor/local/share/gtk-doc/html/pango/pango-Coverage-Maps.html +85 -97
  428. data/vendor/local/share/gtk-doc/html/pango/pango-Engines.html +69 -84
  429. data/vendor/local/share/gtk-doc/html/pango/pango-Fonts.html +695 -645
  430. data/vendor/local/share/gtk-doc/html/pango/pango-FreeType-Fonts-and-Rendering.html +225 -228
  431. data/vendor/local/share/gtk-doc/html/pango/pango-Glyph-Storage.html +523 -494
  432. data/vendor/local/share/gtk-doc/html/pango/pango-Layout-Objects.html +819 -742
  433. data/vendor/local/share/gtk-doc/html/pango/pango-Miscellaneous-Utilities.html +203 -204
  434. data/vendor/local/share/gtk-doc/html/pango/pango-Modules.html +58 -75
  435. data/vendor/local/share/gtk-doc/html/pango/pango-OpenType-Font-Handling.html +422 -405
  436. data/vendor/local/share/gtk-doc/html/pango/pango-Scripts-and-Languages.html +144 -142
  437. data/vendor/local/share/gtk-doc/html/pango/pango-Tab-Stops.html +120 -130
  438. data/vendor/local/share/gtk-doc/html/pango/pango-Text-Attributes.html +618 -576
  439. data/vendor/local/share/gtk-doc/html/pango/pango-Text-Processing.html +397 -384
  440. data/vendor/local/share/gtk-doc/html/pango/pango-Version-Checking.html +44 -58
  441. data/vendor/local/share/gtk-doc/html/pango/pango-Vertical-Text.html +73 -84
  442. data/vendor/local/share/gtk-doc/html/pango/pango-Win32-Fonts-and-Rendering.html +220 -217
  443. data/vendor/local/share/gtk-doc/html/pango/pango-X-Fonts-and-Rendering.html +303 -302
  444. data/vendor/local/share/gtk-doc/html/pango/pango-Xft-Fonts-and-Rendering.html +293 -292
  445. data/vendor/local/share/gtk-doc/html/pango/pango-hierarchy.html +5 -26
  446. data/vendor/local/share/gtk-doc/html/pango/pango-pango-renderer.html +1009 -0
  447. data/vendor/local/share/gtk-doc/html/pango/pango-querymodules.html +7 -28
  448. data/vendor/local/share/gtk-doc/html/pango/pango.devhelp +68 -68
  449. data/vendor/local/share/gtk-doc/html/pango/pango.devhelp2 +72 -72
  450. data/vendor/local/share/gtk-doc/html/pango/pango.html +3 -24
  451. data/vendor/local/share/gtk-doc/html/pango/rendering.html +3 -24
  452. data/vendor/local/share/gtk-doc/html/pango/style.css +21 -13
  453. data/vendor/local/share/gtk-doc/html/pango/tools.html +3 -24
  454. data/vendor/local/share/locale/af/LC_MESSAGES/atk10.mo +0 -0
  455. data/vendor/local/share/locale/am/LC_MESSAGES/atk10.mo +0 -0
  456. data/vendor/local/share/locale/ar/LC_MESSAGES/atk10.mo +0 -0
  457. data/vendor/local/share/locale/as/LC_MESSAGES/atk10.mo +0 -0
  458. data/vendor/local/share/locale/ast/LC_MESSAGES/atk10.mo +0 -0
  459. data/vendor/local/share/locale/az/LC_MESSAGES/atk10.mo +0 -0
  460. data/vendor/local/share/locale/be/LC_MESSAGES/atk10.mo +0 -0
  461. data/vendor/local/share/locale/be@latin/LC_MESSAGES/atk10.mo +0 -0
  462. data/vendor/local/share/locale/bg/LC_MESSAGES/atk10.mo +0 -0
  463. data/vendor/local/share/locale/bn/LC_MESSAGES/atk10.mo +0 -0
  464. data/vendor/local/share/locale/bn_IN/LC_MESSAGES/atk10.mo +0 -0
  465. data/vendor/local/share/locale/bs/LC_MESSAGES/atk10.mo +0 -0
  466. data/vendor/local/share/locale/ca/LC_MESSAGES/atk10.mo +0 -0
  467. data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/atk10.mo +0 -0
  468. data/vendor/local/share/locale/cs/LC_MESSAGES/atk10.mo +0 -0
  469. data/vendor/local/share/locale/cy/LC_MESSAGES/atk10.mo +0 -0
  470. data/vendor/local/share/locale/da/LC_MESSAGES/atk10.mo +0 -0
  471. data/vendor/local/share/locale/de/LC_MESSAGES/atk10.mo +0 -0
  472. data/vendor/local/share/locale/dz/LC_MESSAGES/atk10.mo +0 -0
  473. data/vendor/local/share/locale/el/LC_MESSAGES/atk10.mo +0 -0
  474. data/vendor/local/share/locale/en@shaw/LC_MESSAGES/atk10.mo +0 -0
  475. data/vendor/local/share/locale/en_CA/LC_MESSAGES/atk10.mo +0 -0
  476. data/vendor/local/share/locale/en_GB/LC_MESSAGES/atk10.mo +0 -0
  477. data/vendor/local/share/locale/eo/LC_MESSAGES/atk10.mo +0 -0
  478. data/vendor/local/share/locale/es/LC_MESSAGES/atk10.mo +0 -0
  479. data/vendor/local/share/locale/et/LC_MESSAGES/atk10.mo +0 -0
  480. data/vendor/local/share/locale/eu/LC_MESSAGES/atk10.mo +0 -0
  481. data/vendor/local/share/locale/fa/LC_MESSAGES/atk10.mo +0 -0
  482. data/vendor/local/share/locale/fi/LC_MESSAGES/atk10.mo +0 -0
  483. data/vendor/local/share/locale/fr/LC_MESSAGES/atk10.mo +0 -0
  484. data/vendor/local/share/locale/ga/LC_MESSAGES/atk10.mo +0 -0
  485. data/vendor/local/share/locale/gl/LC_MESSAGES/atk10.mo +0 -0
  486. data/vendor/local/share/locale/gu/LC_MESSAGES/atk10.mo +0 -0
  487. data/vendor/local/share/locale/he/LC_MESSAGES/atk10.mo +0 -0
  488. data/vendor/local/share/locale/hi/LC_MESSAGES/atk10.mo +0 -0
  489. data/vendor/local/share/locale/hr/LC_MESSAGES/atk10.mo +0 -0
  490. data/vendor/local/share/locale/hu/LC_MESSAGES/atk10.mo +0 -0
  491. data/vendor/local/share/locale/hy/LC_MESSAGES/atk10.mo +0 -0
  492. data/vendor/local/share/locale/id/LC_MESSAGES/atk10.mo +0 -0
  493. data/vendor/local/share/locale/is/LC_MESSAGES/atk10.mo +0 -0
  494. data/vendor/local/share/locale/it/LC_MESSAGES/atk10.mo +0 -0
  495. data/vendor/local/share/locale/ja/LC_MESSAGES/atk10.mo +0 -0
  496. data/vendor/local/share/locale/ka/LC_MESSAGES/atk10.mo +0 -0
  497. data/vendor/local/share/locale/kk/LC_MESSAGES/atk10.mo +0 -0
  498. data/vendor/local/share/locale/kn/LC_MESSAGES/atk10.mo +0 -0
  499. data/vendor/local/share/locale/ko/LC_MESSAGES/atk10.mo +0 -0
  500. data/vendor/local/share/locale/ku/LC_MESSAGES/atk10.mo +0 -0
  501. data/vendor/local/share/locale/li/LC_MESSAGES/atk10.mo +0 -0
  502. data/vendor/local/share/locale/lt/LC_MESSAGES/atk10.mo +0 -0
  503. data/vendor/local/share/locale/lv/LC_MESSAGES/atk10.mo +0 -0
  504. data/vendor/local/share/locale/mai/LC_MESSAGES/atk10.mo +0 -0
  505. data/vendor/local/share/locale/mk/LC_MESSAGES/atk10.mo +0 -0
  506. data/vendor/local/share/locale/ml/LC_MESSAGES/atk10.mo +0 -0
  507. data/vendor/local/share/locale/mn/LC_MESSAGES/atk10.mo +0 -0
  508. data/vendor/local/share/locale/mr/LC_MESSAGES/atk10.mo +0 -0
  509. data/vendor/local/share/locale/ms/LC_MESSAGES/atk10.mo +0 -0
  510. data/vendor/local/share/locale/nb/LC_MESSAGES/atk10.mo +0 -0
  511. data/vendor/local/share/locale/ne/LC_MESSAGES/atk10.mo +0 -0
  512. data/vendor/local/share/locale/nl/LC_MESSAGES/atk10.mo +0 -0
  513. data/vendor/local/share/locale/nn/LC_MESSAGES/atk10.mo +0 -0
  514. data/vendor/local/share/locale/oc/LC_MESSAGES/atk10.mo +0 -0
  515. data/vendor/local/share/locale/or/LC_MESSAGES/atk10.mo +0 -0
  516. data/vendor/local/share/locale/pa/LC_MESSAGES/atk10.mo +0 -0
  517. data/vendor/local/share/locale/pl/LC_MESSAGES/atk10.mo +0 -0
  518. data/vendor/local/share/locale/ps/LC_MESSAGES/atk10.mo +0 -0
  519. data/vendor/local/share/locale/pt/LC_MESSAGES/atk10.mo +0 -0
  520. data/vendor/local/share/locale/pt_BR/LC_MESSAGES/atk10.mo +0 -0
  521. data/vendor/local/share/locale/ro/LC_MESSAGES/atk10.mo +0 -0
  522. data/vendor/local/share/locale/ru/LC_MESSAGES/atk10.mo +0 -0
  523. data/vendor/local/share/locale/rw/LC_MESSAGES/atk10.mo +0 -0
  524. data/vendor/local/share/locale/si/LC_MESSAGES/atk10.mo +0 -0
  525. data/vendor/local/share/locale/sk/LC_MESSAGES/atk10.mo +0 -0
  526. data/vendor/local/share/locale/sl/LC_MESSAGES/atk10.mo +0 -0
  527. data/vendor/local/share/locale/sq/LC_MESSAGES/atk10.mo +0 -0
  528. data/vendor/local/share/locale/sr/LC_MESSAGES/atk10.mo +0 -0
  529. data/vendor/local/share/locale/sr@ije/LC_MESSAGES/atk10.mo +0 -0
  530. data/vendor/local/share/locale/sr@latin/LC_MESSAGES/atk10.mo +0 -0
  531. data/vendor/local/share/locale/sv/LC_MESSAGES/atk10.mo +0 -0
  532. data/vendor/local/share/locale/ta/LC_MESSAGES/atk10.mo +0 -0
  533. data/vendor/local/share/locale/te/LC_MESSAGES/atk10.mo +0 -0
  534. data/vendor/local/share/locale/th/LC_MESSAGES/atk10.mo +0 -0
  535. data/vendor/local/share/locale/tk/LC_MESSAGES/atk10.mo +0 -0
  536. data/vendor/local/share/locale/tr/LC_MESSAGES/atk10.mo +0 -0
  537. data/vendor/local/share/locale/tt/LC_MESSAGES/atk10.mo +0 -0
  538. data/vendor/local/share/locale/ug/LC_MESSAGES/atk10.mo +0 -0
  539. data/vendor/local/share/locale/uk/LC_MESSAGES/atk10.mo +0 -0
  540. data/vendor/local/share/locale/vi/LC_MESSAGES/atk10.mo +0 -0
  541. data/vendor/local/share/locale/wa/LC_MESSAGES/atk10.mo +0 -0
  542. data/vendor/local/share/locale/xh/LC_MESSAGES/atk10.mo +0 -0
  543. data/vendor/local/share/locale/yi/LC_MESSAGES/atk10.mo +0 -0
  544. data/vendor/local/share/locale/zh_CN/LC_MESSAGES/atk10.mo +0 -0
  545. data/vendor/local/share/locale/zh_HK/LC_MESSAGES/atk10.mo +0 -0
  546. data/vendor/local/share/locale/zh_TW/LC_MESSAGES/atk10.mo +0 -0
  547. data/vendor/local/share/man/man1/fc-cache.1 +70 -0
  548. data/vendor/local/share/man/man1/fc-cat.1 +44 -0
  549. data/vendor/local/share/man/man1/fc-list.1 +72 -0
  550. data/vendor/local/share/man/man1/fc-match.1 +73 -0
  551. data/vendor/local/share/man/man1/fc-query.1 +57 -0
  552. data/vendor/local/share/man/man1/fc-scan.1 +52 -0
  553. data/vendor/local/share/man/man1/pango-querymodules.1 +2 -2
  554. data/vendor/local/share/man/man1/pango-view.1 +1 -1
  555. data/vendor/local/share/man/man3/FcAtomicCreate.3 +19 -0
  556. data/vendor/local/share/man/man3/FcAtomicDeleteNew.3 +16 -0
  557. data/vendor/local/share/man/man3/FcAtomicDestroy.3 +16 -0
  558. data/vendor/local/share/man/man3/FcAtomicLock.3 +18 -0
  559. data/vendor/local/share/man/man3/FcAtomicNewFile.3 +17 -0
  560. data/vendor/local/share/man/man3/FcAtomicOrigFile.3 +16 -0
  561. data/vendor/local/share/man/man3/FcAtomicReplaceOrig.3 +18 -0
  562. data/vendor/local/share/man/man3/FcAtomicUnlock.3 +16 -0
  563. data/vendor/local/share/man/man3/FcBlanksAdd.3 +18 -0
  564. data/vendor/local/share/man/man3/FcBlanksCreate.3 +16 -0
  565. data/vendor/local/share/man/man3/FcBlanksDestroy.3 +16 -0
  566. data/vendor/local/share/man/man3/FcBlanksIsMember.3 +18 -0
  567. data/vendor/local/share/man/man3/FcCacheCopySet.3 +18 -0
  568. data/vendor/local/share/man/man3/FcCacheDir.3 +16 -0
  569. data/vendor/local/share/man/man3/FcCacheNumFont.3 +17 -0
  570. data/vendor/local/share/man/man3/FcCacheNumSubdir.3 +16 -0
  571. data/vendor/local/share/man/man3/FcCacheSubdir.3 +20 -0
  572. data/vendor/local/share/man/man3/FcCharSetAddChar.3 +19 -0
  573. data/vendor/local/share/man/man3/FcCharSetCopy.3 +17 -0
  574. data/vendor/local/share/man/man3/FcCharSetCount.3 +16 -0
  575. data/vendor/local/share/man/man3/FcCharSetCoverage.3 +23 -0
  576. data/vendor/local/share/man/man3/FcCharSetCreate.3 +17 -0
  577. data/vendor/local/share/man/man3/FcCharSetDestroy.3 +18 -0
  578. data/vendor/local/share/man/man3/FcCharSetEqual.3 +18 -0
  579. data/vendor/local/share/man/man3/FcCharSetFirstPage.3 +20 -0
  580. data/vendor/local/share/man/man3/FcCharSetHasChar.3 +17 -0
  581. data/vendor/local/share/man/man3/FcCharSetIntersect.3 +18 -0
  582. data/vendor/local/share/man/man3/FcCharSetIntersectCount.3 +17 -0
  583. data/vendor/local/share/man/man3/FcCharSetIsSubset.3 +17 -0
  584. data/vendor/local/share/man/man3/FcCharSetMerge.3 +23 -0
  585. data/vendor/local/share/man/man3/FcCharSetNew.3 +16 -0
  586. data/vendor/local/share/man/man3/FcCharSetNextPage.3 +20 -0
  587. data/vendor/local/share/man/man3/FcCharSetSubtract.3 +17 -0
  588. data/vendor/local/share/man/man3/FcCharSetSubtractCount.3 +17 -0
  589. data/vendor/local/share/man/man3/FcCharSetUnion.3 +17 -0
  590. data/vendor/local/share/man/man3/FcConfigAppFontAddDir.3 +20 -0
  591. data/vendor/local/share/man/man3/FcConfigAppFontAddFile.3 +19 -0
  592. data/vendor/local/share/man/man3/FcConfigAppFontClear.3 +17 -0
  593. data/vendor/local/share/man/man3/FcConfigBuildFonts.3 +19 -0
  594. data/vendor/local/share/man/man3/FcConfigCreate.3 +16 -0
  595. data/vendor/local/share/man/man3/FcConfigDestroy.3 +19 -0
  596. data/vendor/local/share/man/man3/FcConfigEnableHome.3 +20 -0
  597. data/vendor/local/share/man/man3/FcConfigFilename.3 +26 -0
  598. data/vendor/local/share/man/man3/FcConfigGetBlanks.3 +20 -0
  599. data/vendor/local/share/man/man3/FcConfigGetCache.3 +17 -0
  600. data/vendor/local/share/man/man3/FcConfigGetCacheDirs.3 +19 -0
  601. data/vendor/local/share/man/man3/FcConfigGetConfigDirs.3 +18 -0
  602. data/vendor/local/share/man/man3/FcConfigGetConfigFiles.3 +17 -0
  603. data/vendor/local/share/man/man3/FcConfigGetCurrent.3 +16 -0
  604. data/vendor/local/share/man/man3/FcConfigGetFontDirs.3 +19 -0
  605. data/vendor/local/share/man/man3/FcConfigGetFonts.3 +20 -0
  606. data/vendor/local/share/man/man3/FcConfigGetRescanInterval.3 +20 -0
  607. data/vendor/local/share/man/man3/FcConfigHome.3 +18 -0
  608. data/vendor/local/share/man/man3/FcConfigParseAndLoad.3 +23 -0
  609. data/vendor/local/share/man/man3/FcConfigReference.3 +21 -0
  610. data/vendor/local/share/man/man3/FcConfigSetCurrent.3 +17 -0
  611. data/vendor/local/share/man/man3/FcConfigSetRescanInterval.3 +20 -0
  612. data/vendor/local/share/man/man3/FcConfigSubstitute.3 +20 -0
  613. data/vendor/local/share/man/man3/FcConfigSubstituteWithPat.3 +24 -0
  614. data/vendor/local/share/man/man3/FcConfigUptoDate.3 +18 -0
  615. data/vendor/local/share/man/man3/FcDefaultSubstitute.3 +27 -0
  616. data/vendor/local/share/man/man3/FcDirCacheLoad.3 +21 -0
  617. data/vendor/local/share/man/man3/FcDirCacheLoadFile.3 +19 -0
  618. data/vendor/local/share/man/man3/FcDirCacheRead.3 +21 -0
  619. data/vendor/local/share/man/man3/FcDirCacheUnlink.3 +20 -0
  620. data/vendor/local/share/man/man3/FcDirCacheUnload.3 +17 -0
  621. data/vendor/local/share/man/man3/FcDirCacheValid.3 +17 -0
  622. data/vendor/local/share/man/man3/FcDirSave.3 +22 -0
  623. data/vendor/local/share/man/man3/FcDirScan.3 +26 -0
  624. data/vendor/local/share/man/man3/FcFileIsDir.3 +17 -0
  625. data/vendor/local/share/man/man3/FcFileScan.3 +31 -0
  626. data/vendor/local/share/man/man3/FcFini.3 +19 -0
  627. data/vendor/local/share/man/man3/FcFontList.3 +21 -0
  628. data/vendor/local/share/man/man3/FcFontMatch.3 +25 -0
  629. data/vendor/local/share/man/man3/FcFontRenderPrepare.3 +21 -0
  630. data/vendor/local/share/man/man3/FcFontSetAdd.3 +19 -0
  631. data/vendor/local/share/man/man3/FcFontSetCreate.3 +16 -0
  632. data/vendor/local/share/man/man3/FcFontSetDestroy.3 +17 -0
  633. data/vendor/local/share/man/man3/FcFontSetList.3 +25 -0
  634. data/vendor/local/share/man/man3/FcFontSetMatch.3 +28 -0
  635. data/vendor/local/share/man/man3/FcFontSetPrint.3 +19 -0
  636. data/vendor/local/share/man/man3/FcFontSetSort.3 +39 -0
  637. data/vendor/local/share/man/man3/FcFontSetSortDestroy.3 +19 -0
  638. data/vendor/local/share/man/man3/FcFontSort.3 +33 -0
  639. data/vendor/local/share/man/man3/FcFreeTypeCharIndex.3 +22 -0
  640. data/vendor/local/share/man/man3/FcFreeTypeCharSet.3 +21 -0
  641. data/vendor/local/share/man/man3/FcFreeTypeCharSetAndSpacing.3 +28 -0
  642. data/vendor/local/share/man/man3/FcFreeTypeQuery.3 +21 -0
  643. data/vendor/local/share/man/man3/FcFreeTypeQueryFace.3 +21 -0
  644. data/vendor/local/share/man/man3/FcGetLangs.3 +16 -0
  645. data/vendor/local/share/man/man3/FcGetVersion.3 +16 -0
  646. data/vendor/local/share/man/man3/FcInit.3 +19 -0
  647. data/vendor/local/share/man/man3/FcInitBringUptoDate.3 +19 -0
  648. data/vendor/local/share/man/man3/FcInitLoadConfig.3 +17 -0
  649. data/vendor/local/share/man/man3/FcInitLoadConfigAndFonts.3 +17 -0
  650. data/vendor/local/share/man/man3/FcInitReinitialize.3 +19 -0
  651. data/vendor/local/share/man/man3/FcIsLower.3 +17 -0
  652. data/vendor/local/share/man/man3/FcIsUpper.3 +17 -0
  653. data/vendor/local/share/man/man3/FcLangGetCharSet.3 +16 -0
  654. data/vendor/local/share/man/man3/FcLangSetAdd.3 +20 -0
  655. data/vendor/local/share/man/man3/FcLangSetCompare.3 +22 -0
  656. data/vendor/local/share/man/man3/FcLangSetContains.3 +22 -0
  657. data/vendor/local/share/man/man3/FcLangSetCopy.3 +17 -0
  658. data/vendor/local/share/man/man3/FcLangSetCreate.3 +16 -0
  659. data/vendor/local/share/man/man3/FcLangSetDestroy.3 +17 -0
  660. data/vendor/local/share/man/man3/FcLangSetEqual.3 +18 -0
  661. data/vendor/local/share/man/man3/FcLangSetGetLangs.3 +16 -0
  662. data/vendor/local/share/man/man3/FcLangSetHasLang.3 +23 -0
  663. data/vendor/local/share/man/man3/FcLangSetHash.3 +20 -0
  664. data/vendor/local/share/man/man3/FcMatrixCopy.3 +17 -0
  665. data/vendor/local/share/man/man3/FcMatrixEqual.3 +19 -0
  666. data/vendor/local/share/man/man3/FcMatrixInit.3 +17 -0
  667. data/vendor/local/share/man/man3/FcMatrixMultiply.3 +20 -0
  668. data/vendor/local/share/man/man3/FcMatrixRotate.3 +27 -0
  669. data/vendor/local/share/man/man3/FcMatrixScale.3 +27 -0
  670. data/vendor/local/share/man/man3/FcMatrixShear.3 +27 -0
  671. data/vendor/local/share/man/man3/FcNameConstant.3 +18 -0
  672. data/vendor/local/share/man/man3/FcNameGetConstant.3 +16 -0
  673. data/vendor/local/share/man/man3/FcNameGetObjectType.3 +16 -0
  674. data/vendor/local/share/man/man3/FcNameParse.3 +16 -0
  675. data/vendor/local/share/man/man3/FcNameRegisterConstants.3 +19 -0
  676. data/vendor/local/share/man/man3/FcNameRegisterObjectTypes.3 +19 -0
  677. data/vendor/local/share/man/man3/FcNameUnparse.3 +18 -0
  678. data/vendor/local/share/man/man3/FcNameUnregisterConstants.3 +19 -0
  679. data/vendor/local/share/man/man3/FcNameUnregisterObjectTypes.3 +17 -0
  680. data/vendor/local/share/man/man3/FcObjectSetAdd.3 +18 -0
  681. data/vendor/local/share/man/man3/FcObjectSetBuild.3 +26 -0
  682. data/vendor/local/share/man/man3/FcObjectSetCreate.3 +16 -0
  683. data/vendor/local/share/man/man3/FcObjectSetDestroy.3 +16 -0
  684. data/vendor/local/share/man/man3/FcPatternAdd-Type.3 +49 -0
  685. data/vendor/local/share/man/man3/FcPatternAdd.3 +23 -0
  686. data/vendor/local/share/man/man3/FcPatternAddWeak.3 +20 -0
  687. data/vendor/local/share/man/man3/FcPatternBuild.3 +50 -0
  688. data/vendor/local/share/man/man3/FcPatternCreate.3 +16 -0
  689. data/vendor/local/share/man/man3/FcPatternDel.3 +18 -0
  690. data/vendor/local/share/man/man3/FcPatternDestroy.3 +17 -0
  691. data/vendor/local/share/man/man3/FcPatternDuplicate.3 +18 -0
  692. data/vendor/local/share/man/man3/FcPatternEqual.3 +17 -0
  693. data/vendor/local/share/man/man3/FcPatternEqualSubset.3 +19 -0
  694. data/vendor/local/share/man/man3/FcPatternFilter.3 +20 -0
  695. data/vendor/local/share/man/man3/FcPatternFormat.3 +205 -0
  696. data/vendor/local/share/man/man3/FcPatternGet-Type.3 +56 -0
  697. data/vendor/local/share/man/man3/FcPatternGet.3 +22 -0
  698. data/vendor/local/share/man/man3/FcPatternHash.3 +17 -0
  699. data/vendor/local/share/man/man3/FcPatternPrint.3 +18 -0
  700. data/vendor/local/share/man/man3/FcPatternReference.3 +17 -0
  701. data/vendor/local/share/man/man3/FcPatternRemove.3 +19 -0
  702. data/vendor/local/share/man/man3/FcStrBasename.3 +18 -0
  703. data/vendor/local/share/man/man3/FcStrCmp.3 +18 -0
  704. data/vendor/local/share/man/man3/FcStrCmpIgnoreCase.3 +19 -0
  705. data/vendor/local/share/man/man3/FcStrCopy.3 +18 -0
  706. data/vendor/local/share/man/man3/FcStrCopyFilename.3 +23 -0
  707. data/vendor/local/share/man/man3/FcStrDirname.3 +18 -0
  708. data/vendor/local/share/man/man3/FcStrDowncase.3 +17 -0
  709. data/vendor/local/share/man/man3/FcStrFree.3 +17 -0
  710. data/vendor/local/share/man/man3/FcStrListCreate.3 +16 -0
  711. data/vendor/local/share/man/man3/FcStrListDone.3 +16 -0
  712. data/vendor/local/share/man/man3/FcStrListNext.3 +16 -0
  713. data/vendor/local/share/man/man3/FcStrPlus.3 +19 -0
  714. data/vendor/local/share/man/man3/FcStrSetAdd.3 +17 -0
  715. data/vendor/local/share/man/man3/FcStrSetAddFilename.3 +19 -0
  716. data/vendor/local/share/man/man3/FcStrSetCreate.3 +16 -0
  717. data/vendor/local/share/man/man3/FcStrSetDel.3 +18 -0
  718. data/vendor/local/share/man/man3/FcStrSetDestroy.3 +16 -0
  719. data/vendor/local/share/man/man3/FcStrSetEqual.3 +19 -0
  720. data/vendor/local/share/man/man3/FcStrSetMember.3 +18 -0
  721. data/vendor/local/share/man/man3/FcStrStr.3 +20 -0
  722. data/vendor/local/share/man/man3/FcStrStrIgnoreCase.3 +20 -0
  723. data/vendor/local/share/man/man3/FcToLower.3 +17 -0
  724. data/vendor/local/share/man/man3/FcUcs4ToUtf8.3 +19 -0
  725. data/vendor/local/share/man/man3/FcUtf16Len.3 +27 -0
  726. data/vendor/local/share/man/man3/FcUtf16ToUcs4.3 +23 -0
  727. data/vendor/local/share/man/man3/FcUtf8Len.3 +24 -0
  728. data/vendor/local/share/man/man3/FcUtf8ToUcs4.3 +21 -0
  729. data/vendor/local/share/man/man3/FcValueDestroy.3 +17 -0
  730. data/vendor/local/share/man/man3/FcValueEqual.3 +19 -0
  731. data/vendor/local/share/man/man3/FcValuePrint.3 +18 -0
  732. data/vendor/local/share/man/man3/FcValueSave.3 +17 -0
  733. data/vendor/local/share/man/man5/fonts-conf.5 +644 -0
  734. data/vendor/local/src/tml/packaging/atk_1.32.0-1_win32.log +730 -0
  735. data/vendor/local/src/tml/packaging/atk_1.32.0-1_win32.sh +53 -0
  736. data/vendor/local/src/tml/packaging/cairo_1.10.0-2_win32.log +1263 -0
  737. data/vendor/local/src/tml/packaging/cairo_1.10.0-2_win32.sh +84 -0
  738. data/vendor/local/src/tml/packaging/expat_2.0.1-1_win32.log +188 -0
  739. data/vendor/local/src/tml/packaging/expat_2.0.1-1_win32.sh +68 -0
  740. data/vendor/local/src/tml/packaging/fontconfig_2.8.0-2_win32.log +999 -0
  741. data/vendor/local/src/tml/packaging/fontconfig_2.8.0-2_win32.sh +79 -0
  742. data/vendor/local/src/tml/packaging/freetype_2.4.2-1_win32.log +364 -0
  743. data/vendor/local/src/tml/packaging/freetype_2.4.2-1_win32.sh +93 -0
  744. data/vendor/local/src/tml/packaging/{gtk+_2.22.0-1_win32.log → gtk+_2.22.0-2_win32.log} +1835 -1832
  745. data/vendor/local/src/tml/packaging/{gtk+_2.22.0-1_win32.sh → gtk+_2.22.0-2_win32.sh} +26 -1
  746. data/vendor/local/src/tml/packaging/{pango_1.28.1-2_win32.log → pango_1.28.3-1_win32.log} +293 -413
  747. data/vendor/local/src/tml/packaging/pango_1.28.3-1_win32.sh +56 -0
  748. data/vendor/local/src/tml/packaging/pixman_0.18.4-2_win32.log +291 -0
  749. data/vendor/local/src/tml/packaging/pixman_0.18.4-2_win32.sh +141 -0
  750. data/vendor/local/src/tml/packaging/pkg-config_0.23-3_win32.log +215 -0
  751. data/vendor/local/src/tml/packaging/pkg-config_0.23-3_win32.sh +278 -0
  752. data/vendor/local/src/tml/packaging/zlib_1.2.5-2_win32.log +42 -0
  753. data/vendor/local/src/tml/packaging/zlib_1.2.5-2_win32.sh +189 -0
  754. metadata +647 -26
  755. data/vendor/local/manifest/cairo_1.10.0-1_win32.mft +0 -5
  756. data/vendor/local/manifest/gtk+-dev_2.22.0-1_win32.mft +0 -947
  757. data/vendor/local/manifest/gtk+_2.22.0-1_win32.mft +0 -225
  758. data/vendor/local/share/gtk-doc/html/pango/PangoRenderer.html +0 -1002
  759. data/vendor/local/src/tml/packaging/pango_1.28.1-2_win32.sh +0 -579
@@ -0,0 +1,5046 @@
1
+ Fontconfig Developers Reference, Version 2.8.0
2
+
3
+ Copyright © 2002 Keith Packard
4
+
5
+ Permission to use, copy, modify, distribute, and sell this software and its
6
+ documentation for any purpose is hereby granted without fee, provided that the
7
+ above copyright notice appear in all copies and that both that copyright notice
8
+ and this permission notice appear in supporting documentation, and that the
9
+ name of Keith Packard not be used in advertising or publicity pertaining to
10
+ distribution of the software without specific, written prior permission. Keith
11
+ Packard makes no representations about the suitability of this software for any
12
+ purpose. It is provided "as is" without express or implied warranty.
13
+
14
+ THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
15
+ ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL THE
16
+ AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY
17
+ DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
18
+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
19
+ CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
20
+
21
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
22
+
23
+ Table of Contents
24
+ DESCRIPTION
25
+ FUNCTIONAL OVERVIEW
26
+ Datatypes
27
+ FUNCTIONS
28
+
29
+ DESCRIPTION
30
+
31
+ Fontconfig is a library designed to provide system-wide font configuration,
32
+ customization and application access.
33
+
34
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
35
+
36
+ FUNCTIONAL OVERVIEW
37
+
38
+ Fontconfig contains two essential modules, the configuration module which
39
+ builds an internal configuration from XML files and the matching module which
40
+ accepts font patterns and returns the nearest matching font.
41
+
42
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
43
+
44
+ FONT CONFIGURATION
45
+
46
+ The configuration module consists of the FcConfig datatype, libexpat and
47
+ FcConfigParse which walks over an XML tree and ammends a configuration with
48
+ data found within. From an external perspective, configuration of the library
49
+ consists of generating a valid XML tree and feeding that to FcConfigParse. The
50
+ only other mechanism provided to applications for changing the running
51
+ configuration is to add fonts and directories to the list of
52
+ application-provided font files.
53
+
54
+ The intent is to make font configurations relatively static, and shared by as
55
+ many applications as possible. It is hoped that this will lead to more stable
56
+ font selection when passing names from one application to another. XML was
57
+ chosen as a configuration file format because it provides a format which is
58
+ easy for external agents to edit while retaining the correct structure and
59
+ syntax.
60
+
61
+ Font configuration is separate from font matching; applications needing to do
62
+ their own matching can access the available fonts from the library and perform
63
+ private matching. The intent is to permit applications to pick and choose
64
+ appropriate functionality from the library instead of forcing them to choose
65
+ between this library and a private configuration mechanism. The hope is that
66
+ this will ensure that configuration of fonts for all applications can be
67
+ centralized in one place. Centralizing font configuration will simplify and
68
+ regularize font installation and customization.
69
+
70
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
71
+
72
+ FONT PROPERTIES
73
+
74
+ While font patterns may contain essentially any properties, there are some well
75
+ known properties with associated types. Fontconfig uses some of these
76
+ properties for font matching and font completion. Others are provided as a
77
+ convenience for the applications rendering mechanism.
78
+
79
+ Property Definitions
80
+
81
+ Property CPP Symbol Type Description
82
+ ----------------------------------------------------
83
+ family FC_FAMILY String Font family names
84
+ familylang FC_FAMILYLANG String Language cooresponding to
85
+ each family name
86
+ style FC_STYLE String Font style. Overrides weight
87
+ and slant
88
+ stylelang FC_STYLELANG String Language cooresponding to
89
+ each style name
90
+ fullname FC_FULLNAME String Font face full name where
91
+ different from family and
92
+ family + style
93
+ fullnamelang FC_FULLNAMELANG String Language cooresponding to
94
+ each fullname
95
+ slant FC_SLANT Int Italic, oblique or roman
96
+ weight FC_WEIGHT Int Light, medium, demibold,
97
+ bold or black
98
+ size FC_SIZE Double Point size
99
+ width FC_WIDTH Int Condensed, normal or expanded
100
+ aspect FC_ASPECT Double Stretches glyphs horizontally
101
+ before hinting
102
+ pixelsize FC_PIXEL_SIZE Double Pixel size
103
+ spacing FC_SPACING Int Proportional, dual-width,
104
+ monospace or charcell
105
+ foundry FC_FOUNDRY String Font foundry name
106
+ antialias FC_ANTIALIAS Bool Whether glyphs can be
107
+ antialiased
108
+ hinting FC_HINTING Bool Whether the rasterizer should
109
+ use hinting
110
+ hintstyle FC_HINT_STYLE Int Automatic hinting style
111
+ verticallayout FC_VERTICAL_LAYOUT Bool Use vertical layout
112
+ autohint FC_AUTOHINT Bool Use autohinter instead of
113
+ normal hinter
114
+ globaladvance FC_GLOBAL_ADVANCE Bool Use font global advance data
115
+ file FC_FILE String The filename holding the font
116
+ index FC_INDEX Int The index of the font within
117
+ the file
118
+ ftface FC_FT_FACE FT_Face Use the specified FreeType
119
+ face object
120
+ rasterizer FC_RASTERIZER String Which rasterizer is in use
121
+ outline FC_OUTLINE Bool Whether the glyphs are outlines
122
+ scalable FC_SCALABLE Bool Whether glyphs can be scaled
123
+ scale FC_SCALE Double Scale factor for point->pixel
124
+ conversions
125
+ dpi FC_DPI Double Target dots per inch
126
+ rgba FC_RGBA Int unknown, rgb, bgr, vrgb,
127
+ vbgr, none - subpixel geometry
128
+ lcdfilter FC_LCD_FILTER Int Type of LCD filter
129
+ minspace FC_MINSPACE Bool Eliminate leading from line
130
+ spacing
131
+ charset FC_CHARSET CharSet Unicode chars encoded by
132
+ the font
133
+ lang FC_LANG LangSet Set of RFC-3066-style
134
+ languages this font supports
135
+ fontversion FC_FONTVERSION Int Version number of the font
136
+ capability FC_CAPABILITY String List of layout capabilities in
137
+ the font
138
+ embolden FC_EMBOLDEN Bool Rasterizer should
139
+ synthetically embolden the font
140
+
141
+
142
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
143
+
144
+ Datatypes
145
+
146
+ Fontconfig uses abstract datatypes to hide internal implementation details for
147
+ most data structures. A few structures are exposed where appropriate.
148
+
149
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
150
+
151
+ FcChar8, FcChar16, FcChar32, FcBool
152
+
153
+ These are primitive datatypes; the FcChar* types hold precisely the number of
154
+ bits stated (if supported by the C implementation). FcBool holds one of two CPP
155
+ symbols: FcFalse or FcTrue.
156
+
157
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
158
+
159
+ FcMatrix
160
+
161
+ An FcMatrix holds an affine transformation, usually used to reshape glyphs. A
162
+ small set of matrix operations are provided to manipulate these.
163
+
164
+ typedef struct _FcMatrix {
165
+ double xx, xy, yx, yy;
166
+ } FcMatrix;
167
+
168
+
169
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
170
+
171
+ FcCharSet
172
+
173
+ An FcCharSet is an abstract type that holds the set of encoded unicode chars in
174
+ a font. Operations to build and compare these sets are provided.
175
+
176
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
177
+
178
+ FcLangSet
179
+
180
+ An FcLangSet is an abstract type that holds the set of languages supported by a
181
+ font. Operations to build and compare these sets are provided. These are
182
+ computed for a font based on orthographic information built into the fontconfig
183
+ library. Fontconfig has orthographies for all of the ISO 639-1 languages except
184
+ for MS, NA, PA, PS, QU, RN, RW, SD, SG, SN, SU and ZA. If you have orthographic
185
+ information for any of these languages, please submit them.
186
+
187
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
188
+
189
+ FcLangResult
190
+
191
+ An FcLangResult is an enumeration used to return the results of comparing two
192
+ language strings or FcLangSet objects. FcLangEqual means the objects match
193
+ language and territory. FcLangDifferentTerritory means the objects match in
194
+ language but differ in territory. FcLangDifferentLang means the objects differ
195
+ in language.
196
+
197
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
198
+
199
+ FcType
200
+
201
+ Tags the kind of data stored in an FcValue.
202
+
203
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
204
+
205
+ FcValue
206
+
207
+ An FcValue object holds a single value with one of a number of different types.
208
+ The 'type' tag indicates which member is valid.
209
+
210
+ typedef struct _FcValue {
211
+ FcType type;
212
+ union {
213
+ const FcChar8 *s;
214
+ int i;
215
+ FcBool b;
216
+ double d;
217
+ const FcMatrix *m;
218
+ const FcCharSet *c;
219
+ void *f;
220
+ const FcLangSet *l;
221
+ } u;
222
+ } FcValue;
223
+
224
+
225
+ FcValue Members
226
+
227
+ Type Union member Datatype
228
+ --------------------------------
229
+ FcTypeVoid (none) (none)
230
+ FcTypeInteger i int
231
+ FcTypeDouble d double
232
+ FcTypeString s FcChar8 *
233
+ FcTypeBool b b
234
+ FcTypeMatrix m FcMatrix *
235
+ FcTypeCharSet c FcCharSet *
236
+ FcTypeFTFace f void * (FT_Face)
237
+ FcTypeLangSet l FcLangSet *
238
+
239
+
240
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
241
+
242
+ FcPattern
243
+
244
+ holds a set of names with associated value lists; each name refers to a
245
+ property of a font. FcPatterns are used as inputs to the matching code as well
246
+ as holding information about specific fonts. Each property can hold one or more
247
+ values; conventionally all of the same type, although the interface doesn't
248
+ demand that.
249
+
250
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
251
+
252
+ FcFontSet
253
+
254
+ typedef struct _FcFontSet {
255
+ int nfont;
256
+ int sfont;
257
+ FcPattern **fonts;
258
+ } FcFontSet;
259
+
260
+
261
+ An FcFontSet contains a list of FcPatterns. Internally fontconfig uses this
262
+ data structure to hold sets of fonts. Externally, fontconfig returns the
263
+ results of listing fonts in this format. 'nfont' holds the number of patterns
264
+ in the 'fonts' array; 'sfont' is used to indicate the size of that array.
265
+
266
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
267
+
268
+ FcStrSet, FcStrList
269
+
270
+ FcStrSet holds a list of strings that can be appended to and enumerated. Its
271
+ unique characteristic is that the enumeration works even while strings are
272
+ appended during enumeration. FcStrList is used during enumeration to safely and
273
+ correctly walk the list of strings even while that list is edited in the middle
274
+ of enumeration.
275
+
276
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
277
+
278
+ FcObjectSet
279
+
280
+ typedef struct _FcObjectSet {
281
+ int nobject;
282
+ int sobject;
283
+ const char **objects;
284
+ } FcObjectSet;
285
+
286
+
287
+ holds a set of names and is used to specify which fields from fonts are placed
288
+ in the the list of returned patterns when listing fonts.
289
+
290
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
291
+
292
+ FcObjectType
293
+
294
+ typedef struct _FcObjectType {
295
+ const char *object;
296
+ FcType type;
297
+ } FcObjectType;
298
+
299
+
300
+ marks the type of a pattern element generated when parsing font names.
301
+ Applications can add new object types so that font names may contain the new
302
+ elements.
303
+
304
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
305
+
306
+ FcConstant
307
+
308
+ typedef struct _FcConstant {
309
+ const FcChar8 *name;
310
+ const char *object;
311
+ int value;
312
+ } FcConstant;
313
+
314
+
315
+ Provides for symbolic constants for new pattern elements. When 'name' is seen
316
+ in a font name, an 'object' element is created with value 'value'.
317
+
318
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
319
+
320
+ FcBlanks
321
+
322
+ holds a list of Unicode chars which are expected to be blank; unexpectedly
323
+ blank chars are assumed to be invalid and are elided from the charset
324
+ associated with the font.
325
+
326
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
327
+
328
+ FcFileCache
329
+
330
+ holds the per-user cache information for use while loading the font database.
331
+ This is built automatically for the current configuration when that is loaded.
332
+ Applications must always pass '0' when one is requested.
333
+
334
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
335
+
336
+ FcConfig
337
+
338
+ holds a complete configuration of the library; there is one default
339
+ configuration, other can be constructed from XML data structures. All public
340
+ entry points that need global data can take an optional FcConfig* argument;
341
+ passing 0 uses the default configuration. FcConfig objects hold two sets of
342
+ fonts, the first contains those specified by the configuration, the second set
343
+ holds those added by the application at run-time. Interfaces that need to
344
+ reference a particulat set use one of the FcSetName enumerated values.
345
+
346
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
347
+
348
+ FcSetName
349
+
350
+ Specifies one of the two sets of fonts available in a configuration;
351
+ FcSetSystem for those fonts specified in the configuration and FcSetApplication
352
+ which holds fonts provided by the application.
353
+
354
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
355
+
356
+ FcResult
357
+
358
+ Used as a return type for functions manipulating FcPattern objects.
359
+
360
+ FcResult Values
361
+ Result Code Meaning
362
+ -----------------------------------------------------------
363
+ FcResultMatch Object exists with the specified ID
364
+ FcResultNoMatch Object doesn't exist at all
365
+ FcResultTypeMismatch Object exists, but the type doesn't match
366
+ FcResultNoId Object exists, but has fewer values
367
+ than specified
368
+ FcResultOutOfMemory Malloc failed
369
+
370
+
371
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
372
+
373
+ FcAtomic
374
+
375
+ Used for locking access to config files. Provides a safe way to update
376
+ configuration files.
377
+
378
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
379
+
380
+ FcCache
381
+
382
+ Holds information about the fonts contained in a single directory. Normal
383
+ applications need not worry about this as caches for font access are
384
+ automatically managed by the library. Applications dealing with cache
385
+ management may want to use some of these objects in their work, however the
386
+ included 'fc-cache' program generally suffices for all of that.
387
+
388
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
389
+
390
+ FUNCTIONS
391
+
392
+ These are grouped by functionality, often using the main datatype being
393
+ manipulated.
394
+
395
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
396
+
397
+ Initialization
398
+
399
+ Table of Contents
400
+ FcInitLoadConfig -- load configuration
401
+ FcInitLoadConfigAndFonts -- load configuration and font data
402
+ FcInit -- initialize fontconfig library
403
+ FcFini -- finalize fonconfig library
404
+ FcGetVersion -- library version number
405
+ FcInitReinitialize -- re-initialize library
406
+ FcInitBringUptoDate -- reload configuration files if needed
407
+
408
+ These functions provide some control over how the library is initialized.
409
+
410
+ FcInitLoadConfig
411
+
412
+ Name
413
+
414
+ FcInitLoadConfig -- load configuration
415
+
416
+ Synopsis
417
+
418
+ #include <fontconfig.h>
419
+
420
+
421
+ FcConfig * FcInitLoadConfig(void);
422
+
423
+ Description
424
+
425
+ Loads the default configuration file and returns the resulting configuration.
426
+ Does not load any font information.
427
+
428
+ Version
429
+
430
+ Fontconfig version 2.8.0
431
+
432
+ FcInitLoadConfigAndFonts
433
+
434
+ Name
435
+
436
+ FcInitLoadConfigAndFonts -- load configuration and font data
437
+
438
+ Synopsis
439
+
440
+ #include <fontconfig.h>
441
+
442
+
443
+ FcConfig * FcInitLoadConfigAndFonts(void);
444
+
445
+ Description
446
+
447
+ Loads the default configuration file and builds information about the available
448
+ fonts. Returns the resulting configuration.
449
+
450
+ Version
451
+
452
+ Fontconfig version 2.8.0
453
+
454
+ FcInit
455
+
456
+ Name
457
+
458
+ FcInit -- initialize fontconfig library
459
+
460
+ Synopsis
461
+
462
+ #include <fontconfig.h>
463
+
464
+
465
+ FcBool FcInit(void);
466
+
467
+ Description
468
+
469
+ Loads the default configuration file and the fonts referenced therein and sets
470
+ the default configuration to that result. Returns whether this process
471
+ succeeded or not. If the default configuration has already been loaded, this
472
+ routine does nothing and returns FcTrue.
473
+
474
+ Version
475
+
476
+ Fontconfig version 2.8.0
477
+
478
+ FcFini
479
+
480
+ Name
481
+
482
+ FcFini -- finalize fonconfig library
483
+
484
+ Synopsis
485
+
486
+ #include <fontconfig.h>
487
+
488
+
489
+ void FcFini(void);
490
+
491
+ Description
492
+
493
+ Frees all data structures allocated by previous calls to fontconfig functions.
494
+ Fontconfig returns to an uninitialized state, requiring a new call to one of
495
+ the FcInit functions before any other fontconfig function may be called.
496
+
497
+ Version
498
+
499
+ Fontconfig version 2.8.0
500
+
501
+ FcGetVersion
502
+
503
+ Name
504
+
505
+ FcGetVersion -- library version number
506
+
507
+ Synopsis
508
+
509
+ #include <fontconfig.h>
510
+
511
+
512
+ int FcGetVersion(void);
513
+
514
+ Description
515
+
516
+ Returns the version number of the library.
517
+
518
+ Version
519
+
520
+ Fontconfig version 2.8.0
521
+
522
+ FcInitReinitialize
523
+
524
+ Name
525
+
526
+ FcInitReinitialize -- re-initialize library
527
+
528
+ Synopsis
529
+
530
+ #include <fontconfig.h>
531
+
532
+
533
+ FcBool FcInitReinitialize(void);
534
+
535
+ Description
536
+
537
+ Forces the default configuration file to be reloaded and resets the default
538
+ configuration. Returns FcFalse if the configuration cannot be reloaded (due to
539
+ config file errors, allocation failures or other issues) and leaves the
540
+ existing configuration unchanged. Otherwise returns FcTrue.
541
+
542
+ Version
543
+
544
+ Fontconfig version 2.8.0
545
+
546
+ FcInitBringUptoDate
547
+
548
+ Name
549
+
550
+ FcInitBringUptoDate -- reload configuration files if needed
551
+
552
+ Synopsis
553
+
554
+ #include <fontconfig.h>
555
+
556
+
557
+ FcBool FcInitBringUptoDate(void);
558
+
559
+ Description
560
+
561
+ Checks the rescan interval in the default configuration, checking the
562
+ configuration if the interval has passed and reloading the configuration if
563
+ when any changes are detected. Returns FcFalse if the configuration cannot be
564
+ reloaded (see FcInitReinitialize). Otherwise returns FcTrue.
565
+
566
+ Version
567
+
568
+ Fontconfig version 2.8.0
569
+
570
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
571
+
572
+ FcPattern
573
+
574
+ Table of Contents
575
+ FcPatternCreate -- Create a pattern
576
+ FcPatternDuplicate -- Copy a pattern
577
+ FcPatternReference -- Increment pattern reference count
578
+ FcPatternDestroy -- Destroy a pattern
579
+ FcPatternEqual -- Compare patterns
580
+ FcPatternEqualSubset -- Compare portions of patterns
581
+ FcPatternFilter -- Filter the objects of pattern
582
+ FcPatternHash -- Compute a pattern hash value
583
+ FcPatternAdd -- Add a value to a pattern
584
+ FcPatternAddWeak -- Add a value to a pattern with weak binding
585
+ FcPatternAdd-Type -- Add a typed value to a pattern
586
+ FcPatternGet -- Return a value from a pattern
587
+ FcPatternGet-Type -- Return a typed value from a pattern
588
+ FcPatternBuild -- Create patterns from arguments
589
+ FcPatternDel -- Delete a property from a pattern
590
+ FcPatternRemove -- Remove one object of the specified type from the pattern
591
+ FcPatternPrint -- Print a pattern for debugging
592
+ FcDefaultSubstitute -- Perform default substitutions in a pattern
593
+ FcNameParse -- Parse a pattern string
594
+ FcNameUnparse -- Convert a pattern back into a string that can be parsed
595
+ FcPatternFormat -- Format a pattern into a string according to a format
596
+ specifier
597
+
598
+ An FcPattern is an opaque type that holds both patterns to match against the
599
+ available fonts, as well as the information about each font.
600
+
601
+ FcPatternCreate
602
+
603
+ Name
604
+
605
+ FcPatternCreate -- Create a pattern
606
+
607
+ Synopsis
608
+
609
+ #include <fontconfig.h>
610
+
611
+
612
+ FcPattern * FcPatternCreate(void);
613
+
614
+ Description
615
+
616
+ Creates a pattern with no properties; used to build patterns from scratch.
617
+
618
+ Version
619
+
620
+ Fontconfig version 2.8.0
621
+
622
+ FcPatternDuplicate
623
+
624
+ Name
625
+
626
+ FcPatternDuplicate -- Copy a pattern
627
+
628
+ Synopsis
629
+
630
+ #include <fontconfig.h>
631
+
632
+
633
+ FcPattern * FcPatternDuplicate(const FcPattern *p);
634
+
635
+ Description
636
+
637
+ Copy a pattern, returning a new pattern that matches p. Each pattern may be
638
+ modified without affecting the other.
639
+
640
+ Version
641
+
642
+ Fontconfig version 2.8.0
643
+
644
+ FcPatternReference
645
+
646
+ Name
647
+
648
+ FcPatternReference -- Increment pattern reference count
649
+
650
+ Synopsis
651
+
652
+ #include <fontconfig.h>
653
+
654
+
655
+ void FcPatternReference(FcPattern *p);
656
+
657
+ Description
658
+
659
+ Add another reference to p. Patterns are freed only when the reference count
660
+ reaches zero.
661
+
662
+ Version
663
+
664
+ Fontconfig version 2.8.0
665
+
666
+ FcPatternDestroy
667
+
668
+ Name
669
+
670
+ FcPatternDestroy -- Destroy a pattern
671
+
672
+ Synopsis
673
+
674
+ #include <fontconfig.h>
675
+
676
+
677
+ void FcPatternDestroy(FcPattern *p);
678
+
679
+ Description
680
+
681
+ Decrement the pattern reference count. If all references are gone, destroys the
682
+ pattern, in the process destroying all related values.
683
+
684
+ Version
685
+
686
+ Fontconfig version 2.8.0
687
+
688
+ FcPatternEqual
689
+
690
+ Name
691
+
692
+ FcPatternEqual -- Compare patterns
693
+
694
+ Synopsis
695
+
696
+ #include <fontconfig.h>
697
+
698
+
699
+ FcBool FcPatternEqual(const FcPattern *pa, const FcPattern *pb);
700
+
701
+ Description
702
+
703
+ Returns whether pa and pb are exactly alike.
704
+
705
+ Version
706
+
707
+ Fontconfig version 2.8.0
708
+
709
+ FcPatternEqualSubset
710
+
711
+ Name
712
+
713
+ FcPatternEqualSubset -- Compare portions of patterns
714
+
715
+ Synopsis
716
+
717
+ #include <fontconfig.h>
718
+
719
+
720
+ FcBool FcPatternEqualSubset(const FcPattern *pa, const FcPattern *pb, const
721
+ FcObjectSet *os);
722
+
723
+ Description
724
+
725
+ Returns whether pa and pb have exactly the same values for all of the objects
726
+ in os.
727
+
728
+ Version
729
+
730
+ Fontconfig version 2.8.0
731
+
732
+ FcPatternFilter
733
+
734
+ Name
735
+
736
+ FcPatternFilter -- Filter the objects of pattern
737
+
738
+ Synopsis
739
+
740
+ #include <fontconfig.h>
741
+
742
+
743
+ FcPattern * FcPatternFilter(FcPattern *p, const FcObjectSet *);
744
+
745
+ Description
746
+
747
+ Returns a new pattern that only has those objects from p that are in os. If os
748
+ is NULL, a duplicate of p is returned.
749
+
750
+ Version
751
+
752
+ Fontconfig version 2.8.0
753
+
754
+ FcPatternHash
755
+
756
+ Name
757
+
758
+ FcPatternHash -- Compute a pattern hash value
759
+
760
+ Synopsis
761
+
762
+ #include <fontconfig.h>
763
+
764
+
765
+ FcChar32 FcPatternHash(const FcPattern *p);
766
+
767
+ Description
768
+
769
+ Returns a 32-bit number which is the same for any two patterns which are equal.
770
+
771
+ Version
772
+
773
+ Fontconfig version 2.8.0
774
+
775
+ FcPatternAdd
776
+
777
+ Name
778
+
779
+ FcPatternAdd -- Add a value to a pattern
780
+
781
+ Synopsis
782
+
783
+ #include <fontconfig.h>
784
+
785
+
786
+ FcBool FcPatternAdd(FcPattern *p, const char *object, FcValue value, FcBool
787
+ append);
788
+
789
+ Description
790
+
791
+ Adds a single value to the list of values associated with the property named
792
+ `object. If `append is FcTrue, the value is added at the end of any existing
793
+ list, otherwise it is inserted at the begining. `value' is saved (with
794
+ FcValueSave) when inserted into the pattern so that the library retains no
795
+ reference to any application-supplied data structure.
796
+
797
+ Version
798
+
799
+ Fontconfig version 2.8.0
800
+
801
+ FcPatternAddWeak
802
+
803
+ Name
804
+
805
+ FcPatternAddWeak -- Add a value to a pattern with weak binding
806
+
807
+ Synopsis
808
+
809
+ #include <fontconfig.h>
810
+
811
+
812
+ FcBool FcPatternAddWeak(FcPattern *p, const char *object, FcValue value, FcBool
813
+ append);
814
+
815
+ Description
816
+
817
+ FcPatternAddWeak is essentially the same as FcPatternAdd except that any values
818
+ added to the list have binding weak instead of strong.
819
+
820
+ Version
821
+
822
+ Fontconfig version 2.8.0
823
+
824
+ FcPatternAdd-Type
825
+
826
+ Name
827
+
828
+ FcPatternAddInteger, FcPatternAddDouble, FcPatternAddString,
829
+ FcPatternAddMatrix, FcPatternAddCharSet, FcPatternAddBool, FcPatternAddFTFace,
830
+ FcPatternAddLangSet -- Add a typed value to a pattern
831
+
832
+ Synopsis
833
+
834
+ #include <fontconfig.h>
835
+
836
+
837
+ FcBool FcPatternAddInteger(FcPattern *p, const char *object, int i);
838
+
839
+ FcBool FcPatternAddDouble(FcPattern *p, const char *object, double d);
840
+
841
+ FcBool FcPatternAddString(FcPattern *p, const char *object, const FcChar8 *s);
842
+
843
+ FcBool FcPatternAddMatrix(FcPattern *p, const char *object, const FcMatrix *m);
844
+
845
+ FcBool FcPatternAddCharSet(FcPattern *p, const char *object, const FcCharSet *c
846
+ );
847
+
848
+ FcBool FcPatternAddBool(FcPattern *p, const char *object, FcBool b);
849
+
850
+ FcBool FcPatternAddFTFace(FcPattern *p, const char *object, const FT_Facef);
851
+
852
+ FcBool FcPatternAddLangSet(FcPattern *p, const char *object, const FcLangSet *l
853
+ );
854
+
855
+ Description
856
+
857
+ These are all convenience functions that insert objects of the specified type
858
+ into the pattern. Use these in preference to FcPatternAdd as they will provide
859
+ compile-time typechecking. These all append values to any existing list of
860
+ values.
861
+
862
+ Version
863
+
864
+ Fontconfig version 2.8.0
865
+
866
+ FcPatternGet
867
+
868
+ Name
869
+
870
+ FcPatternGet -- Return a value from a pattern
871
+
872
+ Synopsis
873
+
874
+ #include <fontconfig.h>
875
+
876
+
877
+ FcResult FcPatternGet(FcPattern *p, const char *object, int id, FcValue *v);
878
+
879
+ Description
880
+
881
+ Returns in v the id'th value associated with the property object. The value
882
+ returned is not a copy, but rather refers to the data stored within the pattern
883
+ directly. Applications must not free this value.
884
+
885
+ Version
886
+
887
+ Fontconfig version 2.8.0
888
+
889
+ FcPatternGet-Type
890
+
891
+ Name
892
+
893
+ FcPatternGetInteger, FcPatternGetDouble, FcPatternGetString,
894
+ FcPatternGetMatrix, FcPatternGetCharSet, FcPatternGetBool, FcPatternGetFTFace,
895
+ FcPatternGetLangSet -- Return a typed value from a pattern
896
+
897
+ Synopsis
898
+
899
+ #include <fontconfig.h>
900
+
901
+
902
+ FcResult FcPatternGetInteger(FcPattern *p, const char *object, int n, int *i);
903
+
904
+ FcResult FcPatternGetDouble(FcPattern *p, const char *object, int n, double *d
905
+ );
906
+
907
+ FcResult FcPatternGetString(FcPattern *p, const char *object, int n, FcChar8 **
908
+ s);
909
+
910
+ FcResult FcPatternGetMatrix(FcPattern *p, const char *object, int n, FcMatrix
911
+ **s);
912
+
913
+ FcResult FcPatternGetCharSet(FcPattern *p, const char *object, int n, FcCharSet
914
+ **c);
915
+
916
+ FcResult FcPatternGetBool(FcPattern *p, const char *object, int n, FcBool *b);
917
+
918
+ FcResult FcPatternGetFTFace(FcPattern *p, const char *object, int n);
919
+
920
+ FcResult FcPatternGetLangSet(FcPattern *p, const char *object, FT_Face *f);
921
+
922
+ Description
923
+
924
+ These are convenience functions that call FcPatternGet and verify that the
925
+ returned data is of the expected type. They return FcResultTypeMismatch if this
926
+ is not the case. Note that these (like FcPatternGet) do not make a copy of any
927
+ data structure referenced by the return value. Use these in preference to
928
+ FcPatternGet to provide compile-time typechecking.
929
+
930
+ Version
931
+
932
+ Fontconfig version 2.8.0
933
+
934
+ FcPatternBuild
935
+
936
+ Name
937
+
938
+ FcPatternBuild, FcPatternVaBuild, FcPatternVapBuild -- Create patterns from
939
+ arguments
940
+
941
+ Synopsis
942
+
943
+ #include <fontconfig.h>
944
+
945
+
946
+ FcPattern * FcPatternBuild(FcPattern *pattern, ...);
947
+
948
+ FcPattern * FcPatternVaBuild(FcPattern *pattern, va_list va);
949
+
950
+ void FcPatternVapBuild(FcPattern *result, FcPattern *pattern, va_list va);
951
+
952
+ Description
953
+
954
+ Builds a pattern using a list of objects, types and values. Each value to be
955
+ entered in the pattern is specified with three arguments:
956
+
957
+ 1. Object name, a string describing the property to be added.
958
+
959
+ 2. Object type, one of the FcType enumerated values
960
+
961
+ 3. Value, not an FcValue, but the raw type as passed to any of the
962
+ FcPatternAdd<type> functions. Must match the type of the second argument.
963
+
964
+ The argument list is terminated by a null object name, no object type nor value
965
+ need be passed for this. The values are added to `pattern', if `pattern' is
966
+ null, a new pattern is created. In either case, the pattern is returned.
967
+ Example
968
+
969
+ pattern = FcPatternBuild (0, FC_FAMILY, FcTypeString, "Times", (char *) 0);
970
+
971
+ FcPatternVaBuild is used when the arguments are already in the form of a
972
+ varargs value. FcPatternVapBuild is a macro version of FcPatternVaBuild which
973
+ returns its result directly in the result variable.
974
+
975
+ Version
976
+
977
+ Fontconfig version 2.8.0
978
+
979
+ FcPatternDel
980
+
981
+ Name
982
+
983
+ FcPatternDel -- Delete a property from a pattern
984
+
985
+ Synopsis
986
+
987
+ #include <fontconfig.h>
988
+
989
+
990
+ FcBool FcPatternDel(FcPattern *p, const char *object);
991
+
992
+ Description
993
+
994
+ Deletes all values associated with the property `object', returning whether the
995
+ property existed or not.
996
+
997
+ Version
998
+
999
+ Fontconfig version 2.8.0
1000
+
1001
+ FcPatternRemove
1002
+
1003
+ Name
1004
+
1005
+ FcPatternRemove -- Remove one object of the specified type from the pattern
1006
+
1007
+ Synopsis
1008
+
1009
+ #include <fontconfig.h>
1010
+
1011
+
1012
+ FcBool FcPatternRemove(FcPattern *p, const char *object, int id);
1013
+
1014
+ Description
1015
+
1016
+ Removes the value associated with the property `object' at position `id',
1017
+ returning whether the property existed and had a value at that position or not.
1018
+
1019
+ Version
1020
+
1021
+ Fontconfig version 2.8.0
1022
+
1023
+ FcPatternPrint
1024
+
1025
+ Name
1026
+
1027
+ FcPatternPrint -- Print a pattern for debugging
1028
+
1029
+ Synopsis
1030
+
1031
+ #include <fontconfig.h>
1032
+
1033
+
1034
+ void FcPatternPrint(const FcPattern *p);
1035
+
1036
+ Description
1037
+
1038
+ Prints an easily readable version of the pattern to stdout. There is no
1039
+ provision for reparsing data in this format, it's just for diagnostics and
1040
+ debugging.
1041
+
1042
+ Version
1043
+
1044
+ Fontconfig version 2.8.0
1045
+
1046
+ FcDefaultSubstitute
1047
+
1048
+ Name
1049
+
1050
+ FcDefaultSubstitute -- Perform default substitutions in a pattern
1051
+
1052
+ Synopsis
1053
+
1054
+ #include <fontconfig.h>
1055
+
1056
+
1057
+ void FcDefaultSubstitute(FcPattern *pattern);
1058
+
1059
+ Description
1060
+
1061
+ Supplies default values for underspecified font patterns:
1062
+
1063
+ • Patterns without a specified style or weight are set to Medium
1064
+
1065
+ • Patterns without a specified style or slant are set to Roman
1066
+
1067
+ • Patterns without a specified pixel size are given one computed from any
1068
+ specified point size (default 12), dpi (default 75) and scale (default 1).
1069
+
1070
+ Version
1071
+
1072
+ Fontconfig version 2.8.0
1073
+
1074
+ FcNameParse
1075
+
1076
+ Name
1077
+
1078
+ FcNameParse -- Parse a pattern string
1079
+
1080
+ Synopsis
1081
+
1082
+ #include <fontconfig.h>
1083
+
1084
+
1085
+ FcPattern * FcNameParse(const FcChar8 *name);
1086
+
1087
+ Description
1088
+
1089
+ Converts name from the standard text format described above into a pattern.
1090
+
1091
+ Version
1092
+
1093
+ Fontconfig version 2.8.0
1094
+
1095
+ FcNameUnparse
1096
+
1097
+ Name
1098
+
1099
+ FcNameUnparse -- Convert a pattern back into a string that can be parsed
1100
+
1101
+ Synopsis
1102
+
1103
+ #include <fontconfig.h>
1104
+
1105
+
1106
+ FcChar8 * FcNameUnparse(FcPattern *pat);
1107
+
1108
+ Description
1109
+
1110
+ Converts the given pattern into the standard text format described above. The
1111
+ return value is not static, but instead refers to newly allocated memory which
1112
+ should be freed by the caller using free().
1113
+
1114
+ Version
1115
+
1116
+ Fontconfig version 2.8.0
1117
+
1118
+ FcPatternFormat
1119
+
1120
+ Name
1121
+
1122
+ FcPatternFormat -- Format a pattern into a string according to a format
1123
+ specifier
1124
+
1125
+ Synopsis
1126
+
1127
+ #include <fontconfig.h>
1128
+
1129
+
1130
+ FcChar8 * FcPatternFormat(FcPattern *pat, const FcChar8 *format);
1131
+
1132
+ Description
1133
+
1134
+ Converts given pattern pat into text described by the format specifier format.
1135
+ The return value refers to newly allocated memory which should be freed by the
1136
+ caller using free(), or NULL if format is invalid.
1137
+
1138
+ The format is loosely modelled after printf-style format string. The format
1139
+ string is composed of zero or more directives: ordinary characters (not "%"),
1140
+ which are copied unchanged to the output stream; and tags which are interpreted
1141
+ to construct text from the pattern in a variety of ways (explained below).
1142
+ Special characters can be escaped using backslash. C-string style special
1143
+ characters like \n and \r are also supported (this is useful when the format
1144
+ string is not a C string literal). It is advisable to always escape curly
1145
+ braces that are meant to be copied to the output as ordinary characters.
1146
+
1147
+ Each tags is introduced by the character "%", followed by an optional minimum
1148
+ field width, followed by tag contents in curly braces ({}). If the minimum
1149
+ field width value is provided the tag will be expanded and the result padded to
1150
+ achieve the minimum width. If the minimum field width is positive, the padding
1151
+ will right-align the text. Negative field width will left-align. The rest of
1152
+ this section describes various supported tag contents and their expansion.
1153
+
1154
+ A simple tag is one where the content is an identifier. When simple tags are
1155
+ expanded, the named identifier will be looked up in pattern and the resulting
1156
+ list of values returned, joined together using comma. For example, to print the
1157
+ family name and style the pattern, use the format "%{family} %{style}\n". To
1158
+ extend the family column to forty characters use "%-40{family}%{style}\n".
1159
+
1160
+ Simple tags expand to list of all values for an element. To only choose one of
1161
+ the values, one can index using the syntax "%{elt[idx]}". For example, to get
1162
+ the first family name only, use "%{family[0]}".
1163
+
1164
+ If a simple tag ends with "=" and the element is found in the pattern, the
1165
+ name of the element followed by "=" will be output before the list of values.
1166
+ For example, "%{weight=}" may expand to the string "weight=80". Or to the empty
1167
+ string if pattern does not have weight set.
1168
+
1169
+ If a simple tag starts with ":" and the element is found in the pattern, ":"
1170
+ will be printed first. For example, combining this with the =, the format "%
1171
+ {:weight=}" may expand to ":weight=80" or to the empty string if pattern does
1172
+ not have weight set.
1173
+
1174
+ If a simple tag contains the string ":-", the rest of the the tag contents
1175
+ will be used as a default string. The default string is output if the element
1176
+ is not found in the pattern. For example, the format "%{:weight=:-123}" may
1177
+ expand to ":weight=80" or to the string ":weight=123" if pattern does not have
1178
+ weight set.
1179
+
1180
+ A count tag is one that starts with the character "#" followed by an element
1181
+ name, and expands to the number of values for the element in the pattern. For
1182
+ example, "%{#family}" expands to the number of family names pattern has set,
1183
+ which may be zero.
1184
+
1185
+ A sub-expression tag is one that expands a sub-expression. The tag contents
1186
+ are the sub-expression to expand placed inside another set of curly braces.
1187
+ Sub-expression tags are useful for aligning an entire sub-expression, or to
1188
+ apply converters (explained later) on an entire sub-expression. For example,
1189
+ the format "%40{{%{family} %{style}}}" expands the sub-expression to construct
1190
+ the family name followed by the style, then takes the entire string and pads it
1191
+ on the left to be at least forty characters.
1192
+
1193
+ A filter-out tag is one starting with the character "-" followed by a
1194
+ comma-separated list of element names, followed by a sub-expression enclosed in
1195
+ curly braces. The sub-expression will be expanded but with a pattern that has
1196
+ the listed elements removed from it. For example, the format "%{-size,pixelsize
1197
+ {sub-expr}}" will expand "sub-expr" with pattern sans the size and pixelsize
1198
+ elements.
1199
+
1200
+ A filter-in tag is one starting with the character "+" followed by a
1201
+ comma-separated list of element names, followed by a sub-expression enclosed in
1202
+ curly braces. The sub-expression will be expanded but with a pattern that only
1203
+ has the listed elements from the surrounding pattern. For example, the format
1204
+ "%{+family,familylang{sub-expr}}" will expand "sub-expr" with a sub-pattern
1205
+ consisting only the family and family lang elements of pattern.
1206
+
1207
+ A conditional tag is one starting with the character "?" followed by a
1208
+ comma-separated list of element conditions, followed by two sub-expression
1209
+ enclosed in curly braces. An element condition can be an element name, in which
1210
+ case it tests whether the element is defined in pattern, or the character "!"
1211
+ followed by an element name, in which case the test is negated. The conditional
1212
+ passes if all the element conditions pass. The tag expands the first
1213
+ sub-expression if the conditional passes, and expands the second sub-expression
1214
+ otherwise. For example, the format "%{?size,dpi,!pixelsize{pass}{fail}}" will
1215
+ expand to "pass" if pattern has size and dpi elements but no pixelsize element,
1216
+ and to "fail" otherwise.
1217
+
1218
+ An enumerate tag is one starting with the string "[]" followed by a
1219
+ comma-separated list of element names, followed by a sub-expression enclosed in
1220
+ curly braces. The list of values for the named elements are walked in parallel
1221
+ and the sub-expression expanded each time with a pattern just having a single
1222
+ value for those elements, starting from the first value and continuing as long
1223
+ as any of those elements has a value. For example, the format "%{[]
1224
+ family,familylang{%{family} (%{familylang})\n}}" will expand the pattern "%
1225
+ {family} (%{familylang})\n" with a pattern having only the first value of the
1226
+ family and familylang elemtns, then expands it with the second values, then the
1227
+ third, etc.
1228
+
1229
+ As a special case, if an enumerate tag has only one element, and that element
1230
+ has only one value in the pattern, and that value is of type FcLangSet, the
1231
+ individual languages in the language set are enumerated.
1232
+
1233
+ A builtin tag is one starting with the character "=" followed by a builtin
1234
+ name. The following builtins are defined:
1235
+
1236
+ unparse
1237
+
1238
+ Expands to the result of calling FcNameUnparse() on the pattern.
1239
+
1240
+ fcmatch
1241
+
1242
+ Expands to the output of the default output format of the fc-match command
1243
+ on the pattern, without the final newline.
1244
+
1245
+ fclist
1246
+
1247
+ Expands to the output of the default output format of the fc-list command
1248
+ on the pattern, without the final newline.
1249
+
1250
+ pkgkit
1251
+
1252
+ Expands to the list of PackageKit font() tags for the pattern. Currently
1253
+ this includes tags for each family name, and each language from the
1254
+ pattern, enumerated and sanitized into a set of tags terminated by newline.
1255
+ Package management systems can use these tags to tag their packages
1256
+ accordingly.
1257
+
1258
+ For example, the format "%{+family,style{%{=unparse}}}\n" will expand to an
1259
+ unparsed name containing only the family and style element values from pattern.
1260
+
1261
+
1262
+ The contents of any tag can be followed by a set of zero or more converters. A
1263
+ converter is specified by the character "|" followed by the converter name and
1264
+ arguments. The following converters are defined:
1265
+
1266
+ basename
1267
+
1268
+ Replaces text with the results of calling FcStrBasename() on it.
1269
+
1270
+ dirname
1271
+
1272
+ Replaces text with the results of calling FcStrDirname() on it.
1273
+
1274
+ downcase
1275
+
1276
+ Replaces text with the results of calling FcStrDowncase() on it.
1277
+
1278
+ shescape
1279
+
1280
+ Escapes text for one level of shell expansion. (Escapes single-quotes, also
1281
+ encloses text in single-quotes.)
1282
+
1283
+ cescape
1284
+
1285
+ Escapes text such that it can be used as part of a C string literal.
1286
+ (Escapes backslash and double-quotes.)
1287
+
1288
+ xmlescape
1289
+
1290
+ Escapes text such that it can be used in XML and HTML. (Escapes less-than,
1291
+ greater-than, and ampersand.)
1292
+
1293
+ delete(chars)
1294
+
1295
+ Deletes all occurrences of each of the characters in chars from the text.
1296
+ FIXME: This converter is not UTF-8 aware yet.
1297
+
1298
+ escape(chars)
1299
+
1300
+ Escapes all occurrences of each of the characters in chars by prepending it
1301
+ by the first character in chars. FIXME: This converter is not UTF-8 aware
1302
+ yet.
1303
+
1304
+ translate(from,to)
1305
+
1306
+ Translates all occurrences of each of the characters in from by replacing
1307
+ them with their corresponding character in to. If to has fewer characters
1308
+ than from, it will be extended by repeating its last character. FIXME: This
1309
+ converter is not UTF-8 aware yet.
1310
+
1311
+ For example, the format "%{family|downcase|delete( )}\n" will expand to the
1312
+ values of the family element in pattern, lower-cased and with spaces removed.
1313
+
1314
+ Version
1315
+
1316
+ Fontconfig version 2.8.0
1317
+
1318
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
1319
+
1320
+ FcFontSet
1321
+
1322
+ Table of Contents
1323
+ FcFontSetCreate -- Create a font set
1324
+ FcFontSetDestroy -- Destroy a font set
1325
+ FcFontSetAdd -- Add to a font set
1326
+ FcFontSetList -- List fonts from a set of font sets
1327
+ FcFontSetMatch -- Return the best font from a set of font sets
1328
+ FcFontSetPrint -- Print a set of patterns to stdout
1329
+ FcFontSetSort -- Add to a font set
1330
+ FcFontSetSortDestroy -- DEPRECATED destroy a font set
1331
+
1332
+ An FcFontSet simply holds a list of patterns; these are used to return the
1333
+ results of listing available fonts.
1334
+
1335
+ FcFontSetCreate
1336
+
1337
+ Name
1338
+
1339
+ FcFontSetCreate -- Create a font set
1340
+
1341
+ Synopsis
1342
+
1343
+ #include <fontconfig.h>
1344
+
1345
+
1346
+ FcFontSet * FcFontSetCreate(void);
1347
+
1348
+ Description
1349
+
1350
+ Creates an empty font set.
1351
+
1352
+ Version
1353
+
1354
+ Fontconfig version 2.8.0
1355
+
1356
+ FcFontSetDestroy
1357
+
1358
+ Name
1359
+
1360
+ FcFontSetDestroy -- Destroy a font set
1361
+
1362
+ Synopsis
1363
+
1364
+ #include <fontconfig.h>
1365
+
1366
+
1367
+ void FcFontSetDestroy(FcFontSet *s);
1368
+
1369
+ Description
1370
+
1371
+ Destroys a font set. Note that this destroys any referenced patterns as well.
1372
+
1373
+ Version
1374
+
1375
+ Fontconfig version 2.8.0
1376
+
1377
+ FcFontSetAdd
1378
+
1379
+ Name
1380
+
1381
+ FcFontSetAdd -- Add to a font set
1382
+
1383
+ Synopsis
1384
+
1385
+ #include <fontconfig.h>
1386
+
1387
+
1388
+ FcBool FcFontSetAdd(FcFontSet *s, FcPattern *font);
1389
+
1390
+ Description
1391
+
1392
+ Adds a pattern to a font set. Note that the pattern is not copied before being
1393
+ inserted into the set. Returns FcFalse if the pattern cannot be inserted into
1394
+ the set (due to allocation failure). Otherwise returns FcTrue.
1395
+
1396
+ Version
1397
+
1398
+ Fontconfig version 2.8.0
1399
+
1400
+ FcFontSetList
1401
+
1402
+ Name
1403
+
1404
+ FcFontSetList -- List fonts from a set of font sets
1405
+
1406
+ Synopsis
1407
+
1408
+ #include <fontconfig.h>
1409
+
1410
+
1411
+ FcFontSet * FcFontSetList(FcConfig *config, FcFontSet **sets, intnsets,
1412
+ FcPattern *pattern, FcObjectSet *object_set);
1413
+
1414
+ Description
1415
+
1416
+ Selects fonts matching pattern from sets, creates patterns from those fonts
1417
+ containing only the objects in object_set and returns the set of unique such
1418
+ patterns. If config is NULL, the default configuration is checked to be up to
1419
+ date, and used.
1420
+
1421
+ Version
1422
+
1423
+ Fontconfig version 2.8.0
1424
+
1425
+ FcFontSetMatch
1426
+
1427
+ Name
1428
+
1429
+ FcFontSetMatch -- Return the best font from a set of font sets
1430
+
1431
+ Synopsis
1432
+
1433
+ #include <fontconfig.h>
1434
+
1435
+
1436
+ FcPattern * FcFontSetMatch(FcConfig *config, FcFontSet **sets, intnsets,
1437
+ FcPattern *pattern, FcResult *result);
1438
+
1439
+ Description
1440
+
1441
+ Finds the font in sets most closely matching pattern and returns the result of
1442
+ FcFontRenderPrepare for that font and the provided pattern. This function
1443
+ should be called only after FcConfigSubstitute and FcDefaultSubstitute have
1444
+ been called for pattern; otherwise the results will not be correct. If config
1445
+ is NULL, the current configuration is used. Returns NULL if an error occurs
1446
+ during this process.
1447
+
1448
+ Version
1449
+
1450
+ Fontconfig version 2.8.0
1451
+
1452
+ FcFontSetPrint
1453
+
1454
+ Name
1455
+
1456
+ FcFontSetPrint -- Print a set of patterns to stdout
1457
+
1458
+ Synopsis
1459
+
1460
+ #include <fontconfig.h>
1461
+
1462
+
1463
+ void FcFontSetPrint(FcFontSet *set);
1464
+
1465
+ Description
1466
+
1467
+ This function is useful for diagnosing font related issues, printing the
1468
+ complete contents of every pattern in set. The format of the output is designed
1469
+ to be of help to users and developers, and may change at any time.
1470
+
1471
+ Version
1472
+
1473
+ Fontconfig version 2.8.0
1474
+
1475
+ FcFontSetSort
1476
+
1477
+ Name
1478
+
1479
+ FcFontSetSort -- Add to a font set
1480
+
1481
+ Synopsis
1482
+
1483
+ #include <fontconfig.h>
1484
+
1485
+
1486
+ FcFontSetSort(FcConfig *config, FcFontSet **sets, intnsets, FcPattern *pattern,
1487
+ FcBool trim, FcCharSet **csp, FcResult *result);
1488
+
1489
+ Description
1490
+
1491
+ Returns the list of fonts from sets sorted by closeness to pattern. If trim is
1492
+ FcTrue, elements in the list which don't include Unicode coverage not provided
1493
+ by earlier elements in the list are elided. The union of Unicode coverage of
1494
+ all of the fonts is returned in csp, if csp is not NULL. This function should
1495
+ be called only after FcConfigSubstitute and FcDefaultSubstitute have been
1496
+ called for p; otherwise the results will not be correct.
1497
+
1498
+ The returned FcFontSet references FcPattern structures which may be shared by
1499
+ the return value from multiple FcFontSort calls, applications cannot modify
1500
+ these patterns. Instead, they should be passed, along with pattern to
1501
+ FcFontRenderPrepare which combines them into a complete pattern.
1502
+
1503
+ The FcFontSet returned by FcFontSetSort is destroyed by caling
1504
+ FcFontSetDestroy.
1505
+
1506
+ Version
1507
+
1508
+ Fontconfig version 2.8.0
1509
+
1510
+ FcFontSetSortDestroy
1511
+
1512
+ Name
1513
+
1514
+ FcFontSetSortDestroy -- DEPRECATED destroy a font set
1515
+
1516
+ Synopsis
1517
+
1518
+ #include <fontconfig.h>
1519
+
1520
+
1521
+ FcFontSetSortDestroy(FcFontSet *set);
1522
+
1523
+ Description
1524
+
1525
+ This function is DEPRECATED. FcFontSetSortDestroy destroys set by calling
1526
+ FcFontSetDestroy. Applications should use FcFontSetDestroy directly instead.
1527
+
1528
+ Version
1529
+
1530
+ Fontconfig version 2.8.0
1531
+
1532
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
1533
+
1534
+ FcObjectSet
1535
+
1536
+ Table of Contents
1537
+ FcObjectSetCreate -- Create an object set
1538
+ FcObjectSetAdd -- Add to an object set
1539
+ FcObjectSetDestroy -- Destroy an object set
1540
+ FcObjectSetBuild -- Build object set from args
1541
+
1542
+ An FcObjectSet holds a list of pattern property names; it is used to indiciate
1543
+ which properties are to be returned in the patterns from FcFontList.
1544
+
1545
+ FcObjectSetCreate
1546
+
1547
+ Name
1548
+
1549
+ FcObjectSetCreate -- Create an object set
1550
+
1551
+ Synopsis
1552
+
1553
+ #include <fontconfig.h>
1554
+
1555
+
1556
+ FcObjectSet * FcObjectSetCreate(void);
1557
+
1558
+ Description
1559
+
1560
+ Creates an empty set.
1561
+
1562
+ Version
1563
+
1564
+ Fontconfig version 2.8.0
1565
+
1566
+ FcObjectSetAdd
1567
+
1568
+ Name
1569
+
1570
+ FcObjectSetAdd -- Add to an object set
1571
+
1572
+ Synopsis
1573
+
1574
+ #include <fontconfig.h>
1575
+
1576
+
1577
+ FcBool FcObjectSetAdd(FcObjectSet *os, const char *object);
1578
+
1579
+ Description
1580
+
1581
+ Adds a proprety name to the set. Returns FcFalse if the property name cannot be
1582
+ inserted into the set (due to allocation failure). Otherwise returns FcTrue.
1583
+
1584
+ Version
1585
+
1586
+ Fontconfig version 2.8.0
1587
+
1588
+ FcObjectSetDestroy
1589
+
1590
+ Name
1591
+
1592
+ FcObjectSetDestroy -- Destroy an object set
1593
+
1594
+ Synopsis
1595
+
1596
+ #include <fontconfig.h>
1597
+
1598
+
1599
+ void FcObjectSetDestroy(FcObjectSet *os);
1600
+
1601
+ Description
1602
+
1603
+ Destroys an object set.
1604
+
1605
+ Version
1606
+
1607
+ Fontconfig version 2.8.0
1608
+
1609
+ FcObjectSetBuild
1610
+
1611
+ Name
1612
+
1613
+ FcObjectSetBuild, FcObjectSetVaBuild, FcObjectSetVapBuild -- Build object set
1614
+ from args
1615
+
1616
+ Synopsis
1617
+
1618
+ #include <fontconfig.h>
1619
+
1620
+
1621
+ FcObjectSet * FcObjectSetBuild(const char *first, ...);
1622
+
1623
+ FcObjectSet * FcObjectSetVaBuild(const char *first, va_list va);
1624
+
1625
+ void FcObjectSetVapBuild(FcObjectSet *result, const char *first, va_list va);
1626
+
1627
+ Description
1628
+
1629
+ These build an object set from a null-terminated list of property names.
1630
+ FcObjectSetVapBuild is a macro version of FcObjectSetVaBuild which returns the
1631
+ result in the result variable directly.
1632
+
1633
+ Version
1634
+
1635
+ Fontconfig version 2.8.0
1636
+
1637
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
1638
+
1639
+ FreeType specific functions
1640
+
1641
+ Table of Contents
1642
+ FcFreeTypeCharIndex -- map Unicode to glyph id
1643
+ FcFreeTypeCharSet -- compute unicode coverage
1644
+ FcFreeTypeCharSetAndSpacing -- compute unicode coverage and spacing type
1645
+ FcFreeTypeQuery -- compute pattern from font file (and index)
1646
+ FcFreeTypeQueryFace -- compute pattern from FT_Face
1647
+
1648
+ While the fontconfig library doesn't insist that FreeType be used as the
1649
+ rasterization mechanism for fonts, it does provide some convenience functions.
1650
+
1651
+ FcFreeTypeCharIndex
1652
+
1653
+ Name
1654
+
1655
+ FcFreeTypeCharIndex -- map Unicode to glyph id
1656
+
1657
+ Synopsis
1658
+
1659
+ #include <fontconfig.h>
1660
+ #include <fcfreetype.h>
1661
+
1662
+
1663
+ FT_UInt FcFreeTypeCharIndex(FT_Face face, FcChar32 ucs4);
1664
+
1665
+ Description
1666
+
1667
+ Maps a Unicode char to a glyph index. This function uses information from
1668
+ several possible underlying encoding tables to work around broken fonts. As a
1669
+ result, this function isn't designed to be used in performance sensitive areas;
1670
+ results from this function are intended to be cached by higher level functions.
1671
+
1672
+ Version
1673
+
1674
+ Fontconfig version 2.8.0
1675
+
1676
+ FcFreeTypeCharSet
1677
+
1678
+ Name
1679
+
1680
+ FcFreeTypeCharSet -- compute unicode coverage
1681
+
1682
+ Synopsis
1683
+
1684
+ #include <fontconfig.h>
1685
+ #include <fcfreetype.h>
1686
+
1687
+
1688
+ FcCharSet * FcFreeTypeCharSet(FT_Face face, FcBlanks *blanks);
1689
+
1690
+ Description
1691
+
1692
+ Scans a FreeType face and returns the set of encoded Unicode chars. This scans
1693
+ several encoding tables to build as complete a list as possible. If 'blanks' is
1694
+ not 0, the glyphs in the font are examined and any blank glyphs not in 'blanks'
1695
+ are not placed in the returned FcCharSet.
1696
+
1697
+ Version
1698
+
1699
+ Fontconfig version 2.8.0
1700
+
1701
+ FcFreeTypeCharSetAndSpacing
1702
+
1703
+ Name
1704
+
1705
+ FcFreeTypeCharSetAndSpacing -- compute unicode coverage and spacing type
1706
+
1707
+ Synopsis
1708
+
1709
+ #include <fontconfig.h>
1710
+ #include <fcfreetype.h>
1711
+
1712
+
1713
+ FcCharSet * FcFreeTypeCharSetAndSpacing(FT_Face face, FcBlanks *blanks, int *
1714
+ spacing);
1715
+
1716
+ Description
1717
+
1718
+ Scans a FreeType face and returns the set of encoded Unicode chars. This scans
1719
+ several encoding tables to build as complete a list as possible. If 'blanks' is
1720
+ not 0, the glyphs in the font are examined and any blank glyphs not in 'blanks'
1721
+ are not placed in the returned FcCharSet. spacing receives the computed spacing
1722
+ type of the font, one of FC_MONO for a font where all glyphs have the same
1723
+ width, FC_DUAL, where the font has glyphs in precisely two widths, one twice as
1724
+ wide as the other, or FC_PROPORTIONAL where the font has glyphs of many widths.
1725
+
1726
+ Version
1727
+
1728
+ Fontconfig version 2.8.0
1729
+
1730
+ FcFreeTypeQuery
1731
+
1732
+ Name
1733
+
1734
+ FcFreeTypeQuery -- compute pattern from font file (and index)
1735
+
1736
+ Synopsis
1737
+
1738
+ #include <fontconfig.h>
1739
+ #include <fcfreetype.h>
1740
+
1741
+
1742
+ FcPattern * FcFreeTypeQuery(const FcChar8 *file, int id, FcBlanks *blanks, int
1743
+ *count);
1744
+
1745
+ Description
1746
+
1747
+ Constructs a pattern representing the 'id'th font in 'file'. The number of
1748
+ fonts in 'file' is returned in 'count'.
1749
+
1750
+ Version
1751
+
1752
+ Fontconfig version 2.8.0
1753
+
1754
+ FcFreeTypeQueryFace
1755
+
1756
+ Name
1757
+
1758
+ FcFreeTypeQueryFace -- compute pattern from FT_Face
1759
+
1760
+ Synopsis
1761
+
1762
+ #include <fontconfig.h>
1763
+ #include <fcfreetype.h>
1764
+
1765
+
1766
+ FcPattern * FcFreeTypeQueryFace(const FT_Face face, const FcChar8 *file, int id
1767
+ , FcBlanks *blanks);
1768
+
1769
+ Description
1770
+
1771
+ Constructs a pattern representing 'face'. 'file' and 'id' are used solely as
1772
+ data for pattern elements (FC_FILE, FC_INDEX and sometimes FC_FAMILY).
1773
+
1774
+ Version
1775
+
1776
+ Fontconfig version 2.8.0
1777
+
1778
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
1779
+
1780
+ FcValue
1781
+
1782
+ Table of Contents
1783
+ FcValueDestroy -- Free a value
1784
+ FcValueSave -- Copy a value
1785
+ FcValuePrint -- Print a value to stdout
1786
+ FcValueEqual -- Test two values for equality
1787
+
1788
+ FcValue is a structure containing a type tag and a union of all possible
1789
+ datatypes. The tag is an enum of type FcType and is intended to provide a
1790
+ measure of run-time typechecking, although that depends on careful programming.
1791
+
1792
+ FcValueDestroy
1793
+
1794
+ Name
1795
+
1796
+ FcValueDestroy -- Free a value
1797
+
1798
+ Synopsis
1799
+
1800
+ #include <fontconfig.h>
1801
+
1802
+
1803
+ void FcValueDestroy(FcValue v);
1804
+
1805
+ Description
1806
+
1807
+ Frees any memory referenced by v. Values of type FcTypeString, FcTypeMatrix and
1808
+ FcTypeCharSet reference memory, the other types do not.
1809
+
1810
+ Version
1811
+
1812
+ Fontconfig version 2.8.0
1813
+
1814
+ FcValueSave
1815
+
1816
+ Name
1817
+
1818
+ FcValueSave -- Copy a value
1819
+
1820
+ Synopsis
1821
+
1822
+ #include <fontconfig.h>
1823
+
1824
+
1825
+ FcValue FcValueSave(FcValue v);
1826
+
1827
+ Description
1828
+
1829
+ Returns a copy of v duplicating any object referenced by it so that v may be
1830
+ safely destroyed without harming the new value.
1831
+
1832
+ Version
1833
+
1834
+ Fontconfig version 2.8.0
1835
+
1836
+ FcValuePrint
1837
+
1838
+ Name
1839
+
1840
+ FcValuePrint -- Print a value to stdout
1841
+
1842
+ Synopsis
1843
+
1844
+ #include <fontconfig.h>
1845
+
1846
+
1847
+ void FcValuePrint(FcValue v);
1848
+
1849
+ Description
1850
+
1851
+ Prints a human-readable representation of v to stdout. The format should not be
1852
+ considered part of the library specification as it may change in the future.
1853
+
1854
+ Version
1855
+
1856
+ Fontconfig version 2.8.0
1857
+
1858
+ FcValueEqual
1859
+
1860
+ Name
1861
+
1862
+ FcValueEqual -- Test two values for equality
1863
+
1864
+ Synopsis
1865
+
1866
+ #include <fontconfig.h>
1867
+
1868
+
1869
+ FcBool FcValueEqual(FcValue v_a, FcValue v_b);
1870
+
1871
+ Description
1872
+
1873
+ Compares two values. Integers and Doubles are compared as numbers; otherwise
1874
+ the two values have to be the same type to be considered equal. Strings are
1875
+ compared ignoring case.
1876
+
1877
+ Version
1878
+
1879
+ Fontconfig version 2.8.0
1880
+
1881
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
1882
+
1883
+ FcCharSet
1884
+
1885
+ Table of Contents
1886
+ FcCharSetCreate -- Create an empty character set
1887
+ FcCharSetDestroy -- Destroy a character set
1888
+ FcCharSetAddChar -- Add a character to a charset
1889
+ FcCharSetCopy -- Copy a charset
1890
+ FcCharSetEqual -- Compare two charsets
1891
+ FcCharSetIntersect -- Intersect charsets
1892
+ FcCharSetUnion -- Add charsets
1893
+ FcCharSetSubtract -- Subtract charsets
1894
+ FcCharSetMerge -- Merge charsets
1895
+ FcCharSetHasChar -- Check a charset for a char
1896
+ FcCharSetCount -- Count entries in a charset
1897
+ FcCharSetIntersectCount -- Intersect and count charsets
1898
+ FcCharSetSubtractCount -- Subtract and count charsets
1899
+ FcCharSetIsSubset -- Test for charset inclusion
1900
+ FcCharSetFirstPage -- Start enumerating charset contents
1901
+ FcCharSetNextPage -- Continue enumerating charset contents
1902
+ FcCharSetCoverage -- DEPRECATED return coverage for a Unicode page
1903
+ FcCharSetNew -- DEPRECATED alias for FcCharSetCreate
1904
+
1905
+ An FcCharSet is a boolean array indicating a set of unicode chars. Those
1906
+ associated with a font are marked constant and cannot be edited. FcCharSets may
1907
+ be reference counted internally to reduce memory consumption; this may be
1908
+ visible to applications as the result of FcCharSetCopy may return it's
1909
+ argument, and that CharSet may remain unmodifiable.
1910
+
1911
+ FcCharSetCreate
1912
+
1913
+ Name
1914
+
1915
+ FcCharSetCreate -- Create an empty character set
1916
+
1917
+ Synopsis
1918
+
1919
+ #include <fontconfig.h>
1920
+
1921
+
1922
+ FcCharSet * FcCharSetCreate(void);
1923
+
1924
+ Description
1925
+
1926
+ FcCharSetCreate allocates and initializes a new empty character set object.
1927
+
1928
+ Version
1929
+
1930
+ Fontconfig version 2.8.0
1931
+
1932
+ FcCharSetDestroy
1933
+
1934
+ Name
1935
+
1936
+ FcCharSetDestroy -- Destroy a character set
1937
+
1938
+ Synopsis
1939
+
1940
+ #include <fontconfig.h>
1941
+
1942
+
1943
+ void FcCharSetDestroy(FcCharSet *fcs);
1944
+
1945
+ Description
1946
+
1947
+ FcCharSetDestroy decrements the reference count fcs. If the reference count
1948
+ becomes zero, all memory referenced is freed.
1949
+
1950
+ Version
1951
+
1952
+ Fontconfig version 2.8.0
1953
+
1954
+ FcCharSetAddChar
1955
+
1956
+ Name
1957
+
1958
+ FcCharSetAddChar -- Add a character to a charset
1959
+
1960
+ Synopsis
1961
+
1962
+ #include <fontconfig.h>
1963
+
1964
+
1965
+ FcBool FcCharSetAddChar(FcCharSet *fcs, FcChar32 ucs4);
1966
+
1967
+ Description
1968
+
1969
+ FcCharSetAddChar adds a single unicode char to the set, returning FcFalse on
1970
+ failure, either as a result of a constant set or from running out of memory.
1971
+
1972
+ Version
1973
+
1974
+ Fontconfig version 2.8.0
1975
+
1976
+ FcCharSetCopy
1977
+
1978
+ Name
1979
+
1980
+ FcCharSetCopy -- Copy a charset
1981
+
1982
+ Synopsis
1983
+
1984
+ #include <fontconfig.h>
1985
+
1986
+
1987
+ FcCharSet * FcCharSetCopy(FcCharSet *src);
1988
+
1989
+ Description
1990
+
1991
+ Makes a copy of src; note that this may not actually do anything more than
1992
+ increment the reference count on src.
1993
+
1994
+ Version
1995
+
1996
+ Fontconfig version 2.8.0
1997
+
1998
+ FcCharSetEqual
1999
+
2000
+ Name
2001
+
2002
+ FcCharSetEqual -- Compare two charsets
2003
+
2004
+ Synopsis
2005
+
2006
+ #include <fontconfig.h>
2007
+
2008
+
2009
+ FcBool FcCharSetEqual(const FcCharSet *a, const FcCharSet *b);
2010
+
2011
+ Description
2012
+
2013
+ Returns whether a and b contain the same set of unicode chars.
2014
+
2015
+ Version
2016
+
2017
+ Fontconfig version 2.8.0
2018
+
2019
+ FcCharSetIntersect
2020
+
2021
+ Name
2022
+
2023
+ FcCharSetIntersect -- Intersect charsets
2024
+
2025
+ Synopsis
2026
+
2027
+ #include <fontconfig.h>
2028
+
2029
+
2030
+ FcCharSet * FcCharSetIntersect(const FcCharSet *a, const FcCharSet *b);
2031
+
2032
+ Description
2033
+
2034
+ Returns a set including only those chars found in both a and b.
2035
+
2036
+ Version
2037
+
2038
+ Fontconfig version 2.8.0
2039
+
2040
+ FcCharSetUnion
2041
+
2042
+ Name
2043
+
2044
+ FcCharSetUnion -- Add charsets
2045
+
2046
+ Synopsis
2047
+
2048
+ #include <fontconfig.h>
2049
+
2050
+
2051
+ FcCharSet * FcCharSetUnion(const FcCharSet *a, const FcCharSet *b);
2052
+
2053
+ Description
2054
+
2055
+ Returns a set including only those chars found in either a or b.
2056
+
2057
+ Version
2058
+
2059
+ Fontconfig version 2.8.0
2060
+
2061
+ FcCharSetSubtract
2062
+
2063
+ Name
2064
+
2065
+ FcCharSetSubtract -- Subtract charsets
2066
+
2067
+ Synopsis
2068
+
2069
+ #include <fontconfig.h>
2070
+
2071
+
2072
+ FcCharSet * FcCharSetSubtract(const FcCharSet *a, const FcCharSet *b);
2073
+
2074
+ Description
2075
+
2076
+ Returns a set including only those chars found in a but not b.
2077
+
2078
+ Version
2079
+
2080
+ Fontconfig version 2.8.0
2081
+
2082
+ FcCharSetMerge
2083
+
2084
+ Name
2085
+
2086
+ FcCharSetMerge -- Merge charsets
2087
+
2088
+ Synopsis
2089
+
2090
+ #include <fontconfig.h>
2091
+
2092
+
2093
+ FcBool FcCharSetMerge(FcCharSet *a, const FcCharSet *b, FcBool *changed);
2094
+
2095
+ Description
2096
+
2097
+ Adds all chars in b to a. In other words, this is an in-place version of
2098
+ FcCharSetUnion. If changed is not NULL, then it returns whether any new chars
2099
+ from b were added to a. Returns FcFalse on failure, either when a is a constant
2100
+ set or from running out of memory.
2101
+
2102
+ Version
2103
+
2104
+ Fontconfig version 2.8.0
2105
+
2106
+ FcCharSetHasChar
2107
+
2108
+ Name
2109
+
2110
+ FcCharSetHasChar -- Check a charset for a char
2111
+
2112
+ Synopsis
2113
+
2114
+ #include <fontconfig.h>
2115
+
2116
+
2117
+ FcBool FcCharSetHasChar(const FcCharSet *fcs, FcChar32 ucs4);
2118
+
2119
+ Description
2120
+
2121
+ Returns whether fcs contains the char ucs4.
2122
+
2123
+ Version
2124
+
2125
+ Fontconfig version 2.8.0
2126
+
2127
+ FcCharSetCount
2128
+
2129
+ Name
2130
+
2131
+ FcCharSetCount -- Count entries in a charset
2132
+
2133
+ Synopsis
2134
+
2135
+ #include <fontconfig.h>
2136
+
2137
+
2138
+ FcChar32 FcCharSetCount(const FcCharSet *a);
2139
+
2140
+ Description
2141
+
2142
+ Returns the total number of unicode chars in a.
2143
+
2144
+ Version
2145
+
2146
+ Fontconfig version 2.8.0
2147
+
2148
+ FcCharSetIntersectCount
2149
+
2150
+ Name
2151
+
2152
+ FcCharSetIntersectCount -- Intersect and count charsets
2153
+
2154
+ Synopsis
2155
+
2156
+ #include <fontconfig.h>
2157
+
2158
+
2159
+ FcChar32 FcCharSetIntersectCount(const FcCharSet *a, const FcCharSet *b);
2160
+
2161
+ Description
2162
+
2163
+ Returns the number of chars that are in both a and b.
2164
+
2165
+ Version
2166
+
2167
+ Fontconfig version 2.8.0
2168
+
2169
+ FcCharSetSubtractCount
2170
+
2171
+ Name
2172
+
2173
+ FcCharSetSubtractCount -- Subtract and count charsets
2174
+
2175
+ Synopsis
2176
+
2177
+ #include <fontconfig.h>
2178
+
2179
+
2180
+ FcChar32 FcCharSetSubtractCount(const FcCharSet *a, const FcCharSet *b);
2181
+
2182
+ Description
2183
+
2184
+ Returns the number of chars that are in a but not in b.
2185
+
2186
+ Version
2187
+
2188
+ Fontconfig version 2.8.0
2189
+
2190
+ FcCharSetIsSubset
2191
+
2192
+ Name
2193
+
2194
+ FcCharSetIsSubset -- Test for charset inclusion
2195
+
2196
+ Synopsis
2197
+
2198
+ #include <fontconfig.h>
2199
+
2200
+
2201
+ FcBool FcCharSetIsSubset(const FcCharSet *a, const FcCharSet *b);
2202
+
2203
+ Description
2204
+
2205
+ Returns whether a is a subset of b.
2206
+
2207
+ Version
2208
+
2209
+ Fontconfig version 2.8.0
2210
+
2211
+ FcCharSetFirstPage
2212
+
2213
+ Name
2214
+
2215
+ FcCharSetFirstPage -- Start enumerating charset contents
2216
+
2217
+ Synopsis
2218
+
2219
+ #include <fontconfig.h>
2220
+
2221
+
2222
+ FcChar32 FcCharSetFirstPage(const FcCharSet *a, FcChar32[FC_CHARSET_MAP_SIZE]
2223
+ map, FcChar32 *next);
2224
+
2225
+ Description
2226
+
2227
+ Builds an array of bits marking the first page of Unicode coverage of a.
2228
+ Returns the base of the array. next contains the next page in the font.
2229
+
2230
+ Version
2231
+
2232
+ Fontconfig version 2.8.0
2233
+
2234
+ FcCharSetNextPage
2235
+
2236
+ Name
2237
+
2238
+ FcCharSetNextPage -- Continue enumerating charset contents
2239
+
2240
+ Synopsis
2241
+
2242
+ #include <fontconfig.h>
2243
+
2244
+
2245
+ FcChar32 FcCharSetNextPage(const FcCharSet *a, FcChar32[FC_CHARSET_MAP_SIZE]
2246
+ map, FcChar32 *next);
2247
+
2248
+ Description
2249
+
2250
+ Builds an array of bits marking the Unicode coverage of a for page *next.
2251
+ Returns the base of the array. next contains the next page in the font.
2252
+
2253
+ Version
2254
+
2255
+ Fontconfig version 2.8.0
2256
+
2257
+ FcCharSetCoverage
2258
+
2259
+ Name
2260
+
2261
+ FcCharSetCoverage -- DEPRECATED return coverage for a Unicode page
2262
+
2263
+ Synopsis
2264
+
2265
+ #include <fontconfig.h>
2266
+
2267
+
2268
+ FcChar32 FcCharSetCoverage(const FcCharSet *a, FcChar32page, FcChar32[8]result
2269
+ );
2270
+
2271
+ Description
2272
+
2273
+ DEPRECATED This function returns a bitmask in result which indicates which code
2274
+ points in page are included in a. FcCharSetCoverage returns the next page in
2275
+ the charset which has any coverage.
2276
+
2277
+ Version
2278
+
2279
+ Fontconfig version 2.8.0
2280
+
2281
+ FcCharSetNew
2282
+
2283
+ Name
2284
+
2285
+ FcCharSetNew -- DEPRECATED alias for FcCharSetCreate
2286
+
2287
+ Synopsis
2288
+
2289
+ #include <fontconfig.h>
2290
+
2291
+
2292
+ FcCharSet * FcCharSetNew(void);
2293
+
2294
+ Description
2295
+
2296
+ FcCharSetNew is a DEPRECATED alias for FcCharSetCreate.
2297
+
2298
+ Version
2299
+
2300
+ Fontconfig version 2.8.0
2301
+
2302
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
2303
+
2304
+ FcLangSet
2305
+
2306
+ Table of Contents
2307
+ FcLangSetCreate -- create a langset object
2308
+ FcLangSetDestroy -- destroy a langset object
2309
+ FcLangSetCopy -- copy a langset object
2310
+ FcLangSetAdd -- add a language to a langset
2311
+ FcLangSetCompare -- compare language sets
2312
+ FcLangSetContains -- check langset subset relation
2313
+ FcLangSetEqual -- test for matching langsets
2314
+ FcLangSetHash -- return a hash value for a langset
2315
+ FcLangSetHasLang -- test langset for language support
2316
+ FcLangSetGetLangs -- get the list of languages in the langset
2317
+ FcGetLangs -- Get list of languages
2318
+ FcLangGetCharSet -- Get character map for a language
2319
+
2320
+ An FcLangSet is a set of language names (each of which include language and an
2321
+ optional territory). They are used when selecting fonts to indicate which
2322
+ languages the fonts need to support. Each font is marked, using language
2323
+ orthography information built into fontconfig, with the set of supported
2324
+ languages.
2325
+
2326
+ FcLangSetCreate
2327
+
2328
+ Name
2329
+
2330
+ FcLangSetCreate -- create a langset object
2331
+
2332
+ Synopsis
2333
+
2334
+ #include <fontconfig.h>
2335
+
2336
+
2337
+ FcLangSet * FcLangSetCreate(void);
2338
+
2339
+ Description
2340
+
2341
+ FcLangSetCreate creates a new FcLangSet object.
2342
+
2343
+ Version
2344
+
2345
+ Fontconfig version 2.8.0
2346
+
2347
+ FcLangSetDestroy
2348
+
2349
+ Name
2350
+
2351
+ FcLangSetDestroy -- destroy a langset object
2352
+
2353
+ Synopsis
2354
+
2355
+ #include <fontconfig.h>
2356
+
2357
+
2358
+ void FcLangSetDestroy(FcLangSet *ls);
2359
+
2360
+ Description
2361
+
2362
+ FcLangSetDestroy destroys a FcLangSet object, freeing all memory associated
2363
+ with it.
2364
+
2365
+ Version
2366
+
2367
+ Fontconfig version 2.8.0
2368
+
2369
+ FcLangSetCopy
2370
+
2371
+ Name
2372
+
2373
+ FcLangSetCopy -- copy a langset object
2374
+
2375
+ Synopsis
2376
+
2377
+ #include <fontconfig.h>
2378
+
2379
+
2380
+ FcLangSet * FcLangSetCopy(const FcLangSet *ls);
2381
+
2382
+ Description
2383
+
2384
+ FcLangSetCopy creates a new FcLangSet object and populates it with the contents
2385
+ of ls.
2386
+
2387
+ Version
2388
+
2389
+ Fontconfig version 2.8.0
2390
+
2391
+ FcLangSetAdd
2392
+
2393
+ Name
2394
+
2395
+ FcLangSetAdd -- add a language to a langset
2396
+
2397
+ Synopsis
2398
+
2399
+ #include <fontconfig.h>
2400
+
2401
+
2402
+ FcBool FcLangSetAdd(FcLangSet *ls, const FcChar8 *lang);
2403
+
2404
+ Description
2405
+
2406
+ lang is added to ls. lang should be of the form Ll-Tt where Ll is a two or
2407
+ three letter language from ISO 639 and Tt is a territory from ISO 3166.
2408
+
2409
+ Version
2410
+
2411
+ Fontconfig version 2.8.0
2412
+
2413
+ FcLangSetCompare
2414
+
2415
+ Name
2416
+
2417
+ FcLangSetCompare -- compare language sets
2418
+
2419
+ Synopsis
2420
+
2421
+ #include <fontconfig.h>
2422
+
2423
+
2424
+ FcLangResult FcLangSetCompare(const FcLangSet *ls_a, const FcLangSet *ls_b);
2425
+
2426
+ Description
2427
+
2428
+ FcLangSetCompare compares language coverage for ls_a and ls_b. If they share
2429
+ any language and territory pair, this function returns FcLangEqual. If they
2430
+ share a language but differ in which territory that language is for, this
2431
+ function returns FcLangDiffentTerritory. If they share no languages in common,
2432
+ this function returns FcLangDifferentLang.
2433
+
2434
+ Version
2435
+
2436
+ Fontconfig version 2.8.0
2437
+
2438
+ FcLangSetContains
2439
+
2440
+ Name
2441
+
2442
+ FcLangSetContains -- check langset subset relation
2443
+
2444
+ Synopsis
2445
+
2446
+ #include <fontconfig.h>
2447
+
2448
+
2449
+ FcBool FcLangSetContains(const FcLangSet *ls_a, const FcLangSet *ls_b);
2450
+
2451
+ Description
2452
+
2453
+ FcLangSetContains returns FcTrue if ls_a contains every language in ls_b. ls_a
2454
+ will 'contain' a language from ls_b if ls_a has exactly the language, or either
2455
+ the language or ls_a has no territory.
2456
+
2457
+ Version
2458
+
2459
+ Fontconfig version 2.8.0
2460
+
2461
+ FcLangSetEqual
2462
+
2463
+ Name
2464
+
2465
+ FcLangSetEqual -- test for matching langsets
2466
+
2467
+ Synopsis
2468
+
2469
+ #include <fontconfig.h>
2470
+
2471
+
2472
+ FcBool FcLangSetEqual(const FcLangSet *ls_a, const FcLangSet *ls_b);
2473
+
2474
+ Description
2475
+
2476
+ Returns FcTrue if and only if ls_a supports precisely the same language and
2477
+ territory combinations as ls_b.
2478
+
2479
+ Version
2480
+
2481
+ Fontconfig version 2.8.0
2482
+
2483
+ FcLangSetHash
2484
+
2485
+ Name
2486
+
2487
+ FcLangSetHash -- return a hash value for a langset
2488
+
2489
+ Synopsis
2490
+
2491
+ #include <fontconfig.h>
2492
+
2493
+
2494
+ FcChar32 FcLangSetHash(const FcLangSet *ls);
2495
+
2496
+ Description
2497
+
2498
+ This function returns a value which depends solely on the languages supported
2499
+ by ls. Any language which equals ls will have the same result from
2500
+ FcLangSetHash. However, two langsets with the same hash value may not be equal.
2501
+
2502
+ Version
2503
+
2504
+ Fontconfig version 2.8.0
2505
+
2506
+ FcLangSetHasLang
2507
+
2508
+ Name
2509
+
2510
+ FcLangSetHasLang -- test langset for language support
2511
+
2512
+ Synopsis
2513
+
2514
+ #include <fontconfig.h>
2515
+
2516
+
2517
+ FcLangResult FcLangSetHasLang(const FcLangSet *ls, const FcChar8 *lang);
2518
+
2519
+ Description
2520
+
2521
+ FcLangSetHasLang checks whether ls supports lang. If ls has a matching language
2522
+ and territory pair, this function returns FcLangEqual. If ls has a matching
2523
+ language but differs in which territory that language is for, this function
2524
+ returns FcLangDiffentTerritory. If ls has no matching language, this function
2525
+ returns FcLangDifferentLang.
2526
+
2527
+ Version
2528
+
2529
+ Fontconfig version 2.8.0
2530
+
2531
+ FcLangSetGetLangs
2532
+
2533
+ Name
2534
+
2535
+ FcLangSetGetLangs -- get the list of languages in the langset
2536
+
2537
+ Synopsis
2538
+
2539
+ #include <fontconfig.h>
2540
+
2541
+
2542
+ FcStrSet * FcLangSetGetLangs(const FcLangSet *ls);
2543
+
2544
+ Description
2545
+
2546
+ Returns a string set of all languages in langset.
2547
+
2548
+ Version
2549
+
2550
+ Fontconfig version 2.8.0
2551
+
2552
+ FcGetLangs
2553
+
2554
+ Name
2555
+
2556
+ FcGetLangs -- Get list of languages
2557
+
2558
+ Synopsis
2559
+
2560
+ #include <fontconfig.h>
2561
+
2562
+
2563
+ FcStrSet * FcGetLangs(void);
2564
+
2565
+ Description
2566
+
2567
+ Returns a string set of all known languages.
2568
+
2569
+ Version
2570
+
2571
+ Fontconfig version 2.8.0
2572
+
2573
+ FcLangGetCharSet
2574
+
2575
+ Name
2576
+
2577
+ FcLangGetCharSet -- Get character map for a language
2578
+
2579
+ Synopsis
2580
+
2581
+ #include <fontconfig.h>
2582
+
2583
+
2584
+ const FcCharSet * FcLangGetCharSet(const FcChar8 *lang);
2585
+
2586
+ Description
2587
+
2588
+ Returns the FcCharMap for a language.
2589
+
2590
+ Version
2591
+
2592
+ Fontconfig version 2.8.0
2593
+
2594
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
2595
+
2596
+ FcMatrix
2597
+
2598
+ Table of Contents
2599
+ FcMatrixInit -- initialize an FcMatrix structure
2600
+ FcMatrixCopy -- Copy a matrix
2601
+ FcMatrixEqual -- Compare two matrices
2602
+ FcMatrixMultiply -- Multiply matrices
2603
+ FcMatrixRotate -- Rotate a matrix
2604
+ FcMatrixScale -- Scale a matrix
2605
+ FcMatrixShear -- Shear a matrix
2606
+
2607
+ FcMatrix structures hold an affine transformation in matrix form.
2608
+
2609
+ FcMatrixInit
2610
+
2611
+ Name
2612
+
2613
+ FcMatrixInit -- initialize an FcMatrix structure
2614
+
2615
+ Synopsis
2616
+
2617
+ #include <fontconfig.h>
2618
+
2619
+
2620
+ void FcMatrixInit(FcMatrix *matrix);
2621
+
2622
+ Description
2623
+
2624
+ FcMatrixInit initializes matrix to the identity matrix.
2625
+
2626
+ Version
2627
+
2628
+ Fontconfig version 2.8.0
2629
+
2630
+ FcMatrixCopy
2631
+
2632
+ Name
2633
+
2634
+ FcMatrixCopy -- Copy a matrix
2635
+
2636
+ Synopsis
2637
+
2638
+ #include <fontconfig.h>
2639
+
2640
+
2641
+ void FcMatrixCopy(const FcMatrix *matrix);
2642
+
2643
+ Description
2644
+
2645
+ FcMatrixCopy allocates a new FcMatrix and copies mat into it.
2646
+
2647
+ Version
2648
+
2649
+ Fontconfig version 2.8.0
2650
+
2651
+ FcMatrixEqual
2652
+
2653
+ Name
2654
+
2655
+ FcMatrixEqual -- Compare two matrices
2656
+
2657
+ Synopsis
2658
+
2659
+ #include <fontconfig.h>
2660
+
2661
+
2662
+ void FcMatrixEqual(const FcMatrix *matrix1, const FcMatrix *matrix2);
2663
+
2664
+ Description
2665
+
2666
+ FcMatrixEqual compares matrix1 and matrix2 returning FcTrue when they are equal
2667
+ and FcFalse when they are not.
2668
+
2669
+ Version
2670
+
2671
+ Fontconfig version 2.8.0
2672
+
2673
+ FcMatrixMultiply
2674
+
2675
+ Name
2676
+
2677
+ FcMatrixMultiply -- Multiply matrices
2678
+
2679
+ Synopsis
2680
+
2681
+ #include <fontconfig.h>
2682
+
2683
+
2684
+ void FcMatrixMultiply(FcMatrix *result, const FcMatrix *matrix1, const FcMatrix
2685
+ *matrix2);
2686
+
2687
+ Description
2688
+
2689
+ FcMatrixMultiply multiplies matrix1 and matrix2 storing the result in result.
2690
+
2691
+ Version
2692
+
2693
+ Fontconfig version 2.8.0
2694
+
2695
+ FcMatrixRotate
2696
+
2697
+ Name
2698
+
2699
+ FcMatrixRotate -- Rotate a matrix
2700
+
2701
+ Synopsis
2702
+
2703
+ #include <fontconfig.h>
2704
+
2705
+
2706
+ void FcMatrixRotate(FcMatrix *matrix, double cos, double sin);
2707
+
2708
+ Description
2709
+
2710
+ FcMatrixRotate rotates matrix by the angle who's sine is sin and cosine is cos.
2711
+ This is done by multiplying by the matrix:
2712
+
2713
+ cos -sin
2714
+ sin cos
2715
+
2716
+ Version
2717
+
2718
+ Fontconfig version 2.8.0
2719
+
2720
+ FcMatrixScale
2721
+
2722
+ Name
2723
+
2724
+ FcMatrixScale -- Scale a matrix
2725
+
2726
+ Synopsis
2727
+
2728
+ #include <fontconfig.h>
2729
+
2730
+
2731
+ void FcMatrixScale(FcMatrix *matrix, double sx, double dy);
2732
+
2733
+ Description
2734
+
2735
+ FcMatrixScale multiplies matrix x values by sx and y values by sy. This is done
2736
+ by multiplying by the matrix:
2737
+
2738
+ sx 0
2739
+ 0 sy
2740
+
2741
+ Version
2742
+
2743
+ Fontconfig version 2.8.0
2744
+
2745
+ FcMatrixShear
2746
+
2747
+ Name
2748
+
2749
+ FcMatrixShear -- Shear a matrix
2750
+
2751
+ Synopsis
2752
+
2753
+ #include <fontconfig.h>
2754
+
2755
+
2756
+ void FcMatrixShear(FcMatrix *matrix, double sh, double sv);
2757
+
2758
+ Description
2759
+
2760
+ FcMatrixShare shears matrix horizontally by sh and vertically by sv. This is
2761
+ done by multiplying by the matrix:
2762
+
2763
+ 1 sh
2764
+ sv 1
2765
+
2766
+ Version
2767
+
2768
+ Fontconfig version 2.8.0
2769
+
2770
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
2771
+
2772
+ FcConfig
2773
+
2774
+ Table of Contents
2775
+ FcConfigCreate -- Create a configuration
2776
+ FcConfigReference -- Increment config reference count
2777
+ FcConfigDestroy -- Destroy a configuration
2778
+ FcConfigSetCurrent -- Set configuration as default
2779
+ FcConfigGetCurrent -- Return current configuration
2780
+ FcConfigUptoDate -- Check timestamps on config files
2781
+ FcConfigHome -- return the current home directory.
2782
+ FcConfigEnableHome -- controls use of the home directory.
2783
+ FcConfigBuildFonts -- Build font database
2784
+ FcConfigGetConfigDirs -- Get config directories
2785
+ FcConfigGetFontDirs -- Get font directories
2786
+ FcConfigGetConfigFiles -- Get config files
2787
+ FcConfigGetCache -- DEPRECATED used to return per-user cache filename
2788
+ FcConfigGetCacheDirs -- return the list of directories searched for cache files
2789
+ FcConfigGetFonts -- Get config font set
2790
+ FcConfigGetBlanks -- Get config blanks
2791
+ FcConfigGetRescanInterval -- Get config rescan interval
2792
+ FcConfigSetRescanInterval -- Set config rescan interval
2793
+ FcConfigAppFontAddFile -- Add font file to font database
2794
+ FcConfigAppFontAddDir -- Add fonts from directory to font database
2795
+ FcConfigAppFontClear -- Remove all app fonts from font database
2796
+ FcConfigSubstituteWithPat -- Execute substitutions
2797
+ FcConfigSubstitute -- Execute substitutions
2798
+ FcFontMatch -- Return best font
2799
+ FcFontSort -- Return list of matching fonts
2800
+ FcFontRenderPrepare -- Prepare pattern for loading font file
2801
+ FcFontList -- List fonts
2802
+ FcConfigFilename -- Find a config file
2803
+ FcConfigParseAndLoad -- load a configuration file
2804
+
2805
+ An FcConfig object holds the internal representation of a configuration. There
2806
+ is a default configuration which applications may use by passing 0 to any
2807
+ function using the data within an FcConfig.
2808
+
2809
+ FcConfigCreate
2810
+
2811
+ Name
2812
+
2813
+ FcConfigCreate -- Create a configuration
2814
+
2815
+ Synopsis
2816
+
2817
+ #include <fontconfig.h>
2818
+
2819
+
2820
+ FcConfig * FcConfigCreate(void);
2821
+
2822
+ Description
2823
+
2824
+ Creates an empty configuration.
2825
+
2826
+ Version
2827
+
2828
+ Fontconfig version 2.8.0
2829
+
2830
+ FcConfigReference
2831
+
2832
+ Name
2833
+
2834
+ FcConfigReference -- Increment config reference count
2835
+
2836
+ Synopsis
2837
+
2838
+ #include <fontconfig.h>
2839
+
2840
+
2841
+ FcConfig * FcConfigReference(FcConfig *config);
2842
+
2843
+ Description
2844
+
2845
+ Add another reference to config. Configs are freed only when the reference
2846
+ count reaches zero. If config is NULL, the current configuration is used. In
2847
+ that case this function will be similar to FcConfigGetCurrent() except that it
2848
+ increments the reference count before returning and the user is responsible for
2849
+ destroying the configuration when not needed anymore.
2850
+
2851
+ Version
2852
+
2853
+ Fontconfig version 2.8.0
2854
+
2855
+ FcConfigDestroy
2856
+
2857
+ Name
2858
+
2859
+ FcConfigDestroy -- Destroy a configuration
2860
+
2861
+ Synopsis
2862
+
2863
+ #include <fontconfig.h>
2864
+
2865
+
2866
+ void FcConfigDestroy(FcConfig *config);
2867
+
2868
+ Description
2869
+
2870
+ Decrements the config reference count. If all references are gone, destroys the
2871
+ configuration and any data associated with it. Note that calling this function
2872
+ with the return from FcConfigGetCurrent will cause a new configuration to be
2873
+ created for use as current configuration.
2874
+
2875
+ Version
2876
+
2877
+ Fontconfig version 2.8.0
2878
+
2879
+ FcConfigSetCurrent
2880
+
2881
+ Name
2882
+
2883
+ FcConfigSetCurrent -- Set configuration as default
2884
+
2885
+ Synopsis
2886
+
2887
+ #include <fontconfig.h>
2888
+
2889
+
2890
+ FcBool FcConfigSetCurrent(FcConfig *config);
2891
+
2892
+ Description
2893
+
2894
+ Sets the current default configuration to config. Implicitly calls
2895
+ FcConfigBuildFonts if necessary, returning FcFalse if that call fails.
2896
+
2897
+ Version
2898
+
2899
+ Fontconfig version 2.8.0
2900
+
2901
+ FcConfigGetCurrent
2902
+
2903
+ Name
2904
+
2905
+ FcConfigGetCurrent -- Return current configuration
2906
+
2907
+ Synopsis
2908
+
2909
+ #include <fontconfig.h>
2910
+
2911
+
2912
+ FcConfig * FcConfigGetCurrent(void);
2913
+
2914
+ Description
2915
+
2916
+ Returns the current default configuration.
2917
+
2918
+ Version
2919
+
2920
+ Fontconfig version 2.8.0
2921
+
2922
+ FcConfigUptoDate
2923
+
2924
+ Name
2925
+
2926
+ FcConfigUptoDate -- Check timestamps on config files
2927
+
2928
+ Synopsis
2929
+
2930
+ #include <fontconfig.h>
2931
+
2932
+
2933
+ FcBool FcConfigUptoDate(FcConfig *config);
2934
+
2935
+ Description
2936
+
2937
+ Checks all of the files related to config and returns whether any of them has
2938
+ been modified since the configuration was created. If config is NULL, the
2939
+ current configuration is used.
2940
+
2941
+ Version
2942
+
2943
+ Fontconfig version 2.8.0
2944
+
2945
+ FcConfigHome
2946
+
2947
+ Name
2948
+
2949
+ FcConfigHome -- return the current home directory.
2950
+
2951
+ Synopsis
2952
+
2953
+ #include <fontconfig.h>
2954
+
2955
+
2956
+ FcChar8 * FcConfigHome(void);
2957
+
2958
+ Description
2959
+
2960
+ Return the current user's home directory, if it is available, and if using it
2961
+ is enabled, and NULL otherwise. See also FcConfigEnableHome).
2962
+
2963
+ Version
2964
+
2965
+ Fontconfig version 2.8.0
2966
+
2967
+ FcConfigEnableHome
2968
+
2969
+ Name
2970
+
2971
+ FcConfigEnableHome -- controls use of the home directory.
2972
+
2973
+ Synopsis
2974
+
2975
+ #include <fontconfig.h>
2976
+
2977
+
2978
+ FcBol FcConfigEnableHome(FcBool enable);
2979
+
2980
+ Description
2981
+
2982
+ If enable is FcTrue, then Fontconfig will use various files which are specified
2983
+ relative to the user's home directory (using the ~ notation in the
2984
+ configuration). When enable is FcFalse, then all use of the home directory in
2985
+ these contexts will be disabled. The previous setting of the value is returned.
2986
+
2987
+ Version
2988
+
2989
+ Fontconfig version 2.8.0
2990
+
2991
+ FcConfigBuildFonts
2992
+
2993
+ Name
2994
+
2995
+ FcConfigBuildFonts -- Build font database
2996
+
2997
+ Synopsis
2998
+
2999
+ #include <fontconfig.h>
3000
+
3001
+
3002
+ FcBool FcConfigBuildFonts(FcConfig *config);
3003
+
3004
+ Description
3005
+
3006
+ Builds the set of available fonts for the given configuration. Note that any
3007
+ changes to the configuration after this call have indeterminate effects.
3008
+ Returns FcFalse if this operation runs out of memory. If config is NULL, the
3009
+ current configuration is used.
3010
+
3011
+ Version
3012
+
3013
+ Fontconfig version 2.8.0
3014
+
3015
+ FcConfigGetConfigDirs
3016
+
3017
+ Name
3018
+
3019
+ FcConfigGetConfigDirs -- Get config directories
3020
+
3021
+ Synopsis
3022
+
3023
+ #include <fontconfig.h>
3024
+
3025
+
3026
+ FcStrList * FcConfigGetConfigDirs(FcConfig *config);
3027
+
3028
+ Description
3029
+
3030
+ Returns the list of font directories specified in the configuration files for
3031
+ config. Does not include any subdirectories. If config is NULL, the current
3032
+ configuration is used.
3033
+
3034
+ Version
3035
+
3036
+ Fontconfig version 2.8.0
3037
+
3038
+ FcConfigGetFontDirs
3039
+
3040
+ Name
3041
+
3042
+ FcConfigGetFontDirs -- Get font directories
3043
+
3044
+ Synopsis
3045
+
3046
+ #include <fontconfig.h>
3047
+
3048
+
3049
+ FcStrList * FcConfigGetFontDirs(FcConfig *config);
3050
+
3051
+ Description
3052
+
3053
+ Returns the list of font directories in config. This includes the configured
3054
+ font directories along with any directories below those in the filesystem. If
3055
+ config is NULL, the current configuration is used.
3056
+
3057
+ Version
3058
+
3059
+ Fontconfig version 2.8.0
3060
+
3061
+ FcConfigGetConfigFiles
3062
+
3063
+ Name
3064
+
3065
+ FcConfigGetConfigFiles -- Get config files
3066
+
3067
+ Synopsis
3068
+
3069
+ #include <fontconfig.h>
3070
+
3071
+
3072
+ FcStrList * FcConfigGetConfigFiles(FcConfig *config);
3073
+
3074
+ Description
3075
+
3076
+ Returns the list of known configuration files used to generate config. If
3077
+ config is NULL, the current configuration is used.
3078
+
3079
+ Version
3080
+
3081
+ Fontconfig version 2.8.0
3082
+
3083
+ FcConfigGetCache
3084
+
3085
+ Name
3086
+
3087
+ FcConfigGetCache -- DEPRECATED used to return per-user cache filename
3088
+
3089
+ Synopsis
3090
+
3091
+ #include <fontconfig.h>
3092
+
3093
+
3094
+ FcChar8 * FcConfigGetCache(FcConfig *config);
3095
+
3096
+ Description
3097
+
3098
+ With fontconfig no longer using per-user cache files, this function now simply
3099
+ returns NULL to indicate that no per-user file exists.
3100
+
3101
+ Version
3102
+
3103
+ Fontconfig version 2.8.0
3104
+
3105
+ FcConfigGetCacheDirs
3106
+
3107
+ Name
3108
+
3109
+ FcConfigGetCacheDirs -- return the list of directories searched for cache files
3110
+
3111
+ Synopsis
3112
+
3113
+ #include <fontconfig.h>
3114
+
3115
+
3116
+ FcStrList * FcConfigGetCacheDirs(FcConfig *config);
3117
+
3118
+ Description
3119
+
3120
+ FcConfigGetCacheDirs returns a string list containing all of the directories
3121
+ that fontconfig will search when attempting to load a cache file for a font
3122
+ directory. If config is NULL, the current configuration is used.
3123
+
3124
+ Version
3125
+
3126
+ Fontconfig version 2.8.0
3127
+
3128
+ FcConfigGetFonts
3129
+
3130
+ Name
3131
+
3132
+ FcConfigGetFonts -- Get config font set
3133
+
3134
+ Synopsis
3135
+
3136
+ #include <fontconfig.h>
3137
+
3138
+
3139
+ FcFontSet * FcConfigGetFonts(FcConfig *config, FcSetName set);
3140
+
3141
+ Description
3142
+
3143
+ Returns one of the two sets of fonts from the configuration as specified by set
3144
+ . This font set is owned by the library and must not be modified or freed. If
3145
+ config is NULL, the current configuration is used.
3146
+
3147
+ Version
3148
+
3149
+ Fontconfig version 2.8.0
3150
+
3151
+ FcConfigGetBlanks
3152
+
3153
+ Name
3154
+
3155
+ FcConfigGetBlanks -- Get config blanks
3156
+
3157
+ Synopsis
3158
+
3159
+ #include <fontconfig.h>
3160
+
3161
+
3162
+ FcBlanks * FcConfigGetBlanks(FcConfig *config);
3163
+
3164
+ Description
3165
+
3166
+ Returns the FcBlanks object associated with the given configuration, if no
3167
+ blanks were present in the configuration, this function will return 0. The
3168
+ returned FcBlanks object if not NULL, is valid as long as the owning FcConfig
3169
+ is alive. If config is NULL, the current configuration is used.
3170
+
3171
+ Version
3172
+
3173
+ Fontconfig version 2.8.0
3174
+
3175
+ FcConfigGetRescanInterval
3176
+
3177
+ Name
3178
+
3179
+ FcConfigGetRescanInterval -- Get config rescan interval
3180
+
3181
+ Synopsis
3182
+
3183
+ #include <fontconfig.h>
3184
+
3185
+
3186
+ int FcConfigGetRescanInterval(FcConfig *config);
3187
+
3188
+ Description
3189
+
3190
+ Returns the interval between automatic checks of the configuration (in seconds)
3191
+ specified in config. The configuration is checked during a call to FcFontList
3192
+ when this interval has passed since the last check. An interval setting of zero
3193
+ disables automatic checks. If config is NULL, the current configuration is
3194
+ used.
3195
+
3196
+ Version
3197
+
3198
+ Fontconfig version 2.8.0
3199
+
3200
+ FcConfigSetRescanInterval
3201
+
3202
+ Name
3203
+
3204
+ FcConfigSetRescanInterval -- Set config rescan interval
3205
+
3206
+ Synopsis
3207
+
3208
+ #include <fontconfig.h>
3209
+
3210
+
3211
+ FcBool FcConfigSetRescanInterval(FcConfig *config, int rescanInterval);
3212
+
3213
+ Description
3214
+
3215
+ Sets the rescan interval. Returns FcFalse if the interval cannot be set (due to
3216
+ allocation failure). Otherwise returns FcTrue. An interval setting of zero
3217
+ disables automatic checks. If config is NULL, the current configuration is
3218
+ used.
3219
+
3220
+ Version
3221
+
3222
+ Fontconfig version 2.8.0
3223
+
3224
+ FcConfigAppFontAddFile
3225
+
3226
+ Name
3227
+
3228
+ FcConfigAppFontAddFile -- Add font file to font database
3229
+
3230
+ Synopsis
3231
+
3232
+ #include <fontconfig.h>
3233
+
3234
+
3235
+ FcBool FcConfigAppFontAddFile(FcConfig *config, const FcChar8 *file);
3236
+
3237
+ Description
3238
+
3239
+ Adds an application-specific font to the configuration. Returns FcFalse if the
3240
+ fonts cannot be added (due to allocation failure). Otherwise returns FcTrue. If
3241
+ config is NULL, the current configuration is used.
3242
+
3243
+ Version
3244
+
3245
+ Fontconfig version 2.8.0
3246
+
3247
+ FcConfigAppFontAddDir
3248
+
3249
+ Name
3250
+
3251
+ FcConfigAppFontAddDir -- Add fonts from directory to font database
3252
+
3253
+ Synopsis
3254
+
3255
+ #include <fontconfig.h>
3256
+
3257
+
3258
+ FcBool FcConfigAppFontAddDir(FcConfig *config, const FcChar8 *dir);
3259
+
3260
+ Description
3261
+
3262
+ Scans the specified directory for fonts, adding each one found to the
3263
+ application-specific set of fonts. Returns FcFalse if the fonts cannot be added
3264
+ (due to allocation failure). Otherwise returns FcTrue. If config is NULL, the
3265
+ current configuration is used.
3266
+
3267
+ Version
3268
+
3269
+ Fontconfig version 2.8.0
3270
+
3271
+ FcConfigAppFontClear
3272
+
3273
+ Name
3274
+
3275
+ FcConfigAppFontClear -- Remove all app fonts from font database
3276
+
3277
+ Synopsis
3278
+
3279
+ #include <fontconfig.h>
3280
+
3281
+
3282
+ void FcConfigAppFontClear(FcConfig *config);
3283
+
3284
+ Description
3285
+
3286
+ Clears the set of application-specific fonts. If config is NULL, the current
3287
+ configuration is used.
3288
+
3289
+ Version
3290
+
3291
+ Fontconfig version 2.8.0
3292
+
3293
+ FcConfigSubstituteWithPat
3294
+
3295
+ Name
3296
+
3297
+ FcConfigSubstituteWithPat -- Execute substitutions
3298
+
3299
+ Synopsis
3300
+
3301
+ #include <fontconfig.h>
3302
+
3303
+
3304
+ FcBool FcConfigSubstituteWithPat(FcConfig *config, FcPattern *p, FcPattern *
3305
+ p_pat, FcMatchKind kind);
3306
+
3307
+ Description
3308
+
3309
+ Performs the sequence of pattern modification operations, if kind is
3310
+ FcMatchPattern, then those tagged as pattern operations are applied, else if
3311
+ kind is FcMatchFont, those tagged as font operations are applied and p_pat is
3312
+ used for <test> elements with target=pattern. Returns FcFalse if the
3313
+ substitution cannot be performed (due to allocation failure). Otherwise returns
3314
+ FcTrue. If config is NULL, the current configuration is used.
3315
+
3316
+ Version
3317
+
3318
+ Fontconfig version 2.8.0
3319
+
3320
+ FcConfigSubstitute
3321
+
3322
+ Name
3323
+
3324
+ FcConfigSubstitute -- Execute substitutions
3325
+
3326
+ Synopsis
3327
+
3328
+ #include <fontconfig.h>
3329
+
3330
+
3331
+ FcBool FcConfigSubstitute(FcConfig *config, FcPattern *p, FcMatchKind kind);
3332
+
3333
+ Description
3334
+
3335
+ Calls FcConfigSubstituteWithPat setting p_pat to NULL. Returns FcFalse if the
3336
+ substitution cannot be performed (due to allocation failure). Otherwise returns
3337
+ FcTrue. If config is NULL, the current configuration is used.
3338
+
3339
+ Version
3340
+
3341
+ Fontconfig version 2.8.0
3342
+
3343
+ FcFontMatch
3344
+
3345
+ Name
3346
+
3347
+ FcFontMatch -- Return best font
3348
+
3349
+ Synopsis
3350
+
3351
+ #include <fontconfig.h>
3352
+
3353
+
3354
+ FcPattern * FcFontMatch(FcConfig *config, FcPattern *p, FcResult *result);
3355
+
3356
+ Description
3357
+
3358
+ Finds the font in sets most closely matching pattern and returns the result of
3359
+ FcFontRenderPrepare for that font and the provided pattern. This function
3360
+ should be called only after FcConfigSubstitute and FcDefaultSubstitute have
3361
+ been called for p; otherwise the results will not be correct. If config is
3362
+ NULL, the current configuration is used.
3363
+
3364
+ Version
3365
+
3366
+ Fontconfig version 2.8.0
3367
+
3368
+ FcFontSort
3369
+
3370
+ Name
3371
+
3372
+ FcFontSort -- Return list of matching fonts
3373
+
3374
+ Synopsis
3375
+
3376
+ #include <fontconfig.h>
3377
+
3378
+
3379
+ FcFontSet * FcFontSort(FcConfig *config, FcPattern *p, FcBool trim, FcCharSet
3380
+ **csp, FcResult *result);
3381
+
3382
+ Description
3383
+
3384
+ Returns the list of fonts sorted by closeness to p. If trim is FcTrue, elements
3385
+ in the list which don't include Unicode coverage not provided by earlier
3386
+ elements in the list are elided. The union of Unicode coverage of all of the
3387
+ fonts is returned in csp, if csp is not NULL. This function should be called
3388
+ only after FcConfigSubstitute and FcDefaultSubstitute have been called for p;
3389
+ otherwise the results will not be correct.
3390
+
3391
+ The returned FcFontSet references FcPattern structures which may be shared by
3392
+ the return value from multiple FcFontSort calls, applications must not modify
3393
+ these patterns. Instead, they should be passed, along with p to
3394
+ FcFontRenderPrepare which combines them into a complete pattern.
3395
+
3396
+ The FcFontSet returned by FcFontSort is destroyed by caling FcFontSetDestroy.
3397
+ If config is NULL, the current configuration is used.
3398
+
3399
+ Version
3400
+
3401
+ Fontconfig version 2.8.0
3402
+
3403
+ FcFontRenderPrepare
3404
+
3405
+ Name
3406
+
3407
+ FcFontRenderPrepare -- Prepare pattern for loading font file
3408
+
3409
+ Synopsis
3410
+
3411
+ #include <fontconfig.h>
3412
+
3413
+
3414
+ FcPattern * FcFontRenderPrepare(FcConfig *config, FcPattern *pat, FcPattern *
3415
+ font);
3416
+
3417
+ Description
3418
+
3419
+ Creates a new pattern consisting of elements of font not appearing in pat,
3420
+ elements of pat not appearing in font and the best matching value from pat for
3421
+ elements appearing in both. The result is passed to FcConfigSubstituteWithPat
3422
+ with kind FcMatchFont and then returned.
3423
+
3424
+ Version
3425
+
3426
+ Fontconfig version 2.8.0
3427
+
3428
+ FcFontList
3429
+
3430
+ Name
3431
+
3432
+ FcFontList -- List fonts
3433
+
3434
+ Synopsis
3435
+
3436
+ #include <fontconfig.h>
3437
+
3438
+
3439
+ FcFontSet * FcFontList(FcConfig *config, FcPattern *p, FcObjectSet *os);
3440
+
3441
+ Description
3442
+
3443
+ Selects fonts matching p, creates patterns from those fonts containing only the
3444
+ objects in os and returns the set of unique such patterns. If config is NULL,
3445
+ the default configuration is checked to be up to date, and used.
3446
+
3447
+ Version
3448
+
3449
+ Fontconfig version 2.8.0
3450
+
3451
+ FcConfigFilename
3452
+
3453
+ Name
3454
+
3455
+ FcConfigFilename -- Find a config file
3456
+
3457
+ Synopsis
3458
+
3459
+ #include <fontconfig.h>
3460
+
3461
+
3462
+ FcChar8 * FcConfigFilename(const FcChar8 *name);
3463
+
3464
+ Description
3465
+
3466
+ Given the specified external entity name, return the associated filename. This
3467
+ provides applications a way to convert various configuration file references
3468
+ into filename form.
3469
+
3470
+ A null or empty name indicates that the default configuration file should be
3471
+ used; which file this references can be overridden with the FC_CONFIG_FILE
3472
+ environment variable. Next, if the name starts with ~, it refers to a file in
3473
+ the current users home directory. Otherwise if the name doesn't start with '/',
3474
+ it refers to a file in the default configuration directory; the built-in
3475
+ default directory can be overridden with the FC_CONFIG_DIR environment
3476
+ variable.
3477
+
3478
+ Version
3479
+
3480
+ Fontconfig version 2.8.0
3481
+
3482
+ FcConfigParseAndLoad
3483
+
3484
+ Name
3485
+
3486
+ FcConfigParseAndLoad -- load a configuration file
3487
+
3488
+ Synopsis
3489
+
3490
+ #include <fontconfig.h>
3491
+
3492
+
3493
+ FcBool FcConfigParseAndLoad(FcConfig *config, const FcChar8 *file, FcBool
3494
+ complain);
3495
+
3496
+ Description
3497
+
3498
+ Walks the configuration in 'file' and constructs the internal representation in
3499
+ 'config'. Any include files referenced from within 'file' will be loaded and
3500
+ parsed. If 'complain' is FcFalse, no warning will be displayed if 'file' does
3501
+ not exist. Error and warning messages will be output to stderr. Returns FcFalse
3502
+ if some error occurred while loading the file, either a parse error, semantic
3503
+ error or allocation failure. Otherwise returns FcTrue.
3504
+
3505
+ Version
3506
+
3507
+ Fontconfig version 2.8.0
3508
+
3509
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
3510
+
3511
+ FcObjectType
3512
+
3513
+ Table of Contents
3514
+ FcNameRegisterObjectTypes -- Register object types
3515
+ FcNameUnregisterObjectTypes -- Unregister object types
3516
+ FcNameGetObjectType -- Lookup an object type
3517
+
3518
+ Provides for applcation-specified font name object types so that new pattern
3519
+ elements can be generated from font names.
3520
+
3521
+ FcNameRegisterObjectTypes
3522
+
3523
+ Name
3524
+
3525
+ FcNameRegisterObjectTypes -- Register object types
3526
+
3527
+ Synopsis
3528
+
3529
+ #include <fontconfig.h>
3530
+
3531
+
3532
+ FcBool FcNameRegisterObjectTypes(const FcObjectType *types, int ntype);
3533
+
3534
+ Description
3535
+
3536
+ Register ntype new object types. Returns FcFalse if some of the names cannot be
3537
+ registered (due to allocation failure). Otherwise returns FcTrue.
3538
+
3539
+ Version
3540
+
3541
+ Fontconfig version 2.8.0
3542
+
3543
+ FcNameUnregisterObjectTypes
3544
+
3545
+ Name
3546
+
3547
+ FcNameUnregisterObjectTypes -- Unregister object types
3548
+
3549
+ Synopsis
3550
+
3551
+ #include <fontconfig.h>
3552
+
3553
+
3554
+ FcBool FcNameUnregisterObjectTypes(const FcObjectType *types, int ntype);
3555
+
3556
+ Description
3557
+
3558
+ Unregister ntype object types. Returns FcTrue.
3559
+
3560
+ Version
3561
+
3562
+ Fontconfig version 2.8.0
3563
+
3564
+ FcNameGetObjectType
3565
+
3566
+ Name
3567
+
3568
+ FcNameGetObjectType -- Lookup an object type
3569
+
3570
+ Synopsis
3571
+
3572
+ #include <fontconfig.h>
3573
+
3574
+
3575
+ const FcObjectType * FcNameGetObjectType(const char *object);
3576
+
3577
+ Description
3578
+
3579
+ Return the object type for the pattern element named object.
3580
+
3581
+ Version
3582
+
3583
+ Fontconfig version 2.8.0
3584
+
3585
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
3586
+
3587
+ FcConstant
3588
+
3589
+ Table of Contents
3590
+ FcNameRegisterConstants -- Register symbolic constants
3591
+ FcNameUnregisterConstants -- Unregister symbolic constants
3592
+ FcNameGetConstant -- Lookup symbolic constant
3593
+ FcNameConstant -- Get the value for a symbolic constant
3594
+
3595
+ Provides for application-specified symbolic constants for font names.
3596
+
3597
+ FcNameRegisterConstants
3598
+
3599
+ Name
3600
+
3601
+ FcNameRegisterConstants -- Register symbolic constants
3602
+
3603
+ Synopsis
3604
+
3605
+ #include <fontconfig.h>
3606
+
3607
+
3608
+ FcBool FcNameRegisterConstants(const FcConstant *consts, int nconsts);
3609
+
3610
+ Description
3611
+
3612
+ Register nconsts new symbolic constants. Returns FcFalse if the constants
3613
+ cannot be registered (due to allocation failure). Otherwise returns FcTrue.
3614
+
3615
+ Version
3616
+
3617
+ Fontconfig version 2.8.0
3618
+
3619
+ FcNameUnregisterConstants
3620
+
3621
+ Name
3622
+
3623
+ FcNameUnregisterConstants -- Unregister symbolic constants
3624
+
3625
+ Synopsis
3626
+
3627
+ #include <fontconfig.h>
3628
+
3629
+
3630
+ FcBool FcNameUnregisterConstants(const FcConstant *consts, int nconsts);
3631
+
3632
+ Description
3633
+
3634
+ Unregister nconsts symbolic constants. Returns FcFalse if the specified
3635
+ constants were not registered. Otherwise returns FcTrue.
3636
+
3637
+ Version
3638
+
3639
+ Fontconfig version 2.8.0
3640
+
3641
+ FcNameGetConstant
3642
+
3643
+ Name
3644
+
3645
+ FcNameGetConstant -- Lookup symbolic constant
3646
+
3647
+ Synopsis
3648
+
3649
+ #include <fontconfig.h>
3650
+
3651
+
3652
+ const FcConstant * FcNameGetConstant(FcChar8 *string);
3653
+
3654
+ Description
3655
+
3656
+ Return the FcConstant structure related to symbolic constant string.
3657
+
3658
+ Version
3659
+
3660
+ Fontconfig version 2.8.0
3661
+
3662
+ FcNameConstant
3663
+
3664
+ Name
3665
+
3666
+ FcNameConstant -- Get the value for a symbolic constant
3667
+
3668
+ Synopsis
3669
+
3670
+ #include <fontconfig.h>
3671
+
3672
+
3673
+ FcBool FcNameConstant(FcChar8 *string, int *result);
3674
+
3675
+ Description
3676
+
3677
+ Returns whether a symbolic constant with name string is registered, placing the
3678
+ value of the constant in result if present.
3679
+
3680
+ Version
3681
+
3682
+ Fontconfig version 2.8.0
3683
+
3684
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
3685
+
3686
+ FcBlanks
3687
+
3688
+ Table of Contents
3689
+ FcBlanksCreate -- Create an FcBlanks
3690
+ FcBlanksDestroy -- Destroy and FcBlanks
3691
+ FcBlanksAdd -- Add a character to an FcBlanks
3692
+ FcBlanksIsMember -- Query membership in an FcBlanks
3693
+
3694
+ An FcBlanks object holds a list of Unicode chars which are expected to be blank
3695
+ when drawn. When scanning new fonts, any glyphs which are empty and not in this
3696
+ list will be assumed to be broken and not placed in the FcCharSet associated
3697
+ with the font. This provides a significantly more accurate CharSet for
3698
+ applications.
3699
+
3700
+ FcBlanksCreate
3701
+
3702
+ Name
3703
+
3704
+ FcBlanksCreate -- Create an FcBlanks
3705
+
3706
+ Synopsis
3707
+
3708
+ #include <fontconfig.h>
3709
+
3710
+
3711
+ FcBlanks * FcBlanksCreate(void);
3712
+
3713
+ Description
3714
+
3715
+ Creates an empty FcBlanks object.
3716
+
3717
+ Version
3718
+
3719
+ Fontconfig version 2.8.0
3720
+
3721
+ FcBlanksDestroy
3722
+
3723
+ Name
3724
+
3725
+ FcBlanksDestroy -- Destroy and FcBlanks
3726
+
3727
+ Synopsis
3728
+
3729
+ #include <fontconfig.h>
3730
+
3731
+
3732
+ void FcBlanksDestroy(FcBlanks *b);
3733
+
3734
+ Description
3735
+
3736
+ Destroys an FcBlanks object, freeing any associated memory.
3737
+
3738
+ Version
3739
+
3740
+ Fontconfig version 2.8.0
3741
+
3742
+ FcBlanksAdd
3743
+
3744
+ Name
3745
+
3746
+ FcBlanksAdd -- Add a character to an FcBlanks
3747
+
3748
+ Synopsis
3749
+
3750
+ #include <fontconfig.h>
3751
+
3752
+
3753
+ FcBool FcBlanksAdd(FcBlanks *b, FcChar32 ucs4);
3754
+
3755
+ Description
3756
+
3757
+ Adds a single character to an FcBlanks object, returning FcFalse if this
3758
+ process ran out of memory.
3759
+
3760
+ Version
3761
+
3762
+ Fontconfig version 2.8.0
3763
+
3764
+ FcBlanksIsMember
3765
+
3766
+ Name
3767
+
3768
+ FcBlanksIsMember -- Query membership in an FcBlanks
3769
+
3770
+ Synopsis
3771
+
3772
+ #include <fontconfig.h>
3773
+
3774
+
3775
+ FcBool FcBlanksIsMember(FcBlanks *b, FcChar32 ucs4);
3776
+
3777
+ Description
3778
+
3779
+ Returns whether the specified FcBlanks object contains the indicated Unicode
3780
+ value.
3781
+
3782
+ Version
3783
+
3784
+ Fontconfig version 2.8.0
3785
+
3786
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
3787
+
3788
+ FcAtomic
3789
+
3790
+ Table of Contents
3791
+ FcAtomicCreate -- create an FcAtomic object
3792
+ FcAtomicLock -- lock a file
3793
+ FcAtomicNewFile -- return new temporary file name
3794
+ FcAtomicOrigFile -- return original file name
3795
+ FcAtomicReplaceOrig -- replace original with new
3796
+ FcAtomicDeleteNew -- delete new file
3797
+ FcAtomicUnlock -- unlock a file
3798
+ FcAtomicDestroy -- destroy an FcAtomic object
3799
+
3800
+ These functions provide a safe way to update config files, allowing ongoing
3801
+ reading of the old config file while locked for writing and ensuring that a
3802
+ consistent and complete version of the config file is always available.
3803
+
3804
+ FcAtomicCreate
3805
+
3806
+ Name
3807
+
3808
+ FcAtomicCreate -- create an FcAtomic object
3809
+
3810
+ Synopsis
3811
+
3812
+ #include <fontconfig.h>
3813
+
3814
+
3815
+ FcAtomic * FcAtomicCreate(const FcChar8 *file);
3816
+
3817
+ Description
3818
+
3819
+ Creates a data structure containing data needed to control access to file.
3820
+ Writing is done to a separate file. Once that file is complete, the original
3821
+ configuration file is atomically replaced so that reading process always see a
3822
+ consistent and complete file without the need to lock for reading.
3823
+
3824
+ Version
3825
+
3826
+ Fontconfig version 2.8.0
3827
+
3828
+ FcAtomicLock
3829
+
3830
+ Name
3831
+
3832
+ FcAtomicLock -- lock a file
3833
+
3834
+ Synopsis
3835
+
3836
+ #include <fontconfig.h>
3837
+
3838
+
3839
+ FcBool FcAtomicLock(FcAtomic *atomic);
3840
+
3841
+ Description
3842
+
3843
+ Attempts to lock the file referenced by atomic. Returns FcFalse if the file is
3844
+ already locked, else returns FcTrue and leaves the file locked.
3845
+
3846
+ Version
3847
+
3848
+ Fontconfig version 2.8.0
3849
+
3850
+ FcAtomicNewFile
3851
+
3852
+ Name
3853
+
3854
+ FcAtomicNewFile -- return new temporary file name
3855
+
3856
+ Synopsis
3857
+
3858
+ #include <fontconfig.h>
3859
+
3860
+
3861
+ FcChar8 * FcAtomicNewFile(FcAtomic *atomic);
3862
+
3863
+ Description
3864
+
3865
+ Returns the filename for writing a new version of the file referenced by atomic
3866
+ .
3867
+
3868
+ Version
3869
+
3870
+ Fontconfig version 2.8.0
3871
+
3872
+ FcAtomicOrigFile
3873
+
3874
+ Name
3875
+
3876
+ FcAtomicOrigFile -- return original file name
3877
+
3878
+ Synopsis
3879
+
3880
+ #include <fontconfig.h>
3881
+
3882
+
3883
+ FcChar8 * FcAtomicOrigFile(FcAtomic *atomic);
3884
+
3885
+ Description
3886
+
3887
+ Returns the file refernced by atomic.
3888
+
3889
+ Version
3890
+
3891
+ Fontconfig version 2.8.0
3892
+
3893
+ FcAtomicReplaceOrig
3894
+
3895
+ Name
3896
+
3897
+ FcAtomicReplaceOrig -- replace original with new
3898
+
3899
+ Synopsis
3900
+
3901
+ #include <fontconfig.h>
3902
+
3903
+
3904
+ FcBool FcAtomicReplaceOrig(FcAtomic *atomic);
3905
+
3906
+ Description
3907
+
3908
+ Replaces the original file referenced by atomic with the new file. Returns
3909
+ FcFalse if the file cannot be replaced due to permission issues in the
3910
+ filesystem. Otherwise returns FcTrue.
3911
+
3912
+ Version
3913
+
3914
+ Fontconfig version 2.8.0
3915
+
3916
+ FcAtomicDeleteNew
3917
+
3918
+ Name
3919
+
3920
+ FcAtomicDeleteNew -- delete new file
3921
+
3922
+ Synopsis
3923
+
3924
+ #include <fontconfig.h>
3925
+
3926
+
3927
+ void FcAtomicDeleteNew(FcAtomic *atomic);
3928
+
3929
+ Description
3930
+
3931
+ Deletes the new file. Used in error recovery to back out changes.
3932
+
3933
+ Version
3934
+
3935
+ Fontconfig version 2.8.0
3936
+
3937
+ FcAtomicUnlock
3938
+
3939
+ Name
3940
+
3941
+ FcAtomicUnlock -- unlock a file
3942
+
3943
+ Synopsis
3944
+
3945
+ #include <fontconfig.h>
3946
+
3947
+
3948
+ void FcAtomicUnlock(FcAtomic *atomic);
3949
+
3950
+ Description
3951
+
3952
+ Unlocks the file.
3953
+
3954
+ Version
3955
+
3956
+ Fontconfig version 2.8.0
3957
+
3958
+ FcAtomicDestroy
3959
+
3960
+ Name
3961
+
3962
+ FcAtomicDestroy -- destroy an FcAtomic object
3963
+
3964
+ Synopsis
3965
+
3966
+ #include <fontconfig.h>
3967
+
3968
+
3969
+ void FcAtomicDestroy(FcAtomic *atomic);
3970
+
3971
+ Description
3972
+
3973
+ Destroys atomic.
3974
+
3975
+ Version
3976
+
3977
+ Fontconfig version 2.8.0
3978
+
3979
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
3980
+
3981
+ File and Directory routines
3982
+
3983
+ Table of Contents
3984
+ FcFileScan -- scan a font file
3985
+ FcFileIsDir -- check whether a file is a directory
3986
+ FcDirScan -- scan a font directory without caching it
3987
+ FcDirSave -- DEPRECATED: formerly used to save a directory cache
3988
+ FcDirCacheUnlink -- Remove all caches related to dir
3989
+ FcDirCacheValid -- check directory cache
3990
+ FcDirCacheLoad -- load a directory cache
3991
+ FcDirCacheRead -- read or construct a directory cache
3992
+ FcDirCacheLoadFile -- load a cache file
3993
+ FcDirCacheUnload -- unload a cache file
3994
+
3995
+ These routines work with font files and directories, including font directory
3996
+ cache files.
3997
+
3998
+ FcFileScan
3999
+
4000
+ Name
4001
+
4002
+ FcFileScan -- scan a font file
4003
+
4004
+ Synopsis
4005
+
4006
+ #include <fontconfig.h>
4007
+
4008
+
4009
+ FcBool FcFileScan(FcFontSet *set, FcStrSet *dirs, FcFileCache *cache, FcBlanks
4010
+ *blanks, const FcChar8 *file, FcBool force);
4011
+
4012
+ Description
4013
+
4014
+ Scans a single file and adds all fonts found to set. If force is FcTrue, then
4015
+ the file is scanned even if associated information is found in cache. If file
4016
+ is a directory, it is added to dirs. Whether fonts are found depends on
4017
+ fontconfig policy as well as the current configuration. Internally, fontconfig
4018
+ will ignore BDF and PCF fonts which are not in Unicode (or the effectively
4019
+ equivalent ISO Latin-1) encoding as those are not usable by Unicode-based
4020
+ applications. The configuration can ignore fonts based on filename or contents
4021
+ of the font file itself. Returns FcFalse if any of the fonts cannot be added
4022
+ (due to allocation failure). Otherwise returns FcTrue.
4023
+
4024
+ Version
4025
+
4026
+ Fontconfig version 2.8.0
4027
+
4028
+ FcFileIsDir
4029
+
4030
+ Name
4031
+
4032
+ FcFileIsDir -- check whether a file is a directory
4033
+
4034
+ Synopsis
4035
+
4036
+ #include <fontconfig.h>
4037
+
4038
+
4039
+ FcBool FcFileIsDir(const FcChar8 *file);
4040
+
4041
+ Description
4042
+
4043
+ Returns FcTrue if file is a directory, otherwise returns FcFalse.
4044
+
4045
+ Version
4046
+
4047
+ Fontconfig version 2.8.0
4048
+
4049
+ FcDirScan
4050
+
4051
+ Name
4052
+
4053
+ FcDirScan -- scan a font directory without caching it
4054
+
4055
+ Synopsis
4056
+
4057
+ #include <fontconfig.h>
4058
+
4059
+
4060
+ FcBool FcDirScan(FcFontSet *set, FcStrSet *dirs, FcFileCache *cache, FcBlanks *
4061
+ blanks, const FcChar8 *dir, FcBool force);
4062
+
4063
+ Description
4064
+
4065
+ If cache is not zero or if force is FcFalse, this function currently returns
4066
+ FcFalse. Otherwise, it scans an entire directory and adds all fonts found to
4067
+ set. Any subdirectories found are added to dirs. Calling this function does not
4068
+ create any cache files. Use FcDirCacheRead() if caching is desired.
4069
+
4070
+ Version
4071
+
4072
+ Fontconfig version 2.8.0
4073
+
4074
+ FcDirSave
4075
+
4076
+ Name
4077
+
4078
+ FcDirSave -- DEPRECATED: formerly used to save a directory cache
4079
+
4080
+ Synopsis
4081
+
4082
+ #include <fontconfig.h>
4083
+
4084
+
4085
+ FcBool FcDirSave(FcFontSet *set, FcStrSet *dirs, const FcChar8 *dir);
4086
+
4087
+ Description
4088
+
4089
+ This function now does nothing aside from returning FcFalse. It used to creates
4090
+ the per-directory cache file for dir and populates it with the fonts in set and
4091
+ subdirectories in dirs. All of this functionality is now automatically managed
4092
+ by FcDirCacheLoad and FcDirCacheRead.
4093
+
4094
+ Version
4095
+
4096
+ Fontconfig version 2.8.0
4097
+
4098
+ FcDirCacheUnlink
4099
+
4100
+ Name
4101
+
4102
+ FcDirCacheUnlink -- Remove all caches related to dir
4103
+
4104
+ Synopsis
4105
+
4106
+ #include <fontconfig.h>
4107
+
4108
+
4109
+ FcBool FcDirCacheUnlink(const FcChar8 *dir, FcConfig *config);
4110
+
4111
+ Description
4112
+
4113
+ Scans the cache directories in config, removing any instances of the cache file
4114
+ for dir. Returns FcFalse when some internal error occurs (out of memory, etc).
4115
+ Errors actually unlinking any files are ignored.
4116
+
4117
+ Version
4118
+
4119
+ Fontconfig version 2.8.0
4120
+
4121
+ FcDirCacheValid
4122
+
4123
+ Name
4124
+
4125
+ FcDirCacheValid -- check directory cache
4126
+
4127
+ Synopsis
4128
+
4129
+ #include <fontconfig.h>
4130
+
4131
+
4132
+ FcBool FcDirCacheValid(const FcChar8 *dir);
4133
+
4134
+ Description
4135
+
4136
+ Returns FcTrue if dir has an associated valid cache file, else returns FcFalse
4137
+
4138
+ Version
4139
+
4140
+ Fontconfig version 2.8.0
4141
+
4142
+ FcDirCacheLoad
4143
+
4144
+ Name
4145
+
4146
+ FcDirCacheLoad -- load a directory cache
4147
+
4148
+ Synopsis
4149
+
4150
+ #include <fontconfig.h>
4151
+
4152
+
4153
+ FcCache * FcDirCacheLoad(const FcChar8 *dir, FcConfig *config, FcChar8 **
4154
+ cache_file);
4155
+
4156
+ Description
4157
+
4158
+ Loads the cache related to dir. If no cache file exists, returns NULL. The name
4159
+ of the cache file is returned in cache_file, unless that is NULL. See also
4160
+ FcDirCacheRead.
4161
+
4162
+ Version
4163
+
4164
+ Fontconfig version 2.8.0
4165
+
4166
+ FcDirCacheRead
4167
+
4168
+ Name
4169
+
4170
+ FcDirCacheRead -- read or construct a directory cache
4171
+
4172
+ Synopsis
4173
+
4174
+ #include <fontconfig.h>
4175
+
4176
+
4177
+ FcCache * FcDirCacheRead(const FcChar8 *dir, FcBool force, FcConfig *config);
4178
+
4179
+ Description
4180
+
4181
+ This returns a cache for dir. If force is FcFalse, then an existing, valid
4182
+ cache file will be used. Otherwise, a new cache will be created by scanning the
4183
+ directory and that returned.
4184
+
4185
+ Version
4186
+
4187
+ Fontconfig version 2.8.0
4188
+
4189
+ FcDirCacheLoadFile
4190
+
4191
+ Name
4192
+
4193
+ FcDirCacheLoadFile -- load a cache file
4194
+
4195
+ Synopsis
4196
+
4197
+ #include <fontconfig.h>
4198
+
4199
+
4200
+ FcCache * FcDirCacheLoadFile(const FcChar8 *cache_file, struct stat *file_stat
4201
+ );
4202
+
4203
+ Description
4204
+
4205
+ This function loads a directory cache from cache_file. If file_stat is
4206
+ non-NULL, it will be filled with the results of stat(2) on the cache file.
4207
+
4208
+ Version
4209
+
4210
+ Fontconfig version 2.8.0
4211
+
4212
+ FcDirCacheUnload
4213
+
4214
+ Name
4215
+
4216
+ FcDirCacheUnload -- unload a cache file
4217
+
4218
+ Synopsis
4219
+
4220
+ #include <fontconfig.h>
4221
+
4222
+
4223
+ void FcDirCacheUnload(FcCache *cache);
4224
+
4225
+ Description
4226
+
4227
+ This function dereferences cache. When no other references to it remain, all
4228
+ memory associated with the cache will be freed.
4229
+
4230
+ Version
4231
+
4232
+ Fontconfig version 2.8.0
4233
+
4234
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
4235
+
4236
+ FcCache routines
4237
+
4238
+ Table of Contents
4239
+ FcCacheDir -- Return directory of cache
4240
+ FcCacheCopySet -- Returns a copy of the fontset from cache
4241
+ FcCacheSubdir -- Return the i'th subdirectory.
4242
+ FcCacheNumSubdir -- Return the number of subdirectories in cache.
4243
+ FcCacheNumFont -- Returns the number of fonts in cache.
4244
+
4245
+ These routines work with font directory caches, accessing their contents in
4246
+ limited ways. It is not expected that normal applications will need to use
4247
+ these functions.
4248
+
4249
+ FcCacheDir
4250
+
4251
+ Name
4252
+
4253
+ FcCacheDir -- Return directory of cache
4254
+
4255
+ Synopsis
4256
+
4257
+ #include <fontconfig.h>
4258
+
4259
+
4260
+ const FcChar8 * FcCacheDir(const FcCache *cache);
4261
+
4262
+ Description
4263
+
4264
+ This function returns the directory from which the cache was constructed.
4265
+
4266
+ Version
4267
+
4268
+ Fontconfig version 2.8.0
4269
+
4270
+ FcCacheCopySet
4271
+
4272
+ Name
4273
+
4274
+ FcCacheCopySet -- Returns a copy of the fontset from cache
4275
+
4276
+ Synopsis
4277
+
4278
+ #include <fontconfig.h>
4279
+
4280
+
4281
+ FcFontSet * FcCacheCopySet(const FcCache *cache);
4282
+
4283
+ Description
4284
+
4285
+ The returned fontset contains each of the font patterns from cache. This
4286
+ fontset may be modified, but the patterns from the cache are read-only.
4287
+
4288
+ Version
4289
+
4290
+ Fontconfig version 2.8.0
4291
+
4292
+ FcCacheSubdir
4293
+
4294
+ Name
4295
+
4296
+ FcCacheSubdir -- Return the i'th subdirectory.
4297
+
4298
+ Synopsis
4299
+
4300
+ #include <fontconfig.h>
4301
+
4302
+
4303
+ const FcChar8 * FcCacheSubdir(const FcCache *cache, inti);
4304
+
4305
+ Description
4306
+
4307
+ The set of subdirectories stored in a cache file are indexed by this function,
4308
+ i should range from 0 to n-1, where n is the return value from
4309
+ FcCacheNumSubdir.
4310
+
4311
+ Version
4312
+
4313
+ Fontconfig version 2.8.0
4314
+
4315
+ FcCacheNumSubdir
4316
+
4317
+ Name
4318
+
4319
+ FcCacheNumSubdir -- Return the number of subdirectories in cache.
4320
+
4321
+ Synopsis
4322
+
4323
+ #include <fontconfig.h>
4324
+
4325
+
4326
+ int FcCacheNumSubdir(const FcCache *cache);
4327
+
4328
+ Description
4329
+
4330
+ This returns the total number of subdirectories in the cache.
4331
+
4332
+ Version
4333
+
4334
+ Fontconfig version 2.8.0
4335
+
4336
+ FcCacheNumFont
4337
+
4338
+ Name
4339
+
4340
+ FcCacheNumFont -- Returns the number of fonts in cache.
4341
+
4342
+ Synopsis
4343
+
4344
+ #include <fontconfig.h>
4345
+
4346
+
4347
+ int FcCacheNumFont(const FcCache *cache);
4348
+
4349
+ Description
4350
+
4351
+ This returns the number of fonts which would be included in the return from
4352
+ FcCacheCopySet.
4353
+
4354
+ Version
4355
+
4356
+ Fontconfig version 2.8.0
4357
+
4358
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
4359
+
4360
+ FcStrSet and FcStrList
4361
+
4362
+ Table of Contents
4363
+ FcStrSetCreate -- create a string set
4364
+ FcStrSetMember -- check set for membership
4365
+ FcStrSetEqual -- check sets for equality
4366
+ FcStrSetAdd -- add to a string set
4367
+ FcStrSetAddFilename -- add a filename to a string set
4368
+ FcStrSetDel -- delete from a string set
4369
+ FcStrSetDestroy -- destroy a string set
4370
+ FcStrListCreate -- create a string iterator
4371
+ FcStrListNext -- get next string in iteration
4372
+ FcStrListDone -- destroy a string iterator
4373
+
4374
+ A data structure for enumerating strings, used to list directories while
4375
+ scanning the configuration as directories are added while scanning.
4376
+
4377
+ FcStrSetCreate
4378
+
4379
+ Name
4380
+
4381
+ FcStrSetCreate -- create a string set
4382
+
4383
+ Synopsis
4384
+
4385
+ #include <fontconfig.h>
4386
+
4387
+
4388
+ FcStrSet * FcStrSetCreate(void);
4389
+
4390
+ Description
4391
+
4392
+ Create an empty set.
4393
+
4394
+ Version
4395
+
4396
+ Fontconfig version 2.8.0
4397
+
4398
+ FcStrSetMember
4399
+
4400
+ Name
4401
+
4402
+ FcStrSetMember -- check set for membership
4403
+
4404
+ Synopsis
4405
+
4406
+ #include <fontconfig.h>
4407
+
4408
+
4409
+ FcBool FcStrSetMember(FcStrSet *set, const FcChar8 *s);
4410
+
4411
+ Description
4412
+
4413
+ Returns whether s is a member of set.
4414
+
4415
+ Version
4416
+
4417
+ Fontconfig version 2.8.0
4418
+
4419
+ FcStrSetEqual
4420
+
4421
+ Name
4422
+
4423
+ FcStrSetEqual -- check sets for equality
4424
+
4425
+ Synopsis
4426
+
4427
+ #include <fontconfig.h>
4428
+
4429
+
4430
+ FcBool FcStrSetEqual(FcStrSet *set_a, FcStrSet *set_b);
4431
+
4432
+ Description
4433
+
4434
+ Returns whether set_a contains precisely the same strings as set_b. Ordering of
4435
+ strings within the two sets is not considered.
4436
+
4437
+ Version
4438
+
4439
+ Fontconfig version 2.8.0
4440
+
4441
+ FcStrSetAdd
4442
+
4443
+ Name
4444
+
4445
+ FcStrSetAdd -- add to a string set
4446
+
4447
+ Synopsis
4448
+
4449
+ #include <fontconfig.h>
4450
+
4451
+
4452
+ FcBool FcStrSetAdd(FcStrSet *set, const FcChar8 *s);
4453
+
4454
+ Description
4455
+
4456
+ Adds a copy of s to set.
4457
+
4458
+ Version
4459
+
4460
+ Fontconfig version 2.8.0
4461
+
4462
+ FcStrSetAddFilename
4463
+
4464
+ Name
4465
+
4466
+ FcStrSetAddFilename -- add a filename to a string set
4467
+
4468
+ Synopsis
4469
+
4470
+ #include <fontconfig.h>
4471
+
4472
+
4473
+ FcBool FcStrSetAddFilename(FcStrSet *set, const FcChar8 *s);
4474
+
4475
+ Description
4476
+
4477
+ Adds a copy s to set, The copy is created with FcStrCopyFilename so that
4478
+ leading '~' values are replaced with the value of the HOME environment
4479
+ variable.
4480
+
4481
+ Version
4482
+
4483
+ Fontconfig version 2.8.0
4484
+
4485
+ FcStrSetDel
4486
+
4487
+ Name
4488
+
4489
+ FcStrSetDel -- delete from a string set
4490
+
4491
+ Synopsis
4492
+
4493
+ #include <fontconfig.h>
4494
+
4495
+
4496
+ FcBool FcStrSetDel(FcStrSet *set, const FcChar8 *s);
4497
+
4498
+ Description
4499
+
4500
+ Removes s from set, returning FcTrue if s was a member else FcFalse.
4501
+
4502
+ Version
4503
+
4504
+ Fontconfig version 2.8.0
4505
+
4506
+ FcStrSetDestroy
4507
+
4508
+ Name
4509
+
4510
+ FcStrSetDestroy -- destroy a string set
4511
+
4512
+ Synopsis
4513
+
4514
+ #include <fontconfig.h>
4515
+
4516
+
4517
+ void FcStrSetDestroy(FcStrSet *set);
4518
+
4519
+ Description
4520
+
4521
+ Destroys set.
4522
+
4523
+ Version
4524
+
4525
+ Fontconfig version 2.8.0
4526
+
4527
+ FcStrListCreate
4528
+
4529
+ Name
4530
+
4531
+ FcStrListCreate -- create a string iterator
4532
+
4533
+ Synopsis
4534
+
4535
+ #include <fontconfig.h>
4536
+
4537
+
4538
+ FcStrList * FcStrListCreate(FcStrSet *set);
4539
+
4540
+ Description
4541
+
4542
+ Creates an iterator to list the strings in set.
4543
+
4544
+ Version
4545
+
4546
+ Fontconfig version 2.8.0
4547
+
4548
+ FcStrListNext
4549
+
4550
+ Name
4551
+
4552
+ FcStrListNext -- get next string in iteration
4553
+
4554
+ Synopsis
4555
+
4556
+ #include <fontconfig.h>
4557
+
4558
+
4559
+ FcChar8 * FcStrListNext(FcStrList *list);
4560
+
4561
+ Description
4562
+
4563
+ Returns the next string in set.
4564
+
4565
+ Version
4566
+
4567
+ Fontconfig version 2.8.0
4568
+
4569
+ FcStrListDone
4570
+
4571
+ Name
4572
+
4573
+ FcStrListDone -- destroy a string iterator
4574
+
4575
+ Synopsis
4576
+
4577
+ #include <fontconfig.h>
4578
+
4579
+
4580
+ void FcStrListDone(FcStrList *list);
4581
+
4582
+ Description
4583
+
4584
+ Destroys the enumerator list.
4585
+
4586
+ Version
4587
+
4588
+ Fontconfig version 2.8.0
4589
+
4590
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
4591
+
4592
+ String utilities
4593
+
4594
+ Table of Contents
4595
+ FcUtf8ToUcs4 -- convert UTF-8 to UCS4
4596
+ FcUcs4ToUtf8 -- convert UCS4 to UTF-8
4597
+ FcUtf8Len -- count UTF-8 encoded chars
4598
+ FcUtf16ToUcs4 -- convert UTF-16 to UCS4
4599
+ FcUtf16Len -- count UTF-16 encoded chars
4600
+ FcIsLower -- check for lower case ASCII character
4601
+ FcIsUpper -- check for upper case ASCII character
4602
+ FcToLower -- convert upper case ASCII to lower case
4603
+ FcStrCopy -- duplicate a string
4604
+ FcStrDowncase -- create a lower case translation of a string
4605
+ FcStrCopyFilename -- create a complete path from a filename
4606
+ FcStrCmp -- compare UTF-8 strings
4607
+ FcStrCmpIgnoreCase -- compare UTF-8 strings ignoring case
4608
+ FcStrStr -- locate UTF-8 substring
4609
+ FcStrStrIgnoreCase -- locate UTF-8 substring ignoring ASCII case
4610
+ FcStrPlus -- concatenate two strings
4611
+ FcStrFree -- free a string
4612
+ FcStrDirname -- directory part of filename
4613
+ FcStrBasename -- last component of filename
4614
+
4615
+ Fontconfig manipulates many UTF-8 strings represented with the FcChar8 type.
4616
+ These functions are exposed to help applications deal with these UTF-8 strings
4617
+ in a locale-insensitive manner.
4618
+
4619
+ FcUtf8ToUcs4
4620
+
4621
+ Name
4622
+
4623
+ FcUtf8ToUcs4 -- convert UTF-8 to UCS4
4624
+
4625
+ Synopsis
4626
+
4627
+ #include <fontconfig.h>
4628
+
4629
+
4630
+ int FcUtf8ToUcs4(FcChar8 *src, FcChar32 *dst, int len);
4631
+
4632
+ Description
4633
+
4634
+ Converts the next Unicode char from src into dst and returns the number of
4635
+ bytes containing the char. src must be at least len bytes long.
4636
+
4637
+ Version
4638
+
4639
+ Fontconfig version 2.8.0
4640
+
4641
+ FcUcs4ToUtf8
4642
+
4643
+ Name
4644
+
4645
+ FcUcs4ToUtf8 -- convert UCS4 to UTF-8
4646
+
4647
+ Synopsis
4648
+
4649
+ #include <fontconfig.h>
4650
+
4651
+
4652
+ int FcUcs4ToUtf8(FcChar32 src, FcChar8 dst[FC_UTF8_MAX_LEN]);
4653
+
4654
+ Description
4655
+
4656
+ Converts the Unicode char from src into dst and returns the number of bytes
4657
+ needed to encode the char.
4658
+
4659
+ Version
4660
+
4661
+ Fontconfig version 2.8.0
4662
+
4663
+ FcUtf8Len
4664
+
4665
+ Name
4666
+
4667
+ FcUtf8Len -- count UTF-8 encoded chars
4668
+
4669
+ Synopsis
4670
+
4671
+ #include <fontconfig.h>
4672
+
4673
+
4674
+ FcBool FcUtf8Len(FcChar8 *src, int len, int *nchar, int *wchar);
4675
+
4676
+ Description
4677
+
4678
+ Counts the number of Unicode chars in len bytes of src. Places that count in
4679
+ nchar. wchar contains 1, 2 or 4 depending on the number of bytes needed to hold
4680
+ the largest unicode char counted. The return value indicates whether src is a
4681
+ well-formed UTF8 string.
4682
+
4683
+ Version
4684
+
4685
+ Fontconfig version 2.8.0
4686
+
4687
+ FcUtf16ToUcs4
4688
+
4689
+ Name
4690
+
4691
+ FcUtf16ToUcs4 -- convert UTF-16 to UCS4
4692
+
4693
+ Synopsis
4694
+
4695
+ #include <fontconfig.h>
4696
+
4697
+
4698
+ int FcUtf16ToUcs4(FcChar8 *src, FcEndian endian, FcChar32 *dst, int len);
4699
+
4700
+ Description
4701
+
4702
+ Converts the next Unicode char from src into dst and returns the number of
4703
+ bytes containing the char. src must be at least len bytes long. Bytes of src
4704
+ are combined into 16-bit units according to endian.
4705
+
4706
+ Version
4707
+
4708
+ Fontconfig version 2.8.0
4709
+
4710
+ FcUtf16Len
4711
+
4712
+ Name
4713
+
4714
+ FcUtf16Len -- count UTF-16 encoded chars
4715
+
4716
+ Synopsis
4717
+
4718
+ #include <fontconfig.h>
4719
+
4720
+
4721
+ FcBool FcUtf16Len(FcChar8 *src, FcEndian endian, int len, int *nchar, int *
4722
+ wchar);
4723
+
4724
+ Description
4725
+
4726
+ Counts the number of Unicode chars in len bytes of src. Bytes of src are
4727
+ combined into 16-bit units according to endian. Places that count in nchar.
4728
+ wchar contains 1, 2 or 4 depending on the number of bytes needed to hold the
4729
+ largest unicode char counted. The return value indicates whether string is a
4730
+ well-formed UTF16 string.
4731
+
4732
+ Version
4733
+
4734
+ Fontconfig version 2.8.0
4735
+
4736
+ FcIsLower
4737
+
4738
+ Name
4739
+
4740
+ FcIsLower -- check for lower case ASCII character
4741
+
4742
+ Synopsis
4743
+
4744
+ #include <fontconfig.h>
4745
+
4746
+
4747
+ FcBool FcIsLower(FcChar8c);
4748
+
4749
+ Description
4750
+
4751
+ This macro checks whether c is an lower case ASCII letter.
4752
+
4753
+ Version
4754
+
4755
+ Fontconfig version 2.8.0
4756
+
4757
+ FcIsUpper
4758
+
4759
+ Name
4760
+
4761
+ FcIsUpper -- check for upper case ASCII character
4762
+
4763
+ Synopsis
4764
+
4765
+ #include <fontconfig.h>
4766
+
4767
+
4768
+ FcBool FcIsUpper(FcChar8c);
4769
+
4770
+ Description
4771
+
4772
+ This macro checks whether c is a upper case ASCII letter.
4773
+
4774
+ Version
4775
+
4776
+ Fontconfig version 2.8.0
4777
+
4778
+ FcToLower
4779
+
4780
+ Name
4781
+
4782
+ FcToLower -- convert upper case ASCII to lower case
4783
+
4784
+ Synopsis
4785
+
4786
+ #include <fontconfig.h>
4787
+
4788
+
4789
+ FcChar8 FcToLower(FcChar8c);
4790
+
4791
+ Description
4792
+
4793
+ This macro converts upper case ASCII c to the equivalent lower case letter.
4794
+
4795
+ Version
4796
+
4797
+ Fontconfig version 2.8.0
4798
+
4799
+ FcStrCopy
4800
+
4801
+ Name
4802
+
4803
+ FcStrCopy -- duplicate a string
4804
+
4805
+ Synopsis
4806
+
4807
+ #include <fontconfig.h>
4808
+
4809
+
4810
+ FcChar8 * FcStrCopy(const FcChar8 *s);
4811
+
4812
+ Description
4813
+
4814
+ Allocates memory, copies s and returns the resulting buffer. Yes, this is
4815
+ strdup, but that function isn't available on every platform.
4816
+
4817
+ Version
4818
+
4819
+ Fontconfig version 2.8.0
4820
+
4821
+ FcStrDowncase
4822
+
4823
+ Name
4824
+
4825
+ FcStrDowncase -- create a lower case translation of a string
4826
+
4827
+ Synopsis
4828
+
4829
+ #include <fontconfig.h>
4830
+
4831
+
4832
+ FcChar8 * FcStrDowncase(const FcChar8 *s);
4833
+
4834
+ Description
4835
+
4836
+ Allocates memory, copies s, converting upper case letters to lower case and
4837
+ returns the allocated buffer.
4838
+
4839
+ Version
4840
+
4841
+ Fontconfig version 2.8.0
4842
+
4843
+ FcStrCopyFilename
4844
+
4845
+ Name
4846
+
4847
+ FcStrCopyFilename -- create a complete path from a filename
4848
+
4849
+ Synopsis
4850
+
4851
+ #include <fontconfig.h>
4852
+
4853
+
4854
+ FcChar8 * FcStrCopyFilename(const FcChar8 *s);
4855
+
4856
+ Description
4857
+
4858
+ FcStrCopyFilename constructs an absolute pathname from s. It converts any
4859
+ leading '~' characters in to the value of the HOME environment variable, and
4860
+ any relative paths are converted to absolute paths using the current working
4861
+ directory. Sequences of '/' characters are converted to a single '/', and names
4862
+ containing the current directory '.' or parent directory '..' are correctly
4863
+ reconstructed. Returns NULL if '~' is the leading character and HOME is unset
4864
+ or disabled (see FcConfigEnableHome).
4865
+
4866
+ Version
4867
+
4868
+ Fontconfig version 2.8.0
4869
+
4870
+ FcStrCmp
4871
+
4872
+ Name
4873
+
4874
+ FcStrCmp -- compare UTF-8 strings
4875
+
4876
+ Synopsis
4877
+
4878
+ #include <fontconfig.h>
4879
+
4880
+
4881
+ int FcStrCmp(const FcChar8 *s1, const FcChar8 *s2);
4882
+
4883
+ Description
4884
+
4885
+ Returns the usual <0, 0, >0 result of comparing s1 and s2.
4886
+
4887
+ Version
4888
+
4889
+ Fontconfig version 2.8.0
4890
+
4891
+ FcStrCmpIgnoreCase
4892
+
4893
+ Name
4894
+
4895
+ FcStrCmpIgnoreCase -- compare UTF-8 strings ignoring case
4896
+
4897
+ Synopsis
4898
+
4899
+ #include <fontconfig.h>
4900
+
4901
+
4902
+ int FcStrCmpIgnoreCase(const FcChar8 *s1, const FcChar8 *s2);
4903
+
4904
+ Description
4905
+
4906
+ Returns the usual <0, 0, >0 result of comparing s1 and s2. This test is
4907
+ case-insensitive for all proper UTF-8 encoded strings.
4908
+
4909
+ Version
4910
+
4911
+ Fontconfig version 2.8.0
4912
+
4913
+ FcStrStr
4914
+
4915
+ Name
4916
+
4917
+ FcStrStr -- locate UTF-8 substring
4918
+
4919
+ Synopsis
4920
+
4921
+ #include <fontconfig.h>
4922
+
4923
+
4924
+ FcChar8 * FcStrStr(const FcChar8 *s1, const FcChar8 *s2);
4925
+
4926
+ Description
4927
+
4928
+ Returns the location of s2 in s1. Returns NULL if s2 is not present in s1. This
4929
+ test will operate properly with UTF8 encoded strings.
4930
+
4931
+ Version
4932
+
4933
+ Fontconfig version 2.8.0
4934
+
4935
+ FcStrStrIgnoreCase
4936
+
4937
+ Name
4938
+
4939
+ FcStrStrIgnoreCase -- locate UTF-8 substring ignoring ASCII case
4940
+
4941
+ Synopsis
4942
+
4943
+ #include <fontconfig.h>
4944
+
4945
+
4946
+ FcChar8 * FcStrStrIgnoreCase(const FcChar8 *s1, const FcChar8 *s2);
4947
+
4948
+ Description
4949
+
4950
+ Returns the location of s2 in s1, ignoring case. Returns NULL if s2 is not
4951
+ present in s1. This test is case-insensitive for all proper UTF-8 encoded
4952
+ strings.
4953
+
4954
+ Version
4955
+
4956
+ Fontconfig version 2.8.0
4957
+
4958
+ FcStrPlus
4959
+
4960
+ Name
4961
+
4962
+ FcStrPlus -- concatenate two strings
4963
+
4964
+ Synopsis
4965
+
4966
+ #include <fontconfig.h>
4967
+
4968
+
4969
+ FcChar8 * FcStrPlus(const FcChar8 *s1, const FcChar8 *s2);
4970
+
4971
+ Description
4972
+
4973
+ This function allocates new storage and places the concatenation of s1 and s2
4974
+ there, returning the new string.
4975
+
4976
+ Version
4977
+
4978
+ Fontconfig version 2.8.0
4979
+
4980
+ FcStrFree
4981
+
4982
+ Name
4983
+
4984
+ FcStrFree -- free a string
4985
+
4986
+ Synopsis
4987
+
4988
+ #include <fontconfig.h>
4989
+
4990
+
4991
+ void FcStrFree(FcChar8 *s);
4992
+
4993
+ Description
4994
+
4995
+ This is just a wrapper around free(3) which helps track memory usage of strings
4996
+ within the fontconfig library.
4997
+
4998
+ Version
4999
+
5000
+ Fontconfig version 2.8.0
5001
+
5002
+ FcStrDirname
5003
+
5004
+ Name
5005
+
5006
+ FcStrDirname -- directory part of filename
5007
+
5008
+ Synopsis
5009
+
5010
+ #include <fontconfig.h>
5011
+
5012
+
5013
+ FcChar8 * FcStrDirname(const FcChar8 *file);
5014
+
5015
+ Description
5016
+
5017
+ Returns the directory containing file. This is returned in newly allocated
5018
+ storage which should be freed when no longer needed.
5019
+
5020
+ Version
5021
+
5022
+ Fontconfig version 2.8.0
5023
+
5024
+ FcStrBasename
5025
+
5026
+ Name
5027
+
5028
+ FcStrBasename -- last component of filename
5029
+
5030
+ Synopsis
5031
+
5032
+ #include <fontconfig.h>
5033
+
5034
+
5035
+ FcChar8 * FcStrBasename(const FcChar8 *file);
5036
+
5037
+ Description
5038
+
5039
+ Returns the filename of file stripped of any leading directory names. This is
5040
+ returned in newly allocated storage which should be freed when no longer
5041
+ needed.
5042
+
5043
+ Version
5044
+
5045
+ Fontconfig version 2.8.0
5046
+