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