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,2079 @@
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: Rendering</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="pango.html" title="Basic Pango Interfaces">
9
+ <link rel="prev" href="pango.html" title="Basic Pango Interfaces">
10
+ <link rel="next" href="pango-Glyph-Storage.html" title="Glyph Storage">
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-Text-Processing.description" class="shortcut">Description</a></span><span id="nav_hierarchy">  <span class="dim">|</span> 
19
+ <a href="#pango-Text-Processing.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="pango.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
23
+ <td><a accesskey="p" href="pango.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
24
+ <td><a accesskey="n" href="pango-Glyph-Storage.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-Text-Processing"></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-Text-Processing.top_of_page"></a>Rendering</span></h2>
31
+ <p>Rendering — Functions to run the rendering pipeline</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-Text-Processing.functions"></a><h2>Functions</h2>
37
+ <div class="informaltable"><table width="100%" border="0">
38
+ <colgroup>
39
+ <col width="150px" class="functions_return">
40
+ <col class="functions_name">
41
+ </colgroup>
42
+ <tbody>
43
+ <tr>
44
+ <td class="define_keyword">#define</td>
45
+ <td class="function_name"><a class="link" href="pango-Text-Processing.html#PANGO-ANALYSIS-FLAG-CENTERED-BASELINE:CAPS" title="PANGO_ANALYSIS_FLAG_CENTERED_BASELINE">PANGO_ANALYSIS_FLAG_CENTERED_BASELINE</a></td>
46
+ </tr>
47
+ <tr>
48
+ <td class="define_keyword">#define</td>
49
+ <td class="function_name"><a class="link" href="pango-Text-Processing.html#PANGO-TYPE-DIRECTION:CAPS" title="PANGO_TYPE_DIRECTION">PANGO_TYPE_DIRECTION</a></td>
50
+ </tr>
51
+ <tr>
52
+ <td class="function_type">
53
+ <a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
54
+ </td>
55
+ <td class="function_name">
56
+ <a class="link" href="pango-Text-Processing.html#pango-itemize" title="pango_itemize ()">pango_itemize</a> <span class="c_punctuation">()</span>
57
+ </td>
58
+ </tr>
59
+ <tr>
60
+ <td class="function_type">
61
+ <a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
62
+ </td>
63
+ <td class="function_name">
64
+ <a class="link" href="pango-Text-Processing.html#pango-itemize-with-base-dir" title="pango_itemize_with_base_dir ()">pango_itemize_with_base_dir</a> <span class="c_punctuation">()</span>
65
+ </td>
66
+ </tr>
67
+ <tr>
68
+ <td class="function_type">
69
+ <span class="returnvalue">void</span>
70
+ </td>
71
+ <td class="function_name">
72
+ <a class="link" href="pango-Text-Processing.html#pango-item-free" title="pango_item_free ()">pango_item_free</a> <span class="c_punctuation">()</span>
73
+ </td>
74
+ </tr>
75
+ <tr>
76
+ <td class="function_type">
77
+ <a class="link" href="pango-Text-Processing.html#PangoItem"><span class="returnvalue">PangoItem</span></a> *
78
+ </td>
79
+ <td class="function_name">
80
+ <a class="link" href="pango-Text-Processing.html#pango-item-copy" title="pango_item_copy ()">pango_item_copy</a> <span class="c_punctuation">()</span>
81
+ </td>
82
+ </tr>
83
+ <tr>
84
+ <td class="function_type">
85
+ <a class="link" href="pango-Text-Processing.html#PangoItem"><span class="returnvalue">PangoItem</span></a> *
86
+ </td>
87
+ <td class="function_name">
88
+ <a class="link" href="pango-Text-Processing.html#pango-item-new" title="pango_item_new ()">pango_item_new</a> <span class="c_punctuation">()</span>
89
+ </td>
90
+ </tr>
91
+ <tr>
92
+ <td class="function_type">
93
+ <a class="link" href="pango-Text-Processing.html#PangoItem"><span class="returnvalue">PangoItem</span></a> *
94
+ </td>
95
+ <td class="function_name">
96
+ <a class="link" href="pango-Text-Processing.html#pango-item-split" title="pango_item_split ()">pango_item_split</a> <span class="c_punctuation">()</span>
97
+ </td>
98
+ </tr>
99
+ <tr>
100
+ <td class="function_type">
101
+ <a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
102
+ </td>
103
+ <td class="function_name">
104
+ <a class="link" href="pango-Text-Processing.html#pango-reorder-items" title="pango_reorder_items ()">pango_reorder_items</a> <span class="c_punctuation">()</span>
105
+ </td>
106
+ </tr>
107
+ <tr>
108
+ <td class="function_type">
109
+ <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="returnvalue">PangoContext</span></a> *
110
+ </td>
111
+ <td class="function_name">
112
+ <a class="link" href="pango-Text-Processing.html#pango-context-new" title="pango_context_new ()">pango_context_new</a> <span class="c_punctuation">()</span>
113
+ </td>
114
+ </tr>
115
+ <tr>
116
+ <td class="function_type">
117
+ <span class="returnvalue">void</span>
118
+ </td>
119
+ <td class="function_name">
120
+ <a class="link" href="pango-Text-Processing.html#pango-context-changed" title="pango_context_changed ()">pango_context_changed</a> <span class="c_punctuation">()</span>
121
+ </td>
122
+ </tr>
123
+ <tr>
124
+ <td class="function_type">
125
+ <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
126
+ </td>
127
+ <td class="function_name">
128
+ <a class="link" href="pango-Text-Processing.html#pango-context-get-serial" title="pango_context_get_serial ()">pango_context_get_serial</a> <span class="c_punctuation">()</span>
129
+ </td>
130
+ </tr>
131
+ <tr>
132
+ <td class="function_type">
133
+ <span class="returnvalue">void</span>
134
+ </td>
135
+ <td class="function_name">
136
+ <a class="link" href="pango-Text-Processing.html#pango-context-set-font-map" title="pango_context_set_font_map ()">pango_context_set_font_map</a> <span class="c_punctuation">()</span>
137
+ </td>
138
+ </tr>
139
+ <tr>
140
+ <td class="function_type">
141
+ <a class="link" href="pango-Fonts.html#PangoFontMap"><span class="returnvalue">PangoFontMap</span></a> *
142
+ </td>
143
+ <td class="function_name">
144
+ <a class="link" href="pango-Text-Processing.html#pango-context-get-font-map" title="pango_context_get_font_map ()">pango_context_get_font_map</a> <span class="c_punctuation">()</span>
145
+ </td>
146
+ </tr>
147
+ <tr>
148
+ <td class="function_type">
149
+ <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="returnvalue">PangoFontDescription</span></a> *
150
+ </td>
151
+ <td class="function_name">
152
+ <a class="link" href="pango-Text-Processing.html#pango-context-get-font-description" title="pango_context_get_font_description ()">pango_context_get_font_description</a> <span class="c_punctuation">()</span>
153
+ </td>
154
+ </tr>
155
+ <tr>
156
+ <td class="function_type">
157
+ <span class="returnvalue">void</span>
158
+ </td>
159
+ <td class="function_name">
160
+ <a class="link" href="pango-Text-Processing.html#pango-context-set-font-description" title="pango_context_set_font_description ()">pango_context_set_font_description</a> <span class="c_punctuation">()</span>
161
+ </td>
162
+ </tr>
163
+ <tr>
164
+ <td class="function_type">
165
+ <a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="returnvalue">PangoLanguage</span></a> *
166
+ </td>
167
+ <td class="function_name">
168
+ <a class="link" href="pango-Text-Processing.html#pango-context-get-language" title="pango_context_get_language ()">pango_context_get_language</a> <span class="c_punctuation">()</span>
169
+ </td>
170
+ </tr>
171
+ <tr>
172
+ <td class="function_type">
173
+ <span class="returnvalue">void</span>
174
+ </td>
175
+ <td class="function_name">
176
+ <a class="link" href="pango-Text-Processing.html#pango-context-set-language" title="pango_context_set_language ()">pango_context_set_language</a> <span class="c_punctuation">()</span>
177
+ </td>
178
+ </tr>
179
+ <tr>
180
+ <td class="function_type">
181
+ <a class="link" href="pango-Bidirectional-Text.html#PangoDirection" title="enum PangoDirection"><span class="returnvalue">PangoDirection</span></a>
182
+ </td>
183
+ <td class="function_name">
184
+ <a class="link" href="pango-Text-Processing.html#pango-context-get-base-dir" title="pango_context_get_base_dir ()">pango_context_get_base_dir</a> <span class="c_punctuation">()</span>
185
+ </td>
186
+ </tr>
187
+ <tr>
188
+ <td class="function_type">
189
+ <span class="returnvalue">void</span>
190
+ </td>
191
+ <td class="function_name">
192
+ <a class="link" href="pango-Text-Processing.html#pango-context-set-base-dir" title="pango_context_set_base_dir ()">pango_context_set_base_dir</a> <span class="c_punctuation">()</span>
193
+ </td>
194
+ </tr>
195
+ <tr>
196
+ <td class="function_type">
197
+ <a class="link" href="pango-Vertical-Text.html#PangoGravity" title="enum PangoGravity"><span class="returnvalue">PangoGravity</span></a>
198
+ </td>
199
+ <td class="function_name">
200
+ <a class="link" href="pango-Text-Processing.html#pango-context-get-base-gravity" title="pango_context_get_base_gravity ()">pango_context_get_base_gravity</a> <span class="c_punctuation">()</span>
201
+ </td>
202
+ </tr>
203
+ <tr>
204
+ <td class="function_type">
205
+ <span class="returnvalue">void</span>
206
+ </td>
207
+ <td class="function_name">
208
+ <a class="link" href="pango-Text-Processing.html#pango-context-set-base-gravity" title="pango_context_set_base_gravity ()">pango_context_set_base_gravity</a> <span class="c_punctuation">()</span>
209
+ </td>
210
+ </tr>
211
+ <tr>
212
+ <td class="function_type">
213
+ <a class="link" href="pango-Vertical-Text.html#PangoGravity" title="enum PangoGravity"><span class="returnvalue">PangoGravity</span></a>
214
+ </td>
215
+ <td class="function_name">
216
+ <a class="link" href="pango-Text-Processing.html#pango-context-get-gravity" title="pango_context_get_gravity ()">pango_context_get_gravity</a> <span class="c_punctuation">()</span>
217
+ </td>
218
+ </tr>
219
+ <tr>
220
+ <td class="function_type">
221
+ <a class="link" href="pango-Vertical-Text.html#PangoGravityHint" title="enum PangoGravityHint"><span class="returnvalue">PangoGravityHint</span></a>
222
+ </td>
223
+ <td class="function_name">
224
+ <a class="link" href="pango-Text-Processing.html#pango-context-get-gravity-hint" title="pango_context_get_gravity_hint ()">pango_context_get_gravity_hint</a> <span class="c_punctuation">()</span>
225
+ </td>
226
+ </tr>
227
+ <tr>
228
+ <td class="function_type">
229
+ <span class="returnvalue">void</span>
230
+ </td>
231
+ <td class="function_name">
232
+ <a class="link" href="pango-Text-Processing.html#pango-context-set-gravity-hint" title="pango_context_set_gravity_hint ()">pango_context_set_gravity_hint</a> <span class="c_punctuation">()</span>
233
+ </td>
234
+ </tr>
235
+ <tr>
236
+ <td class="function_type">const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix"><span class="returnvalue">PangoMatrix</span></a> *
237
+ </td>
238
+ <td class="function_name">
239
+ <a class="link" href="pango-Text-Processing.html#pango-context-get-matrix" title="pango_context_get_matrix ()">pango_context_get_matrix</a> <span class="c_punctuation">()</span>
240
+ </td>
241
+ </tr>
242
+ <tr>
243
+ <td class="function_type">
244
+ <span class="returnvalue">void</span>
245
+ </td>
246
+ <td class="function_name">
247
+ <a class="link" href="pango-Text-Processing.html#pango-context-set-matrix" title="pango_context_set_matrix ()">pango_context_set_matrix</a> <span class="c_punctuation">()</span>
248
+ </td>
249
+ </tr>
250
+ <tr>
251
+ <td class="function_type">
252
+ <a class="link" href="pango-Fonts.html#PangoFont"><span class="returnvalue">PangoFont</span></a> *
253
+ </td>
254
+ <td class="function_name">
255
+ <a class="link" href="pango-Text-Processing.html#pango-context-load-font" title="pango_context_load_font ()">pango_context_load_font</a> <span class="c_punctuation">()</span>
256
+ </td>
257
+ </tr>
258
+ <tr>
259
+ <td class="function_type">
260
+ <a class="link" href="pango-Fonts.html#PangoFontset"><span class="returnvalue">PangoFontset</span></a> *
261
+ </td>
262
+ <td class="function_name">
263
+ <a class="link" href="pango-Text-Processing.html#pango-context-load-fontset" title="pango_context_load_fontset ()">pango_context_load_fontset</a> <span class="c_punctuation">()</span>
264
+ </td>
265
+ </tr>
266
+ <tr>
267
+ <td class="function_type">
268
+ <a class="link" href="pango-Fonts.html#PangoFontMetrics"><span class="returnvalue">PangoFontMetrics</span></a> *
269
+ </td>
270
+ <td class="function_name">
271
+ <a class="link" href="pango-Text-Processing.html#pango-context-get-metrics" title="pango_context_get_metrics ()">pango_context_get_metrics</a> <span class="c_punctuation">()</span>
272
+ </td>
273
+ </tr>
274
+ <tr>
275
+ <td class="function_type">
276
+ <span class="returnvalue">void</span>
277
+ </td>
278
+ <td class="function_name">
279
+ <a class="link" href="pango-Text-Processing.html#pango-context-list-families" title="pango_context_list_families ()">pango_context_list_families</a> <span class="c_punctuation">()</span>
280
+ </td>
281
+ </tr>
282
+ <tr>
283
+ <td class="function_type">
284
+ <span class="returnvalue">void</span>
285
+ </td>
286
+ <td class="function_name">
287
+ <a class="link" href="pango-Text-Processing.html#pango-break" title="pango_break ()">pango_break</a> <span class="c_punctuation">()</span>
288
+ </td>
289
+ </tr>
290
+ <tr>
291
+ <td class="function_type">
292
+ <span class="returnvalue">void</span>
293
+ </td>
294
+ <td class="function_name">
295
+ <a class="link" href="pango-Text-Processing.html#pango-get-log-attrs" title="pango_get_log_attrs ()">pango_get_log_attrs</a> <span class="c_punctuation">()</span>
296
+ </td>
297
+ </tr>
298
+ <tr>
299
+ <td class="function_type">
300
+ <span class="returnvalue">void</span>
301
+ </td>
302
+ <td class="function_name">
303
+ <a class="link" href="pango-Text-Processing.html#pango-find-paragraph-boundary" title="pango_find_paragraph_boundary ()">pango_find_paragraph_boundary</a> <span class="c_punctuation">()</span>
304
+ </td>
305
+ </tr>
306
+ <tr>
307
+ <td class="function_type">
308
+ <span class="returnvalue">void</span>
309
+ </td>
310
+ <td class="function_name">
311
+ <a class="link" href="pango-Text-Processing.html#pango-default-break" title="pango_default_break ()">pango_default_break</a> <span class="c_punctuation">()</span>
312
+ </td>
313
+ </tr>
314
+ <tr>
315
+ <td class="function_type">
316
+ <span class="returnvalue">void</span>
317
+ </td>
318
+ <td class="function_name">
319
+ <a class="link" href="pango-Text-Processing.html#pango-shape" title="pango_shape ()">pango_shape</a> <span class="c_punctuation">()</span>
320
+ </td>
321
+ </tr>
322
+ <tr>
323
+ <td class="function_type">
324
+ <span class="returnvalue">void</span>
325
+ </td>
326
+ <td class="function_name">
327
+ <a class="link" href="pango-Text-Processing.html#pango-shape-full" title="pango_shape_full ()">pango_shape_full</a> <span class="c_punctuation">()</span>
328
+ </td>
329
+ </tr>
330
+ </tbody>
331
+ </table></div>
332
+ </div>
333
+ <a name="PangoContext"></a><a name="PangoItem"></a><div class="refsect1">
334
+ <a name="pango-Text-Processing.other"></a><h2>Types and Values</h2>
335
+ <div class="informaltable"><table width="100%" border="0">
336
+ <colgroup>
337
+ <col width="150px" class="name">
338
+ <col class="description">
339
+ </colgroup>
340
+ <tbody>
341
+ <tr>
342
+ <td class="datatype_keyword"> </td>
343
+ <td class="function_name"><a class="link" href="pango-Text-Processing.html#PangoContext-struct" title="PangoContext">PangoContext</a></td>
344
+ </tr>
345
+ <tr>
346
+ <td class="datatype_keyword">struct</td>
347
+ <td class="function_name"><a class="link" href="pango-Text-Processing.html#PangoItem-struct" title="struct PangoItem">PangoItem</a></td>
348
+ </tr>
349
+ <tr>
350
+ <td class="datatype_keyword">struct</td>
351
+ <td class="function_name"><a class="link" href="pango-Text-Processing.html#PangoAnalysis" title="struct PangoAnalysis">PangoAnalysis</a></td>
352
+ </tr>
353
+ <tr>
354
+ <td class="datatype_keyword"> </td>
355
+ <td class="function_name"><a class="link" href="pango-Text-Processing.html#PangoLogAttr" title="PangoLogAttr">PangoLogAttr</a></td>
356
+ </tr>
357
+ </tbody>
358
+ </table></div>
359
+ </div>
360
+ <div class="refsect1">
361
+ <a name="pango-Text-Processing.object-hierarchy"></a><h2>Object Hierarchy</h2>
362
+ <pre class="screen"> GBoxed
363
+ <span class="lineart">╰──</span> PangoItem
364
+ <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
365
+ <span class="lineart">╰──</span> PangoContext
366
+ </pre>
367
+ </div>
368
+ <div class="refsect1">
369
+ <a name="pango-Text-Processing.description"></a><h2>Description</h2>
370
+ <p>The Pango rendering pipeline takes a string of
371
+ Unicode characters and converts it into glyphs.
372
+ The functions described in this section accomplish
373
+ various steps of this process.</p>
374
+ </div>
375
+ <div class="refsect1">
376
+ <a name="pango-Text-Processing.functions_details"></a><h2>Functions</h2>
377
+ <div class="refsect2">
378
+ <a name="PANGO-ANALYSIS-FLAG-CENTERED-BASELINE:CAPS"></a><h3>PANGO_ANALYSIS_FLAG_CENTERED_BASELINE</h3>
379
+ <pre class="programlisting">#define PANGO_ANALYSIS_FLAG_CENTERED_BASELINE (1 &lt;&lt; 0)
380
+ </pre>
381
+ <p>Whether the segment should be shifted to center around the baseline.
382
+ Used in vertical writing directions mostly.</p>
383
+ <p class="since">Since 1.16</p>
384
+ </div>
385
+ <hr>
386
+ <div class="refsect2">
387
+ <a name="PANGO-TYPE-DIRECTION:CAPS"></a><h3>PANGO_TYPE_DIRECTION</h3>
388
+ <pre class="programlisting">#define PANGO_TYPE_DIRECTION (pango_direction_get_type ())
389
+ </pre>
390
+ </div>
391
+ <hr>
392
+ <div class="refsect2">
393
+ <a name="pango-itemize"></a><h3>pango_itemize ()</h3>
394
+ <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
395
+ pango_itemize (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>,
396
+ <em class="parameter"><code>const <span class="type">char</span> *text</code></em>,
397
+ <em class="parameter"><code><span class="type">int</span> start_index</code></em>,
398
+ <em class="parameter"><code><span class="type">int</span> length</code></em>,
399
+ <em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a> *attrs</code></em>,
400
+ <em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="type">PangoAttrIterator</span></a> *cached_iter</code></em>);</pre>
401
+ <p>Breaks a piece of text into segments with consistent
402
+ directional level and shaping engine. Each byte of <em class="parameter"><code>text</code></em>
403
+ will
404
+ be contained in exactly one of the items in the returned list;
405
+ the generated list of items will be in logical order (the start
406
+ offsets of the items are ascending).</p>
407
+ <p><em class="parameter"><code>cached_iter</code></em>
408
+ should be an iterator over <em class="parameter"><code>attrs</code></em>
409
+ currently positioned at a
410
+ range before or containing <em class="parameter"><code>start_index</code></em>
411
+ ; <em class="parameter"><code>cached_iter</code></em>
412
+ will be advanced to
413
+ the range covering the position just after <em class="parameter"><code>start_index</code></em>
414
+ + <em class="parameter"><code>length</code></em>
415
+ .
416
+ (i.e. if itemizing in a loop, just keep passing in the same <em class="parameter"><code>cached_iter</code></em>
417
+ ).</p>
418
+ <div class="refsect3">
419
+ <a name="id-1.2.2.9.4.6"></a><h4>Parameters</h4>
420
+ <div class="informaltable"><table width="100%" border="0">
421
+ <colgroup>
422
+ <col width="150px" class="parameters_name">
423
+ <col class="parameters_description">
424
+ <col width="200px" class="parameters_annotations">
425
+ </colgroup>
426
+ <tbody>
427
+ <tr>
428
+ <td class="parameter_name"><p>context</p></td>
429
+ <td class="parameter_description"><p>a structure holding information that affects
430
+ the itemization process.</p></td>
431
+ <td class="parameter_annotations"> </td>
432
+ </tr>
433
+ <tr>
434
+ <td class="parameter_name"><p>text</p></td>
435
+ <td class="parameter_description"><p>the text to itemize.</p></td>
436
+ <td class="parameter_annotations"> </td>
437
+ </tr>
438
+ <tr>
439
+ <td class="parameter_name"><p>start_index</p></td>
440
+ <td class="parameter_description"><p>first byte in <em class="parameter"><code>text</code></em>
441
+ to process</p></td>
442
+ <td class="parameter_annotations"> </td>
443
+ </tr>
444
+ <tr>
445
+ <td class="parameter_name"><p>length</p></td>
446
+ <td class="parameter_description"><p>the number of bytes (not characters) to process
447
+ after <em class="parameter"><code>start_index</code></em>
448
+ .
449
+ This must be &gt;= 0.</p></td>
450
+ <td class="parameter_annotations"> </td>
451
+ </tr>
452
+ <tr>
453
+ <td class="parameter_name"><p>attrs</p></td>
454
+ <td class="parameter_description"><p>the set of attributes that apply to <em class="parameter"><code>text</code></em>
455
+ .</p></td>
456
+ <td class="parameter_annotations"> </td>
457
+ </tr>
458
+ <tr>
459
+ <td class="parameter_name"><p>cached_iter</p></td>
460
+ <td class="parameter_description"><p> Cached attribute iterator, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
461
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
462
+ </tr>
463
+ </tbody>
464
+ </table></div>
465
+ </div>
466
+ <div class="refsect3">
467
+ <a name="id-1.2.2.9.4.7"></a><h4>Returns</h4>
468
+ <p> a <a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> of <a class="link" href="pango-Text-Processing.html#PangoItem"><span class="type">PangoItem</span></a>
469
+ structures. The items should be freed using <a class="link" href="pango-Text-Processing.html#pango-item-free" title="pango_item_free ()"><code class="function">pango_item_free()</code></a>
470
+ probably in combination with <a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#g-list-foreach"><code class="function">g_list_foreach()</code></a>, and the list itself
471
+ using <a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#g-list-free"><code class="function">g_list_free()</code></a>. </p>
472
+ <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> Pango.Item]</span></p>
473
+ </div>
474
+ </div>
475
+ <hr>
476
+ <div class="refsect2">
477
+ <a name="pango-itemize-with-base-dir"></a><h3>pango_itemize_with_base_dir ()</h3>
478
+ <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
479
+ pango_itemize_with_base_dir (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>,
480
+ <em class="parameter"><code><a class="link" href="pango-Bidirectional-Text.html#PangoDirection" title="enum PangoDirection"><span class="type">PangoDirection</span></a> base_dir</code></em>,
481
+ <em class="parameter"><code>const <span class="type">char</span> *text</code></em>,
482
+ <em class="parameter"><code><span class="type">int</span> start_index</code></em>,
483
+ <em class="parameter"><code><span class="type">int</span> length</code></em>,
484
+ <em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a> *attrs</code></em>,
485
+ <em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="type">PangoAttrIterator</span></a> *cached_iter</code></em>);</pre>
486
+ <p>Like <a class="link" href="pango-Text-Processing.html#pango-itemize" title="pango_itemize ()"><code class="function">pango_itemize()</code></a>, but the base direction to use when
487
+ computing bidirectional levels (see <a class="link" href="pango-Text-Processing.html#pango-context-set-base-dir" title="pango_context_set_base_dir ()"><code class="function">pango_context_set_base_dir()</code></a>),
488
+ is specified explicitly rather than gotten from the <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>.</p>
489
+ <div class="refsect3">
490
+ <a name="id-1.2.2.9.5.5"></a><h4>Parameters</h4>
491
+ <div class="informaltable"><table width="100%" border="0">
492
+ <colgroup>
493
+ <col width="150px" class="parameters_name">
494
+ <col class="parameters_description">
495
+ <col width="200px" class="parameters_annotations">
496
+ </colgroup>
497
+ <tbody>
498
+ <tr>
499
+ <td class="parameter_name"><p>context</p></td>
500
+ <td class="parameter_description"><p>a structure holding information that affects
501
+ the itemization process.</p></td>
502
+ <td class="parameter_annotations"> </td>
503
+ </tr>
504
+ <tr>
505
+ <td class="parameter_name"><p>base_dir</p></td>
506
+ <td class="parameter_description"><p>base direction to use for bidirectional processing</p></td>
507
+ <td class="parameter_annotations"> </td>
508
+ </tr>
509
+ <tr>
510
+ <td class="parameter_name"><p>text</p></td>
511
+ <td class="parameter_description"><p>the text to itemize.</p></td>
512
+ <td class="parameter_annotations"> </td>
513
+ </tr>
514
+ <tr>
515
+ <td class="parameter_name"><p>start_index</p></td>
516
+ <td class="parameter_description"><p>first byte in <em class="parameter"><code>text</code></em>
517
+ to process</p></td>
518
+ <td class="parameter_annotations"> </td>
519
+ </tr>
520
+ <tr>
521
+ <td class="parameter_name"><p>length</p></td>
522
+ <td class="parameter_description"><p>the number of bytes (not characters) to process
523
+ after <em class="parameter"><code>start_index</code></em>
524
+ . This must be &gt;= 0.</p></td>
525
+ <td class="parameter_annotations"> </td>
526
+ </tr>
527
+ <tr>
528
+ <td class="parameter_name"><p>attrs</p></td>
529
+ <td class="parameter_description"><p>the set of attributes that apply to <em class="parameter"><code>text</code></em>
530
+ .</p></td>
531
+ <td class="parameter_annotations"> </td>
532
+ </tr>
533
+ <tr>
534
+ <td class="parameter_name"><p>cached_iter</p></td>
535
+ <td class="parameter_description"><p> Cached attribute iterator, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
536
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
537
+ </tr>
538
+ </tbody>
539
+ </table></div>
540
+ </div>
541
+ <div class="refsect3">
542
+ <a name="id-1.2.2.9.5.6"></a><h4>Returns</h4>
543
+ <p> a <a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> of
544
+ <a class="link" href="pango-Text-Processing.html#PangoItem"><span class="type">PangoItem</span></a> structures. The items should be freed using
545
+ <a class="link" href="pango-Text-Processing.html#pango-item-free" title="pango_item_free ()"><code class="function">pango_item_free()</code></a> probably in combination with
546
+ <a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#g-list-foreach"><code class="function">g_list_foreach()</code></a>, and the list itself using <a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#g-list-free"><code class="function">g_list_free()</code></a>. </p>
547
+ <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> Pango.Item]</span></p>
548
+ </div>
549
+ <p class="since">Since 1.4</p>
550
+ </div>
551
+ <hr>
552
+ <div class="refsect2">
553
+ <a name="pango-item-free"></a><h3>pango_item_free ()</h3>
554
+ <pre class="programlisting"><span class="returnvalue">void</span>
555
+ pango_item_free (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoItem"><span class="type">PangoItem</span></a> *item</code></em>);</pre>
556
+ <p>Free a <a class="link" href="pango-Text-Processing.html#PangoItem"><span class="type">PangoItem</span></a> and all associated memory.</p>
557
+ <div class="refsect3">
558
+ <a name="id-1.2.2.9.6.5"></a><h4>Parameters</h4>
559
+ <div class="informaltable"><table width="100%" border="0">
560
+ <colgroup>
561
+ <col width="150px" class="parameters_name">
562
+ <col class="parameters_description">
563
+ <col width="200px" class="parameters_annotations">
564
+ </colgroup>
565
+ <tbody><tr>
566
+ <td class="parameter_name"><p>item</p></td>
567
+ <td class="parameter_description"><p>a <a class="link" href="pango-Text-Processing.html#PangoItem"><span class="type">PangoItem</span></a>, may be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
568
+ <td class="parameter_annotations"> </td>
569
+ </tr></tbody>
570
+ </table></div>
571
+ </div>
572
+ </div>
573
+ <hr>
574
+ <div class="refsect2">
575
+ <a name="pango-item-copy"></a><h3>pango_item_copy ()</h3>
576
+ <pre class="programlisting"><a class="link" href="pango-Text-Processing.html#PangoItem"><span class="returnvalue">PangoItem</span></a> *
577
+ pango_item_copy (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoItem"><span class="type">PangoItem</span></a> *item</code></em>);</pre>
578
+ <p>Copy an existing <a class="link" href="pango-Text-Processing.html#PangoItem"><span class="type">PangoItem</span></a> structure.</p>
579
+ <div class="refsect3">
580
+ <a name="id-1.2.2.9.7.5"></a><h4>Parameters</h4>
581
+ <div class="informaltable"><table width="100%" border="0">
582
+ <colgroup>
583
+ <col width="150px" class="parameters_name">
584
+ <col class="parameters_description">
585
+ <col width="200px" class="parameters_annotations">
586
+ </colgroup>
587
+ <tbody><tr>
588
+ <td class="parameter_name"><p>item</p></td>
589
+ <td class="parameter_description"><p>a <a class="link" href="pango-Text-Processing.html#PangoItem"><span class="type">PangoItem</span></a>, may be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
590
+ <td class="parameter_annotations"> </td>
591
+ </tr></tbody>
592
+ </table></div>
593
+ </div>
594
+ <div class="refsect3">
595
+ <a name="id-1.2.2.9.7.6"></a><h4>Returns</h4>
596
+ <p> the newly allocated <a class="link" href="pango-Text-Processing.html#PangoItem"><span class="type">PangoItem</span></a>, which should
597
+ be freed with <a class="link" href="pango-Text-Processing.html#pango-item-free" title="pango_item_free ()"><code class="function">pango_item_free()</code></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if
598
+ <em class="parameter"><code>item</code></em>
599
+ was NULL.</p>
600
+ <p></p>
601
+ </div>
602
+ </div>
603
+ <hr>
604
+ <div class="refsect2">
605
+ <a name="pango-item-new"></a><h3>pango_item_new ()</h3>
606
+ <pre class="programlisting"><a class="link" href="pango-Text-Processing.html#PangoItem"><span class="returnvalue">PangoItem</span></a> *
607
+ pango_item_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
608
+ <p>Creates a new <a class="link" href="pango-Text-Processing.html#PangoItem"><span class="type">PangoItem</span></a> structure initialized to default values.</p>
609
+ <div class="refsect3">
610
+ <a name="id-1.2.2.9.8.5"></a><h4>Returns</h4>
611
+ <p> the newly allocated <a class="link" href="pango-Text-Processing.html#PangoItem"><span class="type">PangoItem</span></a>, which should
612
+ be freed with <a class="link" href="pango-Text-Processing.html#pango-item-free" title="pango_item_free ()"><code class="function">pango_item_free()</code></a>.</p>
613
+ <p></p>
614
+ </div>
615
+ </div>
616
+ <hr>
617
+ <div class="refsect2">
618
+ <a name="pango-item-split"></a><h3>pango_item_split ()</h3>
619
+ <pre class="programlisting"><a class="link" href="pango-Text-Processing.html#PangoItem"><span class="returnvalue">PangoItem</span></a> *
620
+ pango_item_split (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoItem"><span class="type">PangoItem</span></a> *orig</code></em>,
621
+ <em class="parameter"><code><span class="type">int</span> split_index</code></em>,
622
+ <em class="parameter"><code><span class="type">int</span> split_offset</code></em>);</pre>
623
+ <p>Modifies <em class="parameter"><code>orig</code></em>
624
+ to cover only the text after <em class="parameter"><code>split_index</code></em>
625
+ , and
626
+ returns a new item that covers the text before <em class="parameter"><code>split_index</code></em>
627
+ that
628
+ used to be in <em class="parameter"><code>orig</code></em>
629
+ . You can think of <em class="parameter"><code>split_index</code></em>
630
+ as the length of
631
+ the returned item. <em class="parameter"><code>split_index</code></em>
632
+ may not be 0, and it may not be
633
+ greater than or equal to the length of <em class="parameter"><code>orig</code></em>
634
+ (that is, there must
635
+ be at least one byte assigned to each item, you can't create a
636
+ zero-length item). <em class="parameter"><code>split_offset</code></em>
637
+ is the length of the first item in
638
+ chars, and must be provided because the text used to generate the
639
+ item isn't available, so <a class="link" href="pango-Text-Processing.html#pango-item-split" title="pango_item_split ()"><code class="function">pango_item_split()</code></a> can't count the char
640
+ length of the split items itself.</p>
641
+ <div class="refsect3">
642
+ <a name="id-1.2.2.9.9.5"></a><h4>Parameters</h4>
643
+ <div class="informaltable"><table width="100%" border="0">
644
+ <colgroup>
645
+ <col width="150px" class="parameters_name">
646
+ <col class="parameters_description">
647
+ <col width="200px" class="parameters_annotations">
648
+ </colgroup>
649
+ <tbody>
650
+ <tr>
651
+ <td class="parameter_name"><p>orig</p></td>
652
+ <td class="parameter_description"><p>a <a class="link" href="pango-Text-Processing.html#PangoItem"><span class="type">PangoItem</span></a></p></td>
653
+ <td class="parameter_annotations"> </td>
654
+ </tr>
655
+ <tr>
656
+ <td class="parameter_name"><p>split_index</p></td>
657
+ <td class="parameter_description"><p>byte index of position to split item, relative to the start of the item</p></td>
658
+ <td class="parameter_annotations"> </td>
659
+ </tr>
660
+ <tr>
661
+ <td class="parameter_name"><p>split_offset</p></td>
662
+ <td class="parameter_description"><p>number of chars between start of <em class="parameter"><code>orig</code></em>
663
+ and <em class="parameter"><code>split_index</code></em>
664
+ </p></td>
665
+ <td class="parameter_annotations"> </td>
666
+ </tr>
667
+ </tbody>
668
+ </table></div>
669
+ </div>
670
+ <div class="refsect3">
671
+ <a name="id-1.2.2.9.9.6"></a><h4>Returns</h4>
672
+ <p> new item representing text before <em class="parameter"><code>split_index</code></em>
673
+ , which
674
+ should be freed with <a class="link" href="pango-Text-Processing.html#pango-item-free" title="pango_item_free ()"><code class="function">pango_item_free()</code></a>.</p>
675
+ <p></p>
676
+ </div>
677
+ </div>
678
+ <hr>
679
+ <div class="refsect2">
680
+ <a name="pango-reorder-items"></a><h3>pango_reorder_items ()</h3>
681
+ <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
682
+ pango_reorder_items (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *logical_items</code></em>);</pre>
683
+ <p>From a list of items in logical order and the associated
684
+ directional levels, produce a list in visual order.
685
+ The original list is unmodified.</p>
686
+ <div class="refsect3">
687
+ <a name="id-1.2.2.9.10.5"></a><h4>Parameters</h4>
688
+ <div class="informaltable"><table width="100%" border="0">
689
+ <colgroup>
690
+ <col width="150px" class="parameters_name">
691
+ <col class="parameters_description">
692
+ <col width="200px" class="parameters_annotations">
693
+ </colgroup>
694
+ <tbody><tr>
695
+ <td class="parameter_name"><p>logical_items</p></td>
696
+ <td class="parameter_description"><p> a <a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> of <a class="link" href="pango-Text-Processing.html#PangoItem"><span class="type">PangoItem</span></a> in logical order. </p></td>
697
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> Pango.Item]</span></td>
698
+ </tr></tbody>
699
+ </table></div>
700
+ </div>
701
+ <div class="refsect3">
702
+ <a name="id-1.2.2.9.10.6"></a><h4>Returns</h4>
703
+ <p> a <a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a>
704
+ of <a class="link" href="pango-Text-Processing.html#PangoItem"><span class="type">PangoItem</span></a> structures in visual order.</p>
705
+ <p>(Please open a bug if you use this function.
706
+ It is not a particularly convenient interface, and the code
707
+ is duplicated elsewhere in Pango for that reason.). </p>
708
+ <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> Pango.Item]</span></p>
709
+ </div>
710
+ </div>
711
+ <hr>
712
+ <div class="refsect2">
713
+ <a name="pango-context-new"></a><h3>pango_context_new ()</h3>
714
+ <pre class="programlisting"><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="returnvalue">PangoContext</span></a> *
715
+ pango_context_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
716
+ <p>Creates a new <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> initialized to default values.</p>
717
+ <p>This function is not particularly useful as it should always
718
+ be followed by a <a class="link" href="pango-Text-Processing.html#pango-context-set-font-map" title="pango_context_set_font_map ()"><code class="function">pango_context_set_font_map()</code></a> call, and the
719
+ function <a class="link" href="pango-Fonts.html#pango-font-map-create-context" title="pango_font_map_create_context ()"><code class="function">pango_font_map_create_context()</code></a> does these two steps
720
+ together and hence users are recommended to use that.</p>
721
+ <p>If you are using Pango as part of a higher-level system,
722
+ that system may have it's own way of create a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>.
723
+ For instance, the GTK+ toolkit has, among others,
724
+ <a href="http://developer.gnome.org/gdk2/gdk3-Pango-Interaction.html#gdk-pango-context-get-for-screen"><code class="function">gdk_pango_context_get_for_screen()</code></a>, and
725
+ <a href="http://developer.gnome.org/gtk2/GtkWidget.html#gtk-widget-get-pango-context"><code class="function">gtk_widget_get_pango_context()</code></a>. Use those instead.</p>
726
+ <div class="refsect3">
727
+ <a name="id-1.2.2.9.11.7"></a><h4>Returns</h4>
728
+ <p> the newly allocated <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>, which should
729
+ 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>
730
+ <p></p>
731
+ </div>
732
+ </div>
733
+ <hr>
734
+ <div class="refsect2">
735
+ <a name="pango-context-changed"></a><h3>pango_context_changed ()</h3>
736
+ <pre class="programlisting"><span class="returnvalue">void</span>
737
+ pango_context_changed (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>);</pre>
738
+ <p>Forces a change in the context, which will cause any <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a>
739
+ using this context to re-layout.</p>
740
+ <p>This function is only useful when implementing a new backend
741
+ for Pango, something applications won't do. Backends should
742
+ call this function if they have attached extra data to the context
743
+ and such data is changed.</p>
744
+ <div class="refsect3">
745
+ <a name="id-1.2.2.9.12.6"></a><h4>Parameters</h4>
746
+ <div class="informaltable"><table width="100%" border="0">
747
+ <colgroup>
748
+ <col width="150px" class="parameters_name">
749
+ <col class="parameters_description">
750
+ <col width="200px" class="parameters_annotations">
751
+ </colgroup>
752
+ <tbody><tr>
753
+ <td class="parameter_name"><p>context</p></td>
754
+ <td class="parameter_description"><p>a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a></p></td>
755
+ <td class="parameter_annotations"> </td>
756
+ </tr></tbody>
757
+ </table></div>
758
+ </div>
759
+ <p class="since">Since 1.32.4</p>
760
+ </div>
761
+ <hr>
762
+ <div class="refsect2">
763
+ <a name="pango-context-get-serial"></a><h3>pango_context_get_serial ()</h3>
764
+ <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
765
+ pango_context_get_serial (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>);</pre>
766
+ <p>Returns the current serial number of <em class="parameter"><code>context</code></em>
767
+ . The serial number is
768
+ initialized to an small number larger than zero when a new context
769
+ is created and is increased whenever the context is changed using any
770
+ of the setter functions, or the <a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a> it uses to find fonts has
771
+ changed. The serial may wrap, but will never have the value 0. Since it
772
+ can wrap, never compare it with "less than", always use "not equals".</p>
773
+ <p>This can be used to automatically detect changes to a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>, and
774
+ is only useful when implementing objects that need update when their
775
+ <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> changes, like <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a>.</p>
776
+ <div class="refsect3">
777
+ <a name="id-1.2.2.9.13.6"></a><h4>Parameters</h4>
778
+ <div class="informaltable"><table width="100%" border="0">
779
+ <colgroup>
780
+ <col width="150px" class="parameters_name">
781
+ <col class="parameters_description">
782
+ <col width="200px" class="parameters_annotations">
783
+ </colgroup>
784
+ <tbody><tr>
785
+ <td class="parameter_name"><p>context</p></td>
786
+ <td class="parameter_description"><p>a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a></p></td>
787
+ <td class="parameter_annotations"> </td>
788
+ </tr></tbody>
789
+ </table></div>
790
+ </div>
791
+ <div class="refsect3">
792
+ <a name="id-1.2.2.9.13.7"></a><h4>Returns</h4>
793
+ <p> The current serial number of <em class="parameter"><code>context</code></em>
794
+ .</p>
795
+ <p></p>
796
+ </div>
797
+ <p class="since">Since 1.32.4</p>
798
+ </div>
799
+ <hr>
800
+ <div class="refsect2">
801
+ <a name="pango-context-set-font-map"></a><h3>pango_context_set_font_map ()</h3>
802
+ <pre class="programlisting"><span class="returnvalue">void</span>
803
+ pango_context_set_font_map (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>,
804
+ <em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a> *font_map</code></em>);</pre>
805
+ <p>Sets the font map to be searched when fonts are looked-up in this context.
806
+ This is only for internal use by Pango backends, a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> obtained
807
+ via one of the recommended methods should already have a suitable font map.</p>
808
+ <div class="refsect3">
809
+ <a name="id-1.2.2.9.14.5"></a><h4>Parameters</h4>
810
+ <div class="informaltable"><table width="100%" border="0">
811
+ <colgroup>
812
+ <col width="150px" class="parameters_name">
813
+ <col class="parameters_description">
814
+ <col width="200px" class="parameters_annotations">
815
+ </colgroup>
816
+ <tbody>
817
+ <tr>
818
+ <td class="parameter_name"><p>context</p></td>
819
+ <td class="parameter_description"><p>a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a></p></td>
820
+ <td class="parameter_annotations"> </td>
821
+ </tr>
822
+ <tr>
823
+ <td class="parameter_name"><p>font_map</p></td>
824
+ <td class="parameter_description"><p>the <a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a> to set.</p></td>
825
+ <td class="parameter_annotations"> </td>
826
+ </tr>
827
+ </tbody>
828
+ </table></div>
829
+ </div>
830
+ </div>
831
+ <hr>
832
+ <div class="refsect2">
833
+ <a name="pango-context-get-font-map"></a><h3>pango_context_get_font_map ()</h3>
834
+ <pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontMap"><span class="returnvalue">PangoFontMap</span></a> *
835
+ pango_context_get_font_map (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>);</pre>
836
+ <p>Gets the <a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a> used to look up fonts for this context.</p>
837
+ <div class="refsect3">
838
+ <a name="id-1.2.2.9.15.5"></a><h4>Parameters</h4>
839
+ <div class="informaltable"><table width="100%" border="0">
840
+ <colgroup>
841
+ <col width="150px" class="parameters_name">
842
+ <col class="parameters_description">
843
+ <col width="200px" class="parameters_annotations">
844
+ </colgroup>
845
+ <tbody><tr>
846
+ <td class="parameter_name"><p>context</p></td>
847
+ <td class="parameter_description"><p>a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a></p></td>
848
+ <td class="parameter_annotations"> </td>
849
+ </tr></tbody>
850
+ </table></div>
851
+ </div>
852
+ <div class="refsect3">
853
+ <a name="id-1.2.2.9.15.6"></a><h4>Returns</h4>
854
+ <p> the font map for the <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>.
855
+ This value is owned by Pango and should not be unreferenced. </p>
856
+ <p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
857
+ </div>
858
+ <p class="since">Since 1.6</p>
859
+ </div>
860
+ <hr>
861
+ <div class="refsect2">
862
+ <a name="pango-context-get-font-description"></a><h3>pango_context_get_font_description ()</h3>
863
+ <pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="returnvalue">PangoFontDescription</span></a> *
864
+ pango_context_get_font_description (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>);</pre>
865
+ <p>Retrieve the default font description for the context.</p>
866
+ <div class="refsect3">
867
+ <a name="id-1.2.2.9.16.5"></a><h4>Parameters</h4>
868
+ <div class="informaltable"><table width="100%" border="0">
869
+ <colgroup>
870
+ <col width="150px" class="parameters_name">
871
+ <col class="parameters_description">
872
+ <col width="200px" class="parameters_annotations">
873
+ </colgroup>
874
+ <tbody><tr>
875
+ <td class="parameter_name"><p>context</p></td>
876
+ <td class="parameter_description"><p>a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a></p></td>
877
+ <td class="parameter_annotations"> </td>
878
+ </tr></tbody>
879
+ </table></div>
880
+ </div>
881
+ <div class="refsect3">
882
+ <a name="id-1.2.2.9.16.6"></a><h4>Returns</h4>
883
+ <p> a pointer to the context's default font
884
+ description. This value must not be modified or freed. </p>
885
+ <p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
886
+ </div>
887
+ </div>
888
+ <hr>
889
+ <div class="refsect2">
890
+ <a name="pango-context-set-font-description"></a><h3>pango_context_set_font_description ()</h3>
891
+ <pre class="programlisting"><span class="returnvalue">void</span>
892
+ pango_context_set_font_description (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>,
893
+ <em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);</pre>
894
+ <p>Set the default font description for the context</p>
895
+ <div class="refsect3">
896
+ <a name="id-1.2.2.9.17.5"></a><h4>Parameters</h4>
897
+ <div class="informaltable"><table width="100%" border="0">
898
+ <colgroup>
899
+ <col width="150px" class="parameters_name">
900
+ <col class="parameters_description">
901
+ <col width="200px" class="parameters_annotations">
902
+ </colgroup>
903
+ <tbody>
904
+ <tr>
905
+ <td class="parameter_name"><p>context</p></td>
906
+ <td class="parameter_description"><p>a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a></p></td>
907
+ <td class="parameter_annotations"> </td>
908
+ </tr>
909
+ <tr>
910
+ <td class="parameter_name"><p>desc</p></td>
911
+ <td class="parameter_description"><p>the new pango font description</p></td>
912
+ <td class="parameter_annotations"> </td>
913
+ </tr>
914
+ </tbody>
915
+ </table></div>
916
+ </div>
917
+ </div>
918
+ <hr>
919
+ <div class="refsect2">
920
+ <a name="pango-context-get-language"></a><h3>pango_context_get_language ()</h3>
921
+ <pre class="programlisting"><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="returnvalue">PangoLanguage</span></a> *
922
+ pango_context_get_language (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>);</pre>
923
+ <p>Retrieves the global language tag for the context.</p>
924
+ <div class="refsect3">
925
+ <a name="id-1.2.2.9.18.5"></a><h4>Parameters</h4>
926
+ <div class="informaltable"><table width="100%" border="0">
927
+ <colgroup>
928
+ <col width="150px" class="parameters_name">
929
+ <col class="parameters_description">
930
+ <col width="200px" class="parameters_annotations">
931
+ </colgroup>
932
+ <tbody><tr>
933
+ <td class="parameter_name"><p>context</p></td>
934
+ <td class="parameter_description"><p>a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a></p></td>
935
+ <td class="parameter_annotations"> </td>
936
+ </tr></tbody>
937
+ </table></div>
938
+ </div>
939
+ <div class="refsect3">
940
+ <a name="id-1.2.2.9.18.6"></a><h4>Returns</h4>
941
+ <p> the global language tag.</p>
942
+ <p></p>
943
+ </div>
944
+ </div>
945
+ <hr>
946
+ <div class="refsect2">
947
+ <a name="pango-context-set-language"></a><h3>pango_context_set_language ()</h3>
948
+ <pre class="programlisting"><span class="returnvalue">void</span>
949
+ pango_context_set_language (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>,
950
+ <em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> *language</code></em>);</pre>
951
+ <p>Sets the global language tag for the context. The default language
952
+ for the locale of the running process can be found using
953
+ <a class="link" href="pango-Scripts-and-Languages.html#pango-language-get-default" title="pango_language_get_default ()"><code class="function">pango_language_get_default()</code></a>.</p>
954
+ <div class="refsect3">
955
+ <a name="id-1.2.2.9.19.5"></a><h4>Parameters</h4>
956
+ <div class="informaltable"><table width="100%" border="0">
957
+ <colgroup>
958
+ <col width="150px" class="parameters_name">
959
+ <col class="parameters_description">
960
+ <col width="200px" class="parameters_annotations">
961
+ </colgroup>
962
+ <tbody>
963
+ <tr>
964
+ <td class="parameter_name"><p>context</p></td>
965
+ <td class="parameter_description"><p>a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a></p></td>
966
+ <td class="parameter_annotations"> </td>
967
+ </tr>
968
+ <tr>
969
+ <td class="parameter_name"><p>language</p></td>
970
+ <td class="parameter_description"><p>the new language tag.</p></td>
971
+ <td class="parameter_annotations"> </td>
972
+ </tr>
973
+ </tbody>
974
+ </table></div>
975
+ </div>
976
+ </div>
977
+ <hr>
978
+ <div class="refsect2">
979
+ <a name="pango-context-get-base-dir"></a><h3>pango_context_get_base_dir ()</h3>
980
+ <pre class="programlisting"><a class="link" href="pango-Bidirectional-Text.html#PangoDirection" title="enum PangoDirection"><span class="returnvalue">PangoDirection</span></a>
981
+ pango_context_get_base_dir (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>);</pre>
982
+ <p>Retrieves the base direction for the context. See
983
+ <a class="link" href="pango-Text-Processing.html#pango-context-set-base-dir" title="pango_context_set_base_dir ()"><code class="function">pango_context_set_base_dir()</code></a>.</p>
984
+ <div class="refsect3">
985
+ <a name="id-1.2.2.9.20.5"></a><h4>Parameters</h4>
986
+ <div class="informaltable"><table width="100%" border="0">
987
+ <colgroup>
988
+ <col width="150px" class="parameters_name">
989
+ <col class="parameters_description">
990
+ <col width="200px" class="parameters_annotations">
991
+ </colgroup>
992
+ <tbody><tr>
993
+ <td class="parameter_name"><p>context</p></td>
994
+ <td class="parameter_description"><p>a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a></p></td>
995
+ <td class="parameter_annotations"> </td>
996
+ </tr></tbody>
997
+ </table></div>
998
+ </div>
999
+ <div class="refsect3">
1000
+ <a name="id-1.2.2.9.20.6"></a><h4>Returns</h4>
1001
+ <p> the base direction for the context.</p>
1002
+ <p></p>
1003
+ </div>
1004
+ </div>
1005
+ <hr>
1006
+ <div class="refsect2">
1007
+ <a name="pango-context-set-base-dir"></a><h3>pango_context_set_base_dir ()</h3>
1008
+ <pre class="programlisting"><span class="returnvalue">void</span>
1009
+ pango_context_set_base_dir (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>,
1010
+ <em class="parameter"><code><a class="link" href="pango-Bidirectional-Text.html#PangoDirection" title="enum PangoDirection"><span class="type">PangoDirection</span></a> direction</code></em>);</pre>
1011
+ <p>Sets the base direction for the context.</p>
1012
+ <p>The base direction is used in applying the Unicode bidirectional
1013
+ algorithm; if the <em class="parameter"><code>direction</code></em>
1014
+ is <a class="link" href="pango-Bidirectional-Text.html#PANGO-DIRECTION-LTR:CAPS"><code class="literal">PANGO_DIRECTION_LTR</code></a> or
1015
+ <a class="link" href="pango-Bidirectional-Text.html#PANGO-DIRECTION-RTL:CAPS"><code class="literal">PANGO_DIRECTION_RTL</code></a>, then the value will be used as the paragraph
1016
+ direction in the Unicode bidirectional algorithm. A value of
1017
+ <a class="link" href="pango-Bidirectional-Text.html#PANGO-DIRECTION-WEAK-LTR:CAPS"><code class="literal">PANGO_DIRECTION_WEAK_LTR</code></a> or <a class="link" href="pango-Bidirectional-Text.html#PANGO-DIRECTION-WEAK-RTL:CAPS"><code class="literal">PANGO_DIRECTION_WEAK_RTL</code></a> is used only
1018
+ for paragraphs that do not contain any strong characters themselves.</p>
1019
+ <div class="refsect3">
1020
+ <a name="id-1.2.2.9.21.6"></a><h4>Parameters</h4>
1021
+ <div class="informaltable"><table width="100%" border="0">
1022
+ <colgroup>
1023
+ <col width="150px" class="parameters_name">
1024
+ <col class="parameters_description">
1025
+ <col width="200px" class="parameters_annotations">
1026
+ </colgroup>
1027
+ <tbody>
1028
+ <tr>
1029
+ <td class="parameter_name"><p>context</p></td>
1030
+ <td class="parameter_description"><p>a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a></p></td>
1031
+ <td class="parameter_annotations"> </td>
1032
+ </tr>
1033
+ <tr>
1034
+ <td class="parameter_name"><p>direction</p></td>
1035
+ <td class="parameter_description"><p>the new base direction</p></td>
1036
+ <td class="parameter_annotations"> </td>
1037
+ </tr>
1038
+ </tbody>
1039
+ </table></div>
1040
+ </div>
1041
+ </div>
1042
+ <hr>
1043
+ <div class="refsect2">
1044
+ <a name="pango-context-get-base-gravity"></a><h3>pango_context_get_base_gravity ()</h3>
1045
+ <pre class="programlisting"><a class="link" href="pango-Vertical-Text.html#PangoGravity" title="enum PangoGravity"><span class="returnvalue">PangoGravity</span></a>
1046
+ pango_context_get_base_gravity (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>);</pre>
1047
+ <p>Retrieves the base gravity for the context. See
1048
+ <a class="link" href="pango-Text-Processing.html#pango-context-set-base-gravity" title="pango_context_set_base_gravity ()"><code class="function">pango_context_set_base_gravity()</code></a>.</p>
1049
+ <div class="refsect3">
1050
+ <a name="id-1.2.2.9.22.5"></a><h4>Parameters</h4>
1051
+ <div class="informaltable"><table width="100%" border="0">
1052
+ <colgroup>
1053
+ <col width="150px" class="parameters_name">
1054
+ <col class="parameters_description">
1055
+ <col width="200px" class="parameters_annotations">
1056
+ </colgroup>
1057
+ <tbody><tr>
1058
+ <td class="parameter_name"><p>context</p></td>
1059
+ <td class="parameter_description"><p>a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a></p></td>
1060
+ <td class="parameter_annotations"> </td>
1061
+ </tr></tbody>
1062
+ </table></div>
1063
+ </div>
1064
+ <div class="refsect3">
1065
+ <a name="id-1.2.2.9.22.6"></a><h4>Returns</h4>
1066
+ <p> the base gravity for the context.</p>
1067
+ <p></p>
1068
+ </div>
1069
+ <p class="since">Since 1.16</p>
1070
+ </div>
1071
+ <hr>
1072
+ <div class="refsect2">
1073
+ <a name="pango-context-set-base-gravity"></a><h3>pango_context_set_base_gravity ()</h3>
1074
+ <pre class="programlisting"><span class="returnvalue">void</span>
1075
+ pango_context_set_base_gravity (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>,
1076
+ <em class="parameter"><code><a class="link" href="pango-Vertical-Text.html#PangoGravity" title="enum PangoGravity"><span class="type">PangoGravity</span></a> gravity</code></em>);</pre>
1077
+ <p>Sets the base gravity for the context.</p>
1078
+ <p>The base gravity is used in laying vertical text out.</p>
1079
+ <div class="refsect3">
1080
+ <a name="id-1.2.2.9.23.6"></a><h4>Parameters</h4>
1081
+ <div class="informaltable"><table width="100%" border="0">
1082
+ <colgroup>
1083
+ <col width="150px" class="parameters_name">
1084
+ <col class="parameters_description">
1085
+ <col width="200px" class="parameters_annotations">
1086
+ </colgroup>
1087
+ <tbody>
1088
+ <tr>
1089
+ <td class="parameter_name"><p>context</p></td>
1090
+ <td class="parameter_description"><p>a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a></p></td>
1091
+ <td class="parameter_annotations"> </td>
1092
+ </tr>
1093
+ <tr>
1094
+ <td class="parameter_name"><p>gravity</p></td>
1095
+ <td class="parameter_description"><p>the new base gravity</p></td>
1096
+ <td class="parameter_annotations"> </td>
1097
+ </tr>
1098
+ </tbody>
1099
+ </table></div>
1100
+ </div>
1101
+ <p class="since">Since 1.16</p>
1102
+ </div>
1103
+ <hr>
1104
+ <div class="refsect2">
1105
+ <a name="pango-context-get-gravity"></a><h3>pango_context_get_gravity ()</h3>
1106
+ <pre class="programlisting"><a class="link" href="pango-Vertical-Text.html#PangoGravity" title="enum PangoGravity"><span class="returnvalue">PangoGravity</span></a>
1107
+ pango_context_get_gravity (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>);</pre>
1108
+ <p>Retrieves the gravity for the context. This is similar to
1109
+ <a class="link" href="pango-Text-Processing.html#pango-context-get-base-gravity" title="pango_context_get_base_gravity ()"><code class="function">pango_context_get_base_gravity()</code></a>, except for when the base gravity
1110
+ is <a class="link" href="pango-Vertical-Text.html#PANGO-GRAVITY-AUTO:CAPS"><code class="literal">PANGO_GRAVITY_AUTO</code></a> for which <a class="link" href="pango-Vertical-Text.html#pango-gravity-get-for-matrix" title="pango_gravity_get_for_matrix ()"><code class="function">pango_gravity_get_for_matrix()</code></a> is used
1111
+ to return the gravity from the current context matrix.</p>
1112
+ <div class="refsect3">
1113
+ <a name="id-1.2.2.9.24.5"></a><h4>Parameters</h4>
1114
+ <div class="informaltable"><table width="100%" border="0">
1115
+ <colgroup>
1116
+ <col width="150px" class="parameters_name">
1117
+ <col class="parameters_description">
1118
+ <col width="200px" class="parameters_annotations">
1119
+ </colgroup>
1120
+ <tbody><tr>
1121
+ <td class="parameter_name"><p>context</p></td>
1122
+ <td class="parameter_description"><p>a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a></p></td>
1123
+ <td class="parameter_annotations"> </td>
1124
+ </tr></tbody>
1125
+ </table></div>
1126
+ </div>
1127
+ <div class="refsect3">
1128
+ <a name="id-1.2.2.9.24.6"></a><h4>Returns</h4>
1129
+ <p> the resolved gravity for the context.</p>
1130
+ <p></p>
1131
+ </div>
1132
+ <p class="since">Since 1.16</p>
1133
+ </div>
1134
+ <hr>
1135
+ <div class="refsect2">
1136
+ <a name="pango-context-get-gravity-hint"></a><h3>pango_context_get_gravity_hint ()</h3>
1137
+ <pre class="programlisting"><a class="link" href="pango-Vertical-Text.html#PangoGravityHint" title="enum PangoGravityHint"><span class="returnvalue">PangoGravityHint</span></a>
1138
+ pango_context_get_gravity_hint (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>);</pre>
1139
+ <p>Retrieves the gravity hint for the context. See
1140
+ <a class="link" href="pango-Text-Processing.html#pango-context-set-gravity-hint" title="pango_context_set_gravity_hint ()"><code class="function">pango_context_set_gravity_hint()</code></a> for details.</p>
1141
+ <div class="refsect3">
1142
+ <a name="id-1.2.2.9.25.5"></a><h4>Parameters</h4>
1143
+ <div class="informaltable"><table width="100%" border="0">
1144
+ <colgroup>
1145
+ <col width="150px" class="parameters_name">
1146
+ <col class="parameters_description">
1147
+ <col width="200px" class="parameters_annotations">
1148
+ </colgroup>
1149
+ <tbody><tr>
1150
+ <td class="parameter_name"><p>context</p></td>
1151
+ <td class="parameter_description"><p>a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a></p></td>
1152
+ <td class="parameter_annotations"> </td>
1153
+ </tr></tbody>
1154
+ </table></div>
1155
+ </div>
1156
+ <div class="refsect3">
1157
+ <a name="id-1.2.2.9.25.6"></a><h4>Returns</h4>
1158
+ <p> the gravity hint for the context.</p>
1159
+ <p></p>
1160
+ </div>
1161
+ <p class="since">Since 1.16</p>
1162
+ </div>
1163
+ <hr>
1164
+ <div class="refsect2">
1165
+ <a name="pango-context-set-gravity-hint"></a><h3>pango_context_set_gravity_hint ()</h3>
1166
+ <pre class="programlisting"><span class="returnvalue">void</span>
1167
+ pango_context_set_gravity_hint (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>,
1168
+ <em class="parameter"><code><a class="link" href="pango-Vertical-Text.html#PangoGravityHint" title="enum PangoGravityHint"><span class="type">PangoGravityHint</span></a> hint</code></em>);</pre>
1169
+ <p>Sets the gravity hint for the context.</p>
1170
+ <p>The gravity hint is used in laying vertical text out, and is only relevant
1171
+ if gravity of the context as returned by <a class="link" href="pango-Text-Processing.html#pango-context-get-gravity" title="pango_context_get_gravity ()"><code class="function">pango_context_get_gravity()</code></a>
1172
+ is set <a class="link" href="pango-Vertical-Text.html#PANGO-GRAVITY-EAST:CAPS"><code class="literal">PANGO_GRAVITY_EAST</code></a> or <a class="link" href="pango-Vertical-Text.html#PANGO-GRAVITY-WEST:CAPS"><code class="literal">PANGO_GRAVITY_WEST</code></a>.</p>
1173
+ <div class="refsect3">
1174
+ <a name="id-1.2.2.9.26.6"></a><h4>Parameters</h4>
1175
+ <div class="informaltable"><table width="100%" border="0">
1176
+ <colgroup>
1177
+ <col width="150px" class="parameters_name">
1178
+ <col class="parameters_description">
1179
+ <col width="200px" class="parameters_annotations">
1180
+ </colgroup>
1181
+ <tbody>
1182
+ <tr>
1183
+ <td class="parameter_name"><p>context</p></td>
1184
+ <td class="parameter_description"><p>a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a></p></td>
1185
+ <td class="parameter_annotations"> </td>
1186
+ </tr>
1187
+ <tr>
1188
+ <td class="parameter_name"><p>hint</p></td>
1189
+ <td class="parameter_description"><p>the new gravity hint</p></td>
1190
+ <td class="parameter_annotations"> </td>
1191
+ </tr>
1192
+ </tbody>
1193
+ </table></div>
1194
+ </div>
1195
+ <p class="since">Since 1.16</p>
1196
+ </div>
1197
+ <hr>
1198
+ <div class="refsect2">
1199
+ <a name="pango-context-get-matrix"></a><h3>pango_context_get_matrix ()</h3>
1200
+ <pre class="programlisting">const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix"><span class="returnvalue">PangoMatrix</span></a> *
1201
+ pango_context_get_matrix (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>);</pre>
1202
+ <p>Gets the transformation matrix that will be applied when
1203
+ rendering with this context. See <a class="link" href="pango-Text-Processing.html#pango-context-set-matrix" title="pango_context_set_matrix ()"><code class="function">pango_context_set_matrix()</code></a>.</p>
1204
+ <div class="refsect3">
1205
+ <a name="id-1.2.2.9.27.5"></a><h4>Parameters</h4>
1206
+ <div class="informaltable"><table width="100%" border="0">
1207
+ <colgroup>
1208
+ <col width="150px" class="parameters_name">
1209
+ <col class="parameters_description">
1210
+ <col width="200px" class="parameters_annotations">
1211
+ </colgroup>
1212
+ <tbody><tr>
1213
+ <td class="parameter_name"><p>context</p></td>
1214
+ <td class="parameter_description"><p>a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a></p></td>
1215
+ <td class="parameter_annotations"> </td>
1216
+ </tr></tbody>
1217
+ </table></div>
1218
+ </div>
1219
+ <div class="refsect3">
1220
+ <a name="id-1.2.2.9.27.6"></a><h4>Returns</h4>
1221
+ <p> the matrix, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if no matrix has been set
1222
+ (which is the same as the identity matrix). The returned
1223
+ matrix is owned by Pango and must not be modified or
1224
+ freed.</p>
1225
+ <p></p>
1226
+ </div>
1227
+ <p class="since">Since 1.6</p>
1228
+ </div>
1229
+ <hr>
1230
+ <div class="refsect2">
1231
+ <a name="pango-context-set-matrix"></a><h3>pango_context_set_matrix ()</h3>
1232
+ <pre class="programlisting"><span class="returnvalue">void</span>
1233
+ pango_context_set_matrix (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>,
1234
+ <em class="parameter"><code>const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</code></em>);</pre>
1235
+ <p>Sets the transformation matrix that will be applied when rendering
1236
+ with this context. Note that reported metrics are in the user space
1237
+ coordinates before the application of the matrix, not device-space
1238
+ coordinates after the application of the matrix. So, they don't scale
1239
+ with the matrix, though they may change slightly for different
1240
+ matrices, depending on how the text is fit to the pixel grid.</p>
1241
+ <div class="refsect3">
1242
+ <a name="id-1.2.2.9.28.5"></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>context</p></td>
1252
+ <td class="parameter_description"><p>a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a></p></td>
1253
+ <td class="parameter_annotations"> </td>
1254
+ </tr>
1255
+ <tr>
1256
+ <td class="parameter_name"><p>matrix</p></td>
1257
+ <td class="parameter_description"><p> a <a class="link" href="pango-Glyph-Storage.html#PangoMatrix"><span class="type">PangoMatrix</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to unset any existing
1258
+ matrix. (No matrix set is the same as setting the identity matrix.). </p></td>
1259
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
1260
+ </tr>
1261
+ </tbody>
1262
+ </table></div>
1263
+ </div>
1264
+ <p class="since">Since 1.6</p>
1265
+ </div>
1266
+ <hr>
1267
+ <div class="refsect2">
1268
+ <a name="pango-context-load-font"></a><h3>pango_context_load_font ()</h3>
1269
+ <pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFont"><span class="returnvalue">PangoFont</span></a> *
1270
+ pango_context_load_font (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>,
1271
+ <em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);</pre>
1272
+ <p>Loads the font in one of the fontmaps in the context
1273
+ that is the closest match for <em class="parameter"><code>desc</code></em>
1274
+ .</p>
1275
+ <div class="refsect3">
1276
+ <a name="id-1.2.2.9.29.5"></a><h4>Parameters</h4>
1277
+ <div class="informaltable"><table width="100%" border="0">
1278
+ <colgroup>
1279
+ <col width="150px" class="parameters_name">
1280
+ <col class="parameters_description">
1281
+ <col width="200px" class="parameters_annotations">
1282
+ </colgroup>
1283
+ <tbody>
1284
+ <tr>
1285
+ <td class="parameter_name"><p>context</p></td>
1286
+ <td class="parameter_description"><p>a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a></p></td>
1287
+ <td class="parameter_annotations"> </td>
1288
+ </tr>
1289
+ <tr>
1290
+ <td class="parameter_name"><p>desc</p></td>
1291
+ <td class="parameter_description"><p>a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> describing the font to load</p></td>
1292
+ <td class="parameter_annotations"> </td>
1293
+ </tr>
1294
+ </tbody>
1295
+ </table></div>
1296
+ </div>
1297
+ <div class="refsect3">
1298
+ <a name="id-1.2.2.9.29.6"></a><h4>Returns</h4>
1299
+ <p> the newly allocated <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> that
1300
+ was loaded, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if no font matched. </p>
1301
+ <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
1302
+ </div>
1303
+ </div>
1304
+ <hr>
1305
+ <div class="refsect2">
1306
+ <a name="pango-context-load-fontset"></a><h3>pango_context_load_fontset ()</h3>
1307
+ <pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontset"><span class="returnvalue">PangoFontset</span></a> *
1308
+ pango_context_load_fontset (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>,
1309
+ <em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>,
1310
+ <em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> *language</code></em>);</pre>
1311
+ <p>Load a set of fonts in the context that can be used to render
1312
+ a font matching <em class="parameter"><code>desc</code></em>
1313
+ .</p>
1314
+ <div class="refsect3">
1315
+ <a name="id-1.2.2.9.30.5"></a><h4>Parameters</h4>
1316
+ <div class="informaltable"><table width="100%" border="0">
1317
+ <colgroup>
1318
+ <col width="150px" class="parameters_name">
1319
+ <col class="parameters_description">
1320
+ <col width="200px" class="parameters_annotations">
1321
+ </colgroup>
1322
+ <tbody>
1323
+ <tr>
1324
+ <td class="parameter_name"><p>context</p></td>
1325
+ <td class="parameter_description"><p>a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a></p></td>
1326
+ <td class="parameter_annotations"> </td>
1327
+ </tr>
1328
+ <tr>
1329
+ <td class="parameter_name"><p>desc</p></td>
1330
+ <td class="parameter_description"><p>a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> describing the fonts to load</p></td>
1331
+ <td class="parameter_annotations"> </td>
1332
+ </tr>
1333
+ <tr>
1334
+ <td class="parameter_name"><p>language</p></td>
1335
+ <td class="parameter_description"><p>a <a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> the fonts will be used for</p></td>
1336
+ <td class="parameter_annotations"> </td>
1337
+ </tr>
1338
+ </tbody>
1339
+ </table></div>
1340
+ </div>
1341
+ <div class="refsect3">
1342
+ <a name="id-1.2.2.9.30.6"></a><h4>Returns</h4>
1343
+ <p> the newly allocated <a class="link" href="pango-Fonts.html#PangoFontset"><span class="type">PangoFontset</span></a> loaded,
1344
+ or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if no font matched. </p>
1345
+ <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
1346
+ </div>
1347
+ </div>
1348
+ <hr>
1349
+ <div class="refsect2">
1350
+ <a name="pango-context-get-metrics"></a><h3>pango_context_get_metrics ()</h3>
1351
+ <pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontMetrics"><span class="returnvalue">PangoFontMetrics</span></a> *
1352
+ pango_context_get_metrics (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>,
1353
+ <em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>,
1354
+ <em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> *language</code></em>);</pre>
1355
+ <p>Get overall metric information for a particular font
1356
+ description. Since the metrics may be substantially different for
1357
+ different scripts, a language tag can be provided to indicate that
1358
+ the metrics should be retrieved that correspond to the script(s)
1359
+ used by that language.</p>
1360
+ <p>The <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> is interpreted in the same way as
1361
+ by <a class="link" href="pango-Text-Processing.html#pango-itemize" title="pango_itemize ()"><code class="function">pango_itemize()</code></a>, and the family name may be a comma separated
1362
+ list of figures. If characters from multiple of these families
1363
+ would be used to render the string, then the returned fonts would
1364
+ be a composite of the metrics for the fonts loaded for the
1365
+ individual families.</p>
1366
+ <div class="refsect3">
1367
+ <a name="id-1.2.2.9.31.6"></a><h4>Parameters</h4>
1368
+ <div class="informaltable"><table width="100%" border="0">
1369
+ <colgroup>
1370
+ <col width="150px" class="parameters_name">
1371
+ <col class="parameters_description">
1372
+ <col width="200px" class="parameters_annotations">
1373
+ </colgroup>
1374
+ <tbody>
1375
+ <tr>
1376
+ <td class="parameter_name"><p>context</p></td>
1377
+ <td class="parameter_description"><p>a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a></p></td>
1378
+ <td class="parameter_annotations"> </td>
1379
+ </tr>
1380
+ <tr>
1381
+ <td class="parameter_name"><p>desc</p></td>
1382
+ <td class="parameter_description"><p> a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> structure. <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> means that the
1383
+ font description from the context will be used. </p></td>
1384
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
1385
+ </tr>
1386
+ <tr>
1387
+ <td class="parameter_name"><p>language</p></td>
1388
+ <td class="parameter_description"><p> language tag used to determine which script to get
1389
+ the metrics for. <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> means that the language tag from the context
1390
+ will be used. If no language tag is set on the context, metrics
1391
+ for the default language (as determined by <a class="link" href="pango-Scripts-and-Languages.html#pango-language-get-default" title="pango_language_get_default ()"><code class="function">pango_language_get_default()</code></a>)
1392
+ will be returned. </p></td>
1393
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
1394
+ </tr>
1395
+ </tbody>
1396
+ </table></div>
1397
+ </div>
1398
+ <div class="refsect3">
1399
+ <a name="id-1.2.2.9.31.7"></a><h4>Returns</h4>
1400
+ <p> a <a class="link" href="pango-Fonts.html#PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> object. The caller must call <a class="link" href="pango-Fonts.html#pango-font-metrics-unref" title="pango_font_metrics_unref ()"><code class="function">pango_font_metrics_unref()</code></a>
1401
+ when finished using the object.</p>
1402
+ <p></p>
1403
+ </div>
1404
+ </div>
1405
+ <hr>
1406
+ <div class="refsect2">
1407
+ <a name="pango-context-list-families"></a><h3>pango_context_list_families ()</h3>
1408
+ <pre class="programlisting"><span class="returnvalue">void</span>
1409
+ pango_context_list_families (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>,
1410
+ <em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontFamily"><span class="type">PangoFontFamily</span></a> ***families</code></em>,
1411
+ <em class="parameter"><code><span class="type">int</span> *n_families</code></em>);</pre>
1412
+ <p>List all families for a context.</p>
1413
+ <div class="refsect3">
1414
+ <a name="id-1.2.2.9.32.5"></a><h4>Parameters</h4>
1415
+ <div class="informaltable"><table width="100%" border="0">
1416
+ <colgroup>
1417
+ <col width="150px" class="parameters_name">
1418
+ <col class="parameters_description">
1419
+ <col width="200px" class="parameters_annotations">
1420
+ </colgroup>
1421
+ <tbody>
1422
+ <tr>
1423
+ <td class="parameter_name"><p>context</p></td>
1424
+ <td class="parameter_description"><p>a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a></p></td>
1425
+ <td class="parameter_annotations"> </td>
1426
+ </tr>
1427
+ <tr>
1428
+ <td class="parameter_name"><p>families</p></td>
1429
+ <td class="parameter_description"><p> location to store a pointer to
1430
+ an array of <a class="link" href="pango-Fonts.html#PangoFontFamily"><span class="type">PangoFontFamily</span></a> *. This array should be freed
1431
+ with <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>. </p></td>
1432
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=n_families][<acronym title="Free data container after the code is done."><span class="acronym">transfer container</span></acronym>]</span></td>
1433
+ </tr>
1434
+ <tr>
1435
+ <td class="parameter_name"><p>n_families</p></td>
1436
+ <td class="parameter_description"><p> location to store the number of elements in <em class="parameter"><code>descs</code></em>
1437
+ . </p></td>
1438
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
1439
+ </tr>
1440
+ </tbody>
1441
+ </table></div>
1442
+ </div>
1443
+ </div>
1444
+ <hr>
1445
+ <div class="refsect2">
1446
+ <a name="pango-break"></a><h3>pango_break ()</h3>
1447
+ <pre class="programlisting"><span class="returnvalue">void</span>
1448
+ pango_break (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *text</code></em>,
1449
+ <em class="parameter"><code><span class="type">int</span> length</code></em>,
1450
+ <em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoAnalysis" title="struct PangoAnalysis"><span class="type">PangoAnalysis</span></a> *analysis</code></em>,
1451
+ <em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoLogAttr" title="PangoLogAttr"><span class="type">PangoLogAttr</span></a> *attrs</code></em>,
1452
+ <em class="parameter"><code><span class="type">int</span> attrs_len</code></em>);</pre>
1453
+ <p>Determines possible line, word, and character breaks
1454
+ for a string of Unicode text with a single analysis. For most
1455
+ purposes you may want to use <a class="link" href="pango-Text-Processing.html#pango-get-log-attrs" title="pango_get_log_attrs ()"><code class="function">pango_get_log_attrs()</code></a>.</p>
1456
+ <div class="refsect3">
1457
+ <a name="id-1.2.2.9.33.5"></a><h4>Parameters</h4>
1458
+ <div class="informaltable"><table width="100%" border="0">
1459
+ <colgroup>
1460
+ <col width="150px" class="parameters_name">
1461
+ <col class="parameters_description">
1462
+ <col width="200px" class="parameters_annotations">
1463
+ </colgroup>
1464
+ <tbody>
1465
+ <tr>
1466
+ <td class="parameter_name"><p>text</p></td>
1467
+ <td class="parameter_description"><p>the text to process</p></td>
1468
+ <td class="parameter_annotations"> </td>
1469
+ </tr>
1470
+ <tr>
1471
+ <td class="parameter_name"><p>length</p></td>
1472
+ <td class="parameter_description"><p>length of <em class="parameter"><code>text</code></em>
1473
+ in bytes (may be -1 if <em class="parameter"><code>text</code></em>
1474
+ is nul-terminated)</p></td>
1475
+ <td class="parameter_annotations"> </td>
1476
+ </tr>
1477
+ <tr>
1478
+ <td class="parameter_name"><p>analysis</p></td>
1479
+ <td class="parameter_description"><p><a class="link" href="pango-Text-Processing.html#PangoAnalysis" title="struct PangoAnalysis"><span class="type">PangoAnalysis</span></a> structure from <a class="link" href="pango-Text-Processing.html#pango-itemize" title="pango_itemize ()"><code class="function">pango_itemize()</code></a></p></td>
1480
+ <td class="parameter_annotations"> </td>
1481
+ </tr>
1482
+ <tr>
1483
+ <td class="parameter_name"><p>attrs</p></td>
1484
+ <td class="parameter_description"><p> an array to store character
1485
+ information in. </p></td>
1486
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=attrs_len]</span></td>
1487
+ </tr>
1488
+ <tr>
1489
+ <td class="parameter_name"><p>attrs_len</p></td>
1490
+ <td class="parameter_description"><p>size of the array passed as <em class="parameter"><code>attrs</code></em>
1491
+ </p></td>
1492
+ <td class="parameter_annotations"> </td>
1493
+ </tr>
1494
+ </tbody>
1495
+ </table></div>
1496
+ </div>
1497
+ </div>
1498
+ <hr>
1499
+ <div class="refsect2">
1500
+ <a name="pango-get-log-attrs"></a><h3>pango_get_log_attrs ()</h3>
1501
+ <pre class="programlisting"><span class="returnvalue">void</span>
1502
+ pango_get_log_attrs (<em class="parameter"><code>const <span class="type">char</span> *text</code></em>,
1503
+ <em class="parameter"><code><span class="type">int</span> length</code></em>,
1504
+ <em class="parameter"><code><span class="type">int</span> level</code></em>,
1505
+ <em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> *language</code></em>,
1506
+ <em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoLogAttr" title="PangoLogAttr"><span class="type">PangoLogAttr</span></a> *log_attrs</code></em>,
1507
+ <em class="parameter"><code><span class="type">int</span> attrs_len</code></em>);</pre>
1508
+ <p>Computes a <a class="link" href="pango-Text-Processing.html#PangoLogAttr" title="PangoLogAttr"><span class="type">PangoLogAttr</span></a> for each character in <em class="parameter"><code>text</code></em>
1509
+ . The <em class="parameter"><code>log_attrs</code></em>
1510
+
1511
+ array must have one <a class="link" href="pango-Text-Processing.html#PangoLogAttr" title="PangoLogAttr"><span class="type">PangoLogAttr</span></a> for each position in <em class="parameter"><code>text</code></em>
1512
+ ; if
1513
+ <em class="parameter"><code>text</code></em>
1514
+ contains N characters, it has N+1 positions, including the
1515
+ last position at the end of the text. <em class="parameter"><code>text</code></em>
1516
+ should be an entire
1517
+ paragraph; logical attributes can't be computed without context
1518
+ (for example you need to see spaces on either side of a word to know
1519
+ the word is a word).</p>
1520
+ <div class="refsect3">
1521
+ <a name="id-1.2.2.9.34.5"></a><h4>Parameters</h4>
1522
+ <div class="informaltable"><table width="100%" border="0">
1523
+ <colgroup>
1524
+ <col width="150px" class="parameters_name">
1525
+ <col class="parameters_description">
1526
+ <col width="200px" class="parameters_annotations">
1527
+ </colgroup>
1528
+ <tbody>
1529
+ <tr>
1530
+ <td class="parameter_name"><p>text</p></td>
1531
+ <td class="parameter_description"><p>text to process</p></td>
1532
+ <td class="parameter_annotations"> </td>
1533
+ </tr>
1534
+ <tr>
1535
+ <td class="parameter_name"><p>length</p></td>
1536
+ <td class="parameter_description"><p>length in bytes of <em class="parameter"><code>text</code></em>
1537
+ </p></td>
1538
+ <td class="parameter_annotations"> </td>
1539
+ </tr>
1540
+ <tr>
1541
+ <td class="parameter_name"><p>level</p></td>
1542
+ <td class="parameter_description"><p>embedding level, or -1 if unknown</p></td>
1543
+ <td class="parameter_annotations"> </td>
1544
+ </tr>
1545
+ <tr>
1546
+ <td class="parameter_name"><p>language</p></td>
1547
+ <td class="parameter_description"><p>language tag</p></td>
1548
+ <td class="parameter_annotations"> </td>
1549
+ </tr>
1550
+ <tr>
1551
+ <td class="parameter_name"><p>log_attrs</p></td>
1552
+ <td class="parameter_description"><p> array with one <a class="link" href="pango-Text-Processing.html#PangoLogAttr" title="PangoLogAttr"><span class="type">PangoLogAttr</span></a>
1553
+ per character in <em class="parameter"><code>text</code></em>
1554
+ , plus one extra, to be filled in. </p></td>
1555
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=attrs_len]</span></td>
1556
+ </tr>
1557
+ <tr>
1558
+ <td class="parameter_name"><p>attrs_len</p></td>
1559
+ <td class="parameter_description"><p>length of <em class="parameter"><code>log_attrs</code></em>
1560
+ array</p></td>
1561
+ <td class="parameter_annotations"> </td>
1562
+ </tr>
1563
+ </tbody>
1564
+ </table></div>
1565
+ </div>
1566
+ </div>
1567
+ <hr>
1568
+ <div class="refsect2">
1569
+ <a name="pango-find-paragraph-boundary"></a><h3>pango_find_paragraph_boundary ()</h3>
1570
+ <pre class="programlisting"><span class="returnvalue">void</span>
1571
+ pango_find_paragraph_boundary (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *text</code></em>,
1572
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> length</code></em>,
1573
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *paragraph_delimiter_index</code></em>,
1574
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *next_paragraph_start</code></em>);</pre>
1575
+ <p>Locates a paragraph boundary in <em class="parameter"><code>text</code></em>
1576
+ . A boundary is caused by
1577
+ delimiter characters, such as a newline, carriage return, carriage
1578
+ return-newline pair, or Unicode paragraph separator character. The
1579
+ index of the run of delimiters is returned in
1580
+ <em class="parameter"><code>paragraph_delimiter_index</code></em>
1581
+ . The index of the start of the paragraph
1582
+ (index after all delimiters) is stored in <em class="parameter"><code>next_paragraph_start</code></em>
1583
+ .</p>
1584
+ <p>If no delimiters are found, both <em class="parameter"><code>paragraph_delimiter_index</code></em>
1585
+ and
1586
+ <em class="parameter"><code>next_paragraph_start</code></em>
1587
+ are filled with the length of <em class="parameter"><code>text</code></em>
1588
+ (an index one
1589
+ off the end).</p>
1590
+ <div class="refsect3">
1591
+ <a name="id-1.2.2.9.35.6"></a><h4>Parameters</h4>
1592
+ <div class="informaltable"><table width="100%" border="0">
1593
+ <colgroup>
1594
+ <col width="150px" class="parameters_name">
1595
+ <col class="parameters_description">
1596
+ <col width="200px" class="parameters_annotations">
1597
+ </colgroup>
1598
+ <tbody>
1599
+ <tr>
1600
+ <td class="parameter_name"><p>text</p></td>
1601
+ <td class="parameter_description"><p>UTF-8 text</p></td>
1602
+ <td class="parameter_annotations"> </td>
1603
+ </tr>
1604
+ <tr>
1605
+ <td class="parameter_name"><p>length</p></td>
1606
+ <td class="parameter_description"><p>length of <em class="parameter"><code>text</code></em>
1607
+ in bytes, or -1 if nul-terminated</p></td>
1608
+ <td class="parameter_annotations"> </td>
1609
+ </tr>
1610
+ <tr>
1611
+ <td class="parameter_name"><p>paragraph_delimiter_index</p></td>
1612
+ <td class="parameter_description"><p> return location for index of
1613
+ delimiter. </p></td>
1614
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
1615
+ </tr>
1616
+ <tr>
1617
+ <td class="parameter_name"><p>next_paragraph_start</p></td>
1618
+ <td class="parameter_description"><p> return location for start of next
1619
+ paragraph. </p></td>
1620
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
1621
+ </tr>
1622
+ </tbody>
1623
+ </table></div>
1624
+ </div>
1625
+ </div>
1626
+ <hr>
1627
+ <div class="refsect2">
1628
+ <a name="pango-default-break"></a><h3>pango_default_break ()</h3>
1629
+ <pre class="programlisting"><span class="returnvalue">void</span>
1630
+ pango_default_break (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *text</code></em>,
1631
+ <em class="parameter"><code><span class="type">int</span> length</code></em>,
1632
+ <em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoAnalysis" title="struct PangoAnalysis"><span class="type">PangoAnalysis</span></a> *analysis</code></em>,
1633
+ <em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoLogAttr" title="PangoLogAttr"><span class="type">PangoLogAttr</span></a> *attrs</code></em>,
1634
+ <em class="parameter"><code><span class="type">int</span> attrs_len</code></em>);</pre>
1635
+ <p>This is the default break algorithm, used if no language
1636
+ engine overrides it. Normally you should use <a class="link" href="pango-Text-Processing.html#pango-break" title="pango_break ()"><code class="function">pango_break()</code></a>
1637
+ instead. Unlike <a class="link" href="pango-Text-Processing.html#pango-break" title="pango_break ()"><code class="function">pango_break()</code></a>,
1638
+ <em class="parameter"><code>analysis</code></em>
1639
+ can be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, but only do that if you know what
1640
+ you're doing. If you need an analysis to pass to <a class="link" href="pango-Text-Processing.html#pango-break" title="pango_break ()"><code class="function">pango_break()</code></a>,
1641
+ you need to <a class="link" href="pango-Text-Processing.html#pango-itemize" title="pango_itemize ()"><code class="function">pango_itemize()</code></a>. In most cases however you should
1642
+ simply use <a class="link" href="pango-Text-Processing.html#pango-get-log-attrs" title="pango_get_log_attrs ()"><code class="function">pango_get_log_attrs()</code></a>.</p>
1643
+ <div class="refsect3">
1644
+ <a name="id-1.2.2.9.36.5"></a><h4>Parameters</h4>
1645
+ <div class="informaltable"><table width="100%" border="0">
1646
+ <colgroup>
1647
+ <col width="150px" class="parameters_name">
1648
+ <col class="parameters_description">
1649
+ <col width="200px" class="parameters_annotations">
1650
+ </colgroup>
1651
+ <tbody>
1652
+ <tr>
1653
+ <td class="parameter_name"><p>text</p></td>
1654
+ <td class="parameter_description"><p>text to break</p></td>
1655
+ <td class="parameter_annotations"> </td>
1656
+ </tr>
1657
+ <tr>
1658
+ <td class="parameter_name"><p>length</p></td>
1659
+ <td class="parameter_description"><p>length of text in bytes (may be -1 if <em class="parameter"><code>text</code></em>
1660
+ is nul-terminated)</p></td>
1661
+ <td class="parameter_annotations"> </td>
1662
+ </tr>
1663
+ <tr>
1664
+ <td class="parameter_name"><p>analysis</p></td>
1665
+ <td class="parameter_description"><p>a <a class="link" href="pango-Text-Processing.html#PangoAnalysis" title="struct PangoAnalysis"><span class="type">PangoAnalysis</span></a> for the <em class="parameter"><code>text</code></em>
1666
+ </p></td>
1667
+ <td class="parameter_annotations"> </td>
1668
+ </tr>
1669
+ <tr>
1670
+ <td class="parameter_name"><p>attrs</p></td>
1671
+ <td class="parameter_description"><p>logical attributes to fill in</p></td>
1672
+ <td class="parameter_annotations"> </td>
1673
+ </tr>
1674
+ <tr>
1675
+ <td class="parameter_name"><p>attrs_len</p></td>
1676
+ <td class="parameter_description"><p>size of the array passed as <em class="parameter"><code>attrs</code></em>
1677
+ </p></td>
1678
+ <td class="parameter_annotations"> </td>
1679
+ </tr>
1680
+ </tbody>
1681
+ </table></div>
1682
+ </div>
1683
+ </div>
1684
+ <hr>
1685
+ <div class="refsect2">
1686
+ <a name="pango-shape"></a><h3>pango_shape ()</h3>
1687
+ <pre class="programlisting"><span class="returnvalue">void</span>
1688
+ pango_shape (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *text</code></em>,
1689
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> length</code></em>,
1690
+ <em class="parameter"><code>const <a class="link" href="pango-Text-Processing.html#PangoAnalysis" title="struct PangoAnalysis"><span class="type">PangoAnalysis</span></a> *analysis</code></em>,
1691
+ <em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>);</pre>
1692
+ <p>Given a segment of text and the corresponding
1693
+ <a class="link" href="pango-Text-Processing.html#PangoAnalysis" title="struct PangoAnalysis"><span class="type">PangoAnalysis</span></a> structure returned from <a class="link" href="pango-Text-Processing.html#pango-itemize" title="pango_itemize ()"><code class="function">pango_itemize()</code></a>,
1694
+ convert the characters into glyphs. You may also pass
1695
+ in only a substring of the item from <a class="link" href="pango-Text-Processing.html#pango-itemize" title="pango_itemize ()"><code class="function">pango_itemize()</code></a>.</p>
1696
+ <p>It is recommended that you use <a class="link" href="pango-Text-Processing.html#pango-shape-full" title="pango_shape_full ()"><code class="function">pango_shape_full()</code></a> instead, since
1697
+ that API allows for shaping interaction happening across text item
1698
+ boundaries.</p>
1699
+ <div class="refsect3">
1700
+ <a name="id-1.2.2.9.37.6"></a><h4>Parameters</h4>
1701
+ <div class="informaltable"><table width="100%" border="0">
1702
+ <colgroup>
1703
+ <col width="150px" class="parameters_name">
1704
+ <col class="parameters_description">
1705
+ <col width="200px" class="parameters_annotations">
1706
+ </colgroup>
1707
+ <tbody>
1708
+ <tr>
1709
+ <td class="parameter_name"><p>text</p></td>
1710
+ <td class="parameter_description"><p>the text to process</p></td>
1711
+ <td class="parameter_annotations"> </td>
1712
+ </tr>
1713
+ <tr>
1714
+ <td class="parameter_name"><p>length</p></td>
1715
+ <td class="parameter_description"><p>the length (in bytes) of <em class="parameter"><code>text</code></em>
1716
+ </p></td>
1717
+ <td class="parameter_annotations"> </td>
1718
+ </tr>
1719
+ <tr>
1720
+ <td class="parameter_name"><p>analysis</p></td>
1721
+ <td class="parameter_description"><p><a class="link" href="pango-Text-Processing.html#PangoAnalysis" title="struct PangoAnalysis"><span class="type">PangoAnalysis</span></a> structure from <a class="link" href="pango-Text-Processing.html#pango-itemize" title="pango_itemize ()"><code class="function">pango_itemize()</code></a></p></td>
1722
+ <td class="parameter_annotations"> </td>
1723
+ </tr>
1724
+ <tr>
1725
+ <td class="parameter_name"><p>glyphs</p></td>
1726
+ <td class="parameter_description"><p>glyph string in which to store results</p></td>
1727
+ <td class="parameter_annotations"> </td>
1728
+ </tr>
1729
+ </tbody>
1730
+ </table></div>
1731
+ </div>
1732
+ </div>
1733
+ <hr>
1734
+ <div class="refsect2">
1735
+ <a name="pango-shape-full"></a><h3>pango_shape_full ()</h3>
1736
+ <pre class="programlisting"><span class="returnvalue">void</span>
1737
+ pango_shape_full (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *item_text</code></em>,
1738
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> item_length</code></em>,
1739
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *paragraph_text</code></em>,
1740
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> paragraph_length</code></em>,
1741
+ <em class="parameter"><code>const <a class="link" href="pango-Text-Processing.html#PangoAnalysis" title="struct PangoAnalysis"><span class="type">PangoAnalysis</span></a> *analysis</code></em>,
1742
+ <em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>);</pre>
1743
+ <p>Given a segment of text and the corresponding
1744
+ <a class="link" href="pango-Text-Processing.html#PangoAnalysis" title="struct PangoAnalysis"><span class="type">PangoAnalysis</span></a> structure returned from <a class="link" href="pango-Text-Processing.html#pango-itemize" title="pango_itemize ()"><code class="function">pango_itemize()</code></a>,
1745
+ convert the characters into glyphs. You may also pass
1746
+ in only a substring of the item from <a class="link" href="pango-Text-Processing.html#pango-itemize" title="pango_itemize ()"><code class="function">pango_itemize()</code></a>.</p>
1747
+ <p>This is similar to <a class="link" href="pango-Text-Processing.html#pango-shape" title="pango_shape ()"><code class="function">pango_shape()</code></a>, except it also can optionally take
1748
+ the full paragraph text as input, which will then be used to perform
1749
+ certain cross-item shaping interactions. If you have access to the broader
1750
+ text of which <em class="parameter"><code>item_text</code></em>
1751
+ is part of, provide the broader text as
1752
+ <em class="parameter"><code>paragraph_text</code></em>
1753
+ . If <em class="parameter"><code>paragraph_text</code></em>
1754
+ is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, item text is used instead.</p>
1755
+ <div class="refsect3">
1756
+ <a name="id-1.2.2.9.38.6"></a><h4>Parameters</h4>
1757
+ <div class="informaltable"><table width="100%" border="0">
1758
+ <colgroup>
1759
+ <col width="150px" class="parameters_name">
1760
+ <col class="parameters_description">
1761
+ <col width="200px" class="parameters_annotations">
1762
+ </colgroup>
1763
+ <tbody>
1764
+ <tr>
1765
+ <td class="parameter_name"><p>item_text</p></td>
1766
+ <td class="parameter_description"><p>valid UTF-8 text to shape.</p></td>
1767
+ <td class="parameter_annotations"> </td>
1768
+ </tr>
1769
+ <tr>
1770
+ <td class="parameter_name"><p>item_length</p></td>
1771
+ <td class="parameter_description"><p>the length (in bytes) of <em class="parameter"><code>item_text</code></em>
1772
+ . -1 means nul-terminated text.</p></td>
1773
+ <td class="parameter_annotations"> </td>
1774
+ </tr>
1775
+ <tr>
1776
+ <td class="parameter_name"><p>paragraph_text</p></td>
1777
+ <td class="parameter_description"><p> text of the paragraph (see details). May be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
1778
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
1779
+ </tr>
1780
+ <tr>
1781
+ <td class="parameter_name"><p>paragraph_length</p></td>
1782
+ <td class="parameter_description"><p>the length (in bytes) of <em class="parameter"><code>paragraph_text</code></em>
1783
+ . -1 means nul-terminated text.</p></td>
1784
+ <td class="parameter_annotations"> </td>
1785
+ </tr>
1786
+ <tr>
1787
+ <td class="parameter_name"><p>analysis</p></td>
1788
+ <td class="parameter_description"><p><a class="link" href="pango-Text-Processing.html#PangoAnalysis" title="struct PangoAnalysis"><span class="type">PangoAnalysis</span></a> structure from <a class="link" href="pango-Text-Processing.html#pango-itemize" title="pango_itemize ()"><code class="function">pango_itemize()</code></a>.</p></td>
1789
+ <td class="parameter_annotations"> </td>
1790
+ </tr>
1791
+ <tr>
1792
+ <td class="parameter_name"><p>glyphs</p></td>
1793
+ <td class="parameter_description"><p>glyph string in which to store results.</p></td>
1794
+ <td class="parameter_annotations"> </td>
1795
+ </tr>
1796
+ </tbody>
1797
+ </table></div>
1798
+ </div>
1799
+ <p class="since">Since 1.32</p>
1800
+ </div>
1801
+ </div>
1802
+ <div class="refsect1">
1803
+ <a name="pango-Text-Processing.other_details"></a><h2>Types and Values</h2>
1804
+ <div class="refsect2">
1805
+ <a name="PangoContext-struct"></a><h3>PangoContext</h3>
1806
+ <pre class="programlisting">typedef struct _PangoContext PangoContext;</pre>
1807
+ <p>The <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> structure stores global information
1808
+ used to control the itemization process.</p>
1809
+ </div>
1810
+ <hr>
1811
+ <div class="refsect2">
1812
+ <a name="PangoItem-struct"></a><h3>struct PangoItem</h3>
1813
+ <pre class="programlisting">struct PangoItem {
1814
+ gint offset;
1815
+ gint length;
1816
+ gint num_chars;
1817
+ PangoAnalysis analysis;
1818
+ };
1819
+ </pre>
1820
+ <p>The <a class="link" href="pango-Text-Processing.html#PangoItem"><span class="type">PangoItem</span></a> structure stores information about a segment of text.</p>
1821
+ </div>
1822
+ <hr>
1823
+ <div class="refsect2">
1824
+ <a name="PangoAnalysis"></a><h3>struct PangoAnalysis</h3>
1825
+ <pre class="programlisting">struct PangoAnalysis {
1826
+ PangoEngineShape *shape_engine;
1827
+ PangoEngineLang *lang_engine;
1828
+ PangoFont *font;
1829
+
1830
+ guint8 level;
1831
+ guint8 gravity; /* PangoGravity */
1832
+ guint8 flags;
1833
+
1834
+ guint8 script; /* PangoScript */
1835
+ PangoLanguage *language;
1836
+
1837
+ GSList *extra_attrs;
1838
+ };
1839
+ </pre>
1840
+ <p>The <a class="link" href="pango-Text-Processing.html#PangoAnalysis" title="struct PangoAnalysis"><span class="type">PangoAnalysis</span></a> structure stores information about
1841
+ the properties of a segment of text.</p>
1842
+ <div class="refsect3">
1843
+ <a name="id-1.2.2.10.4.5"></a><h4>Members</h4>
1844
+ <div class="informaltable"><table width="100%" border="0">
1845
+ <colgroup>
1846
+ <col width="300px" class="struct_members_name">
1847
+ <col class="struct_members_description">
1848
+ <col width="200px" class="struct_members_annotations">
1849
+ </colgroup>
1850
+ <tbody>
1851
+ <tr>
1852
+ <td class="struct_member_name"><p><a class="link" href="PangoEngineShape.html" title="PangoEngineShape"><span class="type">PangoEngineShape</span></a> *<em class="structfield"><code><a name="PangoAnalysis.shape-engine"></a>shape_engine</code></em>;</p></td>
1853
+ <td class="struct_member_description"><p>the engine for doing rendering-system-dependent processing.</p></td>
1854
+ <td class="struct_member_annotations"> </td>
1855
+ </tr>
1856
+ <tr>
1857
+ <td class="struct_member_name"><p><a class="link" href="PangoEngineLang.html" title="PangoEngineLang"><span class="type">PangoEngineLang</span></a> *<em class="structfield"><code><a name="PangoAnalysis.lang-engine"></a>lang_engine</code></em>;</p></td>
1858
+ <td class="struct_member_description"><p>the engine for doing rendering-system-independent processing.</p></td>
1859
+ <td class="struct_member_annotations"> </td>
1860
+ </tr>
1861
+ <tr>
1862
+ <td class="struct_member_name"><p><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *<em class="structfield"><code><a name="PangoAnalysis.font"></a>font</code></em>;</p></td>
1863
+ <td class="struct_member_description"><p>the font for this segment.</p></td>
1864
+ <td class="struct_member_annotations"> </td>
1865
+ </tr>
1866
+ <tr>
1867
+ <td class="struct_member_name"><p><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint8"><span class="type">guint8</span></a> <em class="structfield"><code><a name="PangoAnalysis.level"></a>level</code></em>;</p></td>
1868
+ <td class="struct_member_description"><p>the bidirectional level for this segment.</p></td>
1869
+ <td class="struct_member_annotations"> </td>
1870
+ </tr>
1871
+ <tr>
1872
+ <td class="struct_member_name"><p><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint8"><span class="type">guint8</span></a> <em class="structfield"><code><a name="PangoAnalysis.gravity"></a>gravity</code></em>;</p></td>
1873
+ <td class="struct_member_description"><p>the glyph orientation for this segment (A <a class="link" href="pango-Vertical-Text.html#PangoGravity" title="enum PangoGravity"><span class="type">PangoGravity</span></a>).</p></td>
1874
+ <td class="struct_member_annotations"> </td>
1875
+ </tr>
1876
+ <tr>
1877
+ <td class="struct_member_name"><p><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint8"><span class="type">guint8</span></a> <em class="structfield"><code><a name="PangoAnalysis.flags"></a>flags</code></em>;</p></td>
1878
+ <td class="struct_member_description"><p>boolean flags for this segment (currently only one) (Since: 1.16).</p></td>
1879
+ <td class="struct_member_annotations"> </td>
1880
+ </tr>
1881
+ <tr>
1882
+ <td class="struct_member_name"><p><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint8"><span class="type">guint8</span></a> <em class="structfield"><code><a name="PangoAnalysis.script"></a>script</code></em>;</p></td>
1883
+ <td class="struct_member_description"><p>the detected script for this segment (A <a class="link" href="pango-Scripts-and-Languages.html#PangoScript" title="enum PangoScript"><span class="type">PangoScript</span></a>) (Since: 1.18).</p></td>
1884
+ <td class="struct_member_annotations"> </td>
1885
+ </tr>
1886
+ <tr>
1887
+ <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="PangoAnalysis.language"></a>language</code></em>;</p></td>
1888
+ <td class="struct_member_description"><p>the detected language for this segment.</p></td>
1889
+ <td class="struct_member_annotations"> </td>
1890
+ </tr>
1891
+ <tr>
1892
+ <td class="struct_member_name"><p><a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a> *<em class="structfield"><code><a name="PangoAnalysis.extra-attrs"></a>extra_attrs</code></em>;</p></td>
1893
+ <td class="struct_member_description"><p>extra attributes for this segment.</p></td>
1894
+ <td class="struct_member_annotations"> </td>
1895
+ </tr>
1896
+ </tbody>
1897
+ </table></div>
1898
+ </div>
1899
+ </div>
1900
+ <hr>
1901
+ <div class="refsect2">
1902
+ <a name="PangoLogAttr"></a><h3>PangoLogAttr</h3>
1903
+ <pre class="programlisting">typedef struct {
1904
+ guint is_line_break : 1; /* Can break line in front of character */
1905
+
1906
+ guint is_mandatory_break : 1; /* Must break line in front of character */
1907
+
1908
+ guint is_char_break : 1; /* Can break here when doing char wrap */
1909
+
1910
+ guint is_white : 1; /* Whitespace character */
1911
+
1912
+ /* Cursor can appear in front of character (i.e. this is a grapheme
1913
+ * boundary, or the first character in the text).
1914
+ */
1915
+ guint is_cursor_position : 1;
1916
+
1917
+ /* Note that in degenerate cases, you could have both start/end set on
1918
+ * some text, most likely for sentences (e.g. no space after a period, so
1919
+ * the next sentence starts right away).
1920
+ */
1921
+
1922
+ guint is_word_start : 1; /* first character in a word */
1923
+ guint is_word_end : 1; /* is first non-word char after a word */
1924
+
1925
+ /* There are two ways to divide sentences. The first assigns all
1926
+ * intersentence whitespace/control/format chars to some sentence,
1927
+ * so all chars are in some sentence; is_sentence_boundary denotes
1928
+ * the boundaries there. The second way doesn't assign
1929
+ * between-sentence spaces, etc. to any sentence, so
1930
+ * is_sentence_start/is_sentence_end mark the boundaries of those
1931
+ * sentences.
1932
+ */
1933
+ guint is_sentence_boundary : 1;
1934
+ guint is_sentence_start : 1; /* first character in a sentence */
1935
+ guint is_sentence_end : 1; /* first non-sentence char after a sentence */
1936
+
1937
+ /* If set, backspace deletes one character rather than
1938
+ * the entire grapheme cluster.
1939
+ */
1940
+ guint backspace_deletes_character : 1;
1941
+
1942
+ /* Only few space variants (U+0020 and U+00A0) have variable
1943
+ * width during justification.
1944
+ */
1945
+ guint is_expandable_space : 1;
1946
+
1947
+ /* Word boundary as defined by UAX#29 */
1948
+ guint is_word_boundary : 1; /* is NOT in the middle of a word */
1949
+ } PangoLogAttr;
1950
+ </pre>
1951
+ <p>The <a class="link" href="pango-Text-Processing.html#PangoLogAttr" title="PangoLogAttr"><span class="type">PangoLogAttr</span></a> structure stores information
1952
+ about the attributes of a single character.</p>
1953
+ <div class="refsect3">
1954
+ <a name="id-1.2.2.10.5.5"></a><h4>Members</h4>
1955
+ <div class="informaltable"><table width="100%" border="0">
1956
+ <colgroup>
1957
+ <col width="300px" class="struct_members_name">
1958
+ <col class="struct_members_description">
1959
+ <col width="200px" class="struct_members_annotations">
1960
+ </colgroup>
1961
+ <tbody>
1962
+ <tr>
1963
+ <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="PangoLogAttr.is-line-break"></a>is_line_break</code></em> : 1;</p></td>
1964
+ <td class="struct_member_description"><p>if set, can break line in front of character</p></td>
1965
+ <td class="struct_member_annotations"> </td>
1966
+ </tr>
1967
+ <tr>
1968
+ <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="PangoLogAttr.is-mandatory-break"></a>is_mandatory_break</code></em> : 1;</p></td>
1969
+ <td class="struct_member_description"><p>if set, must break line in front of character</p></td>
1970
+ <td class="struct_member_annotations"> </td>
1971
+ </tr>
1972
+ <tr>
1973
+ <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="PangoLogAttr.is-char-break"></a>is_char_break</code></em> : 1;</p></td>
1974
+ <td class="struct_member_description"><p>if set, can break here when doing character wrapping</p></td>
1975
+ <td class="struct_member_annotations"> </td>
1976
+ </tr>
1977
+ <tr>
1978
+ <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="PangoLogAttr.is-white"></a>is_white</code></em> : 1;</p></td>
1979
+ <td class="struct_member_description"><p>is whitespace character</p></td>
1980
+ <td class="struct_member_annotations"> </td>
1981
+ </tr>
1982
+ <tr>
1983
+ <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="PangoLogAttr.is-cursor-position"></a>is_cursor_position</code></em> : 1;</p></td>
1984
+ <td class="struct_member_description">
1985
+ <p>if set, cursor can appear in front of character.
1986
+ i.e. this is a grapheme boundary, or the first character
1987
+ in the text.
1988
+ This flag implements Unicode's</p>
1989
+ <a class="ulink" href="http://www.unicode.org/reports/tr29/" target="_top">Grapheme
1990
+ Cluster Boundaries</a> semantics.</td>
1991
+ <td class="struct_member_annotations"> </td>
1992
+ </tr>
1993
+ <tr>
1994
+ <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="PangoLogAttr.is-word-start"></a>is_word_start</code></em> : 1;</p></td>
1995
+ <td class="struct_member_description"><p>is first character in a word</p></td>
1996
+ <td class="struct_member_annotations"> </td>
1997
+ </tr>
1998
+ <tr>
1999
+ <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="PangoLogAttr.is-word-end"></a>is_word_end</code></em> : 1;</p></td>
2000
+ <td class="struct_member_description"><p>is first non-word char after a word
2001
+ Note that in degenerate cases, you could have both <em class="parameter"><code>is_word_start</code></em>
2002
+ and <em class="parameter"><code>is_word_end</code></em>
2003
+ set for some character.</p></td>
2004
+ <td class="struct_member_annotations"> </td>
2005
+ </tr>
2006
+ <tr>
2007
+ <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="PangoLogAttr.is-sentence-boundary"></a>is_sentence_boundary</code></em> : 1;</p></td>
2008
+ <td class="struct_member_description"><p>is a sentence boundary.
2009
+ There are two ways to divide sentences. The first assigns all
2010
+ inter-sentence whitespace/control/format chars to some sentence,
2011
+ so all chars are in some sentence; <em class="parameter"><code>is_sentence_boundary</code></em>
2012
+ denotes
2013
+ the boundaries there. The second way doesn't assign
2014
+ between-sentence spaces, etc. to any sentence, so
2015
+ <em class="parameter"><code>is_sentence_start</code></em>
2016
+ /<em class="parameter"><code>is_sentence_end</code></em>
2017
+ mark the boundaries of those sentences.</p></td>
2018
+ <td class="struct_member_annotations"> </td>
2019
+ </tr>
2020
+ <tr>
2021
+ <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="PangoLogAttr.is-sentence-start"></a>is_sentence_start</code></em> : 1;</p></td>
2022
+ <td class="struct_member_description"><p>is first character in a sentence</p></td>
2023
+ <td class="struct_member_annotations"> </td>
2024
+ </tr>
2025
+ <tr>
2026
+ <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="PangoLogAttr.is-sentence-end"></a>is_sentence_end</code></em> : 1;</p></td>
2027
+ <td class="struct_member_description"><p>is first char after a sentence.
2028
+ Note that in degenerate cases, you could have both <em class="parameter"><code>is_sentence_start</code></em>
2029
+ and <em class="parameter"><code>is_sentence_end</code></em>
2030
+ set for some character. (e.g. no space after a
2031
+ period, so the next sentence starts right away)</p></td>
2032
+ <td class="struct_member_annotations"> </td>
2033
+ </tr>
2034
+ <tr>
2035
+ <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="PangoLogAttr.backspace-deletes-character"></a>backspace_deletes_character</code></em> : 1;</p></td>
2036
+ <td class="struct_member_description"><p>if set, backspace deletes one character
2037
+ rather than the entire grapheme cluster. This
2038
+ field is only meaningful on grapheme
2039
+ boundaries (where <em class="parameter"><code>is_cursor_position</code></em>
2040
+ is
2041
+ set). In some languages, the full grapheme
2042
+ (e.g. letter + diacritics) is considered a
2043
+ unit, while in others, each decomposed
2044
+ character in the grapheme is a unit. In the
2045
+ default implementation of <a class="link" href="pango-Text-Processing.html#pango-break" title="pango_break ()"><code class="function">pango_break()</code></a>, this
2046
+ bit is set on all grapheme boundaries except
2047
+ those following Latin, Cyrillic or Greek base characters.</p></td>
2048
+ <td class="struct_member_annotations"> </td>
2049
+ </tr>
2050
+ <tr>
2051
+ <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="PangoLogAttr.is-expandable-space"></a>is_expandable_space</code></em> : 1;</p></td>
2052
+ <td class="struct_member_description"><p>is a whitespace character that can possibly be
2053
+ expanded for justification purposes. (Since: 1.18)</p></td>
2054
+ <td class="struct_member_annotations"> </td>
2055
+ </tr>
2056
+ <tr>
2057
+ <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="PangoLogAttr.is-word-boundary"></a>is_word_boundary</code></em> : 1;</p></td>
2058
+ <td class="struct_member_description">
2059
+ <p>is a word boundary.
2060
+ More specifically, means that this is not a position in the middle
2061
+ of a word. For example, both sides of a punctuation mark are
2062
+ considered word boundaries. This flag is particularly useful when
2063
+ selecting text word-by-word.
2064
+ This flag implements Unicode's</p>
2065
+ <a class="ulink" href="http://www.unicode.org/reports/tr29/" target="_top">Word
2066
+ Boundaries</a> semantics. (Since: 1.22)</td>
2067
+ <td class="struct_member_annotations"> </td>
2068
+ </tr>
2069
+ </tbody>
2070
+ </table></div>
2071
+ </div>
2072
+ </div>
2073
+ </div>
2074
+ </div>
2075
+ <div class="footer">
2076
+ <hr>
2077
+ Generated by GTK-Doc V1.21.1</div>
2078
+ </body>
2079
+ </html>