pango 2.2.4-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README +33 -0
- data/Rakefile +65 -0
- data/ext/pango/depend +12 -0
- data/ext/pango/extconf.rb +90 -0
- data/ext/pango/pango.def +18 -0
- data/ext/pango/rbpango.c +318 -0
- data/ext/pango/rbpango.h +96 -0
- data/ext/pango/rbpangoanalysis.c +218 -0
- data/ext/pango/rbpangoattribute.c +499 -0
- data/ext/pango/rbpangoattriterator.c +141 -0
- data/ext/pango/rbpangoattrlist.c +101 -0
- data/ext/pango/rbpangocairo.c +122 -0
- data/ext/pango/rbpangocairocontext.c +131 -0
- data/ext/pango/rbpangocolor.c +120 -0
- data/ext/pango/rbpangocontext.c +309 -0
- data/ext/pango/rbpangoconversions.h +111 -0
- data/ext/pango/rbpangocoverage.c +106 -0
- data/ext/pango/rbpangoengine.c +73 -0
- data/ext/pango/rbpangofont.c +110 -0
- data/ext/pango/rbpangofontdescription.c +282 -0
- data/ext/pango/rbpangofontface.c +73 -0
- data/ext/pango/rbpangofontfamily.c +79 -0
- data/ext/pango/rbpangofontmap.c +102 -0
- data/ext/pango/rbpangofontmetrics.c +85 -0
- data/ext/pango/rbpangofontset.c +69 -0
- data/ext/pango/rbpangofontsetsimple.c +60 -0
- data/ext/pango/rbpangoglyphinfo.c +123 -0
- data/ext/pango/rbpangoglyphitem.c +125 -0
- data/ext/pango/rbpangoglyphstring.c +151 -0
- data/ext/pango/rbpangogravity.c +54 -0
- data/ext/pango/rbpangoitem.c +95 -0
- data/ext/pango/rbpangolanguage.c +86 -0
- data/ext/pango/rbpangolayout.c +572 -0
- data/ext/pango/rbpangolayoutiter.c +189 -0
- data/ext/pango/rbpangolayoutline.c +239 -0
- data/ext/pango/rbpangologattr.c +109 -0
- data/ext/pango/rbpangomatrix.c +143 -0
- data/ext/pango/rbpangoprivate.h +49 -0
- data/ext/pango/rbpangorectangle.c +170 -0
- data/ext/pango/rbpangorenderer.c +193 -0
- data/ext/pango/rbpangoscript.c +84 -0
- data/ext/pango/rbpangoscriptiter.c +92 -0
- data/ext/pango/rbpangotabarray.c +128 -0
- data/extconf.rb +49 -0
- data/lib/2.0/pango.so +0 -0
- data/lib/2.1/pango.so +0 -0
- data/lib/2.2/pango.so +0 -0
- data/lib/pango.rb +79 -0
- data/sample/attribute.rb +82 -0
- data/sample/break.rb +28 -0
- data/sample/gdk_layout.rb +27 -0
- data/sample/glyphstring.rb +61 -0
- data/sample/item.rb +37 -0
- data/sample/label.rb +23 -0
- data/sample/layout.rb +102 -0
- data/sample/pango_cairo.rb +66 -0
- data/sample/parse.rb +33 -0
- data/sample/sample.txt +10 -0
- data/sample/script.rb +23 -0
- data/test/pango-test-utils.rb +9 -0
- data/test/run-test.rb +28 -0
- data/test/test-analysis.rb +26 -0
- data/test/test-attribute.rb +19 -0
- data/test/test-color.rb +47 -0
- data/test/test-language.rb +7 -0
- data/test/test-layout.rb +34 -0
- data/test/test-log-attr.rb +26 -0
- data/test/test-matrix.rb +26 -0
- data/test/test-rectangle.rb +26 -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/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 +19 -0
- data/vendor/local/include/harfbuzz/hb-blob.h +126 -0
- data/vendor/local/include/harfbuzz/hb-buffer.h +344 -0
- data/vendor/local/include/harfbuzz/hb-common.h +344 -0
- data/vendor/local/include/harfbuzz/hb-deprecated.h +51 -0
- data/vendor/local/include/harfbuzz/hb-face.h +117 -0
- data/vendor/local/include/harfbuzz/hb-font.h +507 -0
- data/vendor/local/include/harfbuzz/hb-ft.h +62 -0
- data/vendor/local/include/harfbuzz/hb-glib.h +52 -0
- 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 +302 -0
- data/vendor/local/include/harfbuzz/hb-ot-shape.h +53 -0
- data/vendor/local/include/harfbuzz/hb-ot-tag.h +59 -0
- data/vendor/local/include/harfbuzz/hb-ot.h +43 -0
- data/vendor/local/include/harfbuzz/hb-set.h +154 -0
- data/vendor/local/include/harfbuzz/hb-shape-plan.h +89 -0
- data/vendor/local/include/harfbuzz/hb-shape.h +81 -0
- data/vendor/local/include/harfbuzz/hb-unicode.h +445 -0
- data/vendor/local/include/harfbuzz/hb-version.h +66 -0
- data/vendor/local/include/harfbuzz/hb.h +47 -0
- 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-attributes.h +514 -0
- data/vendor/local/include/pango-1.0/pango/pango-bidi-type.h +136 -0
- data/vendor/local/include/pango-1.0/pango/pango-break.h +173 -0
- data/vendor/local/include/pango-1.0/pango/pango-context.h +112 -0
- data/vendor/local/include/pango-1.0/pango/pango-coverage.h +79 -0
- data/vendor/local/include/pango-1.0/pango/pango-engine.h +429 -0
- data/vendor/local/include/pango-1.0/pango/pango-enum-types.h +69 -0
- data/vendor/local/include/pango-1.0/pango/pango-features.h +12 -0
- data/vendor/local/include/pango-1.0/pango/pango-font.h +622 -0
- data/vendor/local/include/pango-1.0/pango/pango-fontmap.h +167 -0
- data/vendor/local/include/pango-1.0/pango/pango-fontset.h +169 -0
- data/vendor/local/include/pango-1.0/pango/pango-glyph-item.h +158 -0
- data/vendor/local/include/pango-1.0/pango/pango-glyph.h +197 -0
- data/vendor/local/include/pango-1.0/pango/pango-gravity.h +128 -0
- data/vendor/local/include/pango-1.0/pango/pango-item.h +109 -0
- data/vendor/local/include/pango-1.0/pango/pango-language.h +61 -0
- data/vendor/local/include/pango-1.0/pango/pango-layout.h +340 -0
- data/vendor/local/include/pango-1.0/pango/pango-matrix.h +117 -0
- data/vendor/local/include/pango-1.0/pango/pango-modules.h +71 -0
- data/vendor/local/include/pango-1.0/pango/pango-ot.h +391 -0
- data/vendor/local/include/pango-1.0/pango/pango-renderer.h +260 -0
- data/vendor/local/include/pango-1.0/pango/pango-script.h +260 -0
- data/vendor/local/include/pango-1.0/pango/pango-tabs.h +87 -0
- data/vendor/local/include/pango-1.0/pango/pango-types.h +200 -0
- data/vendor/local/include/pango-1.0/pango/pango-utils.h +189 -0
- data/vendor/local/include/pango-1.0/pango/pango.h +48 -0
- data/vendor/local/include/pango-1.0/pango/pangocairo.h +169 -0
- data/vendor/local/include/pango-1.0/pango/pangofc-decoder.h +110 -0
- data/vendor/local/include/pango-1.0/pango/pangofc-font.h +153 -0
- data/vendor/local/include/pango-1.0/pango/pangofc-fontmap.h +289 -0
- data/vendor/local/include/pango-1.0/pango/pangoft2.h +133 -0
- data/vendor/local/include/pango-1.0/pango/pangowin32.h +128 -0
- 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 +41 -0
- 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 +41 -0
- data/vendor/local/lib/libpangocairo-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangocairo-1.0.la +41 -0
- data/vendor/local/lib/libpangoft2-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangoft2-1.0.la +41 -0
- data/vendor/local/lib/libpangowin32-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangowin32-1.0.la +41 -0
- 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 +41 -0
- 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 +41 -0
- 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 +41 -0
- 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 +41 -0
- data/vendor/local/lib/pkgconfig/harfbuzz-icu.pc +13 -0
- data/vendor/local/lib/pkgconfig/harfbuzz.pc +11 -0
- 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 +14 -0
- data/vendor/local/lib/pkgconfig/pangocairo.pc +11 -0
- data/vendor/local/lib/pkgconfig/pangoft2.pc +12 -0
- data/vendor/local/lib/pkgconfig/pangowin32.pc +11 -0
- data/vendor/local/share/gir-1.0/Pango-1.0.gir +13329 -0
- data/vendor/local/share/gir-1.0/PangoCairo-1.0.gir +833 -0
- data/vendor/local/share/gir-1.0/PangoFT2-1.0.gir +354 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/annotation-glossary.html +75 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-full.html +1449 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/ch01.html +98 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/deprecated-api-index.html +46 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-blob.html +610 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-buffer.html +1780 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-common.html +1337 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-coretext.html +144 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-deprecated.html +99 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-face.html +630 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-font.html +2529 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ft.html +188 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-glib.html +120 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-gobject.html +50 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-graphite2.html +120 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-icu.html +120 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot-layout.html +771 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot-tag.html +172 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot.html +50 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-set.html +966 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-shape-plan.html +405 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-shape.html +286 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-unicode.html +1523 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-uniscribe.html +100 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-version.html +182 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb.html +50 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz.devhelp2 +378 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/index.html +105 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/index.sgml +496 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/left-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/object-tree.html +59 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/right-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/style.css +476 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/up-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/up.png +0 -0
- data/vendor/local/share/gtk-doc/html/pango/PangoEngineLang.html +224 -0
- data/vendor/local/share/gtk-doc/html/pango/PangoEngineShape.html +255 -0
- data/vendor/local/share/gtk-doc/html/pango/PangoFcDecoder.html +246 -0
- data/vendor/local/share/gtk-doc/html/pango/PangoFcFont.html +500 -0
- data/vendor/local/share/gtk-doc/html/pango/PangoFcFontMap.html +1001 -0
- data/vendor/local/share/gtk-doc/html/pango/PangoMarkupFormat.html +301 -0
- data/vendor/local/share/gtk-doc/html/pango/PangoRenderer.html +1219 -0
- data/vendor/local/share/gtk-doc/html/pango/annotation-glossary.html +89 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-10.html +135 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-12.html +49 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-14.html +64 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-16.html +228 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-18.html +152 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-2.html +122 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-20.html +87 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-22.html +124 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-24.html +97 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-26.html +46 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-30.html +39 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-31-0.html +39 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-32-4.html +53 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-32.html +42 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-34.html +38 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-4.html +201 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-6.html +165 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-8.html +171 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-deprecated.html +284 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-full.html +2968 -0
- data/vendor/local/share/gtk-doc/html/pango/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/pango/index.html +146 -0
- data/vendor/local/share/gtk-doc/html/pango/index.sgml +957 -0
- data/vendor/local/share/gtk-doc/html/pango/layout.gif +0 -0
- data/vendor/local/share/gtk-doc/html/pango/left-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/pango/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/pango/lowlevel.html +68 -0
- data/vendor/local/share/gtk-doc/html/pango/pango-Bidirectional-Text.html +514 -0
- data/vendor/local/share/gtk-doc/html/pango/pango-Cairo-Rendering.html +1632 -0
- data/vendor/local/share/gtk-doc/html/pango/pango-CoreText-Fonts.html +115 -0
- data/vendor/local/share/gtk-doc/html/pango/pango-Coverage-Maps.html +508 -0
- data/vendor/local/share/gtk-doc/html/pango/pango-Engines.html +358 -0
- data/vendor/local/share/gtk-doc/html/pango/pango-Fonts.html +4154 -0
- data/vendor/local/share/gtk-doc/html/pango/pango-FreeType-Fonts-and-Rendering.html +956 -0
- data/vendor/local/share/gtk-doc/html/pango/pango-Glyph-Storage.html +2627 -0
- data/vendor/local/share/gtk-doc/html/pango/pango-Layout-Objects.html +4153 -0
- data/vendor/local/share/gtk-doc/html/pango/pango-Miscellaneous-Utilities.html +965 -0
- data/vendor/local/share/gtk-doc/html/pango/pango-Modules.html +331 -0
- data/vendor/local/share/gtk-doc/html/pango/pango-OpenType-Font-Handling.html +2202 -0
- data/vendor/local/share/gtk-doc/html/pango/pango-Scripts-and-Languages.html +1430 -0
- data/vendor/local/share/gtk-doc/html/pango/pango-Tab-Stops.html +582 -0
- data/vendor/local/share/gtk-doc/html/pango/pango-Text-Attributes.html +3356 -0
- data/vendor/local/share/gtk-doc/html/pango/pango-Text-Processing.html +2079 -0
- data/vendor/local/share/gtk-doc/html/pango/pango-Version-Checking.html +325 -0
- data/vendor/local/share/gtk-doc/html/pango/pango-Vertical-Text.html +523 -0
- data/vendor/local/share/gtk-doc/html/pango/pango-Win32-Fonts-and-Rendering.html +1028 -0
- data/vendor/local/share/gtk-doc/html/pango/pango-Xft-Fonts-and-Rendering.html +1275 -0
- data/vendor/local/share/gtk-doc/html/pango/pango-hierarchy.html +91 -0
- data/vendor/local/share/gtk-doc/html/pango/pango-querymodules.html +131 -0
- data/vendor/local/share/gtk-doc/html/pango/pango.devhelp2 +786 -0
- data/vendor/local/share/gtk-doc/html/pango/pango.html +63 -0
- data/vendor/local/share/gtk-doc/html/pango/rendering.html +47 -0
- data/vendor/local/share/gtk-doc/html/pango/right-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/pango/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/pango/rotated-text.png +0 -0
- data/vendor/local/share/gtk-doc/html/pango/style.css +476 -0
- data/vendor/local/share/gtk-doc/html/pango/tools.html +33 -0
- data/vendor/local/share/gtk-doc/html/pango/up-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/pango/up.png +0 -0
- data/vendor/local/share/icu/54.1/config/mh-mingw64 +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 +9 -0
- data/vendor/local/share/license/harfbuzz/COPYING +36 -0
- data/vendor/local/share/license/pango/AUTHORS +2 -0
- data/vendor/local/share/license/pango/COPYING +482 -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 +106 -0
- data/vendor/local/share/man/man1/pango-view.1 +1 -0
- 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 +599 -0
@@ -0,0 +1,965 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
+
<title>Pango Reference Manual: Miscellaneous Utilities</title>
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
|
7
|
+
<link rel="home" href="index.html" title="Pango Reference Manual">
|
8
|
+
<link rel="up" href="lowlevel.html" title="Low Level Functionality">
|
9
|
+
<link rel="prev" href="pango-Modules.html" title="Modules">
|
10
|
+
<link rel="next" href="pango-Version-Checking.html" title="Version Checking">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.21.1 (XML mode)">
|
12
|
+
<link rel="stylesheet" href="style.css" type="text/css">
|
13
|
+
</head>
|
14
|
+
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
15
|
+
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
|
16
|
+
<td width="100%" align="left" class="shortcuts">
|
17
|
+
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
|
18
|
+
<a href="#pango-Miscellaneous-Utilities.description" class="shortcut">Description</a></span>
|
19
|
+
</td>
|
20
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
21
|
+
<td><a accesskey="u" href="lowlevel.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
22
|
+
<td><a accesskey="p" href="pango-Modules.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
23
|
+
<td><a accesskey="n" href="pango-Version-Checking.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
24
|
+
</tr></table>
|
25
|
+
<div class="refentry">
|
26
|
+
<a name="pango-Miscellaneous-Utilities"></a><div class="titlepage"></div>
|
27
|
+
<div class="refnamediv"><table width="100%"><tr>
|
28
|
+
<td valign="top">
|
29
|
+
<h2><span class="refentrytitle"><a name="pango-Miscellaneous-Utilities.top_of_page"></a>Miscellaneous Utilities</span></h2>
|
30
|
+
<p>Miscellaneous Utilities — Various convenience and utility functions</p>
|
31
|
+
</td>
|
32
|
+
<td class="gallery_image" valign="top" align="right"></td>
|
33
|
+
</tr></table></div>
|
34
|
+
<div class="refsect1">
|
35
|
+
<a name="pango-Miscellaneous-Utilities.functions"></a><h2>Functions</h2>
|
36
|
+
<div class="informaltable"><table width="100%" border="0">
|
37
|
+
<colgroup>
|
38
|
+
<col width="150px" class="functions_return">
|
39
|
+
<col class="functions_name">
|
40
|
+
</colgroup>
|
41
|
+
<tbody>
|
42
|
+
<tr>
|
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>
|
49
|
+
</tr>
|
50
|
+
<tr>
|
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>
|
198
|
+
</td>
|
199
|
+
</tr>
|
200
|
+
</tbody>
|
201
|
+
</table></div>
|
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>
|
238
|
+
<hr>
|
239
|
+
<div class="refsect2">
|
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">
|
247
|
+
<colgroup>
|
248
|
+
<col width="150px" class="parameters_name">
|
249
|
+
<col class="parameters_description">
|
250
|
+
<col width="200px" class="parameters_annotations">
|
251
|
+
</colgroup>
|
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>
|
257
|
+
</table></div>
|
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>
|
265
|
+
<hr>
|
266
|
+
<div class="refsect2">
|
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
|
272
|
+
be delimited with '\n', '\r', '\n\r', or '\r\n'. The delimiter
|
273
|
+
is not written into the buffer. Text after a '#' character is treated as
|
274
|
+
a comment and skipped. '\' can be used to escape a # character.
|
275
|
+
'\' proceeding a line delimiter combines adjacent lines. A '\' proceeding
|
276
|
+
any other character is ignored and written into the output buffer
|
277
|
+
unmodified.</p>
|
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">
|
281
|
+
<colgroup>
|
282
|
+
<col width="150px" class="parameters_name">
|
283
|
+
<col class="parameters_description">
|
284
|
+
<col width="200px" class="parameters_annotations">
|
285
|
+
</colgroup>
|
286
|
+
<tbody>
|
287
|
+
<tr>
|
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>
|
291
|
+
</tr>
|
292
|
+
<tr>
|
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>
|
296
|
+
</tr>
|
297
|
+
</tbody>
|
298
|
+
</table></div>
|
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>
|
308
|
+
<hr>
|
309
|
+
<div class="refsect2">
|
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">
|
317
|
+
<colgroup>
|
318
|
+
<col width="150px" class="parameters_name">
|
319
|
+
<col class="parameters_description">
|
320
|
+
<col width="200px" class="parameters_annotations">
|
321
|
+
</colgroup>
|
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>
|
327
|
+
</table></div>
|
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>
|
336
|
+
<hr>
|
337
|
+
<div class="refsect2">
|
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
|
343
|
+
of [A-Za-z_] followed by zero or more [A-Za-z_0-9]
|
344
|
+
Leading white space is skipped.</p>
|
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">
|
348
|
+
<colgroup>
|
349
|
+
<col width="150px" class="parameters_name">
|
350
|
+
<col class="parameters_description">
|
351
|
+
<col width="200px" class="parameters_annotations">
|
352
|
+
</colgroup>
|
353
|
+
<tbody>
|
354
|
+
<tr>
|
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>
|
358
|
+
</tr>
|
359
|
+
<tr>
|
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>
|
363
|
+
</tr>
|
364
|
+
</tbody>
|
365
|
+
</table></div>
|
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>
|
373
|
+
<hr>
|
374
|
+
<div class="refsect2">
|
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
|
380
|
+
be a sequence of non-white-space characters, or a quoted
|
381
|
+
string with '"'. Instead a quoted string, '\"' represents
|
382
|
+
a literal quote. Leading white space outside of quotes is skipped.</p>
|
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">
|
386
|
+
<colgroup>
|
387
|
+
<col width="150px" class="parameters_name">
|
388
|
+
<col class="parameters_description">
|
389
|
+
<col width="200px" class="parameters_annotations">
|
390
|
+
</colgroup>
|
391
|
+
<tbody>
|
392
|
+
<tr>
|
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>
|
396
|
+
</tr>
|
397
|
+
<tr>
|
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>
|
401
|
+
</tr>
|
402
|
+
</tbody>
|
403
|
+
</table></div>
|
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>
|
411
|
+
<hr>
|
412
|
+
<div class="refsect2">
|
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.
|
418
|
+
Leading white space is skipped.</p>
|
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">
|
422
|
+
<colgroup>
|
423
|
+
<col width="150px" class="parameters_name">
|
424
|
+
<col class="parameters_description">
|
425
|
+
<col width="200px" class="parameters_annotations">
|
426
|
+
</colgroup>
|
427
|
+
<tbody>
|
428
|
+
<tr>
|
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>
|
432
|
+
</tr>
|
433
|
+
<tr>
|
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>
|
437
|
+
</tr>
|
438
|
+
</tbody>
|
439
|
+
</table></div>
|
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>
|
447
|
+
<hr>
|
448
|
+
<div class="refsect2">
|
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
|
453
|
+
(pseudo-win.ini style, read from $sysconfdir/pango/pangorc,
|
454
|
+
$XDG_CONFIG_HOME/pango/pangorc, and getenv (PANGO_RC_FILE).)</p>
|
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">
|
458
|
+
<colgroup>
|
459
|
+
<col width="150px" class="parameters_name">
|
460
|
+
<col class="parameters_description">
|
461
|
+
<col width="200px" class="parameters_annotations">
|
462
|
+
</colgroup>
|
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>
|
468
|
+
</table></div>
|
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>
|
477
|
+
<hr>
|
478
|
+
<div class="refsect2">
|
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
|
483
|
+
in $sysconfdir/pango/pangorc.</p>
|
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">
|
487
|
+
<colgroup>
|
488
|
+
<col width="150px" class="parameters_name">
|
489
|
+
<col class="parameters_description">
|
490
|
+
<col width="200px" class="parameters_annotations">
|
491
|
+
</colgroup>
|
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>
|
497
|
+
</table></div>
|
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>
|
506
|
+
<hr>
|
507
|
+
<div class="refsect2">
|
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>
|
513
|
+
<div class="warning">
|
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">
|
526
|
+
<colgroup>
|
527
|
+
<col width="150px" class="parameters_name">
|
528
|
+
<col class="parameters_description">
|
529
|
+
<col width="200px" class="parameters_annotations">
|
530
|
+
</colgroup>
|
531
|
+
<tbody>
|
532
|
+
<tr>
|
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>
|
536
|
+
</tr>
|
537
|
+
<tr>
|
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>
|
542
|
+
</tr>
|
543
|
+
<tr>
|
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>
|
548
|
+
</tr>
|
549
|
+
</tbody>
|
550
|
+
</table></div>
|
551
|
+
</div>
|
552
|
+
</div>
|
553
|
+
<hr>
|
554
|
+
<div class="refsect2">
|
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
|
569
|
+
string representing the list of possible values is stored in
|
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">
|
578
|
+
<colgroup>
|
579
|
+
<col width="150px" class="parameters_name">
|
580
|
+
<col class="parameters_description">
|
581
|
+
<col width="200px" class="parameters_annotations">
|
582
|
+
</colgroup>
|
583
|
+
<tbody>
|
584
|
+
<tr>
|
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>
|
588
|
+
</tr>
|
589
|
+
<tr>
|
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>
|
593
|
+
</tr>
|
594
|
+
<tr>
|
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>
|
598
|
+
</tr>
|
599
|
+
<tr>
|
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>
|
603
|
+
</tr>
|
604
|
+
<tr>
|
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>
|
608
|
+
</tr>
|
609
|
+
</tbody>
|
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>
|
618
|
+
<p class="since">Since 1.16</p>
|
619
|
+
</div>
|
620
|
+
<hr>
|
621
|
+
<div class="refsect2">
|
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",
|
628
|
+
"italic" and "oblique", case variations being
|
629
|
+
ignored.</p>
|
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">
|
633
|
+
<colgroup>
|
634
|
+
<col width="150px" class="parameters_name">
|
635
|
+
<col class="parameters_description">
|
636
|
+
<col width="200px" class="parameters_annotations">
|
637
|
+
</colgroup>
|
638
|
+
<tbody>
|
639
|
+
<tr>
|
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>
|
643
|
+
</tr>
|
644
|
+
<tr>
|
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>
|
649
|
+
</tr>
|
650
|
+
<tr>
|
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>
|
654
|
+
</tr>
|
655
|
+
</tbody>
|
656
|
+
</table></div>
|
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>
|
665
|
+
<hr>
|
666
|
+
<div class="refsect2">
|
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"
|
673
|
+
and "smallcaps" or "small_caps", case variations being
|
674
|
+
ignored.</p>
|
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">
|
678
|
+
<colgroup>
|
679
|
+
<col width="150px" class="parameters_name">
|
680
|
+
<col class="parameters_description">
|
681
|
+
<col width="200px" class="parameters_annotations">
|
682
|
+
</colgroup>
|
683
|
+
<tbody>
|
684
|
+
<tr>
|
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>
|
688
|
+
</tr>
|
689
|
+
<tr>
|
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>
|
694
|
+
</tr>
|
695
|
+
<tr>
|
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>
|
699
|
+
</tr>
|
700
|
+
</tbody>
|
701
|
+
</table></div>
|
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>
|
710
|
+
<hr>
|
711
|
+
<div class="refsect2">
|
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",
|
718
|
+
"ultrabold", "bold", "normal", "light", "ultraleight"
|
719
|
+
and integers. Case variations are ignored.</p>
|
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">
|
723
|
+
<colgroup>
|
724
|
+
<col width="150px" class="parameters_name">
|
725
|
+
<col class="parameters_description">
|
726
|
+
<col width="200px" class="parameters_annotations">
|
727
|
+
</colgroup>
|
728
|
+
<tbody>
|
729
|
+
<tr>
|
730
|
+
<td class="parameter_name"><p>str</p></td>
|
731
|
+
<td class="parameter_description"><p>a string to parse.</p></td>
|
732
|
+
<td class="parameter_annotations"> </td>
|
733
|
+
</tr>
|
734
|
+
<tr>
|
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>
|
739
|
+
</tr>
|
740
|
+
<tr>
|
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>
|
744
|
+
</tr>
|
745
|
+
</tbody>
|
746
|
+
</table></div>
|
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>
|
755
|
+
<hr>
|
756
|
+
<div class="refsect2">
|
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
|
763
|
+
"ultra_condensed", "extra_condensed", "condensed",
|
764
|
+
"semi_condensed", "normal", "semi_expanded", "expanded",
|
765
|
+
"extra_expanded" and "ultra_expanded". Case variations are
|
766
|
+
ignored and the '_' characters may be omitted.</p>
|
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">
|
770
|
+
<colgroup>
|
771
|
+
<col width="150px" class="parameters_name">
|
772
|
+
<col class="parameters_description">
|
773
|
+
<col width="200px" class="parameters_annotations">
|
774
|
+
</colgroup>
|
775
|
+
<tbody>
|
776
|
+
<tr>
|
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>
|
780
|
+
</tr>
|
781
|
+
<tr>
|
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>
|
786
|
+
</tr>
|
787
|
+
<tr>
|
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>
|
791
|
+
</tr>
|
792
|
+
</tbody>
|
793
|
+
</table></div>
|
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>
|
802
|
+
<hr>
|
803
|
+
<div class="refsect2">
|
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
|
808
|
+
(which is set at compile time). On Windows, returns the etc\pango
|
809
|
+
subdirectory of the Pango installation directory (which is deduced
|
810
|
+
at run time from the DLL's location).</p>
|
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>
|
817
|
+
</div>
|
818
|
+
<hr>
|
819
|
+
<div class="refsect2">
|
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
|
824
|
+
(which is set at compile time). On Windows, returns the lib\pango
|
825
|
+
subdirectory of the Pango installation directory (which is deduced
|
826
|
+
at run time from the DLL's location).</p>
|
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>
|
833
|
+
</div>
|
834
|
+
<hr>
|
835
|
+
<div class="refsect2">
|
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
|
842
|
+
as defined by the Unicode Bidirectional Algorithm available at:</p>
|
843
|
+
<p> http://www.unicode.org/reports/tr9/</p>
|
844
|
+
<p>If the input base direction is a weak direction, the direction of the
|
845
|
+
characters in the text will determine the final resolved direction.</p>
|
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">
|
849
|
+
<colgroup>
|
850
|
+
<col width="150px" class="parameters_name">
|
851
|
+
<col class="parameters_description">
|
852
|
+
<col width="200px" class="parameters_annotations">
|
853
|
+
</colgroup>
|
854
|
+
<tbody>
|
855
|
+
<tr>
|
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>
|
859
|
+
</tr>
|
860
|
+
<tr>
|
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>
|
866
|
+
</tr>
|
867
|
+
<tr>
|
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>
|
871
|
+
</tr>
|
872
|
+
</tbody>
|
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>
|
881
|
+
<p class="since">Since 1.4</p>
|
882
|
+
</div>
|
883
|
+
<hr>
|
884
|
+
<div class="refsect2">
|
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
|
890
|
+
normally rendered on the screen. This includes all Unicode characters
|
891
|
+
with "ZERO WIDTH" in their name, as well as <em class="firstterm">bidi</em> formatting characters, and
|
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>
|
893
|
+
and is at best misnamed.</p>
|
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">
|
897
|
+
<colgroup>
|
898
|
+
<col width="150px" class="parameters_name">
|
899
|
+
<col class="parameters_description">
|
900
|
+
<col width="200px" class="parameters_annotations">
|
901
|
+
</colgroup>
|
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>
|
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>
|
915
|
+
<p class="since">Since 1.10</p>
|
916
|
+
</div>
|
917
|
+
<hr>
|
918
|
+
<div class="refsect2">
|
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
|
924
|
+
underline or strikethrough, to whole device pixels, that is integer
|
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
|
926
|
+
such lines looking blurry.</p>
|
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
|
931
|
+
of rounding.</p>
|
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">
|
935
|
+
<colgroup>
|
936
|
+
<col width="150px" class="parameters_name">
|
937
|
+
<col class="parameters_description">
|
938
|
+
<col width="200px" class="parameters_annotations">
|
939
|
+
</colgroup>
|
940
|
+
<tbody>
|
941
|
+
<tr>
|
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>
|
945
|
+
</tr>
|
946
|
+
<tr>
|
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>
|
950
|
+
</tr>
|
951
|
+
</tbody>
|
952
|
+
</table></div>
|
953
|
+
</div>
|
954
|
+
<p class="since">Since 1.12</p>
|
955
|
+
</div>
|
956
|
+
</div>
|
957
|
+
<div class="refsect1">
|
958
|
+
<a name="pango-Miscellaneous-Utilities.other_details"></a><h2>Types and Values</h2>
|
959
|
+
</div>
|
960
|
+
</div>
|
961
|
+
<div class="footer">
|
962
|
+
<hr>
|
963
|
+
Generated by GTK-Doc V1.21.1</div>
|
964
|
+
</body>
|
965
|
+
</html>
|