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,15 +8,14 @@
|
|
8
8
|
<link rel="up" href="lowlevel.html" title="Low Level Functionality">
|
9
9
|
<link rel="prev" href="pango-Modules.html" title="Modules">
|
10
10
|
<link rel="next" href="pango-Version-Checking.html" title="Version Checking">
|
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-Miscellaneous-Utilities.description" class="shortcut">Description</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-Miscellaneous-Utilities.description" class="shortcut">Description</a></span>
|
20
19
|
</td>
|
21
20
|
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
22
21
|
<td><a accesskey="u" href="lowlevel.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
@@ -30,723 +29,937 @@
|
|
30
29
|
<h2><span class="refentrytitle"><a name="pango-Miscellaneous-Utilities.top_of_page"></a>Miscellaneous Utilities</span></h2>
|
31
30
|
<p>Miscellaneous Utilities — Various convenience and utility functions</p>
|
32
31
|
</td>
|
33
|
-
<td valign="top" align="right"></td>
|
32
|
+
<td class="gallery_image" valign="top" align="right"></td>
|
34
33
|
</tr></table></div>
|
35
|
-
<div class="refsynopsisdiv">
|
36
|
-
<a name="pango-Miscellaneous-Utilities.synopsis"></a><h2>Synopsis</h2>
|
37
|
-
<pre class="synopsis"><span class="returnvalue">char</span> ** <a class="link" href="pango-Miscellaneous-Utilities.html#pango-split-file-list" title="pango_split_file_list ()">pango_split_file_list</a> (<em class="parameter"><code>const <span class="type">char</span> *str</code></em>);
|
38
|
-
<span class="returnvalue">char</span> * <a class="link" href="pango-Miscellaneous-Utilities.html#pango-trim-string" title="pango_trim_string ()">pango_trim_string</a> (<em class="parameter"><code>const <span class="type">char</span> *str</code></em>);
|
39
|
-
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> <a class="link" href="pango-Miscellaneous-Utilities.html#pango-read-line" title="pango_read_line ()">pango_read_line</a> (<em class="parameter"><code><span class="type">FILE</span> *stream</code></em>,
|
40
|
-
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Strings.html#GString"><span class="type">GString</span></a> *str</code></em>);
|
41
|
-
<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-Miscellaneous-Utilities.html#pango-skip-space" title="pango_skip_space ()">pango_skip_space</a> (<em class="parameter"><code>const <span class="type">char</span> **pos</code></em>);
|
42
|
-
<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-Miscellaneous-Utilities.html#pango-scan-word" title="pango_scan_word ()">pango_scan_word</a> (<em class="parameter"><code>const <span class="type">char</span> **pos</code></em>,
|
43
|
-
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Strings.html#GString"><span class="type">GString</span></a> *out</code></em>);
|
44
|
-
<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-Miscellaneous-Utilities.html#pango-scan-string" title="pango_scan_string ()">pango_scan_string</a> (<em class="parameter"><code>const <span class="type">char</span> **pos</code></em>,
|
45
|
-
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Strings.html#GString"><span class="type">GString</span></a> *out</code></em>);
|
46
|
-
<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-Miscellaneous-Utilities.html#pango-scan-int" title="pango_scan_int ()">pango_scan_int</a> (<em class="parameter"><code>const <span class="type">char</span> **pos</code></em>,
|
47
|
-
<em class="parameter"><code><span class="type">int</span> *out</code></em>);
|
48
|
-
<span class="returnvalue">char</span> * <a class="link" href="pango-Miscellaneous-Utilities.html#pango-config-key-get" title="pango_config_key_get ()">pango_config_key_get</a> (<em class="parameter"><code>const <span class="type">char</span> *key</code></em>);
|
49
|
-
<span class="returnvalue">char</span> * <a class="link" href="pango-Miscellaneous-Utilities.html#pango-config-key-get-system" title="pango_config_key_get_system ()">pango_config_key_get_system</a> (<em class="parameter"><code>const <span class="type">char</span> *key</code></em>);
|
50
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Miscellaneous-Utilities.html#pango-lookup-aliases" title="pango_lookup_aliases ()">pango_lookup_aliases</a> (<em class="parameter"><code>const <span class="type">char</span> *fontname</code></em>,
|
51
|
-
<em class="parameter"><code><span class="type">char</span> ***families</code></em>,
|
52
|
-
<em class="parameter"><code><span class="type">int</span> *n_families</code></em>);
|
53
|
-
<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-Miscellaneous-Utilities.html#pango-parse-enum" title="pango_parse_enum ()">pango_parse_enum</a> (<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"><span class="type">GType</span></a> type</code></em>,
|
54
|
-
<em class="parameter"><code>const <span class="type">char</span> *str</code></em>,
|
55
|
-
<em class="parameter"><code><span class="type">int</span> *value</code></em>,
|
56
|
-
<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> warn</code></em>,
|
57
|
-
<em class="parameter"><code><span class="type">char</span> **possible_values</code></em>);
|
58
|
-
<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-Miscellaneous-Utilities.html#pango-parse-style" title="pango_parse_style ()">pango_parse_style</a> (<em class="parameter"><code>const <span class="type">char</span> *str</code></em>,
|
59
|
-
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoStyle"><span class="type">PangoStyle</span></a> *style</code></em>,
|
60
|
-
<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> warn</code></em>);
|
61
|
-
<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-Miscellaneous-Utilities.html#pango-parse-variant" title="pango_parse_variant ()">pango_parse_variant</a> (<em class="parameter"><code>const <span class="type">char</span> *str</code></em>,
|
62
|
-
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoVariant"><span class="type">PangoVariant</span></a> *variant</code></em>,
|
63
|
-
<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> warn</code></em>);
|
64
|
-
<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-Miscellaneous-Utilities.html#pango-parse-weight" title="pango_parse_weight ()">pango_parse_weight</a> (<em class="parameter"><code>const <span class="type">char</span> *str</code></em>,
|
65
|
-
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoWeight"><span class="type">PangoWeight</span></a> *weight</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#gboolean"><span class="type">gboolean</span></a> warn</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-Miscellaneous-Utilities.html#pango-parse-stretch" title="pango_parse_stretch ()">pango_parse_stretch</a> (<em class="parameter"><code>const <span class="type">char</span> *str</code></em>,
|
68
|
-
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoStretch"><span class="type">PangoStretch</span></a> *stretch</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#gboolean"><span class="type">gboolean</span></a> warn</code></em>);
|
70
|
-
const <span class="returnvalue">char</span> * <a class="link" href="pango-Miscellaneous-Utilities.html#pango-get-sysconf-subdirectory" title="pango_get_sysconf_subdirectory ()">pango_get_sysconf_subdirectory</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
71
|
-
const <span class="returnvalue">char</span> * <a class="link" href="pango-Miscellaneous-Utilities.html#pango-get-lib-subdirectory" title="pango_get_lib_subdirectory ()">pango_get_lib_subdirectory</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
72
|
-
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint8"><span class="returnvalue">guint8</span></a> * <a class="link" href="pango-Miscellaneous-Utilities.html#pango-log2vis-get-embedding-levels" title="pango_log2vis_get_embedding_levels ()">pango_log2vis_get_embedding_levels</a> (<em class="parameter"><code>const <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *text</code></em>,
|
73
|
-
<em class="parameter"><code><span class="type">int</span> length</code></em>,
|
74
|
-
<em class="parameter"><code><a class="link" href="pango-Bidirectional-Text.html#PangoDirection"><span class="type">PangoDirection</span></a> *pbase_dir</code></em>);
|
75
|
-
<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-Miscellaneous-Utilities.html#pango-is-zero-width" title="pango_is_zero_width ()">pango_is_zero_width</a> (<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html#gunichar"><span class="type">gunichar</span></a> ch</code></em>);
|
76
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Miscellaneous-Utilities.html#pango-quantize-line-geometry" title="pango_quantize_line_geometry ()">pango_quantize_line_geometry</a> (<em class="parameter"><code><span class="type">int</span> *thickness</code></em>,
|
77
|
-
<em class="parameter"><code><span class="type">int</span> *position</code></em>);
|
78
|
-
</pre>
|
79
|
-
</div>
|
80
|
-
<div class="refsect1">
|
81
|
-
<a name="pango-Miscellaneous-Utilities.description"></a><h2>Description</h2>
|
82
|
-
<p>
|
83
|
-
The functions and utilities in this section are mostly used from Pango
|
84
|
-
backends and modules, but may be useful for other purposes too.</p>
|
85
|
-
</div>
|
86
34
|
<div class="refsect1">
|
87
|
-
<a name="pango-Miscellaneous-Utilities.
|
88
|
-
<div class="
|
89
|
-
<a name="pango-split-file-list"></a><h3>pango_split_file_list ()</h3>
|
90
|
-
<pre class="programlisting"><span class="returnvalue">char</span> ** pango_split_file_list (<em class="parameter"><code>const <span class="type">char</span> *str</code></em>);</pre>
|
91
|
-
<p>
|
92
|
-
Splits a <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#G-SEARCHPATH-SEPARATOR:CAPS"><code class="literal">G_SEARCHPATH_SEPARATOR</code></a>-separated list of files, stripping
|
93
|
-
white space and substituting ~/ with $HOME/.</p>
|
94
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
35
|
+
<a name="pango-Miscellaneous-Utilities.functions"></a><h2>Functions</h2>
|
36
|
+
<div class="informaltable"><table width="100%" border="0">
|
95
37
|
<colgroup>
|
96
|
-
<col
|
97
|
-
<col>
|
38
|
+
<col width="150px" class="functions_return">
|
39
|
+
<col class="functions_name">
|
98
40
|
</colgroup>
|
99
41
|
<tbody>
|
100
42
|
<tr>
|
101
|
-
<td
|
102
|
-
<
|
43
|
+
<td class="function_type">
|
44
|
+
<span class="returnvalue">char</span> **
|
45
|
+
</td>
|
46
|
+
<td class="function_name">
|
47
|
+
<a class="link" href="pango-Miscellaneous-Utilities.html#pango-split-file-list" title="pango_split_file_list ()">pango_split_file_list</a> <span class="c_punctuation">()</span>
|
48
|
+
</td>
|
103
49
|
</tr>
|
104
50
|
<tr>
|
105
|
-
<td
|
106
|
-
<
|
107
|
-
|
51
|
+
<td class="function_type">
|
52
|
+
<span class="returnvalue">char</span> *
|
53
|
+
</td>
|
54
|
+
<td class="function_name">
|
55
|
+
<a class="link" href="pango-Miscellaneous-Utilities.html#pango-trim-string" title="pango_trim_string ()">pango_trim_string</a> <span class="c_punctuation">()</span>
|
56
|
+
</td>
|
57
|
+
</tr>
|
58
|
+
<tr>
|
59
|
+
<td class="function_type">
|
60
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
61
|
+
</td>
|
62
|
+
<td class="function_name">
|
63
|
+
<a class="link" href="pango-Miscellaneous-Utilities.html#pango-read-line" title="pango_read_line ()">pango_read_line</a> <span class="c_punctuation">()</span>
|
64
|
+
</td>
|
65
|
+
</tr>
|
66
|
+
<tr>
|
67
|
+
<td class="function_type">
|
68
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
69
|
+
</td>
|
70
|
+
<td class="function_name">
|
71
|
+
<a class="link" href="pango-Miscellaneous-Utilities.html#pango-skip-space" title="pango_skip_space ()">pango_skip_space</a> <span class="c_punctuation">()</span>
|
72
|
+
</td>
|
73
|
+
</tr>
|
74
|
+
<tr>
|
75
|
+
<td class="function_type">
|
76
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
77
|
+
</td>
|
78
|
+
<td class="function_name">
|
79
|
+
<a class="link" href="pango-Miscellaneous-Utilities.html#pango-scan-word" title="pango_scan_word ()">pango_scan_word</a> <span class="c_punctuation">()</span>
|
80
|
+
</td>
|
81
|
+
</tr>
|
82
|
+
<tr>
|
83
|
+
<td class="function_type">
|
84
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
85
|
+
</td>
|
86
|
+
<td class="function_name">
|
87
|
+
<a class="link" href="pango-Miscellaneous-Utilities.html#pango-scan-string" title="pango_scan_string ()">pango_scan_string</a> <span class="c_punctuation">()</span>
|
88
|
+
</td>
|
89
|
+
</tr>
|
90
|
+
<tr>
|
91
|
+
<td class="function_type">
|
92
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
93
|
+
</td>
|
94
|
+
<td class="function_name">
|
95
|
+
<a class="link" href="pango-Miscellaneous-Utilities.html#pango-scan-int" title="pango_scan_int ()">pango_scan_int</a> <span class="c_punctuation">()</span>
|
96
|
+
</td>
|
97
|
+
</tr>
|
98
|
+
<tr>
|
99
|
+
<td class="function_type">
|
100
|
+
<span class="returnvalue">char</span> *
|
101
|
+
</td>
|
102
|
+
<td class="function_name">
|
103
|
+
<a class="link" href="pango-Miscellaneous-Utilities.html#pango-config-key-get" title="pango_config_key_get ()">pango_config_key_get</a> <span class="c_punctuation">()</span>
|
104
|
+
</td>
|
105
|
+
</tr>
|
106
|
+
<tr>
|
107
|
+
<td class="function_type">
|
108
|
+
<span class="returnvalue">char</span> *
|
109
|
+
</td>
|
110
|
+
<td class="function_name">
|
111
|
+
<a class="link" href="pango-Miscellaneous-Utilities.html#pango-config-key-get-system" title="pango_config_key_get_system ()">pango_config_key_get_system</a> <span class="c_punctuation">()</span>
|
112
|
+
</td>
|
113
|
+
</tr>
|
114
|
+
<tr>
|
115
|
+
<td class="function_type">
|
116
|
+
<span class="returnvalue">void</span>
|
117
|
+
</td>
|
118
|
+
<td class="function_name">
|
119
|
+
<a class="link" href="pango-Miscellaneous-Utilities.html#pango-lookup-aliases" title="pango_lookup_aliases ()">pango_lookup_aliases</a> <span class="c_punctuation">()</span>
|
120
|
+
</td>
|
121
|
+
</tr>
|
122
|
+
<tr>
|
123
|
+
<td class="function_type">
|
124
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
125
|
+
</td>
|
126
|
+
<td class="function_name">
|
127
|
+
<a class="link" href="pango-Miscellaneous-Utilities.html#pango-parse-enum" title="pango_parse_enum ()">pango_parse_enum</a> <span class="c_punctuation">()</span>
|
128
|
+
</td>
|
129
|
+
</tr>
|
130
|
+
<tr>
|
131
|
+
<td class="function_type">
|
132
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
133
|
+
</td>
|
134
|
+
<td class="function_name">
|
135
|
+
<a class="link" href="pango-Miscellaneous-Utilities.html#pango-parse-style" title="pango_parse_style ()">pango_parse_style</a> <span class="c_punctuation">()</span>
|
136
|
+
</td>
|
137
|
+
</tr>
|
138
|
+
<tr>
|
139
|
+
<td class="function_type">
|
140
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
141
|
+
</td>
|
142
|
+
<td class="function_name">
|
143
|
+
<a class="link" href="pango-Miscellaneous-Utilities.html#pango-parse-variant" title="pango_parse_variant ()">pango_parse_variant</a> <span class="c_punctuation">()</span>
|
144
|
+
</td>
|
145
|
+
</tr>
|
146
|
+
<tr>
|
147
|
+
<td class="function_type">
|
148
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
149
|
+
</td>
|
150
|
+
<td class="function_name">
|
151
|
+
<a class="link" href="pango-Miscellaneous-Utilities.html#pango-parse-weight" title="pango_parse_weight ()">pango_parse_weight</a> <span class="c_punctuation">()</span>
|
152
|
+
</td>
|
153
|
+
</tr>
|
154
|
+
<tr>
|
155
|
+
<td class="function_type">
|
156
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
157
|
+
</td>
|
158
|
+
<td class="function_name">
|
159
|
+
<a class="link" href="pango-Miscellaneous-Utilities.html#pango-parse-stretch" title="pango_parse_stretch ()">pango_parse_stretch</a> <span class="c_punctuation">()</span>
|
160
|
+
</td>
|
161
|
+
</tr>
|
162
|
+
<tr>
|
163
|
+
<td class="function_type">const <span class="returnvalue">char</span> *
|
164
|
+
</td>
|
165
|
+
<td class="function_name">
|
166
|
+
<a class="link" href="pango-Miscellaneous-Utilities.html#pango-get-sysconf-subdirectory" title="pango_get_sysconf_subdirectory ()">pango_get_sysconf_subdirectory</a> <span class="c_punctuation">()</span>
|
167
|
+
</td>
|
168
|
+
</tr>
|
169
|
+
<tr>
|
170
|
+
<td class="function_type">const <span class="returnvalue">char</span> *
|
171
|
+
</td>
|
172
|
+
<td class="function_name">
|
173
|
+
<a class="link" href="pango-Miscellaneous-Utilities.html#pango-get-lib-subdirectory" title="pango_get_lib_subdirectory ()">pango_get_lib_subdirectory</a> <span class="c_punctuation">()</span>
|
174
|
+
</td>
|
175
|
+
</tr>
|
176
|
+
<tr>
|
177
|
+
<td class="function_type">
|
178
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint8"><span class="returnvalue">guint8</span></a> *
|
179
|
+
</td>
|
180
|
+
<td class="function_name">
|
181
|
+
<a class="link" href="pango-Miscellaneous-Utilities.html#pango-log2vis-get-embedding-levels" title="pango_log2vis_get_embedding_levels ()">pango_log2vis_get_embedding_levels</a> <span class="c_punctuation">()</span>
|
182
|
+
</td>
|
183
|
+
</tr>
|
184
|
+
<tr>
|
185
|
+
<td class="function_type">
|
186
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
187
|
+
</td>
|
188
|
+
<td class="function_name">
|
189
|
+
<a class="link" href="pango-Miscellaneous-Utilities.html#pango-is-zero-width" title="pango_is_zero_width ()">pango_is_zero_width</a> <span class="c_punctuation">()</span>
|
190
|
+
</td>
|
191
|
+
</tr>
|
192
|
+
<tr>
|
193
|
+
<td class="function_type">
|
194
|
+
<span class="returnvalue">void</span>
|
195
|
+
</td>
|
196
|
+
<td class="function_name">
|
197
|
+
<a class="link" href="pango-Miscellaneous-Utilities.html#pango-quantize-line-geometry" title="pango_quantize_line_geometry ()">pango_quantize_line_geometry</a> <span class="c_punctuation">()</span>
|
108
198
|
</td>
|
109
199
|
</tr>
|
110
200
|
</tbody>
|
111
201
|
</table></div>
|
112
202
|
</div>
|
203
|
+
<div class="refsect1">
|
204
|
+
<a name="pango-Miscellaneous-Utilities.description"></a><h2>Description</h2>
|
205
|
+
<p>The functions and utilities in this section are mostly used from Pango
|
206
|
+
backends and modules, but may be useful for other purposes too.</p>
|
207
|
+
</div>
|
208
|
+
<div class="refsect1">
|
209
|
+
<a name="pango-Miscellaneous-Utilities.functions_details"></a><h2>Functions</h2>
|
210
|
+
<div class="refsect2">
|
211
|
+
<a name="pango-split-file-list"></a><h3>pango_split_file_list ()</h3>
|
212
|
+
<pre class="programlisting"><span class="returnvalue">char</span> **
|
213
|
+
pango_split_file_list (<em class="parameter"><code>const <span class="type">char</span> *str</code></em>);</pre>
|
214
|
+
<p>Splits a <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#G-SEARCHPATH-SEPARATOR:CAPS"><code class="literal">G_SEARCHPATH_SEPARATOR</code></a>-separated list of files, stripping
|
215
|
+
white space and substituting ~/ with $HOME/.</p>
|
216
|
+
<div class="refsect3">
|
217
|
+
<a name="id-1.4.12.5.2.5"></a><h4>Parameters</h4>
|
218
|
+
<div class="informaltable"><table width="100%" border="0">
|
219
|
+
<colgroup>
|
220
|
+
<col width="150px" class="parameters_name">
|
221
|
+
<col class="parameters_description">
|
222
|
+
<col width="200px" class="parameters_annotations">
|
223
|
+
</colgroup>
|
224
|
+
<tbody><tr>
|
225
|
+
<td class="parameter_name"><p>str</p></td>
|
226
|
+
<td class="parameter_description"><p>a <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#G-SEARCHPATH-SEPARATOR:CAPS"><code class="literal">G_SEARCHPATH_SEPARATOR</code></a> separated list of filenames</p></td>
|
227
|
+
<td class="parameter_annotations"> </td>
|
228
|
+
</tr></tbody>
|
229
|
+
</table></div>
|
230
|
+
</div>
|
231
|
+
<div class="refsect3">
|
232
|
+
<a name="id-1.4.12.5.2.6"></a><h4>Returns</h4>
|
233
|
+
<p> a list of
|
234
|
+
strings to be freed with <a href="http://library.gnome.org/devel/glib/unstable/glib-String-Utility-Functions.html#g-strfreev"><code class="function">g_strfreev()</code></a>. </p>
|
235
|
+
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> zero-terminated=1]</span></p>
|
236
|
+
</div>
|
237
|
+
</div>
|
113
238
|
<hr>
|
114
239
|
<div class="refsect2">
|
115
|
-
<a name="pango-trim-string"></a><h3>pango_trim_string
|
116
|
-
<pre class="programlisting"><span class="returnvalue">char</span>
|
117
|
-
<
|
118
|
-
Trims leading and trailing whitespace from a string.</p>
|
119
|
-
<div class="
|
240
|
+
<a name="pango-trim-string"></a><h3>pango_trim_string ()</h3>
|
241
|
+
<pre class="programlisting"><span class="returnvalue">char</span> *
|
242
|
+
pango_trim_string (<em class="parameter"><code>const <span class="type">char</span> *str</code></em>);</pre>
|
243
|
+
<p>Trims leading and trailing whitespace from a string.</p>
|
244
|
+
<div class="refsect3">
|
245
|
+
<a name="id-1.4.12.5.3.5"></a><h4>Parameters</h4>
|
246
|
+
<div class="informaltable"><table width="100%" border="0">
|
120
247
|
<colgroup>
|
121
|
-
<col
|
122
|
-
<col>
|
248
|
+
<col width="150px" class="parameters_name">
|
249
|
+
<col class="parameters_description">
|
250
|
+
<col width="200px" class="parameters_annotations">
|
123
251
|
</colgroup>
|
124
|
-
<tbody>
|
125
|
-
<
|
126
|
-
<td
|
127
|
-
<td>
|
128
|
-
</tr>
|
129
|
-
<tr>
|
130
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
131
|
-
<td>A newly-allocated string that must be freed with <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>
|
132
|
-
</td>
|
133
|
-
</tr>
|
134
|
-
</tbody>
|
252
|
+
<tbody><tr>
|
253
|
+
<td class="parameter_name"><p>str</p></td>
|
254
|
+
<td class="parameter_description"><p>a string</p></td>
|
255
|
+
<td class="parameter_annotations"> </td>
|
256
|
+
</tr></tbody>
|
135
257
|
</table></div>
|
136
258
|
</div>
|
259
|
+
<div class="refsect3">
|
260
|
+
<a name="id-1.4.12.5.3.6"></a><h4>Returns</h4>
|
261
|
+
<p> A newly-allocated string that must be freed with <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a></p>
|
262
|
+
<p></p>
|
263
|
+
</div>
|
264
|
+
</div>
|
137
265
|
<hr>
|
138
266
|
<div class="refsect2">
|
139
|
-
<a name="pango-read-line"></a><h3>pango_read_line
|
140
|
-
<pre class="programlisting"><a href="
|
141
|
-
|
142
|
-
<
|
143
|
-
Reads an entire line from a file into a buffer. Lines may
|
267
|
+
<a name="pango-read-line"></a><h3>pango_read_line ()</h3>
|
268
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
269
|
+
pango_read_line (<em class="parameter"><code><span class="type">FILE</span> *stream</code></em>,
|
270
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Strings.html#GString"><span class="type">GString</span></a> *str</code></em>);</pre>
|
271
|
+
<p>Reads an entire line from a file into a buffer. Lines may
|
144
272
|
be delimited with '\n', '\r', '\n\r', or '\r\n'. The delimiter
|
145
273
|
is not written into the buffer. Text after a '#' character is treated as
|
146
274
|
a comment and skipped. '\' can be used to escape a # character.
|
147
275
|
'\' proceeding a line delimiter combines adjacent lines. A '\' proceeding
|
148
276
|
any other character is ignored and written into the output buffer
|
149
277
|
unmodified.</p>
|
150
|
-
<div class="
|
278
|
+
<div class="refsect3">
|
279
|
+
<a name="id-1.4.12.5.4.5"></a><h4>Parameters</h4>
|
280
|
+
<div class="informaltable"><table width="100%" border="0">
|
151
281
|
<colgroup>
|
152
|
-
<col
|
153
|
-
<col>
|
282
|
+
<col width="150px" class="parameters_name">
|
283
|
+
<col class="parameters_description">
|
284
|
+
<col width="200px" class="parameters_annotations">
|
154
285
|
</colgroup>
|
155
286
|
<tbody>
|
156
287
|
<tr>
|
157
|
-
<td
|
158
|
-
<td>a stdio stream</td>
|
288
|
+
<td class="parameter_name"><p>stream</p></td>
|
289
|
+
<td class="parameter_description"><p>a stdio stream</p></td>
|
290
|
+
<td class="parameter_annotations"> </td>
|
159
291
|
</tr>
|
160
292
|
<tr>
|
161
|
-
<td
|
162
|
-
<td>
|
163
|
-
<
|
164
|
-
</td>
|
165
|
-
</tr>
|
166
|
-
<tr>
|
167
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
168
|
-
<td>0 if the stream was already at an <code class="literal">EOF</code> character, otherwise
|
169
|
-
the number of lines read (this is useful for maintaining
|
170
|
-
a line number counter which doesn't combine lines with '\')</td>
|
293
|
+
<td class="parameter_name"><p>str</p></td>
|
294
|
+
<td class="parameter_description"><p> <a href="http://library.gnome.org/devel/glib/unstable/glib-Strings.html#GString"><span class="type">GString</span></a> buffer into which to write the result. </p></td>
|
295
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
|
171
296
|
</tr>
|
172
297
|
</tbody>
|
173
298
|
</table></div>
|
174
299
|
</div>
|
300
|
+
<div class="refsect3">
|
301
|
+
<a name="id-1.4.12.5.4.6"></a><h4>Returns</h4>
|
302
|
+
<p> 0 if the stream was already at an <code class="literal">EOF</code> character, otherwise
|
303
|
+
the number of lines read (this is useful for maintaining
|
304
|
+
a line number counter which doesn't combine lines with '\')</p>
|
305
|
+
<p></p>
|
306
|
+
</div>
|
307
|
+
</div>
|
175
308
|
<hr>
|
176
309
|
<div class="refsect2">
|
177
|
-
<a name="pango-skip-space"></a><h3>pango_skip_space
|
178
|
-
<pre class="programlisting"><a href="
|
179
|
-
<
|
180
|
-
Skips 0 or more characters of white space.</p>
|
181
|
-
<div class="
|
310
|
+
<a name="pango-skip-space"></a><h3>pango_skip_space ()</h3>
|
311
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
312
|
+
pango_skip_space (<em class="parameter"><code>const <span class="type">char</span> **pos</code></em>);</pre>
|
313
|
+
<p>Skips 0 or more characters of white space.</p>
|
314
|
+
<div class="refsect3">
|
315
|
+
<a name="id-1.4.12.5.5.5"></a><h4>Parameters</h4>
|
316
|
+
<div class="informaltable"><table width="100%" border="0">
|
182
317
|
<colgroup>
|
183
|
-
<col
|
184
|
-
<col>
|
318
|
+
<col width="150px" class="parameters_name">
|
319
|
+
<col class="parameters_description">
|
320
|
+
<col width="200px" class="parameters_annotations">
|
185
321
|
</colgroup>
|
186
|
-
<tbody>
|
187
|
-
<
|
188
|
-
<td
|
189
|
-
<td
|
190
|
-
</
|
191
|
-
</tr>
|
192
|
-
<tr>
|
193
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
194
|
-
<td>
|
195
|
-
<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> if skipping the white space leaves
|
196
|
-
the position at a '\0' character.</td>
|
197
|
-
</tr>
|
198
|
-
</tbody>
|
322
|
+
<tbody><tr>
|
323
|
+
<td class="parameter_name"><p>pos</p></td>
|
324
|
+
<td class="parameter_description"><p> in/out string position. </p></td>
|
325
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for input and for returning results. Default is transfer full."><span class="acronym">inout</span></acronym>]</span></td>
|
326
|
+
</tr></tbody>
|
199
327
|
</table></div>
|
200
328
|
</div>
|
329
|
+
<div class="refsect3">
|
330
|
+
<a name="id-1.4.12.5.5.6"></a><h4>Returns</h4>
|
331
|
+
<p> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if skipping the white space leaves
|
332
|
+
the position at a '\0' character.</p>
|
333
|
+
<p></p>
|
334
|
+
</div>
|
335
|
+
</div>
|
201
336
|
<hr>
|
202
337
|
<div class="refsect2">
|
203
|
-
<a name="pango-scan-word"></a><h3>pango_scan_word
|
204
|
-
<pre class="programlisting"><a href="
|
205
|
-
|
206
|
-
<
|
207
|
-
Scans a word into a <a href="
|
338
|
+
<a name="pango-scan-word"></a><h3>pango_scan_word ()</h3>
|
339
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
340
|
+
pango_scan_word (<em class="parameter"><code>const <span class="type">char</span> **pos</code></em>,
|
341
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Strings.html#GString"><span class="type">GString</span></a> *out</code></em>);</pre>
|
342
|
+
<p>Scans a word into a <a href="http://library.gnome.org/devel/glib/unstable/glib-Strings.html#GString"><span class="type">GString</span></a> buffer. A word consists
|
208
343
|
of [A-Za-z_] followed by zero or more [A-Za-z_0-9]
|
209
344
|
Leading white space is skipped.</p>
|
210
|
-
<div class="
|
345
|
+
<div class="refsect3">
|
346
|
+
<a name="id-1.4.12.5.6.5"></a><h4>Parameters</h4>
|
347
|
+
<div class="informaltable"><table width="100%" border="0">
|
211
348
|
<colgroup>
|
212
|
-
<col
|
213
|
-
<col>
|
349
|
+
<col width="150px" class="parameters_name">
|
350
|
+
<col class="parameters_description">
|
351
|
+
<col width="200px" class="parameters_annotations">
|
214
352
|
</colgroup>
|
215
353
|
<tbody>
|
216
354
|
<tr>
|
217
|
-
<td
|
218
|
-
<td
|
219
|
-
</td>
|
355
|
+
<td class="parameter_name"><p>pos</p></td>
|
356
|
+
<td class="parameter_description"><p> in/out string position. </p></td>
|
357
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for input and for returning results. Default is transfer full."><span class="acronym">inout</span></acronym>]</span></td>
|
220
358
|
</tr>
|
221
359
|
<tr>
|
222
|
-
<td
|
223
|
-
<td>a <a href="
|
224
|
-
</td>
|
225
|
-
</tr>
|
226
|
-
<tr>
|
227
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
228
|
-
<td>
|
229
|
-
<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> if a parse error occurred.</td>
|
360
|
+
<td class="parameter_name"><p>out</p></td>
|
361
|
+
<td class="parameter_description"><p> a <a href="http://library.gnome.org/devel/glib/unstable/glib-Strings.html#GString"><span class="type">GString</span></a> into which to write the result. </p></td>
|
362
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
|
230
363
|
</tr>
|
231
364
|
</tbody>
|
232
365
|
</table></div>
|
233
366
|
</div>
|
367
|
+
<div class="refsect3">
|
368
|
+
<a name="id-1.4.12.5.6.6"></a><h4>Returns</h4>
|
369
|
+
<p> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if a parse error occurred.</p>
|
370
|
+
<p></p>
|
371
|
+
</div>
|
372
|
+
</div>
|
234
373
|
<hr>
|
235
374
|
<div class="refsect2">
|
236
|
-
<a name="pango-scan-string"></a><h3>pango_scan_string
|
237
|
-
<pre class="programlisting"><a href="
|
238
|
-
|
239
|
-
<
|
240
|
-
Scans a string into a <a href="
|
375
|
+
<a name="pango-scan-string"></a><h3>pango_scan_string ()</h3>
|
376
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
377
|
+
pango_scan_string (<em class="parameter"><code>const <span class="type">char</span> **pos</code></em>,
|
378
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Strings.html#GString"><span class="type">GString</span></a> *out</code></em>);</pre>
|
379
|
+
<p>Scans a string into a <a href="http://library.gnome.org/devel/glib/unstable/glib-Strings.html#GString"><span class="type">GString</span></a> buffer. The string may either
|
241
380
|
be a sequence of non-white-space characters, or a quoted
|
242
381
|
string with '"'. Instead a quoted string, '\"' represents
|
243
382
|
a literal quote. Leading white space outside of quotes is skipped.</p>
|
244
|
-
<div class="
|
383
|
+
<div class="refsect3">
|
384
|
+
<a name="id-1.4.12.5.7.5"></a><h4>Parameters</h4>
|
385
|
+
<div class="informaltable"><table width="100%" border="0">
|
245
386
|
<colgroup>
|
246
|
-
<col
|
247
|
-
<col>
|
387
|
+
<col width="150px" class="parameters_name">
|
388
|
+
<col class="parameters_description">
|
389
|
+
<col width="200px" class="parameters_annotations">
|
248
390
|
</colgroup>
|
249
391
|
<tbody>
|
250
392
|
<tr>
|
251
|
-
<td
|
252
|
-
<td
|
253
|
-
</td>
|
254
|
-
</tr>
|
255
|
-
<tr>
|
256
|
-
<td><p><span class="term"><em class="parameter"><code>out</code></em> :</span></p></td>
|
257
|
-
<td>a <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Strings.html#GString"><span class="type">GString</span></a> into which to write the result. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span>
|
258
|
-
</td>
|
393
|
+
<td class="parameter_name"><p>pos</p></td>
|
394
|
+
<td class="parameter_description"><p> in/out string position. </p></td>
|
395
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for input and for returning results. Default is transfer full."><span class="acronym">inout</span></acronym>]</span></td>
|
259
396
|
</tr>
|
260
397
|
<tr>
|
261
|
-
<td
|
262
|
-
<td>
|
263
|
-
<
|
398
|
+
<td class="parameter_name"><p>out</p></td>
|
399
|
+
<td class="parameter_description"><p> a <a href="http://library.gnome.org/devel/glib/unstable/glib-Strings.html#GString"><span class="type">GString</span></a> into which to write the result. </p></td>
|
400
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
|
264
401
|
</tr>
|
265
402
|
</tbody>
|
266
403
|
</table></div>
|
267
404
|
</div>
|
405
|
+
<div class="refsect3">
|
406
|
+
<a name="id-1.4.12.5.7.6"></a><h4>Returns</h4>
|
407
|
+
<p> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if a parse error occurred.</p>
|
408
|
+
<p></p>
|
409
|
+
</div>
|
410
|
+
</div>
|
268
411
|
<hr>
|
269
412
|
<div class="refsect2">
|
270
|
-
<a name="pango-scan-int"></a><h3>pango_scan_int
|
271
|
-
<pre class="programlisting"><a href="
|
272
|
-
|
273
|
-
<
|
274
|
-
Scans an integer.
|
413
|
+
<a name="pango-scan-int"></a><h3>pango_scan_int ()</h3>
|
414
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
415
|
+
pango_scan_int (<em class="parameter"><code>const <span class="type">char</span> **pos</code></em>,
|
416
|
+
<em class="parameter"><code><span class="type">int</span> *out</code></em>);</pre>
|
417
|
+
<p>Scans an integer.
|
275
418
|
Leading white space is skipped.</p>
|
276
|
-
<div class="
|
419
|
+
<div class="refsect3">
|
420
|
+
<a name="id-1.4.12.5.8.5"></a><h4>Parameters</h4>
|
421
|
+
<div class="informaltable"><table width="100%" border="0">
|
277
422
|
<colgroup>
|
278
|
-
<col
|
279
|
-
<col>
|
423
|
+
<col width="150px" class="parameters_name">
|
424
|
+
<col class="parameters_description">
|
425
|
+
<col width="200px" class="parameters_annotations">
|
280
426
|
</colgroup>
|
281
427
|
<tbody>
|
282
428
|
<tr>
|
283
|
-
<td
|
284
|
-
<td
|
285
|
-
</td>
|
286
|
-
</tr>
|
287
|
-
<tr>
|
288
|
-
<td><p><span class="term"><em class="parameter"><code>out</code></em> :</span></p></td>
|
289
|
-
<td>an int into which to write the result. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span>
|
290
|
-
</td>
|
429
|
+
<td class="parameter_name"><p>pos</p></td>
|
430
|
+
<td class="parameter_description"><p> in/out string position. </p></td>
|
431
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for input and for returning results. Default is transfer full."><span class="acronym">inout</span></acronym>]</span></td>
|
291
432
|
</tr>
|
292
433
|
<tr>
|
293
|
-
<td
|
294
|
-
<td>
|
295
|
-
<
|
434
|
+
<td class="parameter_name"><p>out</p></td>
|
435
|
+
<td class="parameter_description"><p> an int into which to write the result. </p></td>
|
436
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
|
296
437
|
</tr>
|
297
438
|
</tbody>
|
298
439
|
</table></div>
|
299
440
|
</div>
|
441
|
+
<div class="refsect3">
|
442
|
+
<a name="id-1.4.12.5.8.6"></a><h4>Returns</h4>
|
443
|
+
<p> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if a parse error occurred.</p>
|
444
|
+
<p></p>
|
445
|
+
</div>
|
446
|
+
</div>
|
300
447
|
<hr>
|
301
448
|
<div class="refsect2">
|
302
|
-
<a name="pango-config-key-get"></a><h3>pango_config_key_get
|
303
|
-
<pre class="programlisting"><span class="returnvalue">char</span>
|
304
|
-
<
|
305
|
-
Looks up a key in the Pango config database
|
449
|
+
<a name="pango-config-key-get"></a><h3>pango_config_key_get ()</h3>
|
450
|
+
<pre class="programlisting"><span class="returnvalue">char</span> *
|
451
|
+
pango_config_key_get (<em class="parameter"><code>const <span class="type">char</span> *key</code></em>);</pre>
|
452
|
+
<p>Looks up a key in the Pango config database
|
306
453
|
(pseudo-win.ini style, read from $sysconfdir/pango/pangorc,
|
307
454
|
$XDG_CONFIG_HOME/pango/pangorc, and getenv (PANGO_RC_FILE).)</p>
|
308
|
-
<div class="
|
455
|
+
<div class="refsect3">
|
456
|
+
<a name="id-1.4.12.5.9.5"></a><h4>Parameters</h4>
|
457
|
+
<div class="informaltable"><table width="100%" border="0">
|
309
458
|
<colgroup>
|
310
|
-
<col
|
311
|
-
<col>
|
459
|
+
<col width="150px" class="parameters_name">
|
460
|
+
<col class="parameters_description">
|
461
|
+
<col width="200px" class="parameters_annotations">
|
312
462
|
</colgroup>
|
313
|
-
<tbody>
|
314
|
-
<
|
315
|
-
<td
|
316
|
-
<td
|
317
|
-
</tr>
|
318
|
-
<tr>
|
319
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
320
|
-
<td>the value, if found, otherwise <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>. The value is a
|
321
|
-
newly-allocated string and must be freed with <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>
|
322
|
-
</tr>
|
323
|
-
</tbody>
|
463
|
+
<tbody><tr>
|
464
|
+
<td class="parameter_name"><p>key</p></td>
|
465
|
+
<td class="parameter_description"><p>Key to look up, in the form "SECTION/KEY".</p></td>
|
466
|
+
<td class="parameter_annotations"> </td>
|
467
|
+
</tr></tbody>
|
324
468
|
</table></div>
|
325
469
|
</div>
|
470
|
+
<div class="refsect3">
|
471
|
+
<a name="id-1.4.12.5.9.6"></a><h4>Returns</h4>
|
472
|
+
<p> the value, if found, otherwise <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. The value is a
|
473
|
+
newly-allocated string and must be freed with <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>.</p>
|
474
|
+
<p></p>
|
475
|
+
</div>
|
476
|
+
</div>
|
326
477
|
<hr>
|
327
478
|
<div class="refsect2">
|
328
|
-
<a name="pango-config-key-get-system"></a><h3>pango_config_key_get_system
|
329
|
-
<pre class="programlisting"><span class="returnvalue">char</span>
|
330
|
-
<
|
331
|
-
Looks up a key, consulting only the Pango system config database
|
479
|
+
<a name="pango-config-key-get-system"></a><h3>pango_config_key_get_system ()</h3>
|
480
|
+
<pre class="programlisting"><span class="returnvalue">char</span> *
|
481
|
+
pango_config_key_get_system (<em class="parameter"><code>const <span class="type">char</span> *key</code></em>);</pre>
|
482
|
+
<p>Looks up a key, consulting only the Pango system config database
|
332
483
|
in $sysconfdir/pango/pangorc.</p>
|
333
|
-
<div class="
|
484
|
+
<div class="refsect3">
|
485
|
+
<a name="id-1.4.12.5.10.5"></a><h4>Parameters</h4>
|
486
|
+
<div class="informaltable"><table width="100%" border="0">
|
334
487
|
<colgroup>
|
335
|
-
<col
|
336
|
-
<col>
|
488
|
+
<col width="150px" class="parameters_name">
|
489
|
+
<col class="parameters_description">
|
490
|
+
<col width="200px" class="parameters_annotations">
|
337
491
|
</colgroup>
|
338
|
-
<tbody>
|
339
|
-
<
|
340
|
-
<td
|
341
|
-
<td
|
342
|
-
</tr>
|
343
|
-
<tr>
|
344
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
345
|
-
<td>the value, if found, otherwise <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>. The value is a
|
346
|
-
newly-allocated string and must be freed with <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>
|
347
|
-
</tr>
|
348
|
-
</tbody>
|
492
|
+
<tbody><tr>
|
493
|
+
<td class="parameter_name"><p>key</p></td>
|
494
|
+
<td class="parameter_description"><p>Key to look up, in the form "SECTION/KEY".</p></td>
|
495
|
+
<td class="parameter_annotations"> </td>
|
496
|
+
</tr></tbody>
|
349
497
|
</table></div>
|
350
498
|
</div>
|
499
|
+
<div class="refsect3">
|
500
|
+
<a name="id-1.4.12.5.10.6"></a><h4>Returns</h4>
|
501
|
+
<p> the value, if found, otherwise <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. The value is a
|
502
|
+
newly-allocated string and must be freed with <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>.</p>
|
503
|
+
<p></p>
|
504
|
+
</div>
|
505
|
+
</div>
|
351
506
|
<hr>
|
352
507
|
<div class="refsect2">
|
353
|
-
<a name="pango-lookup-aliases"></a><h3>pango_lookup_aliases
|
354
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
355
|
-
|
356
|
-
|
508
|
+
<a name="pango-lookup-aliases"></a><h3>pango_lookup_aliases ()</h3>
|
509
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
510
|
+
pango_lookup_aliases (<em class="parameter"><code>const <span class="type">char</span> *fontname</code></em>,
|
511
|
+
<em class="parameter"><code><span class="type">char</span> ***families</code></em>,
|
512
|
+
<em class="parameter"><code><span class="type">int</span> *n_families</code></em>);</pre>
|
357
513
|
<div class="warning">
|
358
|
-
<
|
359
|
-
<p
|
360
|
-
</div>
|
361
|
-
<p>
|
362
|
-
|
363
|
-
The resulting font family names will be stored in <em class="parameter"><code>families</code></em
|
364
|
-
|
365
|
-
<
|
514
|
+
<p><code class="literal">pango_lookup_aliases</code> has been deprecated since version 1.32 and should not be used in newly-written code.</p>
|
515
|
+
<p>This function is not thread-safe.</p>
|
516
|
+
</div>
|
517
|
+
<p>Look up all user defined aliases for the alias <em class="parameter"><code>fontname</code></em>
|
518
|
+
.
|
519
|
+
The resulting font family names will be stored in <em class="parameter"><code>families</code></em>
|
520
|
+
,
|
521
|
+
and the number of families in <em class="parameter"><code>n_families</code></em>
|
522
|
+
.</p>
|
523
|
+
<div class="refsect3">
|
524
|
+
<a name="id-1.4.12.5.11.6"></a><h4>Parameters</h4>
|
525
|
+
<div class="informaltable"><table width="100%" border="0">
|
366
526
|
<colgroup>
|
367
|
-
<col
|
368
|
-
<col>
|
527
|
+
<col width="150px" class="parameters_name">
|
528
|
+
<col class="parameters_description">
|
529
|
+
<col width="200px" class="parameters_annotations">
|
369
530
|
</colgroup>
|
370
531
|
<tbody>
|
371
532
|
<tr>
|
372
|
-
<td
|
373
|
-
<td>an ascii string</td>
|
533
|
+
<td class="parameter_name"><p>fontname</p></td>
|
534
|
+
<td class="parameter_description"><p>an ascii string</p></td>
|
535
|
+
<td class="parameter_annotations"> </td>
|
374
536
|
</tr>
|
375
537
|
<tr>
|
376
|
-
<td
|
377
|
-
<td>will be set to an array of font family names.
|
378
|
-
this array is owned by pango and should not be freed.
|
379
|
-
</td>
|
538
|
+
<td class="parameter_name"><p>families</p></td>
|
539
|
+
<td class="parameter_description"><p> will be set to an array of font family names.
|
540
|
+
this array is owned by pango and should not be freed. </p></td>
|
541
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=n_families]</span></td>
|
380
542
|
</tr>
|
381
543
|
<tr>
|
382
|
-
<td
|
383
|
-
<td>will be set to the length of the <em class="parameter"><code>families</code></em>
|
384
|
-
</td>
|
544
|
+
<td class="parameter_name"><p>n_families</p></td>
|
545
|
+
<td class="parameter_description"><p> will be set to the length of the <em class="parameter"><code>families</code></em>
|
546
|
+
array. </p></td>
|
547
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
|
385
548
|
</tr>
|
386
549
|
</tbody>
|
387
550
|
</table></div>
|
388
551
|
</div>
|
552
|
+
</div>
|
389
553
|
<hr>
|
390
554
|
<div class="refsect2">
|
391
|
-
<a name="pango-parse-enum"></a><h3>pango_parse_enum
|
392
|
-
<pre class="programlisting"><a href="
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
<
|
398
|
-
Parses an enum type and stores the result in <em class="parameter"><code>value</code></em
|
399
|
-
|
400
|
-
If <em class="parameter"><code>str</code></em>
|
401
|
-
|
402
|
-
|
555
|
+
<a name="pango-parse-enum"></a><h3>pango_parse_enum ()</h3>
|
556
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
557
|
+
pango_parse_enum (<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"><span class="type">GType</span></a> type</code></em>,
|
558
|
+
<em class="parameter"><code>const <span class="type">char</span> *str</code></em>,
|
559
|
+
<em class="parameter"><code><span class="type">int</span> *value</code></em>,
|
560
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> warn</code></em>,
|
561
|
+
<em class="parameter"><code><span class="type">char</span> **possible_values</code></em>);</pre>
|
562
|
+
<p>Parses an enum type and stores the result in <em class="parameter"><code>value</code></em>
|
563
|
+
.</p>
|
564
|
+
<p>If <em class="parameter"><code>str</code></em>
|
565
|
+
does not match the nick name of any of the possible values for the
|
566
|
+
enum and is not an integer, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> is returned, a warning is issued
|
567
|
+
if <em class="parameter"><code>warn</code></em>
|
568
|
+
is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, and a
|
403
569
|
string representing the list of possible values is stored in
|
404
|
-
<em class="parameter"><code>possible_values</code></em
|
405
|
-
|
406
|
-
|
407
|
-
<
|
570
|
+
<em class="parameter"><code>possible_values</code></em>
|
571
|
+
. The list is slash-separated, eg.
|
572
|
+
"none/start/middle/end". If failed and <em class="parameter"><code>possible_values</code></em>
|
573
|
+
is not <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>,
|
574
|
+
returned string 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>
|
575
|
+
<div class="refsect3">
|
576
|
+
<a name="id-1.4.12.5.12.6"></a><h4>Parameters</h4>
|
577
|
+
<div class="informaltable"><table width="100%" border="0">
|
408
578
|
<colgroup>
|
409
|
-
<col
|
410
|
-
<col>
|
579
|
+
<col width="150px" class="parameters_name">
|
580
|
+
<col class="parameters_description">
|
581
|
+
<col width="200px" class="parameters_annotations">
|
411
582
|
</colgroup>
|
412
583
|
<tbody>
|
413
584
|
<tr>
|
414
|
-
<td
|
415
|
-
<td>enum type to parse, eg. <a class="link" href="pango-Layout-Objects.html#PANGO-TYPE-ELLIPSIZE-MODE:CAPS" title="PANGO_TYPE_ELLIPSIZE_MODE"><code class="literal">PANGO_TYPE_ELLIPSIZE_MODE</code></a>.</td>
|
585
|
+
<td class="parameter_name"><p>type</p></td>
|
586
|
+
<td class="parameter_description"><p>enum type to parse, eg. <a class="link" href="pango-Layout-Objects.html#PANGO-TYPE-ELLIPSIZE-MODE:CAPS" title="PANGO_TYPE_ELLIPSIZE_MODE"><code class="literal">PANGO_TYPE_ELLIPSIZE_MODE</code></a>.</p></td>
|
587
|
+
<td class="parameter_annotations"> </td>
|
416
588
|
</tr>
|
417
589
|
<tr>
|
418
|
-
<td
|
419
|
-
<td>string to parse. May be <a href="
|
420
|
-
</td>
|
590
|
+
<td class="parameter_name"><p>str</p></td>
|
591
|
+
<td class="parameter_description"><p> string to parse. May be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
592
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
421
593
|
</tr>
|
422
594
|
<tr>
|
423
|
-
<td
|
424
|
-
<td>integer to store the result in, or <a href="
|
425
|
-
</td>
|
595
|
+
<td class="parameter_name"><p>value</p></td>
|
596
|
+
<td class="parameter_description"><p> integer to store the result in, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
597
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
426
598
|
</tr>
|
427
599
|
<tr>
|
428
|
-
<td
|
429
|
-
<td>if <a href="
|
600
|
+
<td class="parameter_name"><p>warn</p></td>
|
601
|
+
<td class="parameter_description"><p>if <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, issue a <a href="http://library.gnome.org/devel/glib/unstable/glib-Message-Logging.html#g-warning"><code class="function">g_warning()</code></a> on bad input.</p></td>
|
602
|
+
<td class="parameter_annotations"> </td>
|
430
603
|
</tr>
|
431
604
|
<tr>
|
432
|
-
<td
|
433
|
-
<td>place to store list of possible values on failure, or <a href="
|
434
|
-
</td>
|
435
|
-
</tr>
|
436
|
-
<tr>
|
437
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
438
|
-
<td>
|
439
|
-
<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 <em class="parameter"><code>str</code></em> was successfully parsed.</td>
|
605
|
+
<td class="parameter_name"><p>possible_values</p></td>
|
606
|
+
<td class="parameter_description"><p> place to store list of possible values on failure, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
607
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
440
608
|
</tr>
|
441
609
|
</tbody>
|
442
610
|
</table></div>
|
611
|
+
</div>
|
612
|
+
<div class="refsect3">
|
613
|
+
<a name="id-1.4.12.5.12.7"></a><h4>Returns</h4>
|
614
|
+
<p> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>str</code></em>
|
615
|
+
was successfully parsed.</p>
|
616
|
+
<p></p>
|
617
|
+
</div>
|
443
618
|
<p class="since">Since 1.16</p>
|
444
619
|
</div>
|
445
620
|
<hr>
|
446
621
|
<div class="refsect2">
|
447
|
-
<a name="pango-parse-style"></a><h3>pango_parse_style
|
448
|
-
<pre class="programlisting"><a href="
|
449
|
-
|
450
|
-
|
451
|
-
<
|
452
|
-
Parses a font style. The allowed values are "normal",
|
622
|
+
<a name="pango-parse-style"></a><h3>pango_parse_style ()</h3>
|
623
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
624
|
+
pango_parse_style (<em class="parameter"><code>const <span class="type">char</span> *str</code></em>,
|
625
|
+
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoStyle" title="enum PangoStyle"><span class="type">PangoStyle</span></a> *style</code></em>,
|
626
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> warn</code></em>);</pre>
|
627
|
+
<p>Parses a font style. The allowed values are "normal",
|
453
628
|
"italic" and "oblique", case variations being
|
454
629
|
ignored.</p>
|
455
|
-
<div class="
|
630
|
+
<div class="refsect3">
|
631
|
+
<a name="id-1.4.12.5.13.5"></a><h4>Parameters</h4>
|
632
|
+
<div class="informaltable"><table width="100%" border="0">
|
456
633
|
<colgroup>
|
457
|
-
<col
|
458
|
-
<col>
|
634
|
+
<col width="150px" class="parameters_name">
|
635
|
+
<col class="parameters_description">
|
636
|
+
<col width="200px" class="parameters_annotations">
|
459
637
|
</colgroup>
|
460
638
|
<tbody>
|
461
639
|
<tr>
|
462
|
-
<td
|
463
|
-
<td>a string to parse.</td>
|
464
|
-
</
|
465
|
-
<tr>
|
466
|
-
<td><p><span class="term"><em class="parameter"><code>style</code></em> :</span></p></td>
|
467
|
-
<td>a <a class="link" href="pango-Fonts.html#PangoStyle"><span class="type">PangoStyle</span></a> to store the result
|
468
|
-
in. <span class="annotation">[<acronym title="Out parameter, where caller must allocate storage."><span class="acronym">out caller-allocates</span></acronym>]</span>
|
469
|
-
</td>
|
640
|
+
<td class="parameter_name"><p>str</p></td>
|
641
|
+
<td class="parameter_description"><p>a string to parse.</p></td>
|
642
|
+
<td class="parameter_annotations"> </td>
|
470
643
|
</tr>
|
471
644
|
<tr>
|
472
|
-
<td
|
473
|
-
<td
|
645
|
+
<td class="parameter_name"><p>style</p></td>
|
646
|
+
<td class="parameter_description"><p> a <a class="link" href="pango-Fonts.html#PangoStyle" title="enum PangoStyle"><span class="type">PangoStyle</span></a> to store the result
|
647
|
+
in. </p></td>
|
648
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Out parameter, where caller must allocate storage."><span class="acronym">out caller-allocates</span></acronym>]</span></td>
|
474
649
|
</tr>
|
475
650
|
<tr>
|
476
|
-
<td
|
477
|
-
<td>
|
478
|
-
<
|
651
|
+
<td class="parameter_name"><p>warn</p></td>
|
652
|
+
<td class="parameter_description"><p>if <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, issue a <a href="http://library.gnome.org/devel/glib/unstable/glib-Message-Logging.html#g-warning"><code class="function">g_warning()</code></a> on bad input.</p></td>
|
653
|
+
<td class="parameter_annotations"> </td>
|
479
654
|
</tr>
|
480
655
|
</tbody>
|
481
656
|
</table></div>
|
482
657
|
</div>
|
658
|
+
<div class="refsect3">
|
659
|
+
<a name="id-1.4.12.5.13.6"></a><h4>Returns</h4>
|
660
|
+
<p> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>str</code></em>
|
661
|
+
was successfully parsed.</p>
|
662
|
+
<p></p>
|
663
|
+
</div>
|
664
|
+
</div>
|
483
665
|
<hr>
|
484
666
|
<div class="refsect2">
|
485
|
-
<a name="pango-parse-variant"></a><h3>pango_parse_variant
|
486
|
-
<pre class="programlisting"><a href="
|
487
|
-
|
488
|
-
|
489
|
-
<
|
490
|
-
Parses a font variant. The allowed values are "normal"
|
667
|
+
<a name="pango-parse-variant"></a><h3>pango_parse_variant ()</h3>
|
668
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
669
|
+
pango_parse_variant (<em class="parameter"><code>const <span class="type">char</span> *str</code></em>,
|
670
|
+
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoVariant" title="enum PangoVariant"><span class="type">PangoVariant</span></a> *variant</code></em>,
|
671
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> warn</code></em>);</pre>
|
672
|
+
<p>Parses a font variant. The allowed values are "normal"
|
491
673
|
and "smallcaps" or "small_caps", case variations being
|
492
674
|
ignored.</p>
|
493
|
-
<div class="
|
675
|
+
<div class="refsect3">
|
676
|
+
<a name="id-1.4.12.5.14.5"></a><h4>Parameters</h4>
|
677
|
+
<div class="informaltable"><table width="100%" border="0">
|
494
678
|
<colgroup>
|
495
|
-
<col
|
496
|
-
<col>
|
679
|
+
<col width="150px" class="parameters_name">
|
680
|
+
<col class="parameters_description">
|
681
|
+
<col width="200px" class="parameters_annotations">
|
497
682
|
</colgroup>
|
498
683
|
<tbody>
|
499
684
|
<tr>
|
500
|
-
<td
|
501
|
-
<td>a string to parse.</td>
|
685
|
+
<td class="parameter_name"><p>str</p></td>
|
686
|
+
<td class="parameter_description"><p>a string to parse.</p></td>
|
687
|
+
<td class="parameter_annotations"> </td>
|
502
688
|
</tr>
|
503
689
|
<tr>
|
504
|
-
<td
|
505
|
-
<td>a <a class="link" href="pango-Fonts.html#PangoVariant"><span class="type">PangoVariant</span></a> to store the
|
506
|
-
result in.
|
507
|
-
</td>
|
690
|
+
<td class="parameter_name"><p>variant</p></td>
|
691
|
+
<td class="parameter_description"><p> a <a class="link" href="pango-Fonts.html#PangoVariant" title="enum PangoVariant"><span class="type">PangoVariant</span></a> to store the
|
692
|
+
result in. </p></td>
|
693
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Out parameter, where caller must allocate storage."><span class="acronym">out caller-allocates</span></acronym>]</span></td>
|
508
694
|
</tr>
|
509
695
|
<tr>
|
510
|
-
<td
|
511
|
-
<td>if <a href="
|
512
|
-
</
|
513
|
-
<tr>
|
514
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
515
|
-
<td>
|
516
|
-
<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 <em class="parameter"><code>str</code></em> was successfully parsed.</td>
|
696
|
+
<td class="parameter_name"><p>warn</p></td>
|
697
|
+
<td class="parameter_description"><p>if <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, issue a <a href="http://library.gnome.org/devel/glib/unstable/glib-Message-Logging.html#g-warning"><code class="function">g_warning()</code></a> on bad input.</p></td>
|
698
|
+
<td class="parameter_annotations"> </td>
|
517
699
|
</tr>
|
518
700
|
</tbody>
|
519
701
|
</table></div>
|
520
702
|
</div>
|
703
|
+
<div class="refsect3">
|
704
|
+
<a name="id-1.4.12.5.14.6"></a><h4>Returns</h4>
|
705
|
+
<p> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>str</code></em>
|
706
|
+
was successfully parsed.</p>
|
707
|
+
<p></p>
|
708
|
+
</div>
|
709
|
+
</div>
|
521
710
|
<hr>
|
522
711
|
<div class="refsect2">
|
523
|
-
<a name="pango-parse-weight"></a><h3>pango_parse_weight
|
524
|
-
<pre class="programlisting"><a href="
|
525
|
-
|
526
|
-
|
527
|
-
<
|
528
|
-
Parses a font weight. The allowed values are "heavy",
|
712
|
+
<a name="pango-parse-weight"></a><h3>pango_parse_weight ()</h3>
|
713
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
714
|
+
pango_parse_weight (<em class="parameter"><code>const <span class="type">char</span> *str</code></em>,
|
715
|
+
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoWeight" title="enum PangoWeight"><span class="type">PangoWeight</span></a> *weight</code></em>,
|
716
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> warn</code></em>);</pre>
|
717
|
+
<p>Parses a font weight. The allowed values are "heavy",
|
529
718
|
"ultrabold", "bold", "normal", "light", "ultraleight"
|
530
719
|
and integers. Case variations are ignored.</p>
|
531
|
-
<div class="
|
720
|
+
<div class="refsect3">
|
721
|
+
<a name="id-1.4.12.5.15.5"></a><h4>Parameters</h4>
|
722
|
+
<div class="informaltable"><table width="100%" border="0">
|
532
723
|
<colgroup>
|
533
|
-
<col
|
534
|
-
<col>
|
724
|
+
<col width="150px" class="parameters_name">
|
725
|
+
<col class="parameters_description">
|
726
|
+
<col width="200px" class="parameters_annotations">
|
535
727
|
</colgroup>
|
536
728
|
<tbody>
|
537
729
|
<tr>
|
538
|
-
<td
|
539
|
-
<td>a string to parse.</td>
|
540
|
-
</
|
541
|
-
<tr>
|
542
|
-
<td><p><span class="term"><em class="parameter"><code>weight</code></em> :</span></p></td>
|
543
|
-
<td>a <a class="link" href="pango-Fonts.html#PangoWeight"><span class="type">PangoWeight</span></a> to store the result
|
544
|
-
in. <span class="annotation">[<acronym title="Out parameter, where caller must allocate storage."><span class="acronym">out caller-allocates</span></acronym>]</span>
|
545
|
-
</td>
|
730
|
+
<td class="parameter_name"><p>str</p></td>
|
731
|
+
<td class="parameter_description"><p>a string to parse.</p></td>
|
732
|
+
<td class="parameter_annotations"> </td>
|
546
733
|
</tr>
|
547
734
|
<tr>
|
548
|
-
<td
|
549
|
-
<td
|
735
|
+
<td class="parameter_name"><p>weight</p></td>
|
736
|
+
<td class="parameter_description"><p> a <a class="link" href="pango-Fonts.html#PangoWeight" title="enum PangoWeight"><span class="type">PangoWeight</span></a> to store the result
|
737
|
+
in. </p></td>
|
738
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Out parameter, where caller must allocate storage."><span class="acronym">out caller-allocates</span></acronym>]</span></td>
|
550
739
|
</tr>
|
551
740
|
<tr>
|
552
|
-
<td
|
553
|
-
<td>
|
554
|
-
<
|
741
|
+
<td class="parameter_name"><p>warn</p></td>
|
742
|
+
<td class="parameter_description"><p>if <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, issue a <a href="http://library.gnome.org/devel/glib/unstable/glib-Message-Logging.html#g-warning"><code class="function">g_warning()</code></a> on bad input.</p></td>
|
743
|
+
<td class="parameter_annotations"> </td>
|
555
744
|
</tr>
|
556
745
|
</tbody>
|
557
746
|
</table></div>
|
558
747
|
</div>
|
748
|
+
<div class="refsect3">
|
749
|
+
<a name="id-1.4.12.5.15.6"></a><h4>Returns</h4>
|
750
|
+
<p> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>str</code></em>
|
751
|
+
was successfully parsed.</p>
|
752
|
+
<p></p>
|
753
|
+
</div>
|
754
|
+
</div>
|
559
755
|
<hr>
|
560
756
|
<div class="refsect2">
|
561
|
-
<a name="pango-parse-stretch"></a><h3>pango_parse_stretch
|
562
|
-
<pre class="programlisting"><a href="
|
563
|
-
|
564
|
-
|
565
|
-
<
|
566
|
-
Parses a font stretch. The allowed values are
|
757
|
+
<a name="pango-parse-stretch"></a><h3>pango_parse_stretch ()</h3>
|
758
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
759
|
+
pango_parse_stretch (<em class="parameter"><code>const <span class="type">char</span> *str</code></em>,
|
760
|
+
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoStretch" title="enum PangoStretch"><span class="type">PangoStretch</span></a> *stretch</code></em>,
|
761
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> warn</code></em>);</pre>
|
762
|
+
<p>Parses a font stretch. The allowed values are
|
567
763
|
"ultra_condensed", "extra_condensed", "condensed",
|
568
764
|
"semi_condensed", "normal", "semi_expanded", "expanded",
|
569
765
|
"extra_expanded" and "ultra_expanded". Case variations are
|
570
766
|
ignored and the '_' characters may be omitted.</p>
|
571
|
-
<div class="
|
767
|
+
<div class="refsect3">
|
768
|
+
<a name="id-1.4.12.5.16.5"></a><h4>Parameters</h4>
|
769
|
+
<div class="informaltable"><table width="100%" border="0">
|
572
770
|
<colgroup>
|
573
|
-
<col
|
574
|
-
<col>
|
771
|
+
<col width="150px" class="parameters_name">
|
772
|
+
<col class="parameters_description">
|
773
|
+
<col width="200px" class="parameters_annotations">
|
575
774
|
</colgroup>
|
576
775
|
<tbody>
|
577
776
|
<tr>
|
578
|
-
<td
|
579
|
-
<td>a string to parse.</td>
|
580
|
-
</
|
581
|
-
<tr>
|
582
|
-
<td><p><span class="term"><em class="parameter"><code>stretch</code></em> :</span></p></td>
|
583
|
-
<td>a <a class="link" href="pango-Fonts.html#PangoStretch"><span class="type">PangoStretch</span></a> to store the
|
584
|
-
result in. <span class="annotation">[<acronym title="Out parameter, where caller must allocate storage."><span class="acronym">out caller-allocates</span></acronym>]</span>
|
585
|
-
</td>
|
777
|
+
<td class="parameter_name"><p>str</p></td>
|
778
|
+
<td class="parameter_description"><p>a string to parse.</p></td>
|
779
|
+
<td class="parameter_annotations"> </td>
|
586
780
|
</tr>
|
587
781
|
<tr>
|
588
|
-
<td
|
589
|
-
<td
|
782
|
+
<td class="parameter_name"><p>stretch</p></td>
|
783
|
+
<td class="parameter_description"><p> a <a class="link" href="pango-Fonts.html#PangoStretch" title="enum PangoStretch"><span class="type">PangoStretch</span></a> to store the
|
784
|
+
result in. </p></td>
|
785
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Out parameter, where caller must allocate storage."><span class="acronym">out caller-allocates</span></acronym>]</span></td>
|
590
786
|
</tr>
|
591
787
|
<tr>
|
592
|
-
<td
|
593
|
-
<td>
|
594
|
-
<
|
788
|
+
<td class="parameter_name"><p>warn</p></td>
|
789
|
+
<td class="parameter_description"><p>if <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, issue a <a href="http://library.gnome.org/devel/glib/unstable/glib-Message-Logging.html#g-warning"><code class="function">g_warning()</code></a> on bad input.</p></td>
|
790
|
+
<td class="parameter_annotations"> </td>
|
595
791
|
</tr>
|
596
792
|
</tbody>
|
597
793
|
</table></div>
|
598
794
|
</div>
|
795
|
+
<div class="refsect3">
|
796
|
+
<a name="id-1.4.12.5.16.6"></a><h4>Returns</h4>
|
797
|
+
<p> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>str</code></em>
|
798
|
+
was successfully parsed.</p>
|
799
|
+
<p></p>
|
800
|
+
</div>
|
801
|
+
</div>
|
599
802
|
<hr>
|
600
803
|
<div class="refsect2">
|
601
|
-
<a name="pango-get-sysconf-subdirectory"></a><h3>pango_get_sysconf_subdirectory
|
602
|
-
<pre class="programlisting">const <span class="returnvalue">char</span>
|
603
|
-
<
|
604
|
-
On Unix, returns the name of the "pango" subdirectory of SYSCONFDIR
|
804
|
+
<a name="pango-get-sysconf-subdirectory"></a><h3>pango_get_sysconf_subdirectory ()</h3>
|
805
|
+
<pre class="programlisting">const <span class="returnvalue">char</span> *
|
806
|
+
pango_get_sysconf_subdirectory (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
807
|
+
<p>On Unix, returns the name of the "pango" subdirectory of SYSCONFDIR
|
605
808
|
(which is set at compile time). On Windows, returns the etc\pango
|
606
809
|
subdirectory of the Pango installation directory (which is deduced
|
607
810
|
at run time from the DLL's location).</p>
|
608
|
-
<div class="
|
609
|
-
<
|
610
|
-
<
|
611
|
-
|
612
|
-
|
613
|
-
|
614
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
615
|
-
<td>the Pango sysconf directory. The returned string should
|
616
|
-
not be freed.</td>
|
617
|
-
</tr></tbody>
|
618
|
-
</table></div>
|
811
|
+
<div class="refsect3">
|
812
|
+
<a name="id-1.4.12.5.17.5"></a><h4>Returns</h4>
|
813
|
+
<p> the Pango sysconf directory. The returned string should
|
814
|
+
not be freed.</p>
|
815
|
+
<p></p>
|
816
|
+
</div>
|
619
817
|
</div>
|
620
818
|
<hr>
|
621
819
|
<div class="refsect2">
|
622
|
-
<a name="pango-get-lib-subdirectory"></a><h3>pango_get_lib_subdirectory
|
623
|
-
<pre class="programlisting">const <span class="returnvalue">char</span>
|
624
|
-
<
|
625
|
-
On Unix, returns the name of the "pango" subdirectory of LIBDIR
|
820
|
+
<a name="pango-get-lib-subdirectory"></a><h3>pango_get_lib_subdirectory ()</h3>
|
821
|
+
<pre class="programlisting">const <span class="returnvalue">char</span> *
|
822
|
+
pango_get_lib_subdirectory (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
823
|
+
<p>On Unix, returns the name of the "pango" subdirectory of LIBDIR
|
626
824
|
(which is set at compile time). On Windows, returns the lib\pango
|
627
825
|
subdirectory of the Pango installation directory (which is deduced
|
628
826
|
at run time from the DLL's location).</p>
|
629
|
-
<div class="
|
630
|
-
<
|
631
|
-
<
|
632
|
-
|
633
|
-
|
634
|
-
|
635
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
636
|
-
<td>the Pango lib directory. The returned string should
|
637
|
-
not be freed.</td>
|
638
|
-
</tr></tbody>
|
639
|
-
</table></div>
|
827
|
+
<div class="refsect3">
|
828
|
+
<a name="id-1.4.12.5.18.5"></a><h4>Returns</h4>
|
829
|
+
<p> the Pango lib directory. The returned string should
|
830
|
+
not be freed.</p>
|
831
|
+
<p></p>
|
832
|
+
</div>
|
640
833
|
</div>
|
641
834
|
<hr>
|
642
835
|
<div class="refsect2">
|
643
|
-
<a name="pango-log2vis-get-embedding-levels"></a><h3>pango_log2vis_get_embedding_levels
|
644
|
-
<pre class="programlisting"><a href="
|
645
|
-
|
646
|
-
|
647
|
-
<
|
648
|
-
This will return the bidirectional embedding levels of the input paragraph
|
836
|
+
<a name="pango-log2vis-get-embedding-levels"></a><h3>pango_log2vis_get_embedding_levels ()</h3>
|
837
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint8"><span class="returnvalue">guint8</span></a> *
|
838
|
+
pango_log2vis_get_embedding_levels (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *text</code></em>,
|
839
|
+
<em class="parameter"><code><span class="type">int</span> length</code></em>,
|
840
|
+
<em class="parameter"><code><a class="link" href="pango-Bidirectional-Text.html#PangoDirection" title="enum PangoDirection"><span class="type">PangoDirection</span></a> *pbase_dir</code></em>);</pre>
|
841
|
+
<p>This will return the bidirectional embedding levels of the input paragraph
|
649
842
|
as defined by the Unicode Bidirectional Algorithm available at:</p>
|
650
|
-
<p>
|
651
|
-
|
652
|
-
<p>
|
653
|
-
If the input base direction is a weak direction, the direction of the
|
843
|
+
<p> http://www.unicode.org/reports/tr9/</p>
|
844
|
+
<p>If the input base direction is a weak direction, the direction of the
|
654
845
|
characters in the text will determine the final resolved direction.</p>
|
655
|
-
<div class="
|
846
|
+
<div class="refsect3">
|
847
|
+
<a name="id-1.4.12.5.19.7"></a><h4>Parameters</h4>
|
848
|
+
<div class="informaltable"><table width="100%" border="0">
|
656
849
|
<colgroup>
|
657
|
-
<col
|
658
|
-
<col>
|
850
|
+
<col width="150px" class="parameters_name">
|
851
|
+
<col class="parameters_description">
|
852
|
+
<col width="200px" class="parameters_annotations">
|
659
853
|
</colgroup>
|
660
854
|
<tbody>
|
661
855
|
<tr>
|
662
|
-
<td
|
663
|
-
<td>the text to itemize.</td>
|
664
|
-
</
|
665
|
-
<tr>
|
666
|
-
<td><p><span class="term"><em class="parameter"><code>length</code></em> :</span></p></td>
|
667
|
-
<td>the number of bytes (not characters) to process, or -1
|
668
|
-
if <em class="parameter"><code>text</code></em> is nul-terminated and the length should be calculated.</td>
|
856
|
+
<td class="parameter_name"><p>text</p></td>
|
857
|
+
<td class="parameter_description"><p>the text to itemize.</p></td>
|
858
|
+
<td class="parameter_annotations"> </td>
|
669
859
|
</tr>
|
670
860
|
<tr>
|
671
|
-
<td
|
672
|
-
<td>
|
861
|
+
<td class="parameter_name"><p>length</p></td>
|
862
|
+
<td class="parameter_description"><p>the number of bytes (not characters) to process, or -1
|
863
|
+
if <em class="parameter"><code>text</code></em>
|
864
|
+
is nul-terminated and the length should be calculated.</p></td>
|
865
|
+
<td class="parameter_annotations"> </td>
|
673
866
|
</tr>
|
674
867
|
<tr>
|
675
|
-
<td
|
676
|
-
<td>
|
677
|
-
|
868
|
+
<td class="parameter_name"><p>pbase_dir</p></td>
|
869
|
+
<td class="parameter_description"><p>input base direction, and output resolved direction.</p></td>
|
870
|
+
<td class="parameter_annotations"> </td>
|
678
871
|
</tr>
|
679
872
|
</tbody>
|
680
873
|
</table></div>
|
874
|
+
</div>
|
875
|
+
<div class="refsect3">
|
876
|
+
<a name="id-1.4.12.5.19.8"></a><h4>Returns</h4>
|
877
|
+
<p> a newly allocated array of embedding levels, one item per
|
878
|
+
character (not byte), that should be freed using g_free.</p>
|
879
|
+
<p></p>
|
880
|
+
</div>
|
681
881
|
<p class="since">Since 1.4</p>
|
682
882
|
</div>
|
683
883
|
<hr>
|
684
884
|
<div class="refsect2">
|
685
|
-
<a name="pango-is-zero-width"></a><h3>pango_is_zero_width
|
686
|
-
<pre class="programlisting"><a href="
|
687
|
-
<
|
688
|
-
Checks <em class="parameter"><code>ch</code></em>
|
885
|
+
<a name="pango-is-zero-width"></a><h3>pango_is_zero_width ()</h3>
|
886
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
887
|
+
pango_is_zero_width (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Unicode-Manipulation.html#gunichar"><span class="type">gunichar</span></a> ch</code></em>);</pre>
|
888
|
+
<p>Checks <em class="parameter"><code>ch</code></em>
|
889
|
+
to see if it is a character that should not be
|
689
890
|
normally rendered on the screen. This includes all Unicode characters
|
690
891
|
with "ZERO WIDTH" in their name, as well as <em class="firstterm">bidi</em> formatting characters, and
|
691
|
-
a few other ones. This is totally different from <a href="
|
892
|
+
a few other ones. This is totally different from <a href="http://library.gnome.org/devel/glib/unstable/glib-Unicode-Manipulation.html#g-unichar-iszerowidth"><code class="function">g_unichar_iszerowidth()</code></a>
|
692
893
|
and is at best misnamed.</p>
|
693
|
-
<div class="
|
894
|
+
<div class="refsect3">
|
895
|
+
<a name="id-1.4.12.5.20.5"></a><h4>Parameters</h4>
|
896
|
+
<div class="informaltable"><table width="100%" border="0">
|
694
897
|
<colgroup>
|
695
|
-
<col
|
696
|
-
<col>
|
898
|
+
<col width="150px" class="parameters_name">
|
899
|
+
<col class="parameters_description">
|
900
|
+
<col width="200px" class="parameters_annotations">
|
697
901
|
</colgroup>
|
698
|
-
<tbody>
|
699
|
-
<
|
700
|
-
<td
|
701
|
-
<td>
|
702
|
-
</tr>
|
703
|
-
<tr>
|
704
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
705
|
-
<td>
|
706
|
-
<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 <em class="parameter"><code>ch</code></em> is a zero-width character, <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>
|
707
|
-
</tr>
|
708
|
-
</tbody>
|
902
|
+
<tbody><tr>
|
903
|
+
<td class="parameter_name"><p>ch</p></td>
|
904
|
+
<td class="parameter_description"><p>a Unicode character</p></td>
|
905
|
+
<td class="parameter_annotations"> </td>
|
906
|
+
</tr></tbody>
|
709
907
|
</table></div>
|
908
|
+
</div>
|
909
|
+
<div class="refsect3">
|
910
|
+
<a name="id-1.4.12.5.20.6"></a><h4>Returns</h4>
|
911
|
+
<p> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>ch</code></em>
|
912
|
+
is a zero-width character, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise</p>
|
913
|
+
<p></p>
|
914
|
+
</div>
|
710
915
|
<p class="since">Since 1.10</p>
|
711
916
|
</div>
|
712
917
|
<hr>
|
713
918
|
<div class="refsect2">
|
714
|
-
<a name="pango-quantize-line-geometry"></a><h3>pango_quantize_line_geometry
|
715
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
716
|
-
|
717
|
-
<
|
718
|
-
Quantizes the thickness and position of a line, typically an
|
919
|
+
<a name="pango-quantize-line-geometry"></a><h3>pango_quantize_line_geometry ()</h3>
|
920
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
921
|
+
pango_quantize_line_geometry (<em class="parameter"><code><span class="type">int</span> *thickness</code></em>,
|
922
|
+
<em class="parameter"><code><span class="type">int</span> *position</code></em>);</pre>
|
923
|
+
<p>Quantizes the thickness and position of a line, typically an
|
719
924
|
underline or strikethrough, to whole device pixels, that is integer
|
720
925
|
multiples of <a class="link" href="pango-Glyph-Storage.html#PANGO-SCALE:CAPS" title="PANGO_SCALE"><code class="literal">PANGO_SCALE</code></a>. The purpose of this function is to avoid
|
721
926
|
such lines looking blurry.</p>
|
722
|
-
<p>
|
723
|
-
|
724
|
-
function returns, but returned <em class="parameter"><code>position</code></em>
|
927
|
+
<p>Care is taken to make sure <em class="parameter"><code>thickness</code></em>
|
928
|
+
is at least one pixel when this
|
929
|
+
function returns, but returned <em class="parameter"><code>position</code></em>
|
930
|
+
may become zero as a result
|
725
931
|
of rounding.</p>
|
726
|
-
<div class="
|
932
|
+
<div class="refsect3">
|
933
|
+
<a name="id-1.4.12.5.21.6"></a><h4>Parameters</h4>
|
934
|
+
<div class="informaltable"><table width="100%" border="0">
|
727
935
|
<colgroup>
|
728
|
-
<col
|
729
|
-
<col>
|
936
|
+
<col width="150px" class="parameters_name">
|
937
|
+
<col class="parameters_description">
|
938
|
+
<col width="200px" class="parameters_annotations">
|
730
939
|
</colgroup>
|
731
940
|
<tbody>
|
732
941
|
<tr>
|
733
|
-
<td
|
734
|
-
<td>pointer to the thickness of a line, in Pango units.
|
735
|
-
</td>
|
942
|
+
<td class="parameter_name"><p>thickness</p></td>
|
943
|
+
<td class="parameter_description"><p> pointer to the thickness of a line, in Pango units. </p></td>
|
944
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for input and for returning results. Default is transfer full."><span class="acronym">inout</span></acronym>]</span></td>
|
736
945
|
</tr>
|
737
946
|
<tr>
|
738
|
-
<td
|
739
|
-
<td
|
740
|
-
</td>
|
947
|
+
<td class="parameter_name"><p>position</p></td>
|
948
|
+
<td class="parameter_description"><p> corresponding position. </p></td>
|
949
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for input and for returning results. Default is transfer full."><span class="acronym">inout</span></acronym>]</span></td>
|
741
950
|
</tr>
|
742
951
|
</tbody>
|
743
952
|
</table></div>
|
953
|
+
</div>
|
744
954
|
<p class="since">Since 1.12</p>
|
745
955
|
</div>
|
746
956
|
</div>
|
957
|
+
<div class="refsect1">
|
958
|
+
<a name="pango-Miscellaneous-Utilities.other_details"></a><h2>Types and Values</h2>
|
959
|
+
</div>
|
747
960
|
</div>
|
748
961
|
<div class="footer">
|
749
962
|
<hr>
|
750
|
-
Generated by GTK-Doc V1.
|
963
|
+
Generated by GTK-Doc V1.21.1</div>
|
751
964
|
</body>
|
752
965
|
</html>
|