pango 2.2.4-x64-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (530) hide show
  1. checksums.yaml +7 -0
  2. data/README +33 -0
  3. data/Rakefile +65 -0
  4. data/ext/pango/depend +12 -0
  5. data/ext/pango/extconf.rb +90 -0
  6. data/ext/pango/pango.def +18 -0
  7. data/ext/pango/rbpango.c +318 -0
  8. data/ext/pango/rbpango.h +96 -0
  9. data/ext/pango/rbpangoanalysis.c +218 -0
  10. data/ext/pango/rbpangoattribute.c +499 -0
  11. data/ext/pango/rbpangoattriterator.c +141 -0
  12. data/ext/pango/rbpangoattrlist.c +101 -0
  13. data/ext/pango/rbpangocairo.c +122 -0
  14. data/ext/pango/rbpangocairocontext.c +131 -0
  15. data/ext/pango/rbpangocolor.c +120 -0
  16. data/ext/pango/rbpangocontext.c +309 -0
  17. data/ext/pango/rbpangoconversions.h +111 -0
  18. data/ext/pango/rbpangocoverage.c +106 -0
  19. data/ext/pango/rbpangoengine.c +73 -0
  20. data/ext/pango/rbpangofont.c +110 -0
  21. data/ext/pango/rbpangofontdescription.c +282 -0
  22. data/ext/pango/rbpangofontface.c +73 -0
  23. data/ext/pango/rbpangofontfamily.c +79 -0
  24. data/ext/pango/rbpangofontmap.c +102 -0
  25. data/ext/pango/rbpangofontmetrics.c +85 -0
  26. data/ext/pango/rbpangofontset.c +69 -0
  27. data/ext/pango/rbpangofontsetsimple.c +60 -0
  28. data/ext/pango/rbpangoglyphinfo.c +123 -0
  29. data/ext/pango/rbpangoglyphitem.c +125 -0
  30. data/ext/pango/rbpangoglyphstring.c +151 -0
  31. data/ext/pango/rbpangogravity.c +54 -0
  32. data/ext/pango/rbpangoitem.c +95 -0
  33. data/ext/pango/rbpangolanguage.c +86 -0
  34. data/ext/pango/rbpangolayout.c +572 -0
  35. data/ext/pango/rbpangolayoutiter.c +189 -0
  36. data/ext/pango/rbpangolayoutline.c +239 -0
  37. data/ext/pango/rbpangologattr.c +109 -0
  38. data/ext/pango/rbpangomatrix.c +143 -0
  39. data/ext/pango/rbpangoprivate.h +49 -0
  40. data/ext/pango/rbpangorectangle.c +170 -0
  41. data/ext/pango/rbpangorenderer.c +193 -0
  42. data/ext/pango/rbpangoscript.c +84 -0
  43. data/ext/pango/rbpangoscriptiter.c +92 -0
  44. data/ext/pango/rbpangotabarray.c +128 -0
  45. data/extconf.rb +49 -0
  46. data/lib/2.0/pango.so +0 -0
  47. data/lib/2.1/pango.so +0 -0
  48. data/lib/2.2/pango.so +0 -0
  49. data/lib/pango.rb +79 -0
  50. data/sample/attribute.rb +82 -0
  51. data/sample/break.rb +28 -0
  52. data/sample/gdk_layout.rb +27 -0
  53. data/sample/glyphstring.rb +61 -0
  54. data/sample/item.rb +37 -0
  55. data/sample/label.rb +23 -0
  56. data/sample/layout.rb +102 -0
  57. data/sample/pango_cairo.rb +66 -0
  58. data/sample/parse.rb +33 -0
  59. data/sample/sample.txt +10 -0
  60. data/sample/script.rb +23 -0
  61. data/test/pango-test-utils.rb +9 -0
  62. data/test/run-test.rb +28 -0
  63. data/test/test-analysis.rb +26 -0
  64. data/test/test-attribute.rb +19 -0
  65. data/test/test-color.rb +47 -0
  66. data/test/test-language.rb +7 -0
  67. data/test/test-layout.rb +34 -0
  68. data/test/test-log-attr.rb +26 -0
  69. data/test/test-matrix.rb +26 -0
  70. data/test/test-rectangle.rb +26 -0
  71. data/vendor/local/bin/derb.exe +0 -0
  72. data/vendor/local/bin/genbrk.exe +0 -0
  73. data/vendor/local/bin/genccode.exe +0 -0
  74. data/vendor/local/bin/gencfu.exe +0 -0
  75. data/vendor/local/bin/gencmn.exe +0 -0
  76. data/vendor/local/bin/gencnval.exe +0 -0
  77. data/vendor/local/bin/gendict.exe +0 -0
  78. data/vendor/local/bin/gennorm2.exe +0 -0
  79. data/vendor/local/bin/genrb.exe +0 -0
  80. data/vendor/local/bin/gensprep.exe +0 -0
  81. data/vendor/local/bin/hb-ot-shape-closure.exe +0 -0
  82. data/vendor/local/bin/hb-shape.exe +0 -0
  83. data/vendor/local/bin/hb-view.exe +0 -0
  84. data/vendor/local/bin/icu-config +820 -0
  85. data/vendor/local/bin/icuinfo.exe +0 -0
  86. data/vendor/local/bin/icupkg.exe +0 -0
  87. data/vendor/local/bin/libharfbuzz-0.dll +0 -0
  88. data/vendor/local/bin/libpango-1.0-0.dll +0 -0
  89. data/vendor/local/bin/libpangocairo-1.0-0.dll +0 -0
  90. data/vendor/local/bin/libpangoft2-1.0-0.dll +0 -0
  91. data/vendor/local/bin/libpangowin32-1.0-0.dll +0 -0
  92. data/vendor/local/bin/makeconv.exe +0 -0
  93. data/vendor/local/bin/pango-querymodules.exe +0 -0
  94. data/vendor/local/bin/pango-view.exe +0 -0
  95. data/vendor/local/bin/pkgdata.exe +0 -0
  96. data/vendor/local/bin/uconv.exe +0 -0
  97. data/vendor/local/etc/pango/pango.modules +19 -0
  98. data/vendor/local/include/harfbuzz/hb-blob.h +126 -0
  99. data/vendor/local/include/harfbuzz/hb-buffer.h +344 -0
  100. data/vendor/local/include/harfbuzz/hb-common.h +344 -0
  101. data/vendor/local/include/harfbuzz/hb-deprecated.h +51 -0
  102. data/vendor/local/include/harfbuzz/hb-face.h +117 -0
  103. data/vendor/local/include/harfbuzz/hb-font.h +507 -0
  104. data/vendor/local/include/harfbuzz/hb-ft.h +62 -0
  105. data/vendor/local/include/harfbuzz/hb-glib.h +52 -0
  106. data/vendor/local/include/harfbuzz/hb-icu.h +52 -0
  107. data/vendor/local/include/harfbuzz/hb-ot-font.h +41 -0
  108. data/vendor/local/include/harfbuzz/hb-ot-layout.h +302 -0
  109. data/vendor/local/include/harfbuzz/hb-ot-shape.h +53 -0
  110. data/vendor/local/include/harfbuzz/hb-ot-tag.h +59 -0
  111. data/vendor/local/include/harfbuzz/hb-ot.h +43 -0
  112. data/vendor/local/include/harfbuzz/hb-set.h +154 -0
  113. data/vendor/local/include/harfbuzz/hb-shape-plan.h +89 -0
  114. data/vendor/local/include/harfbuzz/hb-shape.h +81 -0
  115. data/vendor/local/include/harfbuzz/hb-unicode.h +445 -0
  116. data/vendor/local/include/harfbuzz/hb-version.h +66 -0
  117. data/vendor/local/include/harfbuzz/hb.h +47 -0
  118. data/vendor/local/include/layout/LEFontInstance.h +550 -0
  119. data/vendor/local/include/layout/LEGlyphFilter.h +45 -0
  120. data/vendor/local/include/layout/LEGlyphStorage.h +546 -0
  121. data/vendor/local/include/layout/LEInsertionList.h +177 -0
  122. data/vendor/local/include/layout/LELanguages.h +112 -0
  123. data/vendor/local/include/layout/LEScripts.h +263 -0
  124. data/vendor/local/include/layout/LESwaps.h +100 -0
  125. data/vendor/local/include/layout/LETableReference.h +418 -0
  126. data/vendor/local/include/layout/LETypes.h +728 -0
  127. data/vendor/local/include/layout/LayoutEngine.h +518 -0
  128. data/vendor/local/include/layout/ParagraphLayout.h +747 -0
  129. data/vendor/local/include/layout/RunArrays.h +676 -0
  130. data/vendor/local/include/layout/loengine.h +225 -0
  131. data/vendor/local/include/layout/playout.h +466 -0
  132. data/vendor/local/include/layout/plruns.h +441 -0
  133. data/vendor/local/include/pango-1.0/pango/pango-attributes.h +514 -0
  134. data/vendor/local/include/pango-1.0/pango/pango-bidi-type.h +136 -0
  135. data/vendor/local/include/pango-1.0/pango/pango-break.h +173 -0
  136. data/vendor/local/include/pango-1.0/pango/pango-context.h +112 -0
  137. data/vendor/local/include/pango-1.0/pango/pango-coverage.h +79 -0
  138. data/vendor/local/include/pango-1.0/pango/pango-engine.h +429 -0
  139. data/vendor/local/include/pango-1.0/pango/pango-enum-types.h +69 -0
  140. data/vendor/local/include/pango-1.0/pango/pango-features.h +12 -0
  141. data/vendor/local/include/pango-1.0/pango/pango-font.h +622 -0
  142. data/vendor/local/include/pango-1.0/pango/pango-fontmap.h +167 -0
  143. data/vendor/local/include/pango-1.0/pango/pango-fontset.h +169 -0
  144. data/vendor/local/include/pango-1.0/pango/pango-glyph-item.h +158 -0
  145. data/vendor/local/include/pango-1.0/pango/pango-glyph.h +197 -0
  146. data/vendor/local/include/pango-1.0/pango/pango-gravity.h +128 -0
  147. data/vendor/local/include/pango-1.0/pango/pango-item.h +109 -0
  148. data/vendor/local/include/pango-1.0/pango/pango-language.h +61 -0
  149. data/vendor/local/include/pango-1.0/pango/pango-layout.h +340 -0
  150. data/vendor/local/include/pango-1.0/pango/pango-matrix.h +117 -0
  151. data/vendor/local/include/pango-1.0/pango/pango-modules.h +71 -0
  152. data/vendor/local/include/pango-1.0/pango/pango-ot.h +391 -0
  153. data/vendor/local/include/pango-1.0/pango/pango-renderer.h +260 -0
  154. data/vendor/local/include/pango-1.0/pango/pango-script.h +260 -0
  155. data/vendor/local/include/pango-1.0/pango/pango-tabs.h +87 -0
  156. data/vendor/local/include/pango-1.0/pango/pango-types.h +200 -0
  157. data/vendor/local/include/pango-1.0/pango/pango-utils.h +189 -0
  158. data/vendor/local/include/pango-1.0/pango/pango.h +48 -0
  159. data/vendor/local/include/pango-1.0/pango/pangocairo.h +169 -0
  160. data/vendor/local/include/pango-1.0/pango/pangofc-decoder.h +110 -0
  161. data/vendor/local/include/pango-1.0/pango/pangofc-font.h +153 -0
  162. data/vendor/local/include/pango-1.0/pango/pangofc-fontmap.h +289 -0
  163. data/vendor/local/include/pango-1.0/pango/pangoft2.h +133 -0
  164. data/vendor/local/include/pango-1.0/pango/pangowin32.h +128 -0
  165. data/vendor/local/include/unicode/alphaindex.h +752 -0
  166. data/vendor/local/include/unicode/appendable.h +232 -0
  167. data/vendor/local/include/unicode/basictz.h +214 -0
  168. data/vendor/local/include/unicode/brkiter.h +655 -0
  169. data/vendor/local/include/unicode/bytestream.h +257 -0
  170. data/vendor/local/include/unicode/bytestrie.h +519 -0
  171. data/vendor/local/include/unicode/bytestriebuilder.h +181 -0
  172. data/vendor/local/include/unicode/calendar.h +2519 -0
  173. data/vendor/local/include/unicode/caniter.h +208 -0
  174. data/vendor/local/include/unicode/chariter.h +722 -0
  175. data/vendor/local/include/unicode/choicfmt.h +594 -0
  176. data/vendor/local/include/unicode/coleitr.h +404 -0
  177. data/vendor/local/include/unicode/coll.h +1267 -0
  178. data/vendor/local/include/unicode/compactdecimalformat.h +330 -0
  179. data/vendor/local/include/unicode/curramt.h +130 -0
  180. data/vendor/local/include/unicode/currpinf.h +258 -0
  181. data/vendor/local/include/unicode/currunit.h +110 -0
  182. data/vendor/local/include/unicode/datefmt.h +883 -0
  183. data/vendor/local/include/unicode/dbbi.h +40 -0
  184. data/vendor/local/include/unicode/dcfmtsym.h +482 -0
  185. data/vendor/local/include/unicode/decimfmt.h +2479 -0
  186. data/vendor/local/include/unicode/docmain.h +215 -0
  187. data/vendor/local/include/unicode/dtfmtsym.h +912 -0
  188. data/vendor/local/include/unicode/dtintrv.h +158 -0
  189. data/vendor/local/include/unicode/dtitvfmt.h +985 -0
  190. data/vendor/local/include/unicode/dtitvinf.h +514 -0
  191. data/vendor/local/include/unicode/dtptngen.h +498 -0
  192. data/vendor/local/include/unicode/dtrule.h +250 -0
  193. data/vendor/local/include/unicode/enumset.h +64 -0
  194. data/vendor/local/include/unicode/errorcode.h +137 -0
  195. data/vendor/local/include/unicode/fieldpos.h +291 -0
  196. data/vendor/local/include/unicode/filteredbrk.h +131 -0
  197. data/vendor/local/include/unicode/fmtable.h +760 -0
  198. data/vendor/local/include/unicode/format.h +305 -0
  199. data/vendor/local/include/unicode/fpositer.h +117 -0
  200. data/vendor/local/include/unicode/gender.h +111 -0
  201. data/vendor/local/include/unicode/gregocal.h +777 -0
  202. data/vendor/local/include/unicode/icudataver.h +41 -0
  203. data/vendor/local/include/unicode/icuplug.h +371 -0
  204. data/vendor/local/include/unicode/idna.h +323 -0
  205. data/vendor/local/include/unicode/listformatter.h +167 -0
  206. data/vendor/local/include/unicode/localpointer.h +304 -0
  207. data/vendor/local/include/unicode/locdspnm.h +204 -0
  208. data/vendor/local/include/unicode/locid.h +815 -0
  209. data/vendor/local/include/unicode/measfmt.h +389 -0
  210. data/vendor/local/include/unicode/measunit.h +1443 -0
  211. data/vendor/local/include/unicode/measure.h +159 -0
  212. data/vendor/local/include/unicode/messagepattern.h +943 -0
  213. data/vendor/local/include/unicode/msgfmt.h +1093 -0
  214. data/vendor/local/include/unicode/normalizer2.h +658 -0
  215. data/vendor/local/include/unicode/normlzr.h +797 -0
  216. data/vendor/local/include/unicode/numfmt.h +1187 -0
  217. data/vendor/local/include/unicode/numsys.h +208 -0
  218. data/vendor/local/include/unicode/parseerr.h +92 -0
  219. data/vendor/local/include/unicode/parsepos.h +230 -0
  220. data/vendor/local/include/unicode/platform.h +751 -0
  221. data/vendor/local/include/unicode/plurfmt.h +615 -0
  222. data/vendor/local/include/unicode/plurrule.h +501 -0
  223. data/vendor/local/include/unicode/ptypes.h +126 -0
  224. data/vendor/local/include/unicode/putil.h +181 -0
  225. data/vendor/local/include/unicode/rbbi.h +782 -0
  226. data/vendor/local/include/unicode/rbnf.h +1032 -0
  227. data/vendor/local/include/unicode/rbtz.h +362 -0
  228. data/vendor/local/include/unicode/regex.h +1857 -0
  229. data/vendor/local/include/unicode/region.h +228 -0
  230. data/vendor/local/include/unicode/reldatefmt.h +498 -0
  231. data/vendor/local/include/unicode/rep.h +261 -0
  232. data/vendor/local/include/unicode/resbund.h +490 -0
  233. data/vendor/local/include/unicode/schriter.h +187 -0
  234. data/vendor/local/include/unicode/scientificformathelper.h +139 -0
  235. data/vendor/local/include/unicode/search.h +575 -0
  236. data/vendor/local/include/unicode/selfmt.h +367 -0
  237. data/vendor/local/include/unicode/simpletz.h +928 -0
  238. data/vendor/local/include/unicode/smpdtfmt.h +1592 -0
  239. data/vendor/local/include/unicode/sortkey.h +338 -0
  240. data/vendor/local/include/unicode/std_string.h +37 -0
  241. data/vendor/local/include/unicode/strenum.h +276 -0
  242. data/vendor/local/include/unicode/stringpiece.h +224 -0
  243. data/vendor/local/include/unicode/stringtriebuilder.h +402 -0
  244. data/vendor/local/include/unicode/stsearch.h +504 -0
  245. data/vendor/local/include/unicode/symtable.h +112 -0
  246. data/vendor/local/include/unicode/tblcoll.h +873 -0
  247. data/vendor/local/include/unicode/timezone.h +948 -0
  248. data/vendor/local/include/unicode/tmunit.h +129 -0
  249. data/vendor/local/include/unicode/tmutamt.h +168 -0
  250. data/vendor/local/include/unicode/tmutfmt.h +243 -0
  251. data/vendor/local/include/unicode/translit.h +1342 -0
  252. data/vendor/local/include/unicode/tzfmt.h +1098 -0
  253. data/vendor/local/include/unicode/tznames.h +404 -0
  254. data/vendor/local/include/unicode/tzrule.h +828 -0
  255. data/vendor/local/include/unicode/tztrans.h +195 -0
  256. data/vendor/local/include/unicode/ubidi.h +2186 -0
  257. data/vendor/local/include/unicode/ubrk.h +540 -0
  258. data/vendor/local/include/unicode/ucal.h +1560 -0
  259. data/vendor/local/include/unicode/ucasemap.h +423 -0
  260. data/vendor/local/include/unicode/ucat.h +158 -0
  261. data/vendor/local/include/unicode/uchar.h +3426 -0
  262. data/vendor/local/include/unicode/ucharstrie.h +576 -0
  263. data/vendor/local/include/unicode/ucharstriebuilder.h +185 -0
  264. data/vendor/local/include/unicode/uchriter.h +381 -0
  265. data/vendor/local/include/unicode/uclean.h +258 -0
  266. data/vendor/local/include/unicode/ucnv.h +2036 -0
  267. data/vendor/local/include/unicode/ucnv_cb.h +162 -0
  268. data/vendor/local/include/unicode/ucnv_err.h +463 -0
  269. data/vendor/local/include/unicode/ucnvsel.h +187 -0
  270. data/vendor/local/include/unicode/ucol.h +1474 -0
  271. data/vendor/local/include/unicode/ucoleitr.h +266 -0
  272. data/vendor/local/include/unicode/uconfig.h +430 -0
  273. data/vendor/local/include/unicode/ucsdet.h +413 -0
  274. data/vendor/local/include/unicode/ucurr.h +424 -0
  275. data/vendor/local/include/unicode/udat.h +1536 -0
  276. data/vendor/local/include/unicode/udata.h +430 -0
  277. data/vendor/local/include/unicode/udateintervalformat.h +181 -0
  278. data/vendor/local/include/unicode/udatpg.h +588 -0
  279. data/vendor/local/include/unicode/udisplaycontext.h +150 -0
  280. data/vendor/local/include/unicode/uenum.h +206 -0
  281. data/vendor/local/include/unicode/uformattable.h +280 -0
  282. data/vendor/local/include/unicode/ugender.h +82 -0
  283. data/vendor/local/include/unicode/uidna.h +762 -0
  284. data/vendor/local/include/unicode/uiter.h +707 -0
  285. data/vendor/local/include/unicode/uldnames.h +302 -0
  286. data/vendor/local/include/unicode/uloc.h +1256 -0
  287. data/vendor/local/include/unicode/ulocdata.h +277 -0
  288. data/vendor/local/include/unicode/umachine.h +356 -0
  289. data/vendor/local/include/unicode/umisc.h +60 -0
  290. data/vendor/local/include/unicode/umsg.h +623 -0
  291. data/vendor/local/include/unicode/unifilt.h +120 -0
  292. data/vendor/local/include/unicode/unifunct.h +125 -0
  293. data/vendor/local/include/unicode/unimatch.h +163 -0
  294. data/vendor/local/include/unicode/unirepl.h +97 -0
  295. data/vendor/local/include/unicode/uniset.h +1691 -0
  296. data/vendor/local/include/unicode/unistr.h +4470 -0
  297. data/vendor/local/include/unicode/unorm.h +561 -0
  298. data/vendor/local/include/unicode/unorm2.h +528 -0
  299. data/vendor/local/include/unicode/unum.h +1328 -0
  300. data/vendor/local/include/unicode/unumsys.h +170 -0
  301. data/vendor/local/include/unicode/uobject.h +320 -0
  302. data/vendor/local/include/unicode/upluralrules.h +145 -0
  303. data/vendor/local/include/unicode/uregex.h +1591 -0
  304. data/vendor/local/include/unicode/uregion.h +248 -0
  305. data/vendor/local/include/unicode/urename.h +1784 -0
  306. data/vendor/local/include/unicode/urep.h +155 -0
  307. data/vendor/local/include/unicode/ures.h +887 -0
  308. data/vendor/local/include/unicode/uscript.h +642 -0
  309. data/vendor/local/include/unicode/usearch.h +885 -0
  310. data/vendor/local/include/unicode/uset.h +1126 -0
  311. data/vendor/local/include/unicode/usetiter.h +318 -0
  312. data/vendor/local/include/unicode/ushape.h +474 -0
  313. data/vendor/local/include/unicode/uspoof.h +1064 -0
  314. data/vendor/local/include/unicode/usprep.h +269 -0
  315. data/vendor/local/include/unicode/ustdio.h +1018 -0
  316. data/vendor/local/include/unicode/ustream.h +68 -0
  317. data/vendor/local/include/unicode/ustring.h +1700 -0
  318. data/vendor/local/include/unicode/ustringtrie.h +95 -0
  319. data/vendor/local/include/unicode/utext.h +1600 -0
  320. data/vendor/local/include/unicode/utf.h +223 -0
  321. data/vendor/local/include/unicode/utf16.h +623 -0
  322. data/vendor/local/include/unicode/utf32.h +23 -0
  323. data/vendor/local/include/unicode/utf8.h +824 -0
  324. data/vendor/local/include/unicode/utf_old.h +1169 -0
  325. data/vendor/local/include/unicode/utmscale.h +481 -0
  326. data/vendor/local/include/unicode/utrace.h +359 -0
  327. data/vendor/local/include/unicode/utrans.h +658 -0
  328. data/vendor/local/include/unicode/utypes.h +723 -0
  329. data/vendor/local/include/unicode/uvernum.h +170 -0
  330. data/vendor/local/include/unicode/uversion.h +193 -0
  331. data/vendor/local/include/unicode/vtzone.h +455 -0
  332. data/vendor/local/lib/girepository-1.0/Pango-1.0.typelib +0 -0
  333. data/vendor/local/lib/girepository-1.0/PangoCairo-1.0.typelib +0 -0
  334. data/vendor/local/lib/girepository-1.0/PangoFT2-1.0.typelib +0 -0
  335. data/vendor/local/lib/icu/54.1/Makefile.inc +293 -0
  336. data/vendor/local/lib/icu/54.1/pkgdata.inc +17 -0
  337. data/vendor/local/lib/icu/Makefile.inc +293 -0
  338. data/vendor/local/lib/icu/pkgdata.inc +17 -0
  339. data/vendor/local/lib/icudt.dll +0 -0
  340. data/vendor/local/lib/icudt54.dll +0 -0
  341. data/vendor/local/lib/icuin.dll +0 -0
  342. data/vendor/local/lib/icuin54.dll +0 -0
  343. data/vendor/local/lib/icuio.dll +0 -0
  344. data/vendor/local/lib/icuio54.dll +0 -0
  345. data/vendor/local/lib/icule.dll +0 -0
  346. data/vendor/local/lib/icule54.dll +0 -0
  347. data/vendor/local/lib/iculx.dll +0 -0
  348. data/vendor/local/lib/iculx54.dll +0 -0
  349. data/vendor/local/lib/icutest.dll +0 -0
  350. data/vendor/local/lib/icutest54.dll +0 -0
  351. data/vendor/local/lib/icutu.dll +0 -0
  352. data/vendor/local/lib/icutu54.dll +0 -0
  353. data/vendor/local/lib/icuuc.dll +0 -0
  354. data/vendor/local/lib/icuuc54.dll +0 -0
  355. data/vendor/local/lib/libharfbuzz-icu.a +0 -0
  356. data/vendor/local/lib/libharfbuzz-icu.la +41 -0
  357. data/vendor/local/lib/libharfbuzz.dll.a +0 -0
  358. data/vendor/local/lib/libharfbuzz.la +41 -0
  359. data/vendor/local/lib/libicudt.dll.a +0 -0
  360. data/vendor/local/lib/libicuin.dll.a +0 -0
  361. data/vendor/local/lib/libicuio.dll.a +0 -0
  362. data/vendor/local/lib/libicule.dll.a +0 -0
  363. data/vendor/local/lib/libiculx.dll.a +0 -0
  364. data/vendor/local/lib/libicutest.dll.a +0 -0
  365. data/vendor/local/lib/libicutu.dll.a +0 -0
  366. data/vendor/local/lib/libicuuc.dll.a +0 -0
  367. data/vendor/local/lib/libpango-1.0.dll.a +0 -0
  368. data/vendor/local/lib/libpango-1.0.la +41 -0
  369. data/vendor/local/lib/libpangocairo-1.0.dll.a +0 -0
  370. data/vendor/local/lib/libpangocairo-1.0.la +41 -0
  371. data/vendor/local/lib/libpangoft2-1.0.dll.a +0 -0
  372. data/vendor/local/lib/libpangoft2-1.0.la +41 -0
  373. data/vendor/local/lib/libpangowin32-1.0.dll.a +0 -0
  374. data/vendor/local/lib/libpangowin32-1.0.la +41 -0
  375. data/vendor/local/lib/pango/1.8.0/modules/pango-arabic-lang.dll +0 -0
  376. data/vendor/local/lib/pango/1.8.0/modules/pango-arabic-lang.dll.a +0 -0
  377. data/vendor/local/lib/pango/1.8.0/modules/pango-arabic-lang.la +41 -0
  378. data/vendor/local/lib/pango/1.8.0/modules/pango-basic-fc.dll +0 -0
  379. data/vendor/local/lib/pango/1.8.0/modules/pango-basic-fc.dll.a +0 -0
  380. data/vendor/local/lib/pango/1.8.0/modules/pango-basic-fc.la +41 -0
  381. data/vendor/local/lib/pango/1.8.0/modules/pango-basic-win32.dll +0 -0
  382. data/vendor/local/lib/pango/1.8.0/modules/pango-basic-win32.dll.a +0 -0
  383. data/vendor/local/lib/pango/1.8.0/modules/pango-basic-win32.la +41 -0
  384. data/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.dll +0 -0
  385. data/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.dll.a +0 -0
  386. data/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.la +41 -0
  387. data/vendor/local/lib/pkgconfig/harfbuzz-icu.pc +13 -0
  388. data/vendor/local/lib/pkgconfig/harfbuzz.pc +11 -0
  389. data/vendor/local/lib/pkgconfig/icu-i18n.pc +38 -0
  390. data/vendor/local/lib/pkgconfig/icu-io.pc +38 -0
  391. data/vendor/local/lib/pkgconfig/icu-le.pc +38 -0
  392. data/vendor/local/lib/pkgconfig/icu-lx.pc +38 -0
  393. data/vendor/local/lib/pkgconfig/icu-uc.pc +38 -0
  394. data/vendor/local/lib/pkgconfig/pango.pc +14 -0
  395. data/vendor/local/lib/pkgconfig/pangocairo.pc +11 -0
  396. data/vendor/local/lib/pkgconfig/pangoft2.pc +12 -0
  397. data/vendor/local/lib/pkgconfig/pangowin32.pc +11 -0
  398. data/vendor/local/share/gir-1.0/Pango-1.0.gir +13329 -0
  399. data/vendor/local/share/gir-1.0/PangoCairo-1.0.gir +833 -0
  400. data/vendor/local/share/gir-1.0/PangoFT2-1.0.gir +354 -0
  401. data/vendor/local/share/gtk-doc/html/harfbuzz/annotation-glossary.html +75 -0
  402. data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-full.html +1449 -0
  403. data/vendor/local/share/gtk-doc/html/harfbuzz/ch01.html +98 -0
  404. data/vendor/local/share/gtk-doc/html/harfbuzz/deprecated-api-index.html +46 -0
  405. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-blob.html +610 -0
  406. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-buffer.html +1780 -0
  407. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-common.html +1337 -0
  408. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-coretext.html +144 -0
  409. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-deprecated.html +99 -0
  410. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-face.html +630 -0
  411. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-font.html +2529 -0
  412. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ft.html +188 -0
  413. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-glib.html +120 -0
  414. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-gobject.html +50 -0
  415. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-graphite2.html +120 -0
  416. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-icu.html +120 -0
  417. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot-layout.html +771 -0
  418. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot-tag.html +172 -0
  419. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot.html +50 -0
  420. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-set.html +966 -0
  421. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-shape-plan.html +405 -0
  422. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-shape.html +286 -0
  423. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-unicode.html +1523 -0
  424. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-uniscribe.html +100 -0
  425. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-version.html +182 -0
  426. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb.html +50 -0
  427. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz.devhelp2 +378 -0
  428. data/vendor/local/share/gtk-doc/html/harfbuzz/home.png +0 -0
  429. data/vendor/local/share/gtk-doc/html/harfbuzz/index.html +105 -0
  430. data/vendor/local/share/gtk-doc/html/harfbuzz/index.sgml +496 -0
  431. data/vendor/local/share/gtk-doc/html/harfbuzz/left-insensitive.png +0 -0
  432. data/vendor/local/share/gtk-doc/html/harfbuzz/left.png +0 -0
  433. data/vendor/local/share/gtk-doc/html/harfbuzz/object-tree.html +59 -0
  434. data/vendor/local/share/gtk-doc/html/harfbuzz/right-insensitive.png +0 -0
  435. data/vendor/local/share/gtk-doc/html/harfbuzz/right.png +0 -0
  436. data/vendor/local/share/gtk-doc/html/harfbuzz/style.css +476 -0
  437. data/vendor/local/share/gtk-doc/html/harfbuzz/up-insensitive.png +0 -0
  438. data/vendor/local/share/gtk-doc/html/harfbuzz/up.png +0 -0
  439. data/vendor/local/share/gtk-doc/html/pango/PangoEngineLang.html +224 -0
  440. data/vendor/local/share/gtk-doc/html/pango/PangoEngineShape.html +255 -0
  441. data/vendor/local/share/gtk-doc/html/pango/PangoFcDecoder.html +246 -0
  442. data/vendor/local/share/gtk-doc/html/pango/PangoFcFont.html +500 -0
  443. data/vendor/local/share/gtk-doc/html/pango/PangoFcFontMap.html +1001 -0
  444. data/vendor/local/share/gtk-doc/html/pango/PangoMarkupFormat.html +301 -0
  445. data/vendor/local/share/gtk-doc/html/pango/PangoRenderer.html +1219 -0
  446. data/vendor/local/share/gtk-doc/html/pango/annotation-glossary.html +89 -0
  447. data/vendor/local/share/gtk-doc/html/pango/api-index-1-10.html +135 -0
  448. data/vendor/local/share/gtk-doc/html/pango/api-index-1-12.html +49 -0
  449. data/vendor/local/share/gtk-doc/html/pango/api-index-1-14.html +64 -0
  450. data/vendor/local/share/gtk-doc/html/pango/api-index-1-16.html +228 -0
  451. data/vendor/local/share/gtk-doc/html/pango/api-index-1-18.html +152 -0
  452. data/vendor/local/share/gtk-doc/html/pango/api-index-1-2.html +122 -0
  453. data/vendor/local/share/gtk-doc/html/pango/api-index-1-20.html +87 -0
  454. data/vendor/local/share/gtk-doc/html/pango/api-index-1-22.html +124 -0
  455. data/vendor/local/share/gtk-doc/html/pango/api-index-1-24.html +97 -0
  456. data/vendor/local/share/gtk-doc/html/pango/api-index-1-26.html +46 -0
  457. data/vendor/local/share/gtk-doc/html/pango/api-index-1-30.html +39 -0
  458. data/vendor/local/share/gtk-doc/html/pango/api-index-1-31-0.html +39 -0
  459. data/vendor/local/share/gtk-doc/html/pango/api-index-1-32-4.html +53 -0
  460. data/vendor/local/share/gtk-doc/html/pango/api-index-1-32.html +42 -0
  461. data/vendor/local/share/gtk-doc/html/pango/api-index-1-34.html +38 -0
  462. data/vendor/local/share/gtk-doc/html/pango/api-index-1-4.html +201 -0
  463. data/vendor/local/share/gtk-doc/html/pango/api-index-1-6.html +165 -0
  464. data/vendor/local/share/gtk-doc/html/pango/api-index-1-8.html +171 -0
  465. data/vendor/local/share/gtk-doc/html/pango/api-index-deprecated.html +284 -0
  466. data/vendor/local/share/gtk-doc/html/pango/api-index-full.html +2968 -0
  467. data/vendor/local/share/gtk-doc/html/pango/home.png +0 -0
  468. data/vendor/local/share/gtk-doc/html/pango/index.html +146 -0
  469. data/vendor/local/share/gtk-doc/html/pango/index.sgml +957 -0
  470. data/vendor/local/share/gtk-doc/html/pango/layout.gif +0 -0
  471. data/vendor/local/share/gtk-doc/html/pango/left-insensitive.png +0 -0
  472. data/vendor/local/share/gtk-doc/html/pango/left.png +0 -0
  473. data/vendor/local/share/gtk-doc/html/pango/lowlevel.html +68 -0
  474. data/vendor/local/share/gtk-doc/html/pango/pango-Bidirectional-Text.html +514 -0
  475. data/vendor/local/share/gtk-doc/html/pango/pango-Cairo-Rendering.html +1632 -0
  476. data/vendor/local/share/gtk-doc/html/pango/pango-CoreText-Fonts.html +115 -0
  477. data/vendor/local/share/gtk-doc/html/pango/pango-Coverage-Maps.html +508 -0
  478. data/vendor/local/share/gtk-doc/html/pango/pango-Engines.html +358 -0
  479. data/vendor/local/share/gtk-doc/html/pango/pango-Fonts.html +4154 -0
  480. data/vendor/local/share/gtk-doc/html/pango/pango-FreeType-Fonts-and-Rendering.html +956 -0
  481. data/vendor/local/share/gtk-doc/html/pango/pango-Glyph-Storage.html +2627 -0
  482. data/vendor/local/share/gtk-doc/html/pango/pango-Layout-Objects.html +4153 -0
  483. data/vendor/local/share/gtk-doc/html/pango/pango-Miscellaneous-Utilities.html +965 -0
  484. data/vendor/local/share/gtk-doc/html/pango/pango-Modules.html +331 -0
  485. data/vendor/local/share/gtk-doc/html/pango/pango-OpenType-Font-Handling.html +2202 -0
  486. data/vendor/local/share/gtk-doc/html/pango/pango-Scripts-and-Languages.html +1430 -0
  487. data/vendor/local/share/gtk-doc/html/pango/pango-Tab-Stops.html +582 -0
  488. data/vendor/local/share/gtk-doc/html/pango/pango-Text-Attributes.html +3356 -0
  489. data/vendor/local/share/gtk-doc/html/pango/pango-Text-Processing.html +2079 -0
  490. data/vendor/local/share/gtk-doc/html/pango/pango-Version-Checking.html +325 -0
  491. data/vendor/local/share/gtk-doc/html/pango/pango-Vertical-Text.html +523 -0
  492. data/vendor/local/share/gtk-doc/html/pango/pango-Win32-Fonts-and-Rendering.html +1028 -0
  493. data/vendor/local/share/gtk-doc/html/pango/pango-Xft-Fonts-and-Rendering.html +1275 -0
  494. data/vendor/local/share/gtk-doc/html/pango/pango-hierarchy.html +91 -0
  495. data/vendor/local/share/gtk-doc/html/pango/pango-querymodules.html +131 -0
  496. data/vendor/local/share/gtk-doc/html/pango/pango.devhelp2 +786 -0
  497. data/vendor/local/share/gtk-doc/html/pango/pango.html +63 -0
  498. data/vendor/local/share/gtk-doc/html/pango/rendering.html +47 -0
  499. data/vendor/local/share/gtk-doc/html/pango/right-insensitive.png +0 -0
  500. data/vendor/local/share/gtk-doc/html/pango/right.png +0 -0
  501. data/vendor/local/share/gtk-doc/html/pango/rotated-text.png +0 -0
  502. data/vendor/local/share/gtk-doc/html/pango/style.css +476 -0
  503. data/vendor/local/share/gtk-doc/html/pango/tools.html +33 -0
  504. data/vendor/local/share/gtk-doc/html/pango/up-insensitive.png +0 -0
  505. data/vendor/local/share/gtk-doc/html/pango/up.png +0 -0
  506. data/vendor/local/share/icu/54.1/config/mh-mingw64 +158 -0
  507. data/vendor/local/share/icu/54.1/install-sh +251 -0
  508. data/vendor/local/share/icu/54.1/license.html +385 -0
  509. data/vendor/local/share/icu/54.1/mkinstalldirs +43 -0
  510. data/vendor/local/share/license/harfbuzz/AUTHORS +9 -0
  511. data/vendor/local/share/license/harfbuzz/COPYING +36 -0
  512. data/vendor/local/share/license/pango/AUTHORS +2 -0
  513. data/vendor/local/share/license/pango/COPYING +482 -0
  514. data/vendor/local/share/man/man1/derb.1 +196 -0
  515. data/vendor/local/share/man/man1/genbrk.1 +112 -0
  516. data/vendor/local/share/man/man1/gencfu.1 +91 -0
  517. data/vendor/local/share/man/man1/gencnval.1 +91 -0
  518. data/vendor/local/share/man/man1/gendict.1 +131 -0
  519. data/vendor/local/share/man/man1/genrb.1 +146 -0
  520. data/vendor/local/share/man/man1/icu-config.1 +288 -0
  521. data/vendor/local/share/man/man1/makeconv.1 +112 -0
  522. data/vendor/local/share/man/man1/pango-querymodules.1 +106 -0
  523. data/vendor/local/share/man/man1/pango-view.1 +1 -0
  524. data/vendor/local/share/man/man1/pkgdata.1 +258 -0
  525. data/vendor/local/share/man/man1/uconv.1 +443 -0
  526. data/vendor/local/share/man/man8/genccode.8 +106 -0
  527. data/vendor/local/share/man/man8/gencmn.8 +129 -0
  528. data/vendor/local/share/man/man8/gensprep.8 +102 -0
  529. data/vendor/local/share/man/man8/icupkg.8 +204 -0
  530. metadata +599 -0
@@ -0,0 +1,2202 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
+ <html>
3
+ <head>
4
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
+ <title>Pango Reference Manual: OpenType Font Handling</title>
6
+ <meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
7
+ <link rel="home" href="index.html" title="Pango Reference Manual">
8
+ <link rel="up" href="lowlevel.html" title="Low Level Functionality">
9
+ <link rel="prev" href="PangoFcDecoder.html" title="PangoFcDecoder">
10
+ <link rel="next" href="pango-Coverage-Maps.html" title="Coverage Maps">
11
+ <meta name="generator" content="GTK-Doc V1.21.1 (XML mode)">
12
+ <link rel="stylesheet" href="style.css" type="text/css">
13
+ </head>
14
+ <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
15
+ <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
16
+ <td width="100%" align="left" class="shortcuts">
17
+ <a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
18
+ <a href="#pango-OpenType-Font-Handling.description" class="shortcut">Description</a></span><span id="nav_hierarchy">  <span class="dim">|</span> 
19
+ <a href="#pango-OpenType-Font-Handling.object-hierarchy" class="shortcut">Object Hierarchy</a></span>
20
+ </td>
21
+ <td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
22
+ <td><a accesskey="u" href="lowlevel.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
23
+ <td><a accesskey="p" href="PangoFcDecoder.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
24
+ <td><a accesskey="n" href="pango-Coverage-Maps.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
25
+ </tr></table>
26
+ <div class="refentry">
27
+ <a name="pango-OpenType-Font-Handling"></a><div class="titlepage"></div>
28
+ <div class="refnamediv"><table width="100%"><tr>
29
+ <td valign="top">
30
+ <h2><span class="refentrytitle"><a name="pango-OpenType-Font-Handling.top_of_page"></a>OpenType Font Handling</span></h2>
31
+ <p>OpenType Font Handling — Obtaining information from OpenType tables</p>
32
+ </td>
33
+ <td class="gallery_image" valign="top" align="right"></td>
34
+ </tr></table></div>
35
+ <div class="refsect1">
36
+ <a name="pango-OpenType-Font-Handling.stability-level"></a><h2>Stability Level</h2>
37
+ <acronym title="Unstable interfaces are experimental or transitional. They are typically used to
38
+ give outside developers early access to new or rapidly changing technology, or
39
+ to provide an interim solution to a problem where a more general solution is
40
+ anticipated. No claims are made about either source or binary compatibility from
41
+ one minor release to the next.
42
+
43
+ The Unstable interface level is a warning that these interfaces are subject to
44
+ change without warning and should not be used in unbundled products.
45
+
46
+ Given such caveats, customer impact need not be a factor when considering
47
+ incompatible changes to an Unstable interface in a major or minor release.
48
+ Nonetheless, when such changes are introduced, the changes should still be
49
+ mentioned in the release notes for the affected release.
50
+ "><span class="acronym">Unstable</span></acronym>, unless otherwise indicated
51
+ </div>
52
+ <div class="refsect1">
53
+ <a name="pango-OpenType-Font-Handling.functions"></a><h2>Functions</h2>
54
+ <div class="informaltable"><table width="100%" border="0">
55
+ <colgroup>
56
+ <col width="150px" class="functions_return">
57
+ <col class="functions_name">
58
+ </colgroup>
59
+ <tbody>
60
+ <tr>
61
+ <td class="define_keyword">#define</td>
62
+ <td class="function_name">
63
+ <a class="link" href="pango-OpenType-Font-Handling.html#PANGO-OT-TAG-MAKE:CAPS" title="PANGO_OT_TAG_MAKE()">PANGO_OT_TAG_MAKE</a><span class="c_punctuation">()</span>
64
+ </td>
65
+ </tr>
66
+ <tr>
67
+ <td class="define_keyword">#define</td>
68
+ <td class="function_name">
69
+ <a class="link" href="pango-OpenType-Font-Handling.html#PANGO-OT-TAG-MAKE-FROM-STRING:CAPS" title="PANGO_OT_TAG_MAKE_FROM_STRING()">PANGO_OT_TAG_MAKE_FROM_STRING</a><span class="c_punctuation">()</span>
70
+ </td>
71
+ </tr>
72
+ <tr>
73
+ <td class="function_type">
74
+ <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="returnvalue">PangoOTInfo</span></a> *
75
+ </td>
76
+ <td class="function_name">
77
+ <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-info-get" title="pango_ot_info_get ()">pango_ot_info_get</a> <span class="c_punctuation">()</span>
78
+ </td>
79
+ </tr>
80
+ <tr>
81
+ <td class="function_type">
82
+ <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
83
+ </td>
84
+ <td class="function_name">
85
+ <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-info-find-script" title="pango_ot_info_find_script ()">pango_ot_info_find_script</a> <span class="c_punctuation">()</span>
86
+ </td>
87
+ </tr>
88
+ <tr>
89
+ <td class="function_type">
90
+ <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
91
+ </td>
92
+ <td class="function_name">
93
+ <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-info-find-language" title="pango_ot_info_find_language ()">pango_ot_info_find_language</a> <span class="c_punctuation">()</span>
94
+ </td>
95
+ </tr>
96
+ <tr>
97
+ <td class="function_type">
98
+ <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
99
+ </td>
100
+ <td class="function_name">
101
+ <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-info-find-feature" title="pango_ot_info_find_feature ()">pango_ot_info_find_feature</a> <span class="c_punctuation">()</span>
102
+ </td>
103
+ </tr>
104
+ <tr>
105
+ <td class="function_type">
106
+ <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="returnvalue">PangoOTTag</span></a> *
107
+ </td>
108
+ <td class="function_name">
109
+ <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-info-list-scripts" title="pango_ot_info_list_scripts ()">pango_ot_info_list_scripts</a> <span class="c_punctuation">()</span>
110
+ </td>
111
+ </tr>
112
+ <tr>
113
+ <td class="function_type">
114
+ <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="returnvalue">PangoOTTag</span></a> *
115
+ </td>
116
+ <td class="function_name">
117
+ <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-info-list-languages" title="pango_ot_info_list_languages ()">pango_ot_info_list_languages</a> <span class="c_punctuation">()</span>
118
+ </td>
119
+ </tr>
120
+ <tr>
121
+ <td class="function_type">
122
+ <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="returnvalue">PangoOTTag</span></a> *
123
+ </td>
124
+ <td class="function_name">
125
+ <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-info-list-features" title="pango_ot_info_list_features ()">pango_ot_info_list_features</a> <span class="c_punctuation">()</span>
126
+ </td>
127
+ </tr>
128
+ <tr>
129
+ <td class="function_type">
130
+ <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="returnvalue">PangoOTBuffer</span></a> *
131
+ </td>
132
+ <td class="function_name">
133
+ <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-buffer-new" title="pango_ot_buffer_new ()">pango_ot_buffer_new</a> <span class="c_punctuation">()</span>
134
+ </td>
135
+ </tr>
136
+ <tr>
137
+ <td class="function_type">
138
+ <span class="returnvalue">void</span>
139
+ </td>
140
+ <td class="function_name">
141
+ <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-buffer-destroy" title="pango_ot_buffer_destroy ()">pango_ot_buffer_destroy</a> <span class="c_punctuation">()</span>
142
+ </td>
143
+ </tr>
144
+ <tr>
145
+ <td class="function_type">
146
+ <span class="returnvalue">void</span>
147
+ </td>
148
+ <td class="function_name">
149
+ <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-buffer-clear" title="pango_ot_buffer_clear ()">pango_ot_buffer_clear</a> <span class="c_punctuation">()</span>
150
+ </td>
151
+ </tr>
152
+ <tr>
153
+ <td class="function_type">
154
+ <span class="returnvalue">void</span>
155
+ </td>
156
+ <td class="function_name">
157
+ <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-buffer-add-glyph" title="pango_ot_buffer_add_glyph ()">pango_ot_buffer_add_glyph</a> <span class="c_punctuation">()</span>
158
+ </td>
159
+ </tr>
160
+ <tr>
161
+ <td class="function_type">
162
+ <span class="returnvalue">void</span>
163
+ </td>
164
+ <td class="function_name">
165
+ <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-buffer-set-rtl" title="pango_ot_buffer_set_rtl ()">pango_ot_buffer_set_rtl</a> <span class="c_punctuation">()</span>
166
+ </td>
167
+ </tr>
168
+ <tr>
169
+ <td class="function_type">
170
+ <span class="returnvalue">void</span>
171
+ </td>
172
+ <td class="function_name">
173
+ <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-buffer-set-zero-width-marks" title="pango_ot_buffer_set_zero_width_marks ()">pango_ot_buffer_set_zero_width_marks</a> <span class="c_punctuation">()</span>
174
+ </td>
175
+ </tr>
176
+ <tr>
177
+ <td class="function_type">
178
+ <span class="returnvalue">void</span>
179
+ </td>
180
+ <td class="function_name">
181
+ <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-buffer-get-glyphs" title="pango_ot_buffer_get_glyphs ()">pango_ot_buffer_get_glyphs</a> <span class="c_punctuation">()</span>
182
+ </td>
183
+ </tr>
184
+ <tr>
185
+ <td class="function_type">
186
+ <span class="returnvalue">void</span>
187
+ </td>
188
+ <td class="function_name">
189
+ <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-buffer-output" title="pango_ot_buffer_output ()">pango_ot_buffer_output</a> <span class="c_punctuation">()</span>
190
+ </td>
191
+ </tr>
192
+ <tr>
193
+ <td class="function_type">const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="returnvalue">PangoOTRuleset</span></a> *
194
+ </td>
195
+ <td class="function_name">
196
+ <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-get-for-description" title="pango_ot_ruleset_get_for_description ()">pango_ot_ruleset_get_for_description</a> <span class="c_punctuation">()</span>
197
+ </td>
198
+ </tr>
199
+ <tr>
200
+ <td class="function_type">
201
+ <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="returnvalue">PangoOTRuleset</span></a> *
202
+ </td>
203
+ <td class="function_name">
204
+ <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-new" title="pango_ot_ruleset_new ()">pango_ot_ruleset_new</a> <span class="c_punctuation">()</span>
205
+ </td>
206
+ </tr>
207
+ <tr>
208
+ <td class="function_type">
209
+ <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="returnvalue">PangoOTRuleset</span></a> *
210
+ </td>
211
+ <td class="function_name">
212
+ <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-new-for" title="pango_ot_ruleset_new_for ()">pango_ot_ruleset_new_for</a> <span class="c_punctuation">()</span>
213
+ </td>
214
+ </tr>
215
+ <tr>
216
+ <td class="function_type">
217
+ <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="returnvalue">PangoOTRuleset</span></a> *
218
+ </td>
219
+ <td class="function_name">
220
+ <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-new-from-description" title="pango_ot_ruleset_new_from_description ()">pango_ot_ruleset_new_from_description</a> <span class="c_punctuation">()</span>
221
+ </td>
222
+ </tr>
223
+ <tr>
224
+ <td class="function_type">
225
+ <span class="returnvalue">void</span>
226
+ </td>
227
+ <td class="function_name">
228
+ <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-add-feature" title="pango_ot_ruleset_add_feature ()">pango_ot_ruleset_add_feature</a> <span class="c_punctuation">()</span>
229
+ </td>
230
+ </tr>
231
+ <tr>
232
+ <td class="function_type">
233
+ <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
234
+ </td>
235
+ <td class="function_name">
236
+ <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-maybe-add-feature" title="pango_ot_ruleset_maybe_add_feature ()">pango_ot_ruleset_maybe_add_feature</a> <span class="c_punctuation">()</span>
237
+ </td>
238
+ </tr>
239
+ <tr>
240
+ <td class="function_type">
241
+ <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
242
+ </td>
243
+ <td class="function_name">
244
+ <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-maybe-add-features" title="pango_ot_ruleset_maybe_add_features ()">pango_ot_ruleset_maybe_add_features</a> <span class="c_punctuation">()</span>
245
+ </td>
246
+ </tr>
247
+ <tr>
248
+ <td class="function_type">
249
+ <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
250
+ </td>
251
+ <td class="function_name">
252
+ <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-get-feature-count" title="pango_ot_ruleset_get_feature_count ()">pango_ot_ruleset_get_feature_count</a> <span class="c_punctuation">()</span>
253
+ </td>
254
+ </tr>
255
+ <tr>
256
+ <td class="function_type">
257
+ <span class="returnvalue">void</span>
258
+ </td>
259
+ <td class="function_name">
260
+ <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-substitute" title="pango_ot_ruleset_substitute ()">pango_ot_ruleset_substitute</a> <span class="c_punctuation">()</span>
261
+ </td>
262
+ </tr>
263
+ <tr>
264
+ <td class="function_type">
265
+ <span class="returnvalue">void</span>
266
+ </td>
267
+ <td class="function_name">
268
+ <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-position" title="pango_ot_ruleset_position ()">pango_ot_ruleset_position</a> <span class="c_punctuation">()</span>
269
+ </td>
270
+ </tr>
271
+ <tr>
272
+ <td class="function_type">
273
+ <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRulesetDescription" title="struct PangoOTRulesetDescription"><span class="returnvalue">PangoOTRulesetDescription</span></a> *
274
+ </td>
275
+ <td class="function_name">
276
+ <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-description-copy" title="pango_ot_ruleset_description_copy ()">pango_ot_ruleset_description_copy</a> <span class="c_punctuation">()</span>
277
+ </td>
278
+ </tr>
279
+ <tr>
280
+ <td class="function_type">
281
+ <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
282
+ </td>
283
+ <td class="function_name">
284
+ <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-description-equal" title="pango_ot_ruleset_description_equal ()">pango_ot_ruleset_description_equal</a> <span class="c_punctuation">()</span>
285
+ </td>
286
+ </tr>
287
+ <tr>
288
+ <td class="function_type">
289
+ <span class="returnvalue">void</span>
290
+ </td>
291
+ <td class="function_name">
292
+ <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-description-free" title="pango_ot_ruleset_description_free ()">pango_ot_ruleset_description_free</a> <span class="c_punctuation">()</span>
293
+ </td>
294
+ </tr>
295
+ <tr>
296
+ <td class="function_type">
297
+ <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
298
+ </td>
299
+ <td class="function_name">
300
+ <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-description-hash" title="pango_ot_ruleset_description_hash ()">pango_ot_ruleset_description_hash</a> <span class="c_punctuation">()</span>
301
+ </td>
302
+ </tr>
303
+ <tr>
304
+ <td class="function_type">
305
+ <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="returnvalue">PangoOTTag</span></a>
306
+ </td>
307
+ <td class="function_name">
308
+ <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-tag-from-language" title="pango_ot_tag_from_language ()">pango_ot_tag_from_language</a> <span class="c_punctuation">()</span>
309
+ </td>
310
+ </tr>
311
+ <tr>
312
+ <td class="function_type">
313
+ <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="returnvalue">PangoOTTag</span></a>
314
+ </td>
315
+ <td class="function_name">
316
+ <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-tag-from-script" title="pango_ot_tag_from_script ()">pango_ot_tag_from_script</a> <span class="c_punctuation">()</span>
317
+ </td>
318
+ </tr>
319
+ <tr>
320
+ <td class="function_type">
321
+ <a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="returnvalue">PangoLanguage</span></a> *
322
+ </td>
323
+ <td class="function_name">
324
+ <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-tag-to-language" title="pango_ot_tag_to_language ()">pango_ot_tag_to_language</a> <span class="c_punctuation">()</span>
325
+ </td>
326
+ </tr>
327
+ <tr>
328
+ <td class="function_type">
329
+ <a class="link" href="pango-Scripts-and-Languages.html#PangoScript" title="enum PangoScript"><span class="returnvalue">PangoScript</span></a>
330
+ </td>
331
+ <td class="function_name">
332
+ <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-tag-to-script" title="pango_ot_tag_to_script ()">pango_ot_tag_to_script</a> <span class="c_punctuation">()</span>
333
+ </td>
334
+ </tr>
335
+ </tbody>
336
+ </table></div>
337
+ </div>
338
+ <a name="PangoOTInfo"></a><a name="PangoOTRuleset"></a><div class="refsect1">
339
+ <a name="pango-OpenType-Font-Handling.other"></a><h2>Types and Values</h2>
340
+ <div class="informaltable"><table width="100%" border="0">
341
+ <colgroup>
342
+ <col width="150px" class="name">
343
+ <col class="description">
344
+ </colgroup>
345
+ <tbody>
346
+ <tr>
347
+ <td class="typedef_keyword">typedef</td>
348
+ <td class="function_name"><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag">PangoOTTag</a></td>
349
+ </tr>
350
+ <tr>
351
+ <td class="datatype_keyword"> </td>
352
+ <td class="function_name"><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo-struct" title="PangoOTInfo">PangoOTInfo</a></td>
353
+ </tr>
354
+ <tr>
355
+ <td class="datatype_keyword"> </td>
356
+ <td class="function_name"><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer">PangoOTBuffer</a></td>
357
+ </tr>
358
+ <tr>
359
+ <td class="datatype_keyword">struct</td>
360
+ <td class="function_name"><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTGlyph" title="struct PangoOTGlyph">PangoOTGlyph</a></td>
361
+ </tr>
362
+ <tr>
363
+ <td class="datatype_keyword"> </td>
364
+ <td class="function_name"><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset-struct" title="PangoOTRuleset">PangoOTRuleset</a></td>
365
+ </tr>
366
+ <tr>
367
+ <td class="datatype_keyword">struct</td>
368
+ <td class="function_name"><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRulesetDescription" title="struct PangoOTRulesetDescription">PangoOTRulesetDescription</a></td>
369
+ </tr>
370
+ <tr>
371
+ <td class="datatype_keyword">enum</td>
372
+ <td class="function_name"><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTableType" title="enum PangoOTTableType">PangoOTTableType</a></td>
373
+ </tr>
374
+ <tr>
375
+ <td class="datatype_keyword">struct</td>
376
+ <td class="function_name"><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTFeatureMap" title="struct PangoOTFeatureMap">PangoOTFeatureMap</a></td>
377
+ </tr>
378
+ <tr>
379
+ <td class="define_keyword">#define</td>
380
+ <td class="function_name"><a class="link" href="pango-OpenType-Font-Handling.html#PANGO-OT-ALL-GLYPHS:CAPS" title="PANGO_OT_ALL_GLYPHS">PANGO_OT_ALL_GLYPHS</a></td>
381
+ </tr>
382
+ <tr>
383
+ <td class="define_keyword">#define</td>
384
+ <td class="function_name"><a class="link" href="pango-OpenType-Font-Handling.html#PANGO-OT-NO-FEATURE:CAPS" title="PANGO_OT_NO_FEATURE">PANGO_OT_NO_FEATURE</a></td>
385
+ </tr>
386
+ <tr>
387
+ <td class="define_keyword">#define</td>
388
+ <td class="function_name"><a class="link" href="pango-OpenType-Font-Handling.html#PANGO-OT-NO-SCRIPT:CAPS" title="PANGO_OT_NO_SCRIPT">PANGO_OT_NO_SCRIPT</a></td>
389
+ </tr>
390
+ <tr>
391
+ <td class="define_keyword">#define</td>
392
+ <td class="function_name"><a class="link" href="pango-OpenType-Font-Handling.html#PANGO-OT-DEFAULT-LANGUAGE:CAPS" title="PANGO_OT_DEFAULT_LANGUAGE">PANGO_OT_DEFAULT_LANGUAGE</a></td>
393
+ </tr>
394
+ <tr>
395
+ <td class="define_keyword">#define</td>
396
+ <td class="function_name"><a class="link" href="pango-OpenType-Font-Handling.html#PANGO-OT-TAG-DEFAULT-LANGUAGE:CAPS" title="PANGO_OT_TAG_DEFAULT_LANGUAGE">PANGO_OT_TAG_DEFAULT_LANGUAGE</a></td>
397
+ </tr>
398
+ <tr>
399
+ <td class="define_keyword">#define</td>
400
+ <td class="function_name"><a class="link" href="pango-OpenType-Font-Handling.html#PANGO-OT-TAG-DEFAULT-SCRIPT:CAPS" title="PANGO_OT_TAG_DEFAULT_SCRIPT">PANGO_OT_TAG_DEFAULT_SCRIPT</a></td>
401
+ </tr>
402
+ </tbody>
403
+ </table></div>
404
+ </div>
405
+ <div class="refsect1">
406
+ <a name="pango-OpenType-Font-Handling.object-hierarchy"></a><h2>Object Hierarchy</h2>
407
+ <pre class="screen"> <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
408
+ <span class="lineart">├──</span> PangoOTInfo
409
+ <span class="lineart">╰──</span> PangoOTRuleset
410
+ </pre>
411
+ </div>
412
+ <div class="refsect1">
413
+ <a name="pango-OpenType-Font-Handling.description"></a><h2>Description</h2>
414
+ <p>Functions and macros in this section are used to implement the OpenType Layout
415
+ features and algorithms. These are mostly useful when writing Fontconfig-based
416
+ shaping engines</p>
417
+ </div>
418
+ <div class="refsect1">
419
+ <a name="pango-OpenType-Font-Handling.functions_details"></a><h2>Functions</h2>
420
+ <div class="refsect2">
421
+ <a name="PANGO-OT-TAG-MAKE:CAPS"></a><h3>PANGO_OT_TAG_MAKE()</h3>
422
+ <pre class="programlisting">#define PANGO_OT_TAG_MAKE(c1,c2,c3,c4) ((PangoOTTag) FT_MAKE_TAG (c1, c2, c3, c4))
423
+ </pre>
424
+ <p>Creates a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="type">PangoOTTag</span></a> from four characters. This is similar and
425
+ compatible with the <code class="function"><code class="function">FT_MAKE_TAG()</code></code> macro from FreeType.</p>
426
+ <div class="refsect3">
427
+ <a name="id-1.4.6.10.2.5"></a><h4>Parameters</h4>
428
+ <div class="informaltable"><table width="100%" border="0">
429
+ <colgroup>
430
+ <col width="150px" class="parameters_name">
431
+ <col class="parameters_description">
432
+ <col width="200px" class="parameters_annotations">
433
+ </colgroup>
434
+ <tbody>
435
+ <tr>
436
+ <td class="parameter_name"><p>c1</p></td>
437
+ <td class="parameter_description"><p>First character.</p></td>
438
+ <td class="parameter_annotations"> </td>
439
+ </tr>
440
+ <tr>
441
+ <td class="parameter_name"><p>c2</p></td>
442
+ <td class="parameter_description"><p>Second character.</p></td>
443
+ <td class="parameter_annotations"> </td>
444
+ </tr>
445
+ <tr>
446
+ <td class="parameter_name"><p>c3</p></td>
447
+ <td class="parameter_description"><p>Third character.</p></td>
448
+ <td class="parameter_annotations"> </td>
449
+ </tr>
450
+ <tr>
451
+ <td class="parameter_name"><p>c4</p></td>
452
+ <td class="parameter_description"><p>Fourth character.</p></td>
453
+ <td class="parameter_annotations"> </td>
454
+ </tr>
455
+ </tbody>
456
+ </table></div>
457
+ </div>
458
+ </div>
459
+ <hr>
460
+ <div class="refsect2">
461
+ <a name="PANGO-OT-TAG-MAKE-FROM-STRING:CAPS"></a><h3>PANGO_OT_TAG_MAKE_FROM_STRING()</h3>
462
+ <pre class="programlisting">#define PANGO_OT_TAG_MAKE_FROM_STRING(s)</pre>
463
+ <p>Creates a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="type">PangoOTTag</span></a> from a string. The string should be at least
464
+ four characters long (pad with space characters if needed), and need
465
+ not be nul-terminated. This is a convenience wrapper around
466
+ <a class="link" href="pango-OpenType-Font-Handling.html#PANGO-OT-TAG-MAKE:CAPS" title="PANGO_OT_TAG_MAKE()"><code class="function">PANGO_OT_TAG_MAKE()</code></a>, but cannot be used in certain situations, for
467
+ example, as a switch expression, as it dereferences pointers.</p>
468
+ <div class="refsect3">
469
+ <a name="id-1.4.6.10.3.5"></a><h4>Parameters</h4>
470
+ <div class="informaltable"><table width="100%" border="0">
471
+ <colgroup>
472
+ <col width="150px" class="parameters_name">
473
+ <col class="parameters_description">
474
+ <col width="200px" class="parameters_annotations">
475
+ </colgroup>
476
+ <tbody><tr>
477
+ <td class="parameter_name"><p>s</p></td>
478
+ <td class="parameter_description"><p>The string representation of the tag.</p></td>
479
+ <td class="parameter_annotations"> </td>
480
+ </tr></tbody>
481
+ </table></div>
482
+ </div>
483
+ </div>
484
+ <hr>
485
+ <div class="refsect2">
486
+ <a name="pango-ot-info-get"></a><h3>pango_ot_info_get ()</h3>
487
+ <pre class="programlisting"><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="returnvalue">PangoOTInfo</span></a> *
488
+ pango_ot_info_get (<em class="parameter"><code><span class="type">FT_Face</span> face</code></em>);</pre>
489
+ <div class="warning"><p><code class="literal">pango_ot_info_get</code> is deprecated and should not be used in newly-written code.</p></div>
490
+ <p>Returns the <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a> structure for the given FreeType font face.</p>
491
+ <div class="refsect3">
492
+ <a name="id-1.4.6.10.4.7"></a><h4>Parameters</h4>
493
+ <div class="informaltable"><table width="100%" border="0">
494
+ <colgroup>
495
+ <col width="150px" class="parameters_name">
496
+ <col class="parameters_description">
497
+ <col width="200px" class="parameters_annotations">
498
+ </colgroup>
499
+ <tbody><tr>
500
+ <td class="parameter_name"><p>face</p></td>
501
+ <td class="parameter_description"><p>a <span class="type">FT_Face</span>.</p></td>
502
+ <td class="parameter_annotations"> </td>
503
+ </tr></tbody>
504
+ </table></div>
505
+ </div>
506
+ <div class="refsect3">
507
+ <a name="id-1.4.6.10.4.8"></a><h4>Returns</h4>
508
+ <p> the <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a> for <em class="parameter"><code>face</code></em>
509
+ . This object will have
510
+ the same lifetime as <em class="parameter"><code>face</code></em>
511
+ .</p>
512
+ <p></p>
513
+ </div>
514
+ <p class="since">Since 1.2</p>
515
+ </div>
516
+ <hr>
517
+ <div class="refsect2">
518
+ <a name="pango-ot-info-find-script"></a><h3>pango_ot_info_find_script ()</h3>
519
+ <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
520
+ pango_ot_info_find_script (<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a> *info</code></em>,
521
+ <em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTableType" title="enum PangoOTTableType"><span class="type">PangoOTTableType</span></a> table_type</code></em>,
522
+ <em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="type">PangoOTTag</span></a> script_tag</code></em>,
523
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *script_index</code></em>);</pre>
524
+ <div class="warning"><p><code class="literal">pango_ot_info_find_script</code> is deprecated and should not be used in newly-written code.</p></div>
525
+ <p>Finds the index of a script. If not found, tries to find the 'DFLT'
526
+ and then 'dflt' scripts and return the index of that in <em class="parameter"><code>script_index</code></em>
527
+ .
528
+ If none of those is found either, <a class="link" href="pango-OpenType-Font-Handling.html#PANGO-OT-NO-SCRIPT:CAPS" title="PANGO_OT_NO_SCRIPT"><code class="literal">PANGO_OT_NO_SCRIPT</code></a> is placed in
529
+ <em class="parameter"><code>script_index</code></em>
530
+ .</p>
531
+ <p>All other functions taking an input script_index parameter know
532
+ how to handle <a class="link" href="pango-OpenType-Font-Handling.html#PANGO-OT-NO-SCRIPT:CAPS" title="PANGO_OT_NO_SCRIPT"><code class="literal">PANGO_OT_NO_SCRIPT</code></a>, so one can ignore the return
533
+ value of this function completely and proceed, to enjoy the automatic
534
+ fallback to the 'DFLT'/'dflt' script.</p>
535
+ <div class="refsect3">
536
+ <a name="id-1.4.6.10.5.7"></a><h4>Parameters</h4>
537
+ <div class="informaltable"><table width="100%" border="0">
538
+ <colgroup>
539
+ <col width="150px" class="parameters_name">
540
+ <col class="parameters_description">
541
+ <col width="200px" class="parameters_annotations">
542
+ </colgroup>
543
+ <tbody>
544
+ <tr>
545
+ <td class="parameter_name"><p>info</p></td>
546
+ <td class="parameter_description"><p>a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a>.</p></td>
547
+ <td class="parameter_annotations"> </td>
548
+ </tr>
549
+ <tr>
550
+ <td class="parameter_name"><p>table_type</p></td>
551
+ <td class="parameter_description"><p>the table type to obtain information about.</p></td>
552
+ <td class="parameter_annotations"> </td>
553
+ </tr>
554
+ <tr>
555
+ <td class="parameter_name"><p>script_tag</p></td>
556
+ <td class="parameter_description"><p>the tag of the script to find.</p></td>
557
+ <td class="parameter_annotations"> </td>
558
+ </tr>
559
+ <tr>
560
+ <td class="parameter_name"><p>script_index</p></td>
561
+ <td class="parameter_description"><p>location to store the index of the script, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p></td>
562
+ <td class="parameter_annotations"> </td>
563
+ </tr>
564
+ </tbody>
565
+ </table></div>
566
+ </div>
567
+ <div class="refsect3">
568
+ <a name="id-1.4.6.10.5.8"></a><h4>Returns</h4>
569
+ <p> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the script was found.</p>
570
+ <p></p>
571
+ </div>
572
+ </div>
573
+ <hr>
574
+ <div class="refsect2">
575
+ <a name="pango-ot-info-find-language"></a><h3>pango_ot_info_find_language ()</h3>
576
+ <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
577
+ pango_ot_info_find_language (<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a> *info</code></em>,
578
+ <em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTableType" title="enum PangoOTTableType"><span class="type">PangoOTTableType</span></a> table_type</code></em>,
579
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> script_index</code></em>,
580
+ <em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="type">PangoOTTag</span></a> language_tag</code></em>,
581
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *language_index</code></em>,
582
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *required_feature_index</code></em>);</pre>
583
+ <div class="warning"><p><code class="literal">pango_ot_info_find_language</code> is deprecated and should not be used in newly-written code.</p></div>
584
+ <p>Finds the index of a language and its required feature index.
585
+ If the language is not found, sets <em class="parameter"><code>language_index</code></em>
586
+ to
587
+ PANGO_OT_DEFAULT_LANGUAGE and the required feature of the default language
588
+ system is returned in required_feature_index. For best compatibility with
589
+ some fonts, also searches the language system tag 'dflt' before falling
590
+ back to the default language system, but that is transparent to the user.
591
+ The user can simply ignore the return value of this function to
592
+ automatically fall back to the default language system.</p>
593
+ <div class="refsect3">
594
+ <a name="id-1.4.6.10.6.6"></a><h4>Parameters</h4>
595
+ <div class="informaltable"><table width="100%" border="0">
596
+ <colgroup>
597
+ <col width="150px" class="parameters_name">
598
+ <col class="parameters_description">
599
+ <col width="200px" class="parameters_annotations">
600
+ </colgroup>
601
+ <tbody>
602
+ <tr>
603
+ <td class="parameter_name"><p>info</p></td>
604
+ <td class="parameter_description"><p>a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a>.</p></td>
605
+ <td class="parameter_annotations"> </td>
606
+ </tr>
607
+ <tr>
608
+ <td class="parameter_name"><p>table_type</p></td>
609
+ <td class="parameter_description"><p>the table type to obtain information about.</p></td>
610
+ <td class="parameter_annotations"> </td>
611
+ </tr>
612
+ <tr>
613
+ <td class="parameter_name"><p>script_index</p></td>
614
+ <td class="parameter_description"><p>the index of the script whose languages are searched.</p></td>
615
+ <td class="parameter_annotations"> </td>
616
+ </tr>
617
+ <tr>
618
+ <td class="parameter_name"><p>language_tag</p></td>
619
+ <td class="parameter_description"><p>the tag of the language to find.</p></td>
620
+ <td class="parameter_annotations"> </td>
621
+ </tr>
622
+ <tr>
623
+ <td class="parameter_name"><p>language_index</p></td>
624
+ <td class="parameter_description"><p>location to store the index of the language, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p></td>
625
+ <td class="parameter_annotations"> </td>
626
+ </tr>
627
+ <tr>
628
+ <td class="parameter_name"><p>required_feature_index</p></td>
629
+ <td class="parameter_description"><p>location to store the required feature index of
630
+ the language, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p></td>
631
+ <td class="parameter_annotations"> </td>
632
+ </tr>
633
+ </tbody>
634
+ </table></div>
635
+ </div>
636
+ <div class="refsect3">
637
+ <a name="id-1.4.6.10.6.7"></a><h4>Returns</h4>
638
+ <p> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the language was found.</p>
639
+ <p></p>
640
+ </div>
641
+ </div>
642
+ <hr>
643
+ <div class="refsect2">
644
+ <a name="pango-ot-info-find-feature"></a><h3>pango_ot_info_find_feature ()</h3>
645
+ <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
646
+ pango_ot_info_find_feature (<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a> *info</code></em>,
647
+ <em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTableType" title="enum PangoOTTableType"><span class="type">PangoOTTableType</span></a> table_type</code></em>,
648
+ <em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="type">PangoOTTag</span></a> feature_tag</code></em>,
649
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> script_index</code></em>,
650
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> language_index</code></em>,
651
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *feature_index</code></em>);</pre>
652
+ <div class="warning"><p><code class="literal">pango_ot_info_find_feature</code> is deprecated and should not be used in newly-written code.</p></div>
653
+ <p>Finds the index of a feature. If the feature is not found, sets
654
+ <em class="parameter"><code>feature_index</code></em>
655
+ to PANGO_OT_NO_FEATURE, which is safe to pass to
656
+ <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-add-feature" title="pango_ot_ruleset_add_feature ()"><code class="function">pango_ot_ruleset_add_feature()</code></a> and similar functions.</p>
657
+ <p>In the future, this may set <em class="parameter"><code>feature_index</code></em>
658
+ to an special value that if used
659
+ in <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-add-feature" title="pango_ot_ruleset_add_feature ()"><code class="function">pango_ot_ruleset_add_feature()</code></a> will ask Pango to synthesize the
660
+ requested feature based on Unicode properties and data. However, this
661
+ function will still return <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> in those cases. So, users may want to
662
+ ignore the return value of this function in certain cases.</p>
663
+ <div class="refsect3">
664
+ <a name="id-1.4.6.10.7.7"></a><h4>Parameters</h4>
665
+ <div class="informaltable"><table width="100%" border="0">
666
+ <colgroup>
667
+ <col width="150px" class="parameters_name">
668
+ <col class="parameters_description">
669
+ <col width="200px" class="parameters_annotations">
670
+ </colgroup>
671
+ <tbody>
672
+ <tr>
673
+ <td class="parameter_name"><p>info</p></td>
674
+ <td class="parameter_description"><p>a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a>.</p></td>
675
+ <td class="parameter_annotations"> </td>
676
+ </tr>
677
+ <tr>
678
+ <td class="parameter_name"><p>table_type</p></td>
679
+ <td class="parameter_description"><p>the table type to obtain information about.</p></td>
680
+ <td class="parameter_annotations"> </td>
681
+ </tr>
682
+ <tr>
683
+ <td class="parameter_name"><p>feature_tag</p></td>
684
+ <td class="parameter_description"><p>the tag of the feature to find.</p></td>
685
+ <td class="parameter_annotations"> </td>
686
+ </tr>
687
+ <tr>
688
+ <td class="parameter_name"><p>script_index</p></td>
689
+ <td class="parameter_description"><p>the index of the script.</p></td>
690
+ <td class="parameter_annotations"> </td>
691
+ </tr>
692
+ <tr>
693
+ <td class="parameter_name"><p>language_index</p></td>
694
+ <td class="parameter_description"><p>the index of the language whose features are searched,
695
+ or <a class="link" href="pango-OpenType-Font-Handling.html#PANGO-OT-DEFAULT-LANGUAGE:CAPS" title="PANGO_OT_DEFAULT_LANGUAGE"><code class="literal">PANGO_OT_DEFAULT_LANGUAGE</code></a> to use the default language of the script.</p></td>
696
+ <td class="parameter_annotations"> </td>
697
+ </tr>
698
+ <tr>
699
+ <td class="parameter_name"><p>feature_index</p></td>
700
+ <td class="parameter_description"><p>location to store the index of the feature, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p></td>
701
+ <td class="parameter_annotations"> </td>
702
+ </tr>
703
+ </tbody>
704
+ </table></div>
705
+ </div>
706
+ <div class="refsect3">
707
+ <a name="id-1.4.6.10.7.8"></a><h4>Returns</h4>
708
+ <p> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the feature was found.</p>
709
+ <p></p>
710
+ </div>
711
+ </div>
712
+ <hr>
713
+ <div class="refsect2">
714
+ <a name="pango-ot-info-list-scripts"></a><h3>pango_ot_info_list_scripts ()</h3>
715
+ <pre class="programlisting"><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="returnvalue">PangoOTTag</span></a> *
716
+ pango_ot_info_list_scripts (<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a> *info</code></em>,
717
+ <em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTableType" title="enum PangoOTTableType"><span class="type">PangoOTTableType</span></a> table_type</code></em>);</pre>
718
+ <div class="warning"><p><code class="literal">pango_ot_info_list_scripts</code> is deprecated and should not be used in newly-written code.</p></div>
719
+ <p>Obtains the list of available scripts.</p>
720
+ <div class="refsect3">
721
+ <a name="id-1.4.6.10.8.6"></a><h4>Parameters</h4>
722
+ <div class="informaltable"><table width="100%" border="0">
723
+ <colgroup>
724
+ <col width="150px" class="parameters_name">
725
+ <col class="parameters_description">
726
+ <col width="200px" class="parameters_annotations">
727
+ </colgroup>
728
+ <tbody>
729
+ <tr>
730
+ <td class="parameter_name"><p>info</p></td>
731
+ <td class="parameter_description"><p>a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a>.</p></td>
732
+ <td class="parameter_annotations"> </td>
733
+ </tr>
734
+ <tr>
735
+ <td class="parameter_name"><p>table_type</p></td>
736
+ <td class="parameter_description"><p>the table type to obtain information about.</p></td>
737
+ <td class="parameter_annotations"> </td>
738
+ </tr>
739
+ </tbody>
740
+ </table></div>
741
+ </div>
742
+ <div class="refsect3">
743
+ <a name="id-1.4.6.10.8.7"></a><h4>Returns</h4>
744
+ <p> a newly-allocated zero-terminated array containing the tags of the
745
+ available scripts. Should be freed using <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>.</p>
746
+ <p></p>
747
+ </div>
748
+ </div>
749
+ <hr>
750
+ <div class="refsect2">
751
+ <a name="pango-ot-info-list-languages"></a><h3>pango_ot_info_list_languages ()</h3>
752
+ <pre class="programlisting"><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="returnvalue">PangoOTTag</span></a> *
753
+ pango_ot_info_list_languages (<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a> *info</code></em>,
754
+ <em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTableType" title="enum PangoOTTableType"><span class="type">PangoOTTableType</span></a> table_type</code></em>,
755
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> script_index</code></em>,
756
+ <em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="type">PangoOTTag</span></a> language_tag</code></em>);</pre>
757
+ <div class="warning"><p><code class="literal">pango_ot_info_list_languages</code> is deprecated and should not be used in newly-written code.</p></div>
758
+ <p>Obtains the list of available languages for a given script.</p>
759
+ <div class="refsect3">
760
+ <a name="id-1.4.6.10.9.6"></a><h4>Parameters</h4>
761
+ <div class="informaltable"><table width="100%" border="0">
762
+ <colgroup>
763
+ <col width="150px" class="parameters_name">
764
+ <col class="parameters_description">
765
+ <col width="200px" class="parameters_annotations">
766
+ </colgroup>
767
+ <tbody>
768
+ <tr>
769
+ <td class="parameter_name"><p>info</p></td>
770
+ <td class="parameter_description"><p>a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a>.</p></td>
771
+ <td class="parameter_annotations"> </td>
772
+ </tr>
773
+ <tr>
774
+ <td class="parameter_name"><p>table_type</p></td>
775
+ <td class="parameter_description"><p>the table type to obtain information about.</p></td>
776
+ <td class="parameter_annotations"> </td>
777
+ </tr>
778
+ <tr>
779
+ <td class="parameter_name"><p>script_index</p></td>
780
+ <td class="parameter_description"><p>the index of the script to list languages for.</p></td>
781
+ <td class="parameter_annotations"> </td>
782
+ </tr>
783
+ <tr>
784
+ <td class="parameter_name"><p>language_tag</p></td>
785
+ <td class="parameter_description"><p>unused parameter.</p></td>
786
+ <td class="parameter_annotations"> </td>
787
+ </tr>
788
+ </tbody>
789
+ </table></div>
790
+ </div>
791
+ <div class="refsect3">
792
+ <a name="id-1.4.6.10.9.7"></a><h4>Returns</h4>
793
+ <p> a newly-allocated zero-terminated array containing the tags of the
794
+ available languages. Should be freed using <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>.</p>
795
+ <p></p>
796
+ </div>
797
+ </div>
798
+ <hr>
799
+ <div class="refsect2">
800
+ <a name="pango-ot-info-list-features"></a><h3>pango_ot_info_list_features ()</h3>
801
+ <pre class="programlisting"><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="returnvalue">PangoOTTag</span></a> *
802
+ pango_ot_info_list_features (<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a> *info</code></em>,
803
+ <em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTableType" title="enum PangoOTTableType"><span class="type">PangoOTTableType</span></a> table_type</code></em>,
804
+ <em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="type">PangoOTTag</span></a> tag</code></em>,
805
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> script_index</code></em>,
806
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> language_index</code></em>);</pre>
807
+ <div class="warning"><p><code class="literal">pango_ot_info_list_features</code> is deprecated and should not be used in newly-written code.</p></div>
808
+ <p>Obtains the list of features for the given language of the given script.</p>
809
+ <div class="refsect3">
810
+ <a name="id-1.4.6.10.10.6"></a><h4>Parameters</h4>
811
+ <div class="informaltable"><table width="100%" border="0">
812
+ <colgroup>
813
+ <col width="150px" class="parameters_name">
814
+ <col class="parameters_description">
815
+ <col width="200px" class="parameters_annotations">
816
+ </colgroup>
817
+ <tbody>
818
+ <tr>
819
+ <td class="parameter_name"><p>info</p></td>
820
+ <td class="parameter_description"><p>a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a>.</p></td>
821
+ <td class="parameter_annotations"> </td>
822
+ </tr>
823
+ <tr>
824
+ <td class="parameter_name"><p>table_type</p></td>
825
+ <td class="parameter_description"><p>the table type to obtain information about.</p></td>
826
+ <td class="parameter_annotations"> </td>
827
+ </tr>
828
+ <tr>
829
+ <td class="parameter_name"><p>tag</p></td>
830
+ <td class="parameter_description"><p>unused parameter.</p></td>
831
+ <td class="parameter_annotations"> </td>
832
+ </tr>
833
+ <tr>
834
+ <td class="parameter_name"><p>script_index</p></td>
835
+ <td class="parameter_description"><p>the index of the script to obtain information about.</p></td>
836
+ <td class="parameter_annotations"> </td>
837
+ </tr>
838
+ <tr>
839
+ <td class="parameter_name"><p>language_index</p></td>
840
+ <td class="parameter_description"><p>the index of the language to list features for, or
841
+ <a class="link" href="pango-OpenType-Font-Handling.html#PANGO-OT-DEFAULT-LANGUAGE:CAPS" title="PANGO_OT_DEFAULT_LANGUAGE"><code class="literal">PANGO_OT_DEFAULT_LANGUAGE</code></a>, to list features for the default
842
+ language of the script.</p></td>
843
+ <td class="parameter_annotations"> </td>
844
+ </tr>
845
+ </tbody>
846
+ </table></div>
847
+ </div>
848
+ <div class="refsect3">
849
+ <a name="id-1.4.6.10.10.7"></a><h4>Returns</h4>
850
+ <p> a newly-allocated zero-terminated array containing the tags of the
851
+ available features. Should be freed using <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>.</p>
852
+ <p></p>
853
+ </div>
854
+ </div>
855
+ <hr>
856
+ <div class="refsect2">
857
+ <a name="pango-ot-buffer-new"></a><h3>pango_ot_buffer_new ()</h3>
858
+ <pre class="programlisting"><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="returnvalue">PangoOTBuffer</span></a> *
859
+ pango_ot_buffer_new (<em class="parameter"><code><a class="link" href="PangoFcFont.html" title="PangoFcFont"><span class="type">PangoFcFont</span></a> *font</code></em>);</pre>
860
+ <div class="warning"><p><code class="literal">pango_ot_buffer_new</code> is deprecated and should not be used in newly-written code.</p></div>
861
+ <p>Creates a new <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="type">PangoOTBuffer</span></a> for the given OpenType font.</p>
862
+ <div class="refsect3">
863
+ <a name="id-1.4.6.10.11.7"></a><h4>Parameters</h4>
864
+ <div class="informaltable"><table width="100%" border="0">
865
+ <colgroup>
866
+ <col width="150px" class="parameters_name">
867
+ <col class="parameters_description">
868
+ <col width="200px" class="parameters_annotations">
869
+ </colgroup>
870
+ <tbody><tr>
871
+ <td class="parameter_name"><p>font</p></td>
872
+ <td class="parameter_description"><p>a <a class="link" href="PangoFcFont.html" title="PangoFcFont"><span class="type">PangoFcFont</span></a></p></td>
873
+ <td class="parameter_annotations"> </td>
874
+ </tr></tbody>
875
+ </table></div>
876
+ </div>
877
+ <div class="refsect3">
878
+ <a name="id-1.4.6.10.11.8"></a><h4>Returns</h4>
879
+ <p> the newly allocated <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="type">PangoOTBuffer</span></a>, which should
880
+ be freed with <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-buffer-destroy" title="pango_ot_buffer_destroy ()"><code class="function">pango_ot_buffer_destroy()</code></a>.</p>
881
+ <p></p>
882
+ </div>
883
+ <p class="since">Since 1.4</p>
884
+ </div>
885
+ <hr>
886
+ <div class="refsect2">
887
+ <a name="pango-ot-buffer-destroy"></a><h3>pango_ot_buffer_destroy ()</h3>
888
+ <pre class="programlisting"><span class="returnvalue">void</span>
889
+ pango_ot_buffer_destroy (<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="type">PangoOTBuffer</span></a> *buffer</code></em>);</pre>
890
+ <div class="warning"><p><code class="literal">pango_ot_buffer_destroy</code> is deprecated and should not be used in newly-written code.</p></div>
891
+ <p>Destroys a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="type">PangoOTBuffer</span></a> and free all associated memory.</p>
892
+ <div class="refsect3">
893
+ <a name="id-1.4.6.10.12.7"></a><h4>Parameters</h4>
894
+ <div class="informaltable"><table width="100%" border="0">
895
+ <colgroup>
896
+ <col width="150px" class="parameters_name">
897
+ <col class="parameters_description">
898
+ <col width="200px" class="parameters_annotations">
899
+ </colgroup>
900
+ <tbody><tr>
901
+ <td class="parameter_name"><p>buffer</p></td>
902
+ <td class="parameter_description"><p>a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="type">PangoOTBuffer</span></a></p></td>
903
+ <td class="parameter_annotations"> </td>
904
+ </tr></tbody>
905
+ </table></div>
906
+ </div>
907
+ <p class="since">Since 1.4</p>
908
+ </div>
909
+ <hr>
910
+ <div class="refsect2">
911
+ <a name="pango-ot-buffer-clear"></a><h3>pango_ot_buffer_clear ()</h3>
912
+ <pre class="programlisting"><span class="returnvalue">void</span>
913
+ pango_ot_buffer_clear (<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="type">PangoOTBuffer</span></a> *buffer</code></em>);</pre>
914
+ <div class="warning"><p><code class="literal">pango_ot_buffer_clear</code> is deprecated and should not be used in newly-written code.</p></div>
915
+ <p>Empties a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="type">PangoOTBuffer</span></a>, make it ready to add glyphs to.</p>
916
+ <div class="refsect3">
917
+ <a name="id-1.4.6.10.13.7"></a><h4>Parameters</h4>
918
+ <div class="informaltable"><table width="100%" border="0">
919
+ <colgroup>
920
+ <col width="150px" class="parameters_name">
921
+ <col class="parameters_description">
922
+ <col width="200px" class="parameters_annotations">
923
+ </colgroup>
924
+ <tbody><tr>
925
+ <td class="parameter_name"><p>buffer</p></td>
926
+ <td class="parameter_description"><p>a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="type">PangoOTBuffer</span></a></p></td>
927
+ <td class="parameter_annotations"> </td>
928
+ </tr></tbody>
929
+ </table></div>
930
+ </div>
931
+ <p class="since">Since 1.4</p>
932
+ </div>
933
+ <hr>
934
+ <div class="refsect2">
935
+ <a name="pango-ot-buffer-add-glyph"></a><h3>pango_ot_buffer_add_glyph ()</h3>
936
+ <pre class="programlisting"><span class="returnvalue">void</span>
937
+ pango_ot_buffer_add_glyph (<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="type">PangoOTBuffer</span></a> *buffer</code></em>,
938
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> glyph</code></em>,
939
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> properties</code></em>,
940
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> cluster</code></em>);</pre>
941
+ <div class="warning"><p><code class="literal">pango_ot_buffer_add_glyph</code> is deprecated and should not be used in newly-written code.</p></div>
942
+ <p>Appends a glyph to a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="type">PangoOTBuffer</span></a>, with <em class="parameter"><code>properties</code></em>
943
+ identifying which
944
+ features should be applied on this glyph. See <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-add-feature" title="pango_ot_ruleset_add_feature ()"><code class="function">pango_ot_ruleset_add_feature()</code></a>.</p>
945
+ <div class="refsect3">
946
+ <a name="id-1.4.6.10.14.7"></a><h4>Parameters</h4>
947
+ <div class="informaltable"><table width="100%" border="0">
948
+ <colgroup>
949
+ <col width="150px" class="parameters_name">
950
+ <col class="parameters_description">
951
+ <col width="200px" class="parameters_annotations">
952
+ </colgroup>
953
+ <tbody>
954
+ <tr>
955
+ <td class="parameter_name"><p>buffer</p></td>
956
+ <td class="parameter_description"><p>a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="type">PangoOTBuffer</span></a></p></td>
957
+ <td class="parameter_annotations"> </td>
958
+ </tr>
959
+ <tr>
960
+ <td class="parameter_name"><p>glyph</p></td>
961
+ <td class="parameter_description"><p>the glyph index to add, like a <a class="link" href="pango-Glyph-Storage.html#PangoGlyph" title="PangoGlyph"><span class="type">PangoGlyph</span></a></p></td>
962
+ <td class="parameter_annotations"> </td>
963
+ </tr>
964
+ <tr>
965
+ <td class="parameter_name"><p>properties</p></td>
966
+ <td class="parameter_description"><p>the glyph properties</p></td>
967
+ <td class="parameter_annotations"> </td>
968
+ </tr>
969
+ <tr>
970
+ <td class="parameter_name"><p>cluster</p></td>
971
+ <td class="parameter_description"><p>the cluster that this glyph belongs to</p></td>
972
+ <td class="parameter_annotations"> </td>
973
+ </tr>
974
+ </tbody>
975
+ </table></div>
976
+ </div>
977
+ <p class="since">Since 1.4</p>
978
+ </div>
979
+ <hr>
980
+ <div class="refsect2">
981
+ <a name="pango-ot-buffer-set-rtl"></a><h3>pango_ot_buffer_set_rtl ()</h3>
982
+ <pre class="programlisting"><span class="returnvalue">void</span>
983
+ pango_ot_buffer_set_rtl (<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="type">PangoOTBuffer</span></a> *buffer</code></em>,
984
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> rtl</code></em>);</pre>
985
+ <div class="warning"><p><code class="literal">pango_ot_buffer_set_rtl</code> is deprecated and should not be used in newly-written code.</p></div>
986
+ <p>Sets whether glyphs will be rendered right-to-left. This setting
987
+ is needed for proper horizontal positioning of right-to-left scripts.</p>
988
+ <div class="refsect3">
989
+ <a name="id-1.4.6.10.15.7"></a><h4>Parameters</h4>
990
+ <div class="informaltable"><table width="100%" border="0">
991
+ <colgroup>
992
+ <col width="150px" class="parameters_name">
993
+ <col class="parameters_description">
994
+ <col width="200px" class="parameters_annotations">
995
+ </colgroup>
996
+ <tbody>
997
+ <tr>
998
+ <td class="parameter_name"><p>buffer</p></td>
999
+ <td class="parameter_description"><p>a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="type">PangoOTBuffer</span></a></p></td>
1000
+ <td class="parameter_annotations"> </td>
1001
+ </tr>
1002
+ <tr>
1003
+ <td class="parameter_name"><p>rtl</p></td>
1004
+ <td class="parameter_description"><p><a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> for right-to-left text</p></td>
1005
+ <td class="parameter_annotations"> </td>
1006
+ </tr>
1007
+ </tbody>
1008
+ </table></div>
1009
+ </div>
1010
+ <p class="since">Since 1.4</p>
1011
+ </div>
1012
+ <hr>
1013
+ <div class="refsect2">
1014
+ <a name="pango-ot-buffer-set-zero-width-marks"></a><h3>pango_ot_buffer_set_zero_width_marks ()</h3>
1015
+ <pre class="programlisting"><span class="returnvalue">void</span>
1016
+ pango_ot_buffer_set_zero_width_marks (<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="type">PangoOTBuffer</span></a> *buffer</code></em>,
1017
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> zero_width_marks</code></em>);</pre>
1018
+ <div class="warning"><p><code class="literal">pango_ot_buffer_set_zero_width_marks</code> is deprecated and should not be used in newly-written code.</p></div>
1019
+ <p>Sets whether characters with a mark class should be forced to zero width.
1020
+ This setting is needed for proper positioning of Arabic accents,
1021
+ but will produce incorrect results with standard OpenType Indic
1022
+ fonts.</p>
1023
+ <div class="refsect3">
1024
+ <a name="id-1.4.6.10.16.7"></a><h4>Parameters</h4>
1025
+ <div class="informaltable"><table width="100%" border="0">
1026
+ <colgroup>
1027
+ <col width="150px" class="parameters_name">
1028
+ <col class="parameters_description">
1029
+ <col width="200px" class="parameters_annotations">
1030
+ </colgroup>
1031
+ <tbody>
1032
+ <tr>
1033
+ <td class="parameter_name"><p>buffer</p></td>
1034
+ <td class="parameter_description"><p>a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="type">PangoOTBuffer</span></a></p></td>
1035
+ <td class="parameter_annotations"> </td>
1036
+ </tr>
1037
+ <tr>
1038
+ <td class="parameter_name"><p>zero_width_marks</p></td>
1039
+ <td class="parameter_description"><p><a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if characters with a mark class should
1040
+ be forced to zero width.</p></td>
1041
+ <td class="parameter_annotations"> </td>
1042
+ </tr>
1043
+ </tbody>
1044
+ </table></div>
1045
+ </div>
1046
+ <p class="since">Since 1.6</p>
1047
+ </div>
1048
+ <hr>
1049
+ <div class="refsect2">
1050
+ <a name="pango-ot-buffer-get-glyphs"></a><h3>pango_ot_buffer_get_glyphs ()</h3>
1051
+ <pre class="programlisting"><span class="returnvalue">void</span>
1052
+ pango_ot_buffer_get_glyphs (<em class="parameter"><code>const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="type">PangoOTBuffer</span></a> *buffer</code></em>,
1053
+ <em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTGlyph" title="struct PangoOTGlyph"><span class="type">PangoOTGlyph</span></a> **glyphs</code></em>,
1054
+ <em class="parameter"><code><span class="type">int</span> *n_glyphs</code></em>);</pre>
1055
+ <div class="warning"><p><code class="literal">pango_ot_buffer_get_glyphs</code> is deprecated and should not be used in newly-written code.</p></div>
1056
+ <p>Gets the glyph array contained in a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="type">PangoOTBuffer</span></a>. The glyphs are
1057
+ owned by the buffer and should not be freed, and are only valid as long
1058
+ as buffer is not modified.</p>
1059
+ <div class="refsect3">
1060
+ <a name="id-1.4.6.10.17.7"></a><h4>Parameters</h4>
1061
+ <div class="informaltable"><table width="100%" border="0">
1062
+ <colgroup>
1063
+ <col width="150px" class="parameters_name">
1064
+ <col class="parameters_description">
1065
+ <col width="200px" class="parameters_annotations">
1066
+ </colgroup>
1067
+ <tbody>
1068
+ <tr>
1069
+ <td class="parameter_name"><p>buffer</p></td>
1070
+ <td class="parameter_description"><p>a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="type">PangoOTBuffer</span></a></p></td>
1071
+ <td class="parameter_annotations"> </td>
1072
+ </tr>
1073
+ <tr>
1074
+ <td class="parameter_name"><p>glyphs</p></td>
1075
+ <td class="parameter_description"><p>location to store the array of glyphs, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
1076
+ <td class="parameter_annotations"> </td>
1077
+ </tr>
1078
+ <tr>
1079
+ <td class="parameter_name"><p>n_glyphs</p></td>
1080
+ <td class="parameter_description"><p>location to store the number of glyphs, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
1081
+ <td class="parameter_annotations"> </td>
1082
+ </tr>
1083
+ </tbody>
1084
+ </table></div>
1085
+ </div>
1086
+ <p class="since">Since 1.4</p>
1087
+ </div>
1088
+ <hr>
1089
+ <div class="refsect2">
1090
+ <a name="pango-ot-buffer-output"></a><h3>pango_ot_buffer_output ()</h3>
1091
+ <pre class="programlisting"><span class="returnvalue">void</span>
1092
+ pango_ot_buffer_output (<em class="parameter"><code>const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="type">PangoOTBuffer</span></a> *buffer</code></em>,
1093
+ <em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>);</pre>
1094
+ <div class="warning"><p><code class="literal">pango_ot_buffer_output</code> is deprecated and should not be used in newly-written code.</p></div>
1095
+ <p>Exports the glyphs in a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="type">PangoOTBuffer</span></a> into a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"><span class="type">PangoGlyphString</span></a>. This is
1096
+ typically used after the OpenType layout processing is over, to convert the
1097
+ resulting glyphs into a generic Pango glyph string.</p>
1098
+ <div class="refsect3">
1099
+ <a name="id-1.4.6.10.18.7"></a><h4>Parameters</h4>
1100
+ <div class="informaltable"><table width="100%" border="0">
1101
+ <colgroup>
1102
+ <col width="150px" class="parameters_name">
1103
+ <col class="parameters_description">
1104
+ <col width="200px" class="parameters_annotations">
1105
+ </colgroup>
1106
+ <tbody>
1107
+ <tr>
1108
+ <td class="parameter_name"><p>buffer</p></td>
1109
+ <td class="parameter_description"><p>a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="type">PangoOTBuffer</span></a></p></td>
1110
+ <td class="parameter_annotations"> </td>
1111
+ </tr>
1112
+ <tr>
1113
+ <td class="parameter_name"><p>glyphs</p></td>
1114
+ <td class="parameter_description"><p>a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"><span class="type">PangoGlyphString</span></a></p></td>
1115
+ <td class="parameter_annotations"> </td>
1116
+ </tr>
1117
+ </tbody>
1118
+ </table></div>
1119
+ </div>
1120
+ <p class="since">Since 1.4</p>
1121
+ </div>
1122
+ <hr>
1123
+ <div class="refsect2">
1124
+ <a name="pango-ot-ruleset-get-for-description"></a><h3>pango_ot_ruleset_get_for_description ()</h3>
1125
+ <pre class="programlisting">const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="returnvalue">PangoOTRuleset</span></a> *
1126
+ pango_ot_ruleset_get_for_description (<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a> *info</code></em>,
1127
+ <em class="parameter"><code>const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRulesetDescription" title="struct PangoOTRulesetDescription"><span class="type">PangoOTRulesetDescription</span></a> *desc</code></em>);</pre>
1128
+ <div class="warning"><p><code class="literal">pango_ot_ruleset_get_for_description</code> is deprecated and should not be used in newly-written code.</p></div>
1129
+ <p>Returns a ruleset for the given OpenType info and ruleset
1130
+ description. Rulesets are created on demand using
1131
+ <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-new-from-description" title="pango_ot_ruleset_new_from_description ()"><code class="function">pango_ot_ruleset_new_from_description()</code></a>.
1132
+ The returned ruleset should not be modified or destroyed.</p>
1133
+ <p>The static feature map members of <em class="parameter"><code>desc</code></em>
1134
+ should be alive as
1135
+ long as <em class="parameter"><code>info</code></em>
1136
+ is.</p>
1137
+ <div class="refsect3">
1138
+ <a name="id-1.4.6.10.19.8"></a><h4>Parameters</h4>
1139
+ <div class="informaltable"><table width="100%" border="0">
1140
+ <colgroup>
1141
+ <col width="150px" class="parameters_name">
1142
+ <col class="parameters_description">
1143
+ <col width="200px" class="parameters_annotations">
1144
+ </colgroup>
1145
+ <tbody>
1146
+ <tr>
1147
+ <td class="parameter_name"><p>info</p></td>
1148
+ <td class="parameter_description"><p>a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a>.</p></td>
1149
+ <td class="parameter_annotations"> </td>
1150
+ </tr>
1151
+ <tr>
1152
+ <td class="parameter_name"><p>desc</p></td>
1153
+ <td class="parameter_description"><p>a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRulesetDescription" title="struct PangoOTRulesetDescription"><span class="type">PangoOTRulesetDescription</span></a>.</p></td>
1154
+ <td class="parameter_annotations"> </td>
1155
+ </tr>
1156
+ </tbody>
1157
+ </table></div>
1158
+ </div>
1159
+ <div class="refsect3">
1160
+ <a name="id-1.4.6.10.19.9"></a><h4>Returns</h4>
1161
+ <p> the <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="type">PangoOTRuleset</span></a> for <em class="parameter"><code>desc</code></em>
1162
+ . This object will have
1163
+ the same lifetime as <em class="parameter"><code>info</code></em>
1164
+ .</p>
1165
+ <p></p>
1166
+ </div>
1167
+ <p class="since">Since 1.18</p>
1168
+ </div>
1169
+ <hr>
1170
+ <div class="refsect2">
1171
+ <a name="pango-ot-ruleset-new"></a><h3>pango_ot_ruleset_new ()</h3>
1172
+ <pre class="programlisting"><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="returnvalue">PangoOTRuleset</span></a> *
1173
+ pango_ot_ruleset_new (<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a> *info</code></em>);</pre>
1174
+ <div class="warning"><p><code class="literal">pango_ot_ruleset_new</code> is deprecated and should not be used in newly-written code.</p></div>
1175
+ <p>Creates a new <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="type">PangoOTRuleset</span></a> for the given OpenType info.</p>
1176
+ <div class="refsect3">
1177
+ <a name="id-1.4.6.10.20.6"></a><h4>Parameters</h4>
1178
+ <div class="informaltable"><table width="100%" border="0">
1179
+ <colgroup>
1180
+ <col width="150px" class="parameters_name">
1181
+ <col class="parameters_description">
1182
+ <col width="200px" class="parameters_annotations">
1183
+ </colgroup>
1184
+ <tbody><tr>
1185
+ <td class="parameter_name"><p>info</p></td>
1186
+ <td class="parameter_description"><p>a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a>.</p></td>
1187
+ <td class="parameter_annotations"> </td>
1188
+ </tr></tbody>
1189
+ </table></div>
1190
+ </div>
1191
+ <div class="refsect3">
1192
+ <a name="id-1.4.6.10.20.7"></a><h4>Returns</h4>
1193
+ <p> the newly allocated <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="type">PangoOTRuleset</span></a>, which
1194
+ should be freed with <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>.</p>
1195
+ <p></p>
1196
+ </div>
1197
+ </div>
1198
+ <hr>
1199
+ <div class="refsect2">
1200
+ <a name="pango-ot-ruleset-new-for"></a><h3>pango_ot_ruleset_new_for ()</h3>
1201
+ <pre class="programlisting"><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="returnvalue">PangoOTRuleset</span></a> *
1202
+ pango_ot_ruleset_new_for (<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a> *info</code></em>,
1203
+ <em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoScript" title="enum PangoScript"><span class="type">PangoScript</span></a> script</code></em>,
1204
+ <em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> *language</code></em>);</pre>
1205
+ <div class="warning"><p><code class="literal">pango_ot_ruleset_new_for</code> is deprecated and should not be used in newly-written code.</p></div>
1206
+ <p>Creates a new <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="type">PangoOTRuleset</span></a> for the given OpenType info, script, and
1207
+ language.</p>
1208
+ <p>This function is part of a convenience scheme that highly simplifies
1209
+ using a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="type">PangoOTRuleset</span></a> to represent features for a specific pair of script
1210
+ and language. So one can use this function passing in the script and
1211
+ language of interest, and later try to add features to the ruleset by just
1212
+ specifying the feature name or tag, without having to deal with finding
1213
+ script, language, or feature indices manually.</p>
1214
+ <p>In excess to what <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-new" title="pango_ot_ruleset_new ()"><code class="function">pango_ot_ruleset_new()</code></a> does, this function will:</p>
1215
+ <div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
1216
+ <li class="listitem">
1217
+ Find the <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="type">PangoOTTag</span></a> script and language tags associated with
1218
+ <em class="parameter"><code>script</code></em> and <em class="parameter"><code>language</code></em> using <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-tag-from-script" title="pango_ot_tag_from_script ()"><code class="function">pango_ot_tag_from_script()</code></a> and
1219
+ <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-tag-from-language" title="pango_ot_tag_from_language ()"><code class="function">pango_ot_tag_from_language()</code></a>,
1220
+ </li>
1221
+ <li class="listitem">
1222
+ For each of table types <a class="link" href="pango-OpenType-Font-Handling.html#PANGO-OT-TABLE-GSUB:CAPS"><code class="literal">PANGO_OT_TABLE_GSUB</code></a> and <a class="link" href="pango-OpenType-Font-Handling.html#PANGO-OT-TABLE-GPOS:CAPS"><code class="literal">PANGO_OT_TABLE_GPOS</code></a>,
1223
+ find the script index of the script tag found and the language
1224
+ system index of the language tag found in that script system, using
1225
+ <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-info-find-script" title="pango_ot_info_find_script ()"><code class="function">pango_ot_info_find_script()</code></a> and <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-info-find-language" title="pango_ot_info_find_language ()"><code class="function">pango_ot_info_find_language()</code></a>,
1226
+ </li>
1227
+ <li class="listitem">
1228
+ For found language-systems, if they have required feature
1229
+ index, add that feature to the ruleset using
1230
+ <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-add-feature" title="pango_ot_ruleset_add_feature ()"><code class="function">pango_ot_ruleset_add_feature()</code></a>,
1231
+ </li>
1232
+ <li class="listitem">
1233
+ Remember found script and language indices for both table types,
1234
+ and use them in future <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-maybe-add-feature" title="pango_ot_ruleset_maybe_add_feature ()"><code class="function">pango_ot_ruleset_maybe_add_feature()</code></a> and
1235
+ <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-maybe-add-features" title="pango_ot_ruleset_maybe_add_features ()"><code class="function">pango_ot_ruleset_maybe_add_features()</code></a>.
1236
+ </li>
1237
+ </ul></div>
1238
+ <p>Because of the way return values of <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-info-find-script" title="pango_ot_info_find_script ()"><code class="function">pango_ot_info_find_script()</code></a> and
1239
+ <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-info-find-language" title="pango_ot_info_find_language ()"><code class="function">pango_ot_info_find_language()</code></a> are ignored, this function automatically
1240
+ finds and uses the 'DFLT' script and the default language-system.</p>
1241
+ <div class="refsect3">
1242
+ <a name="id-1.4.6.10.21.11"></a><h4>Parameters</h4>
1243
+ <div class="informaltable"><table width="100%" border="0">
1244
+ <colgroup>
1245
+ <col width="150px" class="parameters_name">
1246
+ <col class="parameters_description">
1247
+ <col width="200px" class="parameters_annotations">
1248
+ </colgroup>
1249
+ <tbody>
1250
+ <tr>
1251
+ <td class="parameter_name"><p>info</p></td>
1252
+ <td class="parameter_description"><p>a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a>.</p></td>
1253
+ <td class="parameter_annotations"> </td>
1254
+ </tr>
1255
+ <tr>
1256
+ <td class="parameter_name"><p>script</p></td>
1257
+ <td class="parameter_description"><p>a <a class="link" href="pango-Scripts-and-Languages.html#PangoScript" title="enum PangoScript"><span class="type">PangoScript</span></a>.</p></td>
1258
+ <td class="parameter_annotations"> </td>
1259
+ </tr>
1260
+ <tr>
1261
+ <td class="parameter_name"><p>language</p></td>
1262
+ <td class="parameter_description"><p>a <a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a>.</p></td>
1263
+ <td class="parameter_annotations"> </td>
1264
+ </tr>
1265
+ </tbody>
1266
+ </table></div>
1267
+ </div>
1268
+ <div class="refsect3">
1269
+ <a name="id-1.4.6.10.21.12"></a><h4>Returns</h4>
1270
+ <p> the newly allocated <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="type">PangoOTRuleset</span></a>, which
1271
+ should be freed with <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>.</p>
1272
+ <p></p>
1273
+ </div>
1274
+ <p class="since">Since 1.18</p>
1275
+ </div>
1276
+ <hr>
1277
+ <div class="refsect2">
1278
+ <a name="pango-ot-ruleset-new-from-description"></a><h3>pango_ot_ruleset_new_from_description ()</h3>
1279
+ <pre class="programlisting"><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="returnvalue">PangoOTRuleset</span></a> *
1280
+ pango_ot_ruleset_new_from_description (<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a> *info</code></em>,
1281
+ <em class="parameter"><code>const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRulesetDescription" title="struct PangoOTRulesetDescription"><span class="type">PangoOTRulesetDescription</span></a> *desc</code></em>);</pre>
1282
+ <div class="warning"><p><code class="literal">pango_ot_ruleset_new_from_description</code> is deprecated and should not be used in newly-written code.</p></div>
1283
+ <p>Creates a new <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="type">PangoOTRuleset</span></a> for the given OpenType infor and
1284
+ matching the given ruleset description.</p>
1285
+ <p>This is a convenience function that calls <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-new-for" title="pango_ot_ruleset_new_for ()"><code class="function">pango_ot_ruleset_new_for()</code></a> and
1286
+ adds the static GSUB/GPOS features to the resulting ruleset, followed by
1287
+ adding other features to both GSUB and GPOS.</p>
1288
+ <p>The static feature map members of <em class="parameter"><code>desc</code></em>
1289
+ should be alive as
1290
+ long as <em class="parameter"><code>info</code></em>
1291
+ is.</p>
1292
+ <div class="refsect3">
1293
+ <a name="id-1.4.6.10.22.9"></a><h4>Parameters</h4>
1294
+ <div class="informaltable"><table width="100%" border="0">
1295
+ <colgroup>
1296
+ <col width="150px" class="parameters_name">
1297
+ <col class="parameters_description">
1298
+ <col width="200px" class="parameters_annotations">
1299
+ </colgroup>
1300
+ <tbody>
1301
+ <tr>
1302
+ <td class="parameter_name"><p>info</p></td>
1303
+ <td class="parameter_description"><p>a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a>.</p></td>
1304
+ <td class="parameter_annotations"> </td>
1305
+ </tr>
1306
+ <tr>
1307
+ <td class="parameter_name"><p>desc</p></td>
1308
+ <td class="parameter_description"><p>a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRulesetDescription" title="struct PangoOTRulesetDescription"><span class="type">PangoOTRulesetDescription</span></a>.</p></td>
1309
+ <td class="parameter_annotations"> </td>
1310
+ </tr>
1311
+ </tbody>
1312
+ </table></div>
1313
+ </div>
1314
+ <div class="refsect3">
1315
+ <a name="id-1.4.6.10.22.10"></a><h4>Returns</h4>
1316
+ <p> the newly allocated <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="type">PangoOTRuleset</span></a>, which
1317
+ should be freed with <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>.</p>
1318
+ <p></p>
1319
+ </div>
1320
+ <p class="since">Since 1.18</p>
1321
+ </div>
1322
+ <hr>
1323
+ <div class="refsect2">
1324
+ <a name="pango-ot-ruleset-add-feature"></a><h3>pango_ot_ruleset_add_feature ()</h3>
1325
+ <pre class="programlisting"><span class="returnvalue">void</span>
1326
+ pango_ot_ruleset_add_feature (<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="type">PangoOTRuleset</span></a> *ruleset</code></em>,
1327
+ <em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTableType" title="enum PangoOTTableType"><span class="type">PangoOTTableType</span></a> table_type</code></em>,
1328
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> feature_index</code></em>,
1329
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gulong"><span class="type">gulong</span></a> property_bit</code></em>);</pre>
1330
+ <div class="warning"><p><code class="literal">pango_ot_ruleset_add_feature</code> is deprecated and should not be used in newly-written code.</p></div>
1331
+ <p>Adds a feature to the ruleset.</p>
1332
+ <div class="refsect3">
1333
+ <a name="id-1.4.6.10.23.6"></a><h4>Parameters</h4>
1334
+ <div class="informaltable"><table width="100%" border="0">
1335
+ <colgroup>
1336
+ <col width="150px" class="parameters_name">
1337
+ <col class="parameters_description">
1338
+ <col width="200px" class="parameters_annotations">
1339
+ </colgroup>
1340
+ <tbody>
1341
+ <tr>
1342
+ <td class="parameter_name"><p>ruleset</p></td>
1343
+ <td class="parameter_description"><p>a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="type">PangoOTRuleset</span></a>.</p></td>
1344
+ <td class="parameter_annotations"> </td>
1345
+ </tr>
1346
+ <tr>
1347
+ <td class="parameter_name"><p>table_type</p></td>
1348
+ <td class="parameter_description"><p>the table type to add a feature to.</p></td>
1349
+ <td class="parameter_annotations"> </td>
1350
+ </tr>
1351
+ <tr>
1352
+ <td class="parameter_name"><p>feature_index</p></td>
1353
+ <td class="parameter_description"><p>the index of the feature to add.</p></td>
1354
+ <td class="parameter_annotations"> </td>
1355
+ </tr>
1356
+ <tr>
1357
+ <td class="parameter_name"><p>property_bit</p></td>
1358
+ <td class="parameter_description"><p>the property bit to use for this feature. Used to identify
1359
+ the glyphs that this feature should be applied to, or
1360
+ <a class="link" href="pango-OpenType-Font-Handling.html#PANGO-OT-ALL-GLYPHS:CAPS" title="PANGO_OT_ALL_GLYPHS"><code class="literal">PANGO_OT_ALL_GLYPHS</code></a> if it should be applied to all glyphs.</p></td>
1361
+ <td class="parameter_annotations"> </td>
1362
+ </tr>
1363
+ </tbody>
1364
+ </table></div>
1365
+ </div>
1366
+ </div>
1367
+ <hr>
1368
+ <div class="refsect2">
1369
+ <a name="pango-ot-ruleset-maybe-add-feature"></a><h3>pango_ot_ruleset_maybe_add_feature ()</h3>
1370
+ <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
1371
+ pango_ot_ruleset_maybe_add_feature (<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="type">PangoOTRuleset</span></a> *ruleset</code></em>,
1372
+ <em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTableType" title="enum PangoOTTableType"><span class="type">PangoOTTableType</span></a> table_type</code></em>,
1373
+ <em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="type">PangoOTTag</span></a> feature_tag</code></em>,
1374
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gulong"><span class="type">gulong</span></a> property_bit</code></em>);</pre>
1375
+ <div class="warning"><p><code class="literal">pango_ot_ruleset_maybe_add_feature</code> is deprecated and should not be used in newly-written code.</p></div>
1376
+ <p>This is a convenience function that first tries to find the feature
1377
+ using <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-info-find-feature" title="pango_ot_info_find_feature ()"><code class="function">pango_ot_info_find_feature()</code></a> and the ruleset script and language
1378
+ passed to <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-new-for" title="pango_ot_ruleset_new_for ()"><code class="function">pango_ot_ruleset_new_for()</code></a>,
1379
+ and if the feature is found, adds it to the ruleset.</p>
1380
+ <p>If <em class="parameter"><code>ruleset</code></em>
1381
+ was not created using <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-new-for" title="pango_ot_ruleset_new_for ()"><code class="function">pango_ot_ruleset_new_for()</code></a>, this function
1382
+ does nothing.</p>
1383
+ <div class="refsect3">
1384
+ <a name="id-1.4.6.10.24.8"></a><h4>Parameters</h4>
1385
+ <div class="informaltable"><table width="100%" border="0">
1386
+ <colgroup>
1387
+ <col width="150px" class="parameters_name">
1388
+ <col class="parameters_description">
1389
+ <col width="200px" class="parameters_annotations">
1390
+ </colgroup>
1391
+ <tbody>
1392
+ <tr>
1393
+ <td class="parameter_name"><p>ruleset</p></td>
1394
+ <td class="parameter_description"><p>a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="type">PangoOTRuleset</span></a>.</p></td>
1395
+ <td class="parameter_annotations"> </td>
1396
+ </tr>
1397
+ <tr>
1398
+ <td class="parameter_name"><p>table_type</p></td>
1399
+ <td class="parameter_description"><p>the table type to add a feature to.</p></td>
1400
+ <td class="parameter_annotations"> </td>
1401
+ </tr>
1402
+ <tr>
1403
+ <td class="parameter_name"><p>feature_tag</p></td>
1404
+ <td class="parameter_description"><p>the tag of the feature to add.</p></td>
1405
+ <td class="parameter_annotations"> </td>
1406
+ </tr>
1407
+ <tr>
1408
+ <td class="parameter_name"><p>property_bit</p></td>
1409
+ <td class="parameter_description"><p>the property bit to use for this feature. Used to identify
1410
+ the glyphs that this feature should be applied to, or
1411
+ <a class="link" href="pango-OpenType-Font-Handling.html#PANGO-OT-ALL-GLYPHS:CAPS" title="PANGO_OT_ALL_GLYPHS"><code class="literal">PANGO_OT_ALL_GLYPHS</code></a> if it should be applied to all glyphs.</p></td>
1412
+ <td class="parameter_annotations"> </td>
1413
+ </tr>
1414
+ </tbody>
1415
+ </table></div>
1416
+ </div>
1417
+ <div class="refsect3">
1418
+ <a name="id-1.4.6.10.24.9"></a><h4>Returns</h4>
1419
+ <p> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the feature was found and added to ruleset,
1420
+ <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</p>
1421
+ <p></p>
1422
+ </div>
1423
+ <p class="since">Since 1.18</p>
1424
+ </div>
1425
+ <hr>
1426
+ <div class="refsect2">
1427
+ <a name="pango-ot-ruleset-maybe-add-features"></a><h3>pango_ot_ruleset_maybe_add_features ()</h3>
1428
+ <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
1429
+ pango_ot_ruleset_maybe_add_features (<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="type">PangoOTRuleset</span></a> *ruleset</code></em>,
1430
+ <em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTableType" title="enum PangoOTTableType"><span class="type">PangoOTTableType</span></a> table_type</code></em>,
1431
+ <em class="parameter"><code>const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTFeatureMap" title="struct PangoOTFeatureMap"><span class="type">PangoOTFeatureMap</span></a> *features</code></em>,
1432
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_features</code></em>);</pre>
1433
+ <div class="warning"><p><code class="literal">pango_ot_ruleset_maybe_add_features</code> is deprecated and should not be used in newly-written code.</p></div>
1434
+ <p>This is a convenience function that
1435
+ for each feature in the feature map array <em class="parameter"><code>features</code></em>
1436
+
1437
+ converts the feature name to a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="type">PangoOTTag</span></a> feature tag using <a class="link" href="pango-OpenType-Font-Handling.html#PANGO-OT-TAG-MAKE:CAPS" title="PANGO_OT_TAG_MAKE()"><code class="function">PANGO_OT_TAG_MAKE()</code></a>
1438
+ and calls <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-maybe-add-feature" title="pango_ot_ruleset_maybe_add_feature ()"><code class="function">pango_ot_ruleset_maybe_add_feature()</code></a> on it.</p>
1439
+ <div class="refsect3">
1440
+ <a name="id-1.4.6.10.25.7"></a><h4>Parameters</h4>
1441
+ <div class="informaltable"><table width="100%" border="0">
1442
+ <colgroup>
1443
+ <col width="150px" class="parameters_name">
1444
+ <col class="parameters_description">
1445
+ <col width="200px" class="parameters_annotations">
1446
+ </colgroup>
1447
+ <tbody>
1448
+ <tr>
1449
+ <td class="parameter_name"><p>ruleset</p></td>
1450
+ <td class="parameter_description"><p>a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="type">PangoOTRuleset</span></a>.</p></td>
1451
+ <td class="parameter_annotations"> </td>
1452
+ </tr>
1453
+ <tr>
1454
+ <td class="parameter_name"><p>table_type</p></td>
1455
+ <td class="parameter_description"><p>the table type to add features to.</p></td>
1456
+ <td class="parameter_annotations"> </td>
1457
+ </tr>
1458
+ <tr>
1459
+ <td class="parameter_name"><p>features</p></td>
1460
+ <td class="parameter_description"><p>array of feature name and property bits to add.</p></td>
1461
+ <td class="parameter_annotations"> </td>
1462
+ </tr>
1463
+ <tr>
1464
+ <td class="parameter_name"><p>n_features</p></td>
1465
+ <td class="parameter_description"><p>number of feature records in <em class="parameter"><code>features</code></em>
1466
+ array.</p></td>
1467
+ <td class="parameter_annotations"> </td>
1468
+ </tr>
1469
+ </tbody>
1470
+ </table></div>
1471
+ </div>
1472
+ <div class="refsect3">
1473
+ <a name="id-1.4.6.10.25.8"></a><h4>Returns</h4>
1474
+ <p> The number of features in <em class="parameter"><code>features</code></em>
1475
+ that were found
1476
+ and added to <em class="parameter"><code>ruleset</code></em>
1477
+ .</p>
1478
+ <p></p>
1479
+ </div>
1480
+ <p class="since">Since 1.18</p>
1481
+ </div>
1482
+ <hr>
1483
+ <div class="refsect2">
1484
+ <a name="pango-ot-ruleset-get-feature-count"></a><h3>pango_ot_ruleset_get_feature_count ()</h3>
1485
+ <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
1486
+ pango_ot_ruleset_get_feature_count (<em class="parameter"><code>const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="type">PangoOTRuleset</span></a> *ruleset</code></em>,
1487
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *n_gsub_features</code></em>,
1488
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *n_gpos_features</code></em>);</pre>
1489
+ <div class="warning"><p><code class="literal">pango_ot_ruleset_get_feature_count</code> is deprecated and should not be used in newly-written code.</p></div>
1490
+ <p>Gets the number of GSUB and GPOS features in the ruleset.</p>
1491
+ <div class="refsect3">
1492
+ <a name="id-1.4.6.10.26.7"></a><h4>Parameters</h4>
1493
+ <div class="informaltable"><table width="100%" border="0">
1494
+ <colgroup>
1495
+ <col width="150px" class="parameters_name">
1496
+ <col class="parameters_description">
1497
+ <col width="200px" class="parameters_annotations">
1498
+ </colgroup>
1499
+ <tbody>
1500
+ <tr>
1501
+ <td class="parameter_name"><p>ruleset</p></td>
1502
+ <td class="parameter_description"><p>a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="type">PangoOTRuleset</span></a>.</p></td>
1503
+ <td class="parameter_annotations"> </td>
1504
+ </tr>
1505
+ <tr>
1506
+ <td class="parameter_name"><p>n_gsub_features</p></td>
1507
+ <td class="parameter_description"><p>location to store number of GSUB features, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p></td>
1508
+ <td class="parameter_annotations"> </td>
1509
+ </tr>
1510
+ <tr>
1511
+ <td class="parameter_name"><p>n_gpos_features</p></td>
1512
+ <td class="parameter_description"><p>location to store number of GPOS features, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p></td>
1513
+ <td class="parameter_annotations"> </td>
1514
+ </tr>
1515
+ </tbody>
1516
+ </table></div>
1517
+ </div>
1518
+ <div class="refsect3">
1519
+ <a name="id-1.4.6.10.26.8"></a><h4>Returns</h4>
1520
+ <p> Total number of features in the <em class="parameter"><code>ruleset</code></em>
1521
+ .</p>
1522
+ <p></p>
1523
+ </div>
1524
+ <p class="since">Since 1.18</p>
1525
+ </div>
1526
+ <hr>
1527
+ <div class="refsect2">
1528
+ <a name="pango-ot-ruleset-substitute"></a><h3>pango_ot_ruleset_substitute ()</h3>
1529
+ <pre class="programlisting"><span class="returnvalue">void</span>
1530
+ pango_ot_ruleset_substitute (<em class="parameter"><code>const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="type">PangoOTRuleset</span></a> *ruleset</code></em>,
1531
+ <em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="type">PangoOTBuffer</span></a> *buffer</code></em>);</pre>
1532
+ <div class="warning"><p><code class="literal">pango_ot_ruleset_substitute</code> is deprecated and should not be used in newly-written code.</p></div>
1533
+ <p>Performs the OpenType GSUB substitution on <em class="parameter"><code>buffer</code></em>
1534
+ using the features
1535
+ in <em class="parameter"><code>ruleset</code></em>
1536
+ </p>
1537
+ <div class="refsect3">
1538
+ <a name="id-1.4.6.10.27.7"></a><h4>Parameters</h4>
1539
+ <div class="informaltable"><table width="100%" border="0">
1540
+ <colgroup>
1541
+ <col width="150px" class="parameters_name">
1542
+ <col class="parameters_description">
1543
+ <col width="200px" class="parameters_annotations">
1544
+ </colgroup>
1545
+ <tbody>
1546
+ <tr>
1547
+ <td class="parameter_name"><p>ruleset</p></td>
1548
+ <td class="parameter_description"><p>a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="type">PangoOTRuleset</span></a>.</p></td>
1549
+ <td class="parameter_annotations"> </td>
1550
+ </tr>
1551
+ <tr>
1552
+ <td class="parameter_name"><p>buffer</p></td>
1553
+ <td class="parameter_description"><p>a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="type">PangoOTBuffer</span></a>.</p></td>
1554
+ <td class="parameter_annotations"> </td>
1555
+ </tr>
1556
+ </tbody>
1557
+ </table></div>
1558
+ </div>
1559
+ <p class="since">Since 1.4</p>
1560
+ </div>
1561
+ <hr>
1562
+ <div class="refsect2">
1563
+ <a name="pango-ot-ruleset-position"></a><h3>pango_ot_ruleset_position ()</h3>
1564
+ <pre class="programlisting"><span class="returnvalue">void</span>
1565
+ pango_ot_ruleset_position (<em class="parameter"><code>const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="type">PangoOTRuleset</span></a> *ruleset</code></em>,
1566
+ <em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="type">PangoOTBuffer</span></a> *buffer</code></em>);</pre>
1567
+ <div class="warning"><p><code class="literal">pango_ot_ruleset_position</code> is deprecated and should not be used in newly-written code.</p></div>
1568
+ <p>Performs the OpenType GPOS positioning on <em class="parameter"><code>buffer</code></em>
1569
+ using the features
1570
+ in <em class="parameter"><code>ruleset</code></em>
1571
+ </p>
1572
+ <div class="refsect3">
1573
+ <a name="id-1.4.6.10.28.7"></a><h4>Parameters</h4>
1574
+ <div class="informaltable"><table width="100%" border="0">
1575
+ <colgroup>
1576
+ <col width="150px" class="parameters_name">
1577
+ <col class="parameters_description">
1578
+ <col width="200px" class="parameters_annotations">
1579
+ </colgroup>
1580
+ <tbody>
1581
+ <tr>
1582
+ <td class="parameter_name"><p>ruleset</p></td>
1583
+ <td class="parameter_description"><p>a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="type">PangoOTRuleset</span></a>.</p></td>
1584
+ <td class="parameter_annotations"> </td>
1585
+ </tr>
1586
+ <tr>
1587
+ <td class="parameter_name"><p>buffer</p></td>
1588
+ <td class="parameter_description"><p>a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="type">PangoOTBuffer</span></a>.</p></td>
1589
+ <td class="parameter_annotations"> </td>
1590
+ </tr>
1591
+ </tbody>
1592
+ </table></div>
1593
+ </div>
1594
+ <p class="since">Since 1.4</p>
1595
+ </div>
1596
+ <hr>
1597
+ <div class="refsect2">
1598
+ <a name="pango-ot-ruleset-description-copy"></a><h3>pango_ot_ruleset_description_copy ()</h3>
1599
+ <pre class="programlisting"><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRulesetDescription" title="struct PangoOTRulesetDescription"><span class="returnvalue">PangoOTRulesetDescription</span></a> *
1600
+ pango_ot_ruleset_description_copy (<em class="parameter"><code>const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRulesetDescription" title="struct PangoOTRulesetDescription"><span class="type">PangoOTRulesetDescription</span></a> *desc</code></em>);</pre>
1601
+ <div class="warning"><p><code class="literal">pango_ot_ruleset_description_copy</code> is deprecated and should not be used in newly-written code.</p></div>
1602
+ <p>Creates a copy of <em class="parameter"><code>desc</code></em>
1603
+ , which should be freed with
1604
+ <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-description-free" title="pango_ot_ruleset_description_free ()"><code class="function">pango_ot_ruleset_description_free()</code></a>. Primarily used internally
1605
+ by <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-get-for-description" title="pango_ot_ruleset_get_for_description ()"><code class="function">pango_ot_ruleset_get_for_description()</code></a> to cache rulesets for
1606
+ ruleset descriptions.</p>
1607
+ <div class="refsect3">
1608
+ <a name="id-1.4.6.10.29.7"></a><h4>Parameters</h4>
1609
+ <div class="informaltable"><table width="100%" border="0">
1610
+ <colgroup>
1611
+ <col width="150px" class="parameters_name">
1612
+ <col class="parameters_description">
1613
+ <col width="200px" class="parameters_annotations">
1614
+ </colgroup>
1615
+ <tbody><tr>
1616
+ <td class="parameter_name"><p>desc</p></td>
1617
+ <td class="parameter_description"><p>ruleset description to copy</p></td>
1618
+ <td class="parameter_annotations"> </td>
1619
+ </tr></tbody>
1620
+ </table></div>
1621
+ </div>
1622
+ <div class="refsect3">
1623
+ <a name="id-1.4.6.10.29.8"></a><h4>Returns</h4>
1624
+ <p> the newly allocated <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRulesetDescription" title="struct PangoOTRulesetDescription"><span class="type">PangoOTRulesetDescription</span></a>, which
1625
+ should be freed with <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-description-free" title="pango_ot_ruleset_description_free ()"><code class="function">pango_ot_ruleset_description_free()</code></a>.</p>
1626
+ <p></p>
1627
+ </div>
1628
+ <p class="since">Since 1.18</p>
1629
+ </div>
1630
+ <hr>
1631
+ <div class="refsect2">
1632
+ <a name="pango-ot-ruleset-description-equal"></a><h3>pango_ot_ruleset_description_equal ()</h3>
1633
+ <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
1634
+ pango_ot_ruleset_description_equal (<em class="parameter"><code>const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRulesetDescription" title="struct PangoOTRulesetDescription"><span class="type">PangoOTRulesetDescription</span></a> *desc1</code></em>,
1635
+ <em class="parameter"><code>const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRulesetDescription" title="struct PangoOTRulesetDescription"><span class="type">PangoOTRulesetDescription</span></a> *desc2</code></em>);</pre>
1636
+ <div class="warning"><p><code class="literal">pango_ot_ruleset_description_equal</code> is deprecated and should not be used in newly-written code.</p></div>
1637
+ <p>Compares two ruleset descriptions for equality.
1638
+ Two ruleset descriptions are considered equal if the rulesets
1639
+ they describe are provably identical. This means that their
1640
+ script, language, and all feature sets should be equal. For static feature
1641
+ sets, the array addresses are compared directly, while for other
1642
+ features, the list of features is compared one by one.
1643
+ (Two ruleset descriptions may result in identical rulesets
1644
+ being created, but still compare <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.)</p>
1645
+ <div class="refsect3">
1646
+ <a name="id-1.4.6.10.30.7"></a><h4>Parameters</h4>
1647
+ <div class="informaltable"><table width="100%" border="0">
1648
+ <colgroup>
1649
+ <col width="150px" class="parameters_name">
1650
+ <col class="parameters_description">
1651
+ <col width="200px" class="parameters_annotations">
1652
+ </colgroup>
1653
+ <tbody>
1654
+ <tr>
1655
+ <td class="parameter_name"><p>desc1</p></td>
1656
+ <td class="parameter_description"><p>a ruleset description</p></td>
1657
+ <td class="parameter_annotations"> </td>
1658
+ </tr>
1659
+ <tr>
1660
+ <td class="parameter_name"><p>desc2</p></td>
1661
+ <td class="parameter_description"><p>a ruleset description</p></td>
1662
+ <td class="parameter_annotations"> </td>
1663
+ </tr>
1664
+ </tbody>
1665
+ </table></div>
1666
+ </div>
1667
+ <div class="refsect3">
1668
+ <a name="id-1.4.6.10.30.8"></a><h4>Returns</h4>
1669
+ <p> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if two ruleset descriptions are identical,
1670
+ <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</p>
1671
+ <p></p>
1672
+ </div>
1673
+ <p class="since">Since 1.18</p>
1674
+ </div>
1675
+ <hr>
1676
+ <div class="refsect2">
1677
+ <a name="pango-ot-ruleset-description-free"></a><h3>pango_ot_ruleset_description_free ()</h3>
1678
+ <pre class="programlisting"><span class="returnvalue">void</span>
1679
+ pango_ot_ruleset_description_free (<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRulesetDescription" title="struct PangoOTRulesetDescription"><span class="type">PangoOTRulesetDescription</span></a> *desc</code></em>);</pre>
1680
+ <div class="warning"><p><code class="literal">pango_ot_ruleset_description_free</code> is deprecated and should not be used in newly-written code.</p></div>
1681
+ <p>Frees a ruleset description allocated by
1682
+ <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-description-copy" title="pango_ot_ruleset_description_copy ()"><code class="function">pango_ot_ruleset_description_copy()</code></a>.</p>
1683
+ <div class="refsect3">
1684
+ <a name="id-1.4.6.10.31.7"></a><h4>Parameters</h4>
1685
+ <div class="informaltable"><table width="100%" border="0">
1686
+ <colgroup>
1687
+ <col width="150px" class="parameters_name">
1688
+ <col class="parameters_description">
1689
+ <col width="200px" class="parameters_annotations">
1690
+ </colgroup>
1691
+ <tbody><tr>
1692
+ <td class="parameter_name"><p>desc</p></td>
1693
+ <td class="parameter_description"><p>an allocated <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRulesetDescription" title="struct PangoOTRulesetDescription"><span class="type">PangoOTRulesetDescription</span></a></p></td>
1694
+ <td class="parameter_annotations"> </td>
1695
+ </tr></tbody>
1696
+ </table></div>
1697
+ </div>
1698
+ <p class="since">Since 1.18</p>
1699
+ </div>
1700
+ <hr>
1701
+ <div class="refsect2">
1702
+ <a name="pango-ot-ruleset-description-hash"></a><h3>pango_ot_ruleset_description_hash ()</h3>
1703
+ <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
1704
+ pango_ot_ruleset_description_hash (<em class="parameter"><code>const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRulesetDescription" title="struct PangoOTRulesetDescription"><span class="type">PangoOTRulesetDescription</span></a> *desc</code></em>);</pre>
1705
+ <div class="warning"><p><code class="literal">pango_ot_ruleset_description_hash</code> is deprecated and should not be used in newly-written code.</p></div>
1706
+ <p>Computes a hash of a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRulesetDescription" title="struct PangoOTRulesetDescription"><span class="type">PangoOTRulesetDescription</span></a> structure suitable
1707
+ to be used, for example, as an argument to <a href="http://library.gnome.org/devel/glib/unstable/glib-Hash-Tables.html#g-hash-table-new"><code class="function">g_hash_table_new()</code></a>.</p>
1708
+ <div class="refsect3">
1709
+ <a name="id-1.4.6.10.32.7"></a><h4>Parameters</h4>
1710
+ <div class="informaltable"><table width="100%" border="0">
1711
+ <colgroup>
1712
+ <col width="150px" class="parameters_name">
1713
+ <col class="parameters_description">
1714
+ <col width="200px" class="parameters_annotations">
1715
+ </colgroup>
1716
+ <tbody><tr>
1717
+ <td class="parameter_name"><p>desc</p></td>
1718
+ <td class="parameter_description"><p>a ruleset description</p></td>
1719
+ <td class="parameter_annotations"> </td>
1720
+ </tr></tbody>
1721
+ </table></div>
1722
+ </div>
1723
+ <div class="refsect3">
1724
+ <a name="id-1.4.6.10.32.8"></a><h4>Returns</h4>
1725
+ <p> the hash value.</p>
1726
+ <p></p>
1727
+ </div>
1728
+ <p class="since">Since 1.18</p>
1729
+ </div>
1730
+ <hr>
1731
+ <div class="refsect2">
1732
+ <a name="pango-ot-tag-from-language"></a><h3>pango_ot_tag_from_language ()</h3>
1733
+ <pre class="programlisting"><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="returnvalue">PangoOTTag</span></a>
1734
+ pango_ot_tag_from_language (<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> *language</code></em>);</pre>
1735
+ <div class="warning"><p><code class="literal">pango_ot_tag_from_language</code> is deprecated and should not be used in newly-written code.</p></div>
1736
+ <p>Finds the OpenType language-system tag best describing <em class="parameter"><code>language</code></em>
1737
+ .</p>
1738
+ <div class="refsect3">
1739
+ <a name="id-1.4.6.10.33.7"></a><h4>Parameters</h4>
1740
+ <div class="informaltable"><table width="100%" border="0">
1741
+ <colgroup>
1742
+ <col width="150px" class="parameters_name">
1743
+ <col class="parameters_description">
1744
+ <col width="200px" class="parameters_annotations">
1745
+ </colgroup>
1746
+ <tbody><tr>
1747
+ <td class="parameter_name"><p>language</p></td>
1748
+ <td class="parameter_description"><p>A <a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
1749
+ <td class="parameter_annotations"> </td>
1750
+ </tr></tbody>
1751
+ </table></div>
1752
+ </div>
1753
+ <div class="refsect3">
1754
+ <a name="id-1.4.6.10.33.8"></a><h4>Returns</h4>
1755
+ <p> <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="type">PangoOTTag</span></a> best matching <em class="parameter"><code>language</code></em>
1756
+ or
1757
+ <a class="link" href="pango-OpenType-Font-Handling.html#PANGO-OT-TAG-DEFAULT-LANGUAGE:CAPS" title="PANGO_OT_TAG_DEFAULT_LANGUAGE"><code class="literal">PANGO_OT_TAG_DEFAULT_LANGUAGE</code></a> if none found or if <em class="parameter"><code>language</code></em>
1758
+ is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p>
1759
+ <p></p>
1760
+ </div>
1761
+ <p class="since">Since 1.18</p>
1762
+ </div>
1763
+ <hr>
1764
+ <div class="refsect2">
1765
+ <a name="pango-ot-tag-from-script"></a><h3>pango_ot_tag_from_script ()</h3>
1766
+ <pre class="programlisting"><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="returnvalue">PangoOTTag</span></a>
1767
+ pango_ot_tag_from_script (<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoScript" title="enum PangoScript"><span class="type">PangoScript</span></a> script</code></em>);</pre>
1768
+ <div class="warning"><p><code class="literal">pango_ot_tag_from_script</code> is deprecated and should not be used in newly-written code.</p></div>
1769
+ <p>Finds the OpenType script tag corresponding to <em class="parameter"><code>script</code></em>
1770
+ .</p>
1771
+ <p>The <a class="link" href="pango-Scripts-and-Languages.html#PANGO-SCRIPT-COMMON:CAPS"><code class="literal">PANGO_SCRIPT_COMMON</code></a>, <a class="link" href="pango-Scripts-and-Languages.html#PANGO-SCRIPT-INHERITED:CAPS"><code class="literal">PANGO_SCRIPT_INHERITED</code></a>, and
1772
+ <a class="link" href="pango-Scripts-and-Languages.html#PANGO-SCRIPT-UNKNOWN:CAPS"><code class="literal">PANGO_SCRIPT_UNKNOWN</code></a> scripts are mapped to the OpenType
1773
+ 'DFLT' script tag that is also defined as
1774
+ <a class="link" href="pango-OpenType-Font-Handling.html#PANGO-OT-TAG-DEFAULT-SCRIPT:CAPS" title="PANGO_OT_TAG_DEFAULT_SCRIPT"><code class="literal">PANGO_OT_TAG_DEFAULT_SCRIPT</code></a>.</p>
1775
+ <p>Note that multiple <a class="link" href="pango-Scripts-and-Languages.html#PangoScript" title="enum PangoScript"><span class="type">PangoScript</span></a> values may map to the same
1776
+ OpenType script tag. In particular, <a class="link" href="pango-Scripts-and-Languages.html#PANGO-SCRIPT-HIRAGANA:CAPS"><code class="literal">PANGO_SCRIPT_HIRAGANA</code></a>
1777
+ and <a class="link" href="pango-Scripts-and-Languages.html#PANGO-SCRIPT-KATAKANA:CAPS"><code class="literal">PANGO_SCRIPT_KATAKANA</code></a> both map to the OT tag 'kana'.</p>
1778
+ <div class="refsect3">
1779
+ <a name="id-1.4.6.10.34.9"></a><h4>Parameters</h4>
1780
+ <div class="informaltable"><table width="100%" border="0">
1781
+ <colgroup>
1782
+ <col width="150px" class="parameters_name">
1783
+ <col class="parameters_description">
1784
+ <col width="200px" class="parameters_annotations">
1785
+ </colgroup>
1786
+ <tbody><tr>
1787
+ <td class="parameter_name"><p>script</p></td>
1788
+ <td class="parameter_description"><p>A <a class="link" href="pango-Scripts-and-Languages.html#PangoScript" title="enum PangoScript"><span class="type">PangoScript</span></a></p></td>
1789
+ <td class="parameter_annotations"> </td>
1790
+ </tr></tbody>
1791
+ </table></div>
1792
+ </div>
1793
+ <div class="refsect3">
1794
+ <a name="id-1.4.6.10.34.10"></a><h4>Returns</h4>
1795
+ <p> <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="type">PangoOTTag</span></a> corresponding to <em class="parameter"><code>script</code></em>
1796
+ or
1797
+ <a class="link" href="pango-OpenType-Font-Handling.html#PANGO-OT-TAG-DEFAULT-SCRIPT:CAPS" title="PANGO_OT_TAG_DEFAULT_SCRIPT"><code class="literal">PANGO_OT_TAG_DEFAULT_SCRIPT</code></a> if none found.</p>
1798
+ <p></p>
1799
+ </div>
1800
+ <p class="since">Since 1.18</p>
1801
+ </div>
1802
+ <hr>
1803
+ <div class="refsect2">
1804
+ <a name="pango-ot-tag-to-language"></a><h3>pango_ot_tag_to_language ()</h3>
1805
+ <pre class="programlisting"><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="returnvalue">PangoLanguage</span></a> *
1806
+ pango_ot_tag_to_language (<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="type">PangoOTTag</span></a> language_tag</code></em>);</pre>
1807
+ <div class="warning"><p><code class="literal">pango_ot_tag_to_language</code> is deprecated and should not be used in newly-written code.</p></div>
1808
+ <p>Finds a <a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> corresponding to <em class="parameter"><code>language_tag</code></em>
1809
+ .</p>
1810
+ <div class="refsect3">
1811
+ <a name="id-1.4.6.10.35.7"></a><h4>Parameters</h4>
1812
+ <div class="informaltable"><table width="100%" border="0">
1813
+ <colgroup>
1814
+ <col width="150px" class="parameters_name">
1815
+ <col class="parameters_description">
1816
+ <col width="200px" class="parameters_annotations">
1817
+ </colgroup>
1818
+ <tbody><tr>
1819
+ <td class="parameter_name"><p>language_tag</p></td>
1820
+ <td class="parameter_description"><p>A <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="type">PangoOTTag</span></a> OpenType language-system tag</p></td>
1821
+ <td class="parameter_annotations"> </td>
1822
+ </tr></tbody>
1823
+ </table></div>
1824
+ </div>
1825
+ <div class="refsect3">
1826
+ <a name="id-1.4.6.10.35.8"></a><h4>Returns</h4>
1827
+ <p> <a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> best matching <em class="parameter"><code>language_tag</code></em>
1828
+ or
1829
+ <a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> corresponding to the string "xx" if none found.</p>
1830
+ <p></p>
1831
+ </div>
1832
+ <p class="since">Since 1.18</p>
1833
+ </div>
1834
+ <hr>
1835
+ <div class="refsect2">
1836
+ <a name="pango-ot-tag-to-script"></a><h3>pango_ot_tag_to_script ()</h3>
1837
+ <pre class="programlisting"><a class="link" href="pango-Scripts-and-Languages.html#PangoScript" title="enum PangoScript"><span class="returnvalue">PangoScript</span></a>
1838
+ pango_ot_tag_to_script (<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="type">PangoOTTag</span></a> script_tag</code></em>);</pre>
1839
+ <div class="warning"><p><code class="literal">pango_ot_tag_to_script</code> is deprecated and should not be used in newly-written code.</p></div>
1840
+ <p>Finds the <a class="link" href="pango-Scripts-and-Languages.html#PangoScript" title="enum PangoScript"><span class="type">PangoScript</span></a> corresponding to <em class="parameter"><code>script_tag</code></em>
1841
+ .</p>
1842
+ <p>The 'DFLT' script tag is mapped to <a class="link" href="pango-Scripts-and-Languages.html#PANGO-SCRIPT-COMMON:CAPS"><code class="literal">PANGO_SCRIPT_COMMON</code></a>.</p>
1843
+ <p>Note that an OpenType script tag may correspond to multiple
1844
+ <a class="link" href="pango-Scripts-and-Languages.html#PangoScript" title="enum PangoScript"><span class="type">PangoScript</span></a> values. In such cases, the <a class="link" href="pango-Scripts-and-Languages.html#PangoScript" title="enum PangoScript"><span class="type">PangoScript</span></a> value
1845
+ with the smallest value is returned.
1846
+ In particular, <a class="link" href="pango-Scripts-and-Languages.html#PANGO-SCRIPT-HIRAGANA:CAPS"><code class="literal">PANGO_SCRIPT_HIRAGANA</code></a>
1847
+ and <a class="link" href="pango-Scripts-and-Languages.html#PANGO-SCRIPT-KATAKANA:CAPS"><code class="literal">PANGO_SCRIPT_KATAKANA</code></a> both map to the OT tag 'kana'.
1848
+ This function will return <a class="link" href="pango-Scripts-and-Languages.html#PANGO-SCRIPT-HIRAGANA:CAPS"><code class="literal">PANGO_SCRIPT_HIRAGANA</code></a> for
1849
+ 'kana'.</p>
1850
+ <div class="refsect3">
1851
+ <a name="id-1.4.6.10.36.9"></a><h4>Parameters</h4>
1852
+ <div class="informaltable"><table width="100%" border="0">
1853
+ <colgroup>
1854
+ <col width="150px" class="parameters_name">
1855
+ <col class="parameters_description">
1856
+ <col width="200px" class="parameters_annotations">
1857
+ </colgroup>
1858
+ <tbody><tr>
1859
+ <td class="parameter_name"><p>script_tag</p></td>
1860
+ <td class="parameter_description"><p>A <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="type">PangoOTTag</span></a> OpenType script tag</p></td>
1861
+ <td class="parameter_annotations"> </td>
1862
+ </tr></tbody>
1863
+ </table></div>
1864
+ </div>
1865
+ <div class="refsect3">
1866
+ <a name="id-1.4.6.10.36.10"></a><h4>Returns</h4>
1867
+ <p> <a class="link" href="pango-Scripts-and-Languages.html#PangoScript" title="enum PangoScript"><span class="type">PangoScript</span></a> corresponding to <em class="parameter"><code>script_tag</code></em>
1868
+ or
1869
+ <a class="link" href="pango-Scripts-and-Languages.html#PANGO-SCRIPT-UNKNOWN:CAPS"><code class="literal">PANGO_SCRIPT_UNKNOWN</code></a> if none found.</p>
1870
+ <p></p>
1871
+ </div>
1872
+ <p class="since">Since 1.18</p>
1873
+ </div>
1874
+ </div>
1875
+ <div class="refsect1">
1876
+ <a name="pango-OpenType-Font-Handling.other_details"></a><h2>Types and Values</h2>
1877
+ <div class="refsect2">
1878
+ <a name="PangoOTTag"></a><h3>PangoOTTag</h3>
1879
+ <pre class="programlisting">typedef guint32 PangoOTTag;
1880
+ </pre>
1881
+ <p>The <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="type">PangoOTTag</span></a> typedef is used to represent TrueType and OpenType
1882
+ four letter tags inside Pango. Use <a class="link" href="pango-OpenType-Font-Handling.html#PANGO-OT-TAG-MAKE:CAPS" title="PANGO_OT_TAG_MAKE()"><code class="function">PANGO_OT_TAG_MAKE()</code></a>
1883
+ or <a class="link" href="pango-OpenType-Font-Handling.html#PANGO-OT-TAG-MAKE-FROM-STRING:CAPS" title="PANGO_OT_TAG_MAKE_FROM_STRING()"><code class="function">PANGO_OT_TAG_MAKE_FROM_STRING()</code></a> macros to create <span class="type">PangoOTTag</span>s manually.</p>
1884
+ </div>
1885
+ <hr>
1886
+ <div class="refsect2">
1887
+ <a name="PangoOTInfo-struct"></a><h3>PangoOTInfo</h3>
1888
+ <pre class="programlisting">typedef struct _PangoOTInfo PangoOTInfo;</pre>
1889
+ <p>The <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a> struct contains the various
1890
+ tables associated with an OpenType font. It contains only private fields and
1891
+ should only be accessed via the <code class="function">pango_ot_info_*</code> functions
1892
+ which are documented below. To obtain a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a>,
1893
+ use <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-info-get" title="pango_ot_info_get ()"><code class="function">pango_ot_info_get()</code></a>.</p>
1894
+ </div>
1895
+ <hr>
1896
+ <div class="refsect2">
1897
+ <a name="PangoOTBuffer"></a><h3>PangoOTBuffer</h3>
1898
+ <pre class="programlisting">typedef struct _PangoOTBuffer PangoOTBuffer;</pre>
1899
+ <p>The <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="type">PangoOTBuffer</span></a> structure is used to store strings of glyphs associated
1900
+ with a <a class="link" href="PangoFcFont.html" title="PangoFcFont"><span class="type">PangoFcFont</span></a>, suitable for OpenType layout processing. It contains
1901
+ only private fields and should only be accessed via the
1902
+ <code class="function">pango_ot_buffer_*</code> functions which are documented below.
1903
+ To obtain a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="type">PangoOTBuffer</span></a>, use <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-buffer-new" title="pango_ot_buffer_new ()"><code class="function">pango_ot_buffer_new()</code></a>.</p>
1904
+ </div>
1905
+ <hr>
1906
+ <div class="refsect2">
1907
+ <a name="PangoOTGlyph"></a><h3>struct PangoOTGlyph</h3>
1908
+ <pre class="programlisting">struct PangoOTGlyph {
1909
+ guint32 glyph;
1910
+ guint properties;
1911
+ guint cluster;
1912
+ gushort component;
1913
+ gushort ligID;
1914
+
1915
+ guint internal;
1916
+ };
1917
+ </pre>
1918
+ <p>The <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTGlyph" title="struct PangoOTGlyph"><span class="type">PangoOTGlyph</span></a> structure represents a single glyph together with
1919
+ information used for OpenType layout processing of the glyph.
1920
+ It contains the following fields.</p>
1921
+ <div class="refsect3">
1922
+ <a name="id-1.4.6.11.5.5"></a><h4>Members</h4>
1923
+ <div class="informaltable"><table width="100%" border="0">
1924
+ <colgroup>
1925
+ <col width="300px" class="struct_members_name">
1926
+ <col class="struct_members_description">
1927
+ <col width="200px" class="struct_members_annotations">
1928
+ </colgroup>
1929
+ <tbody>
1930
+ <tr>
1931
+ <td class="struct_member_name"><p><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> <em class="structfield"><code><a name="PangoOTGlyph.glyph"></a>glyph</code></em>;</p></td>
1932
+ <td class="struct_member_description"><p>the glyph itself.</p></td>
1933
+ <td class="struct_member_annotations"> </td>
1934
+ </tr>
1935
+ <tr>
1936
+ <td class="struct_member_name"><p><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="PangoOTGlyph.properties"></a>properties</code></em>;</p></td>
1937
+ <td class="struct_member_description"><p>the properties value, identifying which features should be
1938
+ applied on this glyph. See <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-add-feature" title="pango_ot_ruleset_add_feature ()"><code class="function">pango_ot_ruleset_add_feature()</code></a>.</p></td>
1939
+ <td class="struct_member_annotations"> </td>
1940
+ </tr>
1941
+ <tr>
1942
+ <td class="struct_member_name"><p><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="PangoOTGlyph.cluster"></a>cluster</code></em>;</p></td>
1943
+ <td class="struct_member_description"><p>the cluster that this glyph belongs to.</p></td>
1944
+ <td class="struct_member_annotations"> </td>
1945
+ </tr>
1946
+ <tr>
1947
+ <td class="struct_member_name"><p><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gushort"><span class="type">gushort</span></a> <em class="structfield"><code><a name="PangoOTGlyph.component"></a>component</code></em>;</p></td>
1948
+ <td class="struct_member_description"><p>a component value, set by the OpenType layout engine.</p></td>
1949
+ <td class="struct_member_annotations"> </td>
1950
+ </tr>
1951
+ <tr>
1952
+ <td class="struct_member_name"><p><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gushort"><span class="type">gushort</span></a> <em class="structfield"><code><a name="PangoOTGlyph.ligID"></a>ligID</code></em>;</p></td>
1953
+ <td class="struct_member_description"><p>a ligature index value, set by the OpenType layout engine.</p></td>
1954
+ <td class="struct_member_annotations"> </td>
1955
+ </tr>
1956
+ <tr>
1957
+ <td class="struct_member_name"><p><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="PangoOTGlyph.internal"></a>internal</code></em>;</p></td>
1958
+ <td class="struct_member_description"><p>for Pango internal use</p></td>
1959
+ <td class="struct_member_annotations"> </td>
1960
+ </tr>
1961
+ </tbody>
1962
+ </table></div>
1963
+ </div>
1964
+ </div>
1965
+ <hr>
1966
+ <div class="refsect2">
1967
+ <a name="PangoOTRuleset-struct"></a><h3>PangoOTRuleset</h3>
1968
+ <pre class="programlisting">typedef struct _PangoOTRuleset PangoOTRuleset;</pre>
1969
+ <p>The <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="type">PangoOTRuleset</span></a> structure holds a
1970
+ set of features selected from the tables in an OpenType font.
1971
+ (A feature is an operation such as adjusting glyph positioning
1972
+ that should be applied to a text feature such as a certain
1973
+ type of accent.) A <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="type">PangoOTRuleset</span></a>
1974
+ is created with <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-new" title="pango_ot_ruleset_new ()"><code class="function">pango_ot_ruleset_new()</code></a>, features are added
1975
+ to it with <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-add-feature" title="pango_ot_ruleset_add_feature ()"><code class="function">pango_ot_ruleset_add_feature()</code></a>, then it is
1976
+ applied to a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"><span class="type">PangoGlyphString</span></a> with <code class="function">pango_ot_ruleset_shape()</code>.</p>
1977
+ </div>
1978
+ <hr>
1979
+ <div class="refsect2">
1980
+ <a name="PangoOTRulesetDescription"></a><h3>struct PangoOTRulesetDescription</h3>
1981
+ <pre class="programlisting">struct PangoOTRulesetDescription {
1982
+ PangoScript script;
1983
+ PangoLanguage *language;
1984
+ const PangoOTFeatureMap *static_gsub_features;
1985
+ guint n_static_gsub_features;
1986
+ const PangoOTFeatureMap *static_gpos_features;
1987
+ guint n_static_gpos_features;
1988
+ const PangoOTFeatureMap *other_features;
1989
+ guint n_other_features;
1990
+ };
1991
+ </pre>
1992
+ <p>The <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="type">PangoOTRuleset</span></a> structure holds all the information needed
1993
+ to build a complete <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="type">PangoOTRuleset</span></a> from an OpenType font.
1994
+ The main use of this struct is to act as the key for a per-font
1995
+ hash of rulesets. The user populates a ruleset description and
1996
+ gets the ruleset using <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-get-for-description" title="pango_ot_ruleset_get_for_description ()"><code class="function">pango_ot_ruleset_get_for_description()</code></a>
1997
+ or create a new one using <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-new-from-description" title="pango_ot_ruleset_new_from_description ()"><code class="function">pango_ot_ruleset_new_from_description()</code></a>.</p>
1998
+ <div class="refsect3">
1999
+ <a name="id-1.4.6.11.7.5"></a><h4>Members</h4>
2000
+ <div class="informaltable"><table width="100%" border="0">
2001
+ <colgroup>
2002
+ <col width="300px" class="struct_members_name">
2003
+ <col class="struct_members_description">
2004
+ <col width="200px" class="struct_members_annotations">
2005
+ </colgroup>
2006
+ <tbody>
2007
+ <tr>
2008
+ <td class="struct_member_name"><p><a class="link" href="pango-Scripts-and-Languages.html#PangoScript" title="enum PangoScript"><span class="type">PangoScript</span></a> <em class="structfield"><code><a name="PangoOTRulesetDescription.script"></a>script</code></em>;</p></td>
2009
+ <td class="struct_member_description"><p>a <a class="link" href="pango-Scripts-and-Languages.html#PangoScript" title="enum PangoScript"><span class="type">PangoScript</span></a>.</p></td>
2010
+ <td class="struct_member_annotations"> </td>
2011
+ </tr>
2012
+ <tr>
2013
+ <td class="struct_member_name"><p><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> *<em class="structfield"><code><a name="PangoOTRulesetDescription.language"></a>language</code></em>;</p></td>
2014
+ <td class="struct_member_description"><p>a <a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a>.</p></td>
2015
+ <td class="struct_member_annotations"> </td>
2016
+ </tr>
2017
+ <tr>
2018
+ <td class="struct_member_name"><p>const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTFeatureMap" title="struct PangoOTFeatureMap"><span class="type">PangoOTFeatureMap</span></a> *<em class="structfield"><code><a name="PangoOTRulesetDescription.static-gsub-features"></a>static_gsub_features</code></em>;</p></td>
2019
+ <td class="struct_member_description"><p>static map of GSUB features, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p></td>
2020
+ <td class="struct_member_annotations"> </td>
2021
+ </tr>
2022
+ <tr>
2023
+ <td class="struct_member_name"><p><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="PangoOTRulesetDescription.n-static-gsub-features"></a>n_static_gsub_features</code></em>;</p></td>
2024
+ <td class="struct_member_description"><p>length of <em class="parameter"><code>static_gsub_features</code></em>
2025
+ , or 0.</p></td>
2026
+ <td class="struct_member_annotations"> </td>
2027
+ </tr>
2028
+ <tr>
2029
+ <td class="struct_member_name"><p>const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTFeatureMap" title="struct PangoOTFeatureMap"><span class="type">PangoOTFeatureMap</span></a> *<em class="structfield"><code><a name="PangoOTRulesetDescription.static-gpos-features"></a>static_gpos_features</code></em>;</p></td>
2030
+ <td class="struct_member_description"><p>static map of GPOS features, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p></td>
2031
+ <td class="struct_member_annotations"> </td>
2032
+ </tr>
2033
+ <tr>
2034
+ <td class="struct_member_name"><p><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="PangoOTRulesetDescription.n-static-gpos-features"></a>n_static_gpos_features</code></em>;</p></td>
2035
+ <td class="struct_member_description"><p>length of <em class="parameter"><code>static_gpos_features</code></em>
2036
+ , or 0.</p></td>
2037
+ <td class="struct_member_annotations"> </td>
2038
+ </tr>
2039
+ <tr>
2040
+ <td class="struct_member_name"><p>const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTFeatureMap" title="struct PangoOTFeatureMap"><span class="type">PangoOTFeatureMap</span></a> *<em class="structfield"><code><a name="PangoOTRulesetDescription.other-features"></a>other_features</code></em>;</p></td>
2041
+ <td class="struct_member_description"><p>map of extra features to add to both GSUB and GPOS, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
2042
+ Unlike the static maps, this pointer need not live beyond
2043
+ the life of function calls taking this struct.</p></td>
2044
+ <td class="struct_member_annotations"> </td>
2045
+ </tr>
2046
+ <tr>
2047
+ <td class="struct_member_name"><p><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="PangoOTRulesetDescription.n-other-features"></a>n_other_features</code></em>;</p></td>
2048
+ <td class="struct_member_description"><p>length of <em class="parameter"><code>other_features</code></em>
2049
+ , or 0.</p></td>
2050
+ <td class="struct_member_annotations"> </td>
2051
+ </tr>
2052
+ </tbody>
2053
+ </table></div>
2054
+ </div>
2055
+ <p class="since">Since 1.18</p>
2056
+ </div>
2057
+ <hr>
2058
+ <div class="refsect2">
2059
+ <a name="PangoOTTableType"></a><h3>enum PangoOTTableType</h3>
2060
+ <p>The <span class="type">PangoOTTableType</span> enumeration values are used to
2061
+ identify the various OpenType tables in the
2062
+ <code class="function">pango_ot_info_*</code> functions.</p>
2063
+ <div class="refsect3">
2064
+ <a name="id-1.4.6.11.8.4"></a><h4>Members</h4>
2065
+ <div class="informaltable"><table width="100%" border="0">
2066
+ <colgroup>
2067
+ <col width="300px" class="enum_members_name">
2068
+ <col class="enum_members_description">
2069
+ <col width="200px" class="enum_members_annotations">
2070
+ </colgroup>
2071
+ <tbody>
2072
+ <tr>
2073
+ <td class="enum_member_name"><p><a name="PANGO-OT-TABLE-GSUB:CAPS"></a>PANGO_OT_TABLE_GSUB</p></td>
2074
+ <td class="enum_member_description">
2075
+ <p>The GSUB table.</p>
2076
+ </td>
2077
+ <td class="enum_member_annotations"> </td>
2078
+ </tr>
2079
+ <tr>
2080
+ <td class="enum_member_name"><p><a name="PANGO-OT-TABLE-GPOS:CAPS"></a>PANGO_OT_TABLE_GPOS</p></td>
2081
+ <td class="enum_member_description">
2082
+ <p>The GPOS table.</p>
2083
+ </td>
2084
+ <td class="enum_member_annotations"> </td>
2085
+ </tr>
2086
+ </tbody>
2087
+ </table></div>
2088
+ </div>
2089
+ </div>
2090
+ <hr>
2091
+ <div class="refsect2">
2092
+ <a name="PangoOTFeatureMap"></a><h3>struct PangoOTFeatureMap</h3>
2093
+ <pre class="programlisting">struct PangoOTFeatureMap {
2094
+ char feature_name[5];
2095
+ gulong property_bit;
2096
+ };
2097
+ </pre>
2098
+ <p>The <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTFeatureMap" title="struct PangoOTFeatureMap"><span class="type">PangoOTFeatureMap</span></a> typedef is used to represent an OpenType
2099
+ feature with the property bit associated with it. The feature tag is
2100
+ represented as a char array instead of a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="type">PangoOTTag</span></a> for convenience.</p>
2101
+ <div class="refsect3">
2102
+ <a name="id-1.4.6.11.9.5"></a><h4>Members</h4>
2103
+ <div class="informaltable"><table width="100%" border="0">
2104
+ <colgroup>
2105
+ <col width="300px" class="struct_members_name">
2106
+ <col class="struct_members_description">
2107
+ <col width="200px" class="struct_members_annotations">
2108
+ </colgroup>
2109
+ <tbody>
2110
+ <tr>
2111
+ <td class="struct_member_name"><p><span class="type">char</span> <em class="structfield"><code><a name="PangoOTFeatureMap.feature-name"></a>feature_name</code></em>[5];</p></td>
2112
+ <td class="struct_member_description"><p>feature tag in represented as four-letter ASCII string.</p></td>
2113
+ <td class="struct_member_annotations"> </td>
2114
+ </tr>
2115
+ <tr>
2116
+ <td class="struct_member_name"><p><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gulong"><span class="type">gulong</span></a> <em class="structfield"><code><a name="PangoOTFeatureMap.property-bit"></a>property_bit</code></em>;</p></td>
2117
+ <td class="struct_member_description"><p>the property bit to use for this feature. See
2118
+ <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-add-feature" title="pango_ot_ruleset_add_feature ()"><code class="function">pango_ot_ruleset_add_feature()</code></a> for details.</p></td>
2119
+ <td class="struct_member_annotations"> </td>
2120
+ </tr>
2121
+ </tbody>
2122
+ </table></div>
2123
+ </div>
2124
+ <p class="since">Since 1.18</p>
2125
+ </div>
2126
+ <hr>
2127
+ <div class="refsect2">
2128
+ <a name="PANGO-OT-ALL-GLYPHS:CAPS"></a><h3>PANGO_OT_ALL_GLYPHS</h3>
2129
+ <pre class="programlisting">#define PANGO_OT_ALL_GLYPHS ((guint) 0xFFFF)
2130
+ </pre>
2131
+ <p>This is used as the property bit in <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-add-feature" title="pango_ot_ruleset_add_feature ()"><code class="function">pango_ot_ruleset_add_feature()</code></a> when a
2132
+ feature should be applied to all glyphs.</p>
2133
+ <p class="since">Since 1.16</p>
2134
+ </div>
2135
+ <hr>
2136
+ <div class="refsect2">
2137
+ <a name="PANGO-OT-NO-FEATURE:CAPS"></a><h3>PANGO_OT_NO_FEATURE</h3>
2138
+ <pre class="programlisting">#define PANGO_OT_NO_FEATURE ((guint) 0xFFFF)
2139
+ </pre>
2140
+ <p>This is used as a feature index that represent no feature, that is, should be
2141
+ skipped. It may be returned as feature index by <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-info-find-feature" title="pango_ot_info_find_feature ()"><code class="function">pango_ot_info_find_feature()</code></a>
2142
+ if the feature is not found, and <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-add-feature" title="pango_ot_ruleset_add_feature ()"><code class="function">pango_ot_ruleset_add_feature()</code></a> function
2143
+ automatically skips this value, so no special handling is required by the user.</p>
2144
+ <p class="since">Since 1.18</p>
2145
+ </div>
2146
+ <hr>
2147
+ <div class="refsect2">
2148
+ <a name="PANGO-OT-NO-SCRIPT:CAPS"></a><h3>PANGO_OT_NO_SCRIPT</h3>
2149
+ <pre class="programlisting">#define PANGO_OT_NO_SCRIPT ((guint) 0xFFFF)
2150
+ </pre>
2151
+ <p>This is used as a script index that represent no script, that is, when the
2152
+ requested script was not found, and a default ('DFLT') script was not found
2153
+ either. It may be returned as script index by <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-info-find-script" title="pango_ot_info_find_script ()"><code class="function">pango_ot_info_find_script()</code></a>
2154
+ if the script or a default script are not found, all other functions
2155
+ taking a script index essentially return if the input script index is
2156
+ this value, so no special handling is required by the user.</p>
2157
+ <p class="since">Since 1.18</p>
2158
+ </div>
2159
+ <hr>
2160
+ <div class="refsect2">
2161
+ <a name="PANGO-OT-DEFAULT-LANGUAGE:CAPS"></a><h3>PANGO_OT_DEFAULT_LANGUAGE</h3>
2162
+ <pre class="programlisting">#define PANGO_OT_DEFAULT_LANGUAGE ((guint) 0xFFFF)
2163
+ </pre>
2164
+ <p>This is used as the language index in <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-info-find-feature" title="pango_ot_info_find_feature ()"><code class="function">pango_ot_info_find_feature()</code></a> when
2165
+ the default language system of the script is desired.</p>
2166
+ <p>It is also returned by <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-info-find-language" title="pango_ot_info_find_language ()"><code class="function">pango_ot_info_find_language()</code></a> if the requested language
2167
+ is not found, or the requested language tag was PANGO_OT_TAG_DEFAULT_LANGUAGE.
2168
+ The end result is that one can always call <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-tag-from-language" title="pango_ot_tag_from_language ()"><code class="function">pango_ot_tag_from_language()</code></a>
2169
+ followed by <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-info-find-language" title="pango_ot_info_find_language ()"><code class="function">pango_ot_info_find_language()</code></a> and pass the result to
2170
+ <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-info-find-feature" title="pango_ot_info_find_feature ()"><code class="function">pango_ot_info_find_feature()</code></a> without having to worry about falling back to
2171
+ default language system explicitly.</p>
2172
+ <p class="since">Since 1.16</p>
2173
+ </div>
2174
+ <hr>
2175
+ <div class="refsect2">
2176
+ <a name="PANGO-OT-TAG-DEFAULT-LANGUAGE:CAPS"></a><h3>PANGO_OT_TAG_DEFAULT_LANGUAGE</h3>
2177
+ <pre class="programlisting">#define PANGO_OT_TAG_DEFAULT_LANGUAGE PANGO_OT_TAG_MAKE ('d', 'f', 'l', 't')
2178
+ </pre>
2179
+ <p>This is a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="type">PangoOTTag</span></a> representing a special language tag 'dflt'. It is
2180
+ returned as language tag by <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-tag-from-language" title="pango_ot_tag_from_language ()"><code class="function">pango_ot_tag_from_language()</code></a> if the requested
2181
+ language is not found. It is safe to pass this value to
2182
+ <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-info-find-language" title="pango_ot_info_find_language ()"><code class="function">pango_ot_info_find_language()</code></a> as that function falls back to returning default
2183
+ language-system if the requested language tag is not found.</p>
2184
+ <p class="since">Since 1.18</p>
2185
+ </div>
2186
+ <hr>
2187
+ <div class="refsect2">
2188
+ <a name="PANGO-OT-TAG-DEFAULT-SCRIPT:CAPS"></a><h3>PANGO_OT_TAG_DEFAULT_SCRIPT</h3>
2189
+ <pre class="programlisting">#define PANGO_OT_TAG_DEFAULT_SCRIPT PANGO_OT_TAG_MAKE ('D', 'F', 'L', 'T')
2190
+ </pre>
2191
+ <p>This is a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="type">PangoOTTag</span></a> representing the special script tag 'DFLT'. It is
2192
+ returned as script tag by <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-tag-from-script" title="pango_ot_tag_from_script ()"><code class="function">pango_ot_tag_from_script()</code></a> if the requested script
2193
+ is not found.</p>
2194
+ <p class="since">Since 1.18</p>
2195
+ </div>
2196
+ </div>
2197
+ </div>
2198
+ <div class="footer">
2199
+ <hr>
2200
+ Generated by GTK-Doc V1.21.1</div>
2201
+ </body>
2202
+ </html>