pango 2.2.4-x64-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 +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,1430 @@
|
|
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: Scripts and Languages</title>
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
|
7
|
+
<link rel="home" href="index.html" title="Pango Reference Manual">
|
8
|
+
<link rel="up" href="pango.html" title="Basic Pango Interfaces">
|
9
|
+
<link rel="prev" href="pango-Layout-Objects.html" title="Layout Objects">
|
10
|
+
<link rel="next" href="pango-Bidirectional-Text.html" title="Bidirectional Text">
|
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-Scripts-and-Languages.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span>
|
19
|
+
<a href="#pango-Scripts-and-Languages.object-hierarchy" class="shortcut">Object Hierarchy</a></span>
|
20
|
+
</td>
|
21
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
22
|
+
<td><a accesskey="u" href="pango.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
23
|
+
<td><a accesskey="p" href="pango-Layout-Objects.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
24
|
+
<td><a accesskey="n" href="pango-Bidirectional-Text.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
25
|
+
</tr></table>
|
26
|
+
<div class="refentry">
|
27
|
+
<a name="pango-Scripts-and-Languages"></a><div class="titlepage"></div>
|
28
|
+
<div class="refnamediv"><table width="100%"><tr>
|
29
|
+
<td valign="top">
|
30
|
+
<h2><span class="refentrytitle"><a name="pango-Scripts-and-Languages.top_of_page"></a>Scripts and Languages</span></h2>
|
31
|
+
<p>Scripts and Languages — Identifying writing systems and languages</p>
|
32
|
+
</td>
|
33
|
+
<td class="gallery_image" valign="top" align="right"></td>
|
34
|
+
</tr></table></div>
|
35
|
+
<div class="refsect1">
|
36
|
+
<a name="pango-Scripts-and-Languages.functions"></a><h2>Functions</h2>
|
37
|
+
<div class="informaltable"><table width="100%" border="0">
|
38
|
+
<colgroup>
|
39
|
+
<col width="150px" class="functions_return">
|
40
|
+
<col class="functions_name">
|
41
|
+
</colgroup>
|
42
|
+
<tbody>
|
43
|
+
<tr>
|
44
|
+
<td class="define_keyword">#define</td>
|
45
|
+
<td class="function_name"><a class="link" href="pango-Scripts-and-Languages.html#PANGO-TYPE-SCRIPT:CAPS" title="PANGO_TYPE_SCRIPT">PANGO_TYPE_SCRIPT</a></td>
|
46
|
+
</tr>
|
47
|
+
<tr>
|
48
|
+
<td class="function_type">
|
49
|
+
<a class="link" href="pango-Scripts-and-Languages.html#PangoScript" title="enum PangoScript"><span class="returnvalue">PangoScript</span></a>
|
50
|
+
</td>
|
51
|
+
<td class="function_name">
|
52
|
+
<a class="link" href="pango-Scripts-and-Languages.html#pango-script-for-unichar" title="pango_script_for_unichar ()">pango_script_for_unichar</a> <span class="c_punctuation">()</span>
|
53
|
+
</td>
|
54
|
+
</tr>
|
55
|
+
<tr>
|
56
|
+
<td class="function_type">
|
57
|
+
<a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="returnvalue">PangoLanguage</span></a> *
|
58
|
+
</td>
|
59
|
+
<td class="function_name">
|
60
|
+
<a class="link" href="pango-Scripts-and-Languages.html#pango-script-get-sample-language" title="pango_script_get_sample_language ()">pango_script_get_sample_language</a> <span class="c_punctuation">()</span>
|
61
|
+
</td>
|
62
|
+
</tr>
|
63
|
+
<tr>
|
64
|
+
<td class="function_type">
|
65
|
+
<a class="link" href="pango-Scripts-and-Languages.html#PangoScriptIter" title="PangoScriptIter"><span class="returnvalue">PangoScriptIter</span></a> *
|
66
|
+
</td>
|
67
|
+
<td class="function_name">
|
68
|
+
<a class="link" href="pango-Scripts-and-Languages.html#pango-script-iter-new" title="pango_script_iter_new ()">pango_script_iter_new</a> <span class="c_punctuation">()</span>
|
69
|
+
</td>
|
70
|
+
</tr>
|
71
|
+
<tr>
|
72
|
+
<td class="function_type">
|
73
|
+
<span class="returnvalue">void</span>
|
74
|
+
</td>
|
75
|
+
<td class="function_name">
|
76
|
+
<a class="link" href="pango-Scripts-and-Languages.html#pango-script-iter-get-range" title="pango_script_iter_get_range ()">pango_script_iter_get_range</a> <span class="c_punctuation">()</span>
|
77
|
+
</td>
|
78
|
+
</tr>
|
79
|
+
<tr>
|
80
|
+
<td class="function_type">
|
81
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
82
|
+
</td>
|
83
|
+
<td class="function_name">
|
84
|
+
<a class="link" href="pango-Scripts-and-Languages.html#pango-script-iter-next" title="pango_script_iter_next ()">pango_script_iter_next</a> <span class="c_punctuation">()</span>
|
85
|
+
</td>
|
86
|
+
</tr>
|
87
|
+
<tr>
|
88
|
+
<td class="function_type">
|
89
|
+
<span class="returnvalue">void</span>
|
90
|
+
</td>
|
91
|
+
<td class="function_name">
|
92
|
+
<a class="link" href="pango-Scripts-and-Languages.html#pango-script-iter-free" title="pango_script_iter_free ()">pango_script_iter_free</a> <span class="c_punctuation">()</span>
|
93
|
+
</td>
|
94
|
+
</tr>
|
95
|
+
<tr>
|
96
|
+
<td class="define_keyword">#define</td>
|
97
|
+
<td class="function_name"><a class="link" href="pango-Scripts-and-Languages.html#PANGO-TYPE-LANGUAGE:CAPS" title="PANGO_TYPE_LANGUAGE">PANGO_TYPE_LANGUAGE</a></td>
|
98
|
+
</tr>
|
99
|
+
<tr>
|
100
|
+
<td class="function_type">
|
101
|
+
<a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="returnvalue">PangoLanguage</span></a> *
|
102
|
+
</td>
|
103
|
+
<td class="function_name">
|
104
|
+
<a class="link" href="pango-Scripts-and-Languages.html#pango-language-from-string" title="pango_language_from_string ()">pango_language_from_string</a> <span class="c_punctuation">()</span>
|
105
|
+
</td>
|
106
|
+
</tr>
|
107
|
+
<tr>
|
108
|
+
<td class="function_type">const <span class="returnvalue">char</span> *
|
109
|
+
</td>
|
110
|
+
<td class="function_name">
|
111
|
+
<a class="link" href="pango-Scripts-and-Languages.html#pango-language-to-string" title="pango_language_to_string ()">pango_language_to_string</a> <span class="c_punctuation">()</span>
|
112
|
+
</td>
|
113
|
+
</tr>
|
114
|
+
<tr>
|
115
|
+
<td class="function_type">
|
116
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
117
|
+
</td>
|
118
|
+
<td class="function_name">
|
119
|
+
<a class="link" href="pango-Scripts-and-Languages.html#pango-language-matches" title="pango_language_matches ()">pango_language_matches</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-Scripts-and-Languages.html#pango-language-includes-script" title="pango_language_includes_script ()">pango_language_includes_script</a> <span class="c_punctuation">()</span>
|
128
|
+
</td>
|
129
|
+
</tr>
|
130
|
+
<tr>
|
131
|
+
<td class="function_type">const <a class="link" href="pango-Scripts-and-Languages.html#PangoScript" title="enum PangoScript"><span class="returnvalue">PangoScript</span></a> *
|
132
|
+
</td>
|
133
|
+
<td class="function_name">
|
134
|
+
<a class="link" href="pango-Scripts-and-Languages.html#pango-language-get-scripts" title="pango_language_get_scripts ()">pango_language_get_scripts</a> <span class="c_punctuation">()</span>
|
135
|
+
</td>
|
136
|
+
</tr>
|
137
|
+
<tr>
|
138
|
+
<td class="function_type">
|
139
|
+
<a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="returnvalue">PangoLanguage</span></a> *
|
140
|
+
</td>
|
141
|
+
<td class="function_name">
|
142
|
+
<a class="link" href="pango-Scripts-and-Languages.html#pango-language-get-default" title="pango_language_get_default ()">pango_language_get_default</a> <span class="c_punctuation">()</span>
|
143
|
+
</td>
|
144
|
+
</tr>
|
145
|
+
<tr>
|
146
|
+
<td class="function_type">const <span class="returnvalue">char</span> *
|
147
|
+
</td>
|
148
|
+
<td class="function_name">
|
149
|
+
<a class="link" href="pango-Scripts-and-Languages.html#pango-language-get-sample-string" title="pango_language_get_sample_string ()">pango_language_get_sample_string</a> <span class="c_punctuation">()</span>
|
150
|
+
</td>
|
151
|
+
</tr>
|
152
|
+
</tbody>
|
153
|
+
</table></div>
|
154
|
+
</div>
|
155
|
+
<a name="PangoLanguage"></a><div class="refsect1">
|
156
|
+
<a name="pango-Scripts-and-Languages.other"></a><h2>Types and Values</h2>
|
157
|
+
<div class="informaltable"><table width="100%" border="0">
|
158
|
+
<colgroup>
|
159
|
+
<col width="150px" class="name">
|
160
|
+
<col class="description">
|
161
|
+
</colgroup>
|
162
|
+
<tbody>
|
163
|
+
<tr>
|
164
|
+
<td class="datatype_keyword">enum</td>
|
165
|
+
<td class="function_name"><a class="link" href="pango-Scripts-and-Languages.html#PangoScript" title="enum PangoScript">PangoScript</a></td>
|
166
|
+
</tr>
|
167
|
+
<tr>
|
168
|
+
<td class="datatype_keyword"> </td>
|
169
|
+
<td class="function_name"><a class="link" href="pango-Scripts-and-Languages.html#PangoScriptIter" title="PangoScriptIter">PangoScriptIter</a></td>
|
170
|
+
</tr>
|
171
|
+
<tr>
|
172
|
+
<td class="datatype_keyword"> </td>
|
173
|
+
<td class="function_name"><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage-struct" title="PangoLanguage">PangoLanguage</a></td>
|
174
|
+
</tr>
|
175
|
+
</tbody>
|
176
|
+
</table></div>
|
177
|
+
</div>
|
178
|
+
<div class="refsect1">
|
179
|
+
<a name="pango-Scripts-and-Languages.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
180
|
+
<pre class="screen"> GBoxed
|
181
|
+
<span class="lineart">╰──</span> PangoLanguage
|
182
|
+
GEnum
|
183
|
+
<span class="lineart">╰──</span> PangoScript
|
184
|
+
</pre>
|
185
|
+
</div>
|
186
|
+
<div class="refsect1">
|
187
|
+
<a name="pango-Scripts-and-Languages.description"></a><h2>Description</h2>
|
188
|
+
<p>The functions in this section are used to identify the writing
|
189
|
+
system, or <em class="firstterm">script</em> of individual characters
|
190
|
+
and of ranges within a larger text string.</p>
|
191
|
+
</div>
|
192
|
+
<div class="refsect1">
|
193
|
+
<a name="pango-Scripts-and-Languages.functions_details"></a><h2>Functions</h2>
|
194
|
+
<div class="refsect2">
|
195
|
+
<a name="PANGO-TYPE-SCRIPT:CAPS"></a><h3>PANGO_TYPE_SCRIPT</h3>
|
196
|
+
<pre class="programlisting">#define PANGO_TYPE_SCRIPT (pango_script_get_type ())
|
197
|
+
</pre>
|
198
|
+
</div>
|
199
|
+
<hr>
|
200
|
+
<div class="refsect2">
|
201
|
+
<a name="pango-script-for-unichar"></a><h3>pango_script_for_unichar ()</h3>
|
202
|
+
<pre class="programlisting"><a class="link" href="pango-Scripts-and-Languages.html#PangoScript" title="enum PangoScript"><span class="returnvalue">PangoScript</span></a>
|
203
|
+
pango_script_for_unichar (<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>
|
204
|
+
<p>Looks up the <a class="link" href="pango-Scripts-and-Languages.html#PangoScript" title="enum PangoScript"><span class="type">PangoScript</span></a> for a particular character (as defined by
|
205
|
+
Unicode Standard Annex #24). No check is made for <em class="parameter"><code>ch</code></em>
|
206
|
+
being a
|
207
|
+
valid Unicode character; if you pass in invalid character, the
|
208
|
+
result is undefined.</p>
|
209
|
+
<p>As of Pango 1.18, this function simply returns the return value of
|
210
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Unicode-Manipulation.html#g-unichar-get-script"><code class="function">g_unichar_get_script()</code></a>.</p>
|
211
|
+
<div class="refsect3">
|
212
|
+
<a name="id-1.2.9.8.3.6"></a><h4>Parameters</h4>
|
213
|
+
<div class="informaltable"><table width="100%" border="0">
|
214
|
+
<colgroup>
|
215
|
+
<col width="150px" class="parameters_name">
|
216
|
+
<col class="parameters_description">
|
217
|
+
<col width="200px" class="parameters_annotations">
|
218
|
+
</colgroup>
|
219
|
+
<tbody><tr>
|
220
|
+
<td class="parameter_name"><p>ch</p></td>
|
221
|
+
<td class="parameter_description"><p>a Unicode character</p></td>
|
222
|
+
<td class="parameter_annotations"> </td>
|
223
|
+
</tr></tbody>
|
224
|
+
</table></div>
|
225
|
+
</div>
|
226
|
+
<div class="refsect3">
|
227
|
+
<a name="id-1.2.9.8.3.7"></a><h4>Returns</h4>
|
228
|
+
<p> the <a class="link" href="pango-Scripts-and-Languages.html#PangoScript" title="enum PangoScript"><span class="type">PangoScript</span></a> for the character.</p>
|
229
|
+
<p></p>
|
230
|
+
</div>
|
231
|
+
<p class="since">Since 1.4</p>
|
232
|
+
</div>
|
233
|
+
<hr>
|
234
|
+
<div class="refsect2">
|
235
|
+
<a name="pango-script-get-sample-language"></a><h3>pango_script_get_sample_language ()</h3>
|
236
|
+
<pre class="programlisting"><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="returnvalue">PangoLanguage</span></a> *
|
237
|
+
pango_script_get_sample_language (<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoScript" title="enum PangoScript"><span class="type">PangoScript</span></a> script</code></em>);</pre>
|
238
|
+
<p>Given a script, finds a language tag that is reasonably
|
239
|
+
representative of that script. This will usually be the
|
240
|
+
most widely spoken or used language written in that script:
|
241
|
+
for instance, the sample language for <a class="link" href="pango-Scripts-and-Languages.html#PANGO-SCRIPT-CYRILLIC:CAPS"><code class="literal">PANGO_SCRIPT_CYRILLIC</code></a>
|
242
|
+
is <code class="literal">ru</code> (Russian), the sample language
|
243
|
+
for <a class="link" href="pango-Scripts-and-Languages.html#PANGO-SCRIPT-ARABIC:CAPS"><code class="literal">PANGO_SCRIPT_ARABIC</code></a> is <code class="literal">ar</code>.</p>
|
244
|
+
<p>For some
|
245
|
+
scripts, no sample language will be returned because there
|
246
|
+
is no language that is sufficiently representative. The best
|
247
|
+
example of this is <a class="link" href="pango-Scripts-and-Languages.html#PANGO-SCRIPT-HAN:CAPS"><code class="literal">PANGO_SCRIPT_HAN</code></a>, where various different
|
248
|
+
variants of written Chinese, Japanese, and Korean all use
|
249
|
+
significantly different sets of Han characters and forms
|
250
|
+
of shared characters. No sample language can be provided
|
251
|
+
for many historical scripts as well.</p>
|
252
|
+
<p>As of 1.18, this function checks the environment variables
|
253
|
+
PANGO_LANGUAGE and LANGUAGE (checked in that order) first.
|
254
|
+
If one of them is set, it is parsed as a list of language tags
|
255
|
+
separated by colons or other separators. This function
|
256
|
+
will return the first language in the parsed list that Pango
|
257
|
+
believes may use <em class="parameter"><code>script</code></em>
|
258
|
+
for writing. This last predicate
|
259
|
+
is tested using <a class="link" href="pango-Scripts-and-Languages.html#pango-language-includes-script" title="pango_language_includes_script ()"><code class="function">pango_language_includes_script()</code></a>. This can
|
260
|
+
be used to control Pango's font selection for non-primary
|
261
|
+
languages. For example, a PANGO_LANGUAGE enviroment variable
|
262
|
+
set to "en:fa" makes Pango choose fonts suitable for Persian (fa)
|
263
|
+
instead of Arabic (ar) when a segment of Arabic text is found
|
264
|
+
in an otherwise non-Arabic text. The same trick can be used to
|
265
|
+
choose a default language for <a class="link" href="pango-Scripts-and-Languages.html#PANGO-SCRIPT-HAN:CAPS"><code class="literal">PANGO_SCRIPT_HAN</code></a> when setting
|
266
|
+
context language is not feasible.</p>
|
267
|
+
<div class="refsect3">
|
268
|
+
<a name="id-1.2.9.8.4.7"></a><h4>Parameters</h4>
|
269
|
+
<div class="informaltable"><table width="100%" border="0">
|
270
|
+
<colgroup>
|
271
|
+
<col width="150px" class="parameters_name">
|
272
|
+
<col class="parameters_description">
|
273
|
+
<col width="200px" class="parameters_annotations">
|
274
|
+
</colgroup>
|
275
|
+
<tbody><tr>
|
276
|
+
<td class="parameter_name"><p>script</p></td>
|
277
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Scripts-and-Languages.html#PangoScript" title="enum PangoScript"><span class="type">PangoScript</span></a></p></td>
|
278
|
+
<td class="parameter_annotations"> </td>
|
279
|
+
</tr></tbody>
|
280
|
+
</table></div>
|
281
|
+
</div>
|
282
|
+
<div class="refsect3">
|
283
|
+
<a name="id-1.2.9.8.4.8"></a><h4>Returns</h4>
|
284
|
+
<p> a <a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> that is representative
|
285
|
+
of the script, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if no such language exists.</p>
|
286
|
+
<p></p>
|
287
|
+
</div>
|
288
|
+
<p class="since">Since 1.4</p>
|
289
|
+
</div>
|
290
|
+
<hr>
|
291
|
+
<div class="refsect2">
|
292
|
+
<a name="pango-script-iter-new"></a><h3>pango_script_iter_new ()</h3>
|
293
|
+
<pre class="programlisting"><a class="link" href="pango-Scripts-and-Languages.html#PangoScriptIter" title="PangoScriptIter"><span class="returnvalue">PangoScriptIter</span></a> *
|
294
|
+
pango_script_iter_new (<em class="parameter"><code>const <span class="type">char</span> *text</code></em>,
|
295
|
+
<em class="parameter"><code><span class="type">int</span> length</code></em>);</pre>
|
296
|
+
<p>Create a new <a class="link" href="pango-Scripts-and-Languages.html#PangoScriptIter" title="PangoScriptIter"><span class="type">PangoScriptIter</span></a>, used to break a string of
|
297
|
+
Unicode into runs by text. No copy is made of <em class="parameter"><code>text</code></em>
|
298
|
+
, so
|
299
|
+
the caller needs to make sure it remains valid until
|
300
|
+
the iterator is freed with <a class="link" href="pango-Scripts-and-Languages.html#pango-script-iter-free" title="pango_script_iter_free ()"><code class="function">pango_script_iter_free()</code></a>.</p>
|
301
|
+
<div class="refsect3">
|
302
|
+
<a name="id-1.2.9.8.5.5"></a><h4>Parameters</h4>
|
303
|
+
<div class="informaltable"><table width="100%" border="0">
|
304
|
+
<colgroup>
|
305
|
+
<col width="150px" class="parameters_name">
|
306
|
+
<col class="parameters_description">
|
307
|
+
<col width="200px" class="parameters_annotations">
|
308
|
+
</colgroup>
|
309
|
+
<tbody>
|
310
|
+
<tr>
|
311
|
+
<td class="parameter_name"><p>text</p></td>
|
312
|
+
<td class="parameter_description"><p>a UTF-8 string</p></td>
|
313
|
+
<td class="parameter_annotations"> </td>
|
314
|
+
</tr>
|
315
|
+
<tr>
|
316
|
+
<td class="parameter_name"><p>length</p></td>
|
317
|
+
<td class="parameter_description"><p>length of <em class="parameter"><code>text</code></em>
|
318
|
+
, or -1 if <em class="parameter"><code>text</code></em>
|
319
|
+
is nul-terminated.</p></td>
|
320
|
+
<td class="parameter_annotations"> </td>
|
321
|
+
</tr>
|
322
|
+
</tbody>
|
323
|
+
</table></div>
|
324
|
+
</div>
|
325
|
+
<div class="refsect3">
|
326
|
+
<a name="id-1.2.9.8.5.6"></a><h4>Returns</h4>
|
327
|
+
<p> the new script iterator, initialized
|
328
|
+
to point at the first range in the text, which should be
|
329
|
+
freed with <a class="link" href="pango-Scripts-and-Languages.html#pango-script-iter-free" title="pango_script_iter_free ()"><code class="function">pango_script_iter_free()</code></a>. If the string is
|
330
|
+
empty, it will point at an empty range.</p>
|
331
|
+
<p></p>
|
332
|
+
</div>
|
333
|
+
<p class="since">Since 1.4</p>
|
334
|
+
</div>
|
335
|
+
<hr>
|
336
|
+
<div class="refsect2">
|
337
|
+
<a name="pango-script-iter-get-range"></a><h3>pango_script_iter_get_range ()</h3>
|
338
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
339
|
+
pango_script_iter_get_range (<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoScriptIter" title="PangoScriptIter"><span class="type">PangoScriptIter</span></a> *iter</code></em>,
|
340
|
+
<em class="parameter"><code>const <span class="type">char</span> **start</code></em>,
|
341
|
+
<em class="parameter"><code>const <span class="type">char</span> **end</code></em>,
|
342
|
+
<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoScript" title="enum PangoScript"><span class="type">PangoScript</span></a> *script</code></em>);</pre>
|
343
|
+
<p>Gets information about the range to which <em class="parameter"><code>iter</code></em>
|
344
|
+
currently points.
|
345
|
+
The range is the set of locations p where *start <= p < *end.
|
346
|
+
(That is, it doesn't include the character stored at *end)</p>
|
347
|
+
<div class="refsect3">
|
348
|
+
<a name="id-1.2.9.8.6.5"></a><h4>Parameters</h4>
|
349
|
+
<div class="informaltable"><table width="100%" border="0">
|
350
|
+
<colgroup>
|
351
|
+
<col width="150px" class="parameters_name">
|
352
|
+
<col class="parameters_description">
|
353
|
+
<col width="200px" class="parameters_annotations">
|
354
|
+
</colgroup>
|
355
|
+
<tbody>
|
356
|
+
<tr>
|
357
|
+
<td class="parameter_name"><p>iter</p></td>
|
358
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Scripts-and-Languages.html#PangoScriptIter" title="PangoScriptIter"><span class="type">PangoScriptIter</span></a></p></td>
|
359
|
+
<td class="parameter_annotations"> </td>
|
360
|
+
</tr>
|
361
|
+
<tr>
|
362
|
+
<td class="parameter_name"><p>start</p></td>
|
363
|
+
<td class="parameter_description"><p> location to store start position of the range, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
364
|
+
<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>
|
365
|
+
</tr>
|
366
|
+
<tr>
|
367
|
+
<td class="parameter_name"><p>end</p></td>
|
368
|
+
<td class="parameter_description"><p> location to store end position of the range, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
369
|
+
<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>
|
370
|
+
</tr>
|
371
|
+
<tr>
|
372
|
+
<td class="parameter_name"><p>script</p></td>
|
373
|
+
<td class="parameter_description"><p> location to store script for range, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
374
|
+
<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>
|
375
|
+
</tr>
|
376
|
+
</tbody>
|
377
|
+
</table></div>
|
378
|
+
</div>
|
379
|
+
<p class="since">Since 1.4</p>
|
380
|
+
</div>
|
381
|
+
<hr>
|
382
|
+
<div class="refsect2">
|
383
|
+
<a name="pango-script-iter-next"></a><h3>pango_script_iter_next ()</h3>
|
384
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
385
|
+
pango_script_iter_next (<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoScriptIter" title="PangoScriptIter"><span class="type">PangoScriptIter</span></a> *iter</code></em>);</pre>
|
386
|
+
<p>Advances a <a class="link" href="pango-Scripts-and-Languages.html#PangoScriptIter" title="PangoScriptIter"><span class="type">PangoScriptIter</span></a> to the next range. If <em class="parameter"><code>iter</code></em>
|
387
|
+
|
388
|
+
is already at the end, it is left unchanged and <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>
|
389
|
+
is returned.</p>
|
390
|
+
<div class="refsect3">
|
391
|
+
<a name="id-1.2.9.8.7.5"></a><h4>Parameters</h4>
|
392
|
+
<div class="informaltable"><table width="100%" border="0">
|
393
|
+
<colgroup>
|
394
|
+
<col width="150px" class="parameters_name">
|
395
|
+
<col class="parameters_description">
|
396
|
+
<col width="200px" class="parameters_annotations">
|
397
|
+
</colgroup>
|
398
|
+
<tbody><tr>
|
399
|
+
<td class="parameter_name"><p>iter</p></td>
|
400
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Scripts-and-Languages.html#PangoScriptIter" title="PangoScriptIter"><span class="type">PangoScriptIter</span></a></p></td>
|
401
|
+
<td class="parameter_annotations"> </td>
|
402
|
+
</tr></tbody>
|
403
|
+
</table></div>
|
404
|
+
</div>
|
405
|
+
<div class="refsect3">
|
406
|
+
<a name="id-1.2.9.8.7.6"></a><h4>Returns</h4>
|
407
|
+
<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>iter</code></em>
|
408
|
+
was successfully advanced.</p>
|
409
|
+
<p></p>
|
410
|
+
</div>
|
411
|
+
<p class="since">Since 1.4</p>
|
412
|
+
</div>
|
413
|
+
<hr>
|
414
|
+
<div class="refsect2">
|
415
|
+
<a name="pango-script-iter-free"></a><h3>pango_script_iter_free ()</h3>
|
416
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
417
|
+
pango_script_iter_free (<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoScriptIter" title="PangoScriptIter"><span class="type">PangoScriptIter</span></a> *iter</code></em>);</pre>
|
418
|
+
<p>Frees a <a class="link" href="pango-Scripts-and-Languages.html#PangoScriptIter" title="PangoScriptIter"><span class="type">PangoScriptIter</span></a> created with <a class="link" href="pango-Scripts-and-Languages.html#pango-script-iter-new" title="pango_script_iter_new ()"><code class="function">pango_script_iter_new()</code></a>.</p>
|
419
|
+
<div class="refsect3">
|
420
|
+
<a name="id-1.2.9.8.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><tr>
|
428
|
+
<td class="parameter_name"><p>iter</p></td>
|
429
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Scripts-and-Languages.html#PangoScriptIter" title="PangoScriptIter"><span class="type">PangoScriptIter</span></a></p></td>
|
430
|
+
<td class="parameter_annotations"> </td>
|
431
|
+
</tr></tbody>
|
432
|
+
</table></div>
|
433
|
+
</div>
|
434
|
+
<p class="since">Since 1.4</p>
|
435
|
+
</div>
|
436
|
+
<hr>
|
437
|
+
<div class="refsect2">
|
438
|
+
<a name="PANGO-TYPE-LANGUAGE:CAPS"></a><h3>PANGO_TYPE_LANGUAGE</h3>
|
439
|
+
<pre class="programlisting">#define PANGO_TYPE_LANGUAGE (pango_language_get_type ())
|
440
|
+
</pre>
|
441
|
+
<p>The <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> type for <a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a>.</p>
|
442
|
+
</div>
|
443
|
+
<hr>
|
444
|
+
<div class="refsect2">
|
445
|
+
<a name="pango-language-from-string"></a><h3>pango_language_from_string ()</h3>
|
446
|
+
<pre class="programlisting"><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="returnvalue">PangoLanguage</span></a> *
|
447
|
+
pango_language_from_string (<em class="parameter"><code>const <span class="type">char</span> *language</code></em>);</pre>
|
448
|
+
<p>Take a RFC-3066 format language tag as a string and convert it to a
|
449
|
+
<a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> pointer that can be efficiently copied (copy the
|
450
|
+
pointer) and compared with other language tags (compare the
|
451
|
+
pointer.)</p>
|
452
|
+
<p>This function first canonicalizes the string by converting it to
|
453
|
+
lowercase, mapping '_' to '-', and stripping all characters other
|
454
|
+
than letters and '-'.</p>
|
455
|
+
<p>Use <a class="link" href="pango-Scripts-and-Languages.html#pango-language-get-default" title="pango_language_get_default ()"><code class="function">pango_language_get_default()</code></a> if you want to get the <a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> for
|
456
|
+
the current locale of the process.</p>
|
457
|
+
<div class="refsect3">
|
458
|
+
<a name="id-1.2.9.8.10.7"></a><h4>Parameters</h4>
|
459
|
+
<div class="informaltable"><table width="100%" border="0">
|
460
|
+
<colgroup>
|
461
|
+
<col width="150px" class="parameters_name">
|
462
|
+
<col class="parameters_description">
|
463
|
+
<col width="200px" class="parameters_annotations">
|
464
|
+
</colgroup>
|
465
|
+
<tbody><tr>
|
466
|
+
<td class="parameter_name"><p>language</p></td>
|
467
|
+
<td class="parameter_description"><p> a string representing a language tag, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
468
|
+
<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>
|
469
|
+
</tr></tbody>
|
470
|
+
</table></div>
|
471
|
+
</div>
|
472
|
+
<div class="refsect3">
|
473
|
+
<a name="id-1.2.9.8.10.8"></a><h4>Returns</h4>
|
474
|
+
<p> an opaque pointer to a
|
475
|
+
<a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> structure, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>language</code></em>
|
476
|
+
was
|
477
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. The returned pointer will be valid forever
|
478
|
+
after, and should not be freed. </p>
|
479
|
+
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
480
|
+
</div>
|
481
|
+
</div>
|
482
|
+
<hr>
|
483
|
+
<div class="refsect2">
|
484
|
+
<a name="pango-language-to-string"></a><h3>pango_language_to_string ()</h3>
|
485
|
+
<pre class="programlisting">const <span class="returnvalue">char</span> *
|
486
|
+
pango_language_to_string (<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> *language</code></em>);</pre>
|
487
|
+
<p>Gets the RFC-3066 format string representing the given language tag.</p>
|
488
|
+
<div class="refsect3">
|
489
|
+
<a name="id-1.2.9.8.11.5"></a><h4>Parameters</h4>
|
490
|
+
<div class="informaltable"><table width="100%" border="0">
|
491
|
+
<colgroup>
|
492
|
+
<col width="150px" class="parameters_name">
|
493
|
+
<col class="parameters_description">
|
494
|
+
<col width="200px" class="parameters_annotations">
|
495
|
+
</colgroup>
|
496
|
+
<tbody><tr>
|
497
|
+
<td class="parameter_name"><p>language</p></td>
|
498
|
+
<td class="parameter_description"><p>a language tag.</p></td>
|
499
|
+
<td class="parameter_annotations"> </td>
|
500
|
+
</tr></tbody>
|
501
|
+
</table></div>
|
502
|
+
</div>
|
503
|
+
<div class="refsect3">
|
504
|
+
<a name="id-1.2.9.8.11.6"></a><h4>Returns</h4>
|
505
|
+
<p> a string representing the language tag. This is owned by
|
506
|
+
Pango and should not be freed.</p>
|
507
|
+
<p></p>
|
508
|
+
</div>
|
509
|
+
</div>
|
510
|
+
<hr>
|
511
|
+
<div class="refsect2">
|
512
|
+
<a name="pango-language-matches"></a><h3>pango_language_matches ()</h3>
|
513
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
514
|
+
pango_language_matches (<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> *language</code></em>,
|
515
|
+
<em class="parameter"><code>const <span class="type">char</span> *range_list</code></em>);</pre>
|
516
|
+
<p>Checks if a language tag matches one of the elements in a list of
|
517
|
+
language ranges. A language tag is considered to match a range
|
518
|
+
in the list if the range is '*', the range is exactly the tag,
|
519
|
+
or the range is a prefix of the tag, and the character after it
|
520
|
+
in the tag is '-'.</p>
|
521
|
+
<div class="refsect3">
|
522
|
+
<a name="id-1.2.9.8.12.5"></a><h4>Parameters</h4>
|
523
|
+
<div class="informaltable"><table width="100%" border="0">
|
524
|
+
<colgroup>
|
525
|
+
<col width="150px" class="parameters_name">
|
526
|
+
<col class="parameters_description">
|
527
|
+
<col width="200px" class="parameters_annotations">
|
528
|
+
</colgroup>
|
529
|
+
<tbody>
|
530
|
+
<tr>
|
531
|
+
<td class="parameter_name"><p>language</p></td>
|
532
|
+
<td class="parameter_description"><p>a language tag (see <a class="link" href="pango-Scripts-and-Languages.html#pango-language-from-string" title="pango_language_from_string ()"><code class="function">pango_language_from_string()</code></a>),
|
533
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> is allowed and matches nothing but '*'</p></td>
|
534
|
+
<td class="parameter_annotations"> </td>
|
535
|
+
</tr>
|
536
|
+
<tr>
|
537
|
+
<td class="parameter_name"><p>range_list</p></td>
|
538
|
+
<td class="parameter_description"><p>a list of language ranges, separated by ';', ':',
|
539
|
+
',', or space characters.
|
540
|
+
Each element must either be '*', or a RFC 3066 language range
|
541
|
+
canonicalized as by <a class="link" href="pango-Scripts-and-Languages.html#pango-language-from-string" title="pango_language_from_string ()"><code class="function">pango_language_from_string()</code></a></p></td>
|
542
|
+
<td class="parameter_annotations"> </td>
|
543
|
+
</tr>
|
544
|
+
</tbody>
|
545
|
+
</table></div>
|
546
|
+
</div>
|
547
|
+
<div class="refsect3">
|
548
|
+
<a name="id-1.2.9.8.12.6"></a><h4>Returns</h4>
|
549
|
+
<p> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if a match was found.</p>
|
550
|
+
<p></p>
|
551
|
+
</div>
|
552
|
+
</div>
|
553
|
+
<hr>
|
554
|
+
<div class="refsect2">
|
555
|
+
<a name="pango-language-includes-script"></a><h3>pango_language_includes_script ()</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_language_includes_script (<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> *language</code></em>,
|
558
|
+
<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoScript" title="enum PangoScript"><span class="type">PangoScript</span></a> script</code></em>);</pre>
|
559
|
+
<p>Determines if <em class="parameter"><code>script</code></em>
|
560
|
+
is one of the scripts used to
|
561
|
+
write <em class="parameter"><code>language</code></em>
|
562
|
+
. The returned value is conservative;
|
563
|
+
if nothing is known about the language tag <em class="parameter"><code>language</code></em>
|
564
|
+
,
|
565
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> will be returned, since, as far as Pango knows,
|
566
|
+
<em class="parameter"><code>script</code></em>
|
567
|
+
might be used to write <em class="parameter"><code>language</code></em>
|
568
|
+
.</p>
|
569
|
+
<p>This routine is used in Pango's itemization process when
|
570
|
+
determining if a supplied language tag is relevant to
|
571
|
+
a particular section of text. It probably is not useful for
|
572
|
+
applications in most circumstances.</p>
|
573
|
+
<p>This function uses <a class="link" href="pango-Scripts-and-Languages.html#pango-language-get-scripts" title="pango_language_get_scripts ()"><code class="function">pango_language_get_scripts()</code></a> internally.</p>
|
574
|
+
<div class="refsect3">
|
575
|
+
<a name="id-1.2.9.8.13.7"></a><h4>Parameters</h4>
|
576
|
+
<div class="informaltable"><table width="100%" border="0">
|
577
|
+
<colgroup>
|
578
|
+
<col width="150px" class="parameters_name">
|
579
|
+
<col class="parameters_description">
|
580
|
+
<col width="200px" class="parameters_annotations">
|
581
|
+
</colgroup>
|
582
|
+
<tbody>
|
583
|
+
<tr>
|
584
|
+
<td class="parameter_name"><p>language</p></td>
|
585
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
|
586
|
+
<td class="parameter_annotations"> </td>
|
587
|
+
</tr>
|
588
|
+
<tr>
|
589
|
+
<td class="parameter_name"><p>script</p></td>
|
590
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Scripts-and-Languages.html#PangoScript" title="enum PangoScript"><span class="type">PangoScript</span></a></p></td>
|
591
|
+
<td class="parameter_annotations"> </td>
|
592
|
+
</tr>
|
593
|
+
</tbody>
|
594
|
+
</table></div>
|
595
|
+
</div>
|
596
|
+
<div class="refsect3">
|
597
|
+
<a name="id-1.2.9.8.13.8"></a><h4>Returns</h4>
|
598
|
+
<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>script</code></em>
|
599
|
+
is one of the scripts used
|
600
|
+
to write <em class="parameter"><code>language</code></em>
|
601
|
+
or if nothing is known about <em class="parameter"><code>language</code></em>
|
602
|
+
(including the case that <em class="parameter"><code>language</code></em>
|
603
|
+
is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>),
|
604
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</p>
|
605
|
+
<p></p>
|
606
|
+
</div>
|
607
|
+
<p class="since">Since 1.4</p>
|
608
|
+
</div>
|
609
|
+
<hr>
|
610
|
+
<div class="refsect2">
|
611
|
+
<a name="pango-language-get-scripts"></a><h3>pango_language_get_scripts ()</h3>
|
612
|
+
<pre class="programlisting">const <a class="link" href="pango-Scripts-and-Languages.html#PangoScript" title="enum PangoScript"><span class="returnvalue">PangoScript</span></a> *
|
613
|
+
pango_language_get_scripts (<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> *language</code></em>,
|
614
|
+
<em class="parameter"><code><span class="type">int</span> *num_scripts</code></em>);</pre>
|
615
|
+
<p>Determines the scripts used to to write <em class="parameter"><code>language</code></em>
|
616
|
+
.
|
617
|
+
If nothing is known about the language tag <em class="parameter"><code>language</code></em>
|
618
|
+
,
|
619
|
+
or if <em class="parameter"><code>language</code></em>
|
620
|
+
is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, then <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> is returned.
|
621
|
+
The list of scripts returned starts with the script that the
|
622
|
+
language uses most and continues to the one it uses least.</p>
|
623
|
+
<p>The value <em class="parameter"><code>num_script</code></em>
|
624
|
+
points at will be set to the number
|
625
|
+
of scripts in the returned array (or zero if <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> is returned).</p>
|
626
|
+
<p>Most languages use only one script for writing, but there are
|
627
|
+
some that use two (Latin and Cyrillic for example), and a few
|
628
|
+
use three (Japanese for example). Applications should not make
|
629
|
+
any assumptions on the maximum number of scripts returned
|
630
|
+
though, except that it is positive if the return value is not
|
631
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, and it is a small number.</p>
|
632
|
+
<p>The <a class="link" href="pango-Scripts-and-Languages.html#pango-language-includes-script" title="pango_language_includes_script ()"><code class="function">pango_language_includes_script()</code></a> function uses this function
|
633
|
+
internally.</p>
|
634
|
+
<div class="refsect3">
|
635
|
+
<a name="id-1.2.9.8.14.8"></a><h4>Parameters</h4>
|
636
|
+
<div class="informaltable"><table width="100%" border="0">
|
637
|
+
<colgroup>
|
638
|
+
<col width="150px" class="parameters_name">
|
639
|
+
<col class="parameters_description">
|
640
|
+
<col width="200px" class="parameters_annotations">
|
641
|
+
</colgroup>
|
642
|
+
<tbody>
|
643
|
+
<tr>
|
644
|
+
<td class="parameter_name"><p>language</p></td>
|
645
|
+
<td class="parameter_description"><p> a <a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
646
|
+
<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>
|
647
|
+
</tr>
|
648
|
+
<tr>
|
649
|
+
<td class="parameter_name"><p>num_scripts</p></td>
|
650
|
+
<td class="parameter_description"><p> location to return number of scripts,
|
651
|
+
or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
652
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Out parameter, where caller must allocate storage."><span class="acronym">out caller-allocates</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
653
|
+
</tr>
|
654
|
+
</tbody>
|
655
|
+
</table></div>
|
656
|
+
</div>
|
657
|
+
<div class="refsect3">
|
658
|
+
<a name="id-1.2.9.8.14.9"></a><h4>Returns</h4>
|
659
|
+
<p> An array of <a class="link" href="pango-Scripts-and-Languages.html#PangoScript" title="enum PangoScript"><span class="type">PangoScript</span></a>
|
660
|
+
values, with the number of entries in the array stored in
|
661
|
+
<em class="parameter"><code>num_scripts</code></em>
|
662
|
+
, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if Pango does not have any information about
|
663
|
+
this particular language tag (also the case if <em class="parameter"><code>language</code></em>
|
664
|
+
is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>).
|
665
|
+
The returned array is owned by Pango and should not be modified or
|
666
|
+
freed. </p>
|
667
|
+
<p><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=num_scripts]</span></p>
|
668
|
+
</div>
|
669
|
+
<p class="since">Since 1.22</p>
|
670
|
+
</div>
|
671
|
+
<hr>
|
672
|
+
<div class="refsect2">
|
673
|
+
<a name="pango-language-get-default"></a><h3>pango_language_get_default ()</h3>
|
674
|
+
<pre class="programlisting"><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="returnvalue">PangoLanguage</span></a> *
|
675
|
+
pango_language_get_default (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
676
|
+
<p>Returns the <a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> for the current locale of the process.
|
677
|
+
Note that this can change over the life of an application.</p>
|
678
|
+
<p>On Unix systems, this is the return value is derived from
|
679
|
+
<code class="literal">setlocale(LC_CTYPE, NULL)</code>, and the user can
|
680
|
+
affect this through the environment variables LC_ALL, LC_CTYPE or
|
681
|
+
LANG (checked in that order). The locale string typically is in
|
682
|
+
the form lang_COUNTRY, where lang is an ISO-639 language code, and
|
683
|
+
COUNTRY is an ISO-3166 country code. For instance, sv_FI for
|
684
|
+
Swedish as written in Finland or pt_BR for Portuguese as written in
|
685
|
+
Brazil.</p>
|
686
|
+
<p>On Windows, the C library does not use any such environment
|
687
|
+
variables, and setting them won't affect the behavior of functions
|
688
|
+
like <code class="function">ctime()</code>. The user sets the locale through the Regional Options
|
689
|
+
in the Control Panel. The C library (in the <a href="http://library.gnome.org/devel/glib/unstable/glib-running.html#setlocale"><code class="function">setlocale()</code></a> function)
|
690
|
+
does not use country and language codes, but country and language
|
691
|
+
names spelled out in English.
|
692
|
+
However, this function does check the above environment
|
693
|
+
variables, and does return a Unix-style locale string based on
|
694
|
+
either said environment variables or the thread's current locale.</p>
|
695
|
+
<p>Your application should call <code class="literal">setlocale(LC_ALL, "");</code>
|
696
|
+
for the user settings to take effect. Gtk+ does this in its initialization
|
697
|
+
functions automatically (by calling <a href="http://library.gnome.org/devel/gtk3/gtk2-General.html#gtk-set-locale"><code class="function">gtk_set_locale()</code></a>).
|
698
|
+
See <code class="literal">man setlocale</code> for more details.</p>
|
699
|
+
<div class="refsect3">
|
700
|
+
<a name="id-1.2.9.8.15.8"></a><h4>Returns</h4>
|
701
|
+
<p> the default language as a
|
702
|
+
<a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a>, must not be freed. </p>
|
703
|
+
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
704
|
+
</div>
|
705
|
+
<p class="since">Since 1.16</p>
|
706
|
+
</div>
|
707
|
+
<hr>
|
708
|
+
<div class="refsect2">
|
709
|
+
<a name="pango-language-get-sample-string"></a><h3>pango_language_get_sample_string ()</h3>
|
710
|
+
<pre class="programlisting">const <span class="returnvalue">char</span> *
|
711
|
+
pango_language_get_sample_string (<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> *language</code></em>);</pre>
|
712
|
+
<p>Get a string that is representative of the characters needed to
|
713
|
+
render a particular language.</p>
|
714
|
+
<p>The sample text may be a pangram, but is not necessarily. It is chosen to
|
715
|
+
be demonstrative of normal text in the language, as well as exposing font
|
716
|
+
feature requirements unique to the language. It is suitable for use
|
717
|
+
as sample text in a font selection dialog.</p>
|
718
|
+
<p>If <em class="parameter"><code>language</code></em>
|
719
|
+
is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, the default language as found by
|
720
|
+
<a class="link" href="pango-Scripts-and-Languages.html#pango-language-get-default" title="pango_language_get_default ()"><code class="function">pango_language_get_default()</code></a> is used.</p>
|
721
|
+
<p>If Pango does not have a sample string for <em class="parameter"><code>language</code></em>
|
722
|
+
, the classic
|
723
|
+
"The quick brown fox..." is returned. This can be detected by
|
724
|
+
comparing the returned pointer value to that returned for (non-existent)
|
725
|
+
language code "xx". That is, compare to:</p>
|
726
|
+
<div class="informalexample">
|
727
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
728
|
+
<tbody>
|
729
|
+
<tr>
|
730
|
+
<td class="listing_lines" align="right"><pre>1</pre></td>
|
731
|
+
<td class="listing_code"><pre class="programlisting"><span class="function"><a href="pango-Scripts-and-Languages.html#pango-language-get-sample-string">pango_language_get_sample_string</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="pango-Scripts-and-Languages.html#pango-language-from-string">pango_language_from_string</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"xx"</span><span class="symbol">))</span></pre></td>
|
732
|
+
</tr>
|
733
|
+
</tbody>
|
734
|
+
</table>
|
735
|
+
</div>
|
736
|
+
|
737
|
+
<div class="refsect3">
|
738
|
+
<a name="id-1.2.9.8.16.9"></a><h4>Parameters</h4>
|
739
|
+
<div class="informaltable"><table width="100%" border="0">
|
740
|
+
<colgroup>
|
741
|
+
<col width="150px" class="parameters_name">
|
742
|
+
<col class="parameters_description">
|
743
|
+
<col width="200px" class="parameters_annotations">
|
744
|
+
</colgroup>
|
745
|
+
<tbody><tr>
|
746
|
+
<td class="parameter_name"><p>language</p></td>
|
747
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
|
748
|
+
<td class="parameter_annotations"> </td>
|
749
|
+
</tr></tbody>
|
750
|
+
</table></div>
|
751
|
+
</div>
|
752
|
+
<div class="refsect3">
|
753
|
+
<a name="id-1.2.9.8.16.10"></a><h4>Returns</h4>
|
754
|
+
<p> the sample string. This value is owned by Pango
|
755
|
+
and should not be freed.</p>
|
756
|
+
<p></p>
|
757
|
+
</div>
|
758
|
+
</div>
|
759
|
+
</div>
|
760
|
+
<div class="refsect1">
|
761
|
+
<a name="pango-Scripts-and-Languages.other_details"></a><h2>Types and Values</h2>
|
762
|
+
<div class="refsect2">
|
763
|
+
<a name="PangoScript"></a><h3>enum PangoScript</h3>
|
764
|
+
<p>The <a class="link" href="pango-Scripts-and-Languages.html#PangoScript" title="enum PangoScript"><span class="type">PangoScript</span></a> enumeration identifies different writing
|
765
|
+
systems. The values correspond to the names as defined in the
|
766
|
+
Unicode standard.
|
767
|
+
Note that new types may be added in the future. Applications should be ready
|
768
|
+
to handle unknown values. This enumeration is interchangeable with
|
769
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Unicode-Manipulation.html#GUnicodeScript"><span class="type">GUnicodeScript</span></a>. See <a class="ulink" href="http://www.unicode.org/reports/tr24/" target="_top">Unicode Standard Annex
|
770
|
+
<span class="type">24</span>: Script names</a>.</p>
|
771
|
+
<div class="refsect3">
|
772
|
+
<a name="id-1.2.9.9.2.4"></a><h4>Members</h4>
|
773
|
+
<div class="informaltable"><table width="100%" border="0">
|
774
|
+
<colgroup>
|
775
|
+
<col width="300px" class="enum_members_name">
|
776
|
+
<col class="enum_members_description">
|
777
|
+
<col width="200px" class="enum_members_annotations">
|
778
|
+
</colgroup>
|
779
|
+
<tbody>
|
780
|
+
<tr>
|
781
|
+
<td class="enum_member_name"><p><a name="PANGO-SCRIPT-INVALID-CODE:CAPS"></a>PANGO_SCRIPT_INVALID_CODE</p></td>
|
782
|
+
<td class="enum_member_description">
|
783
|
+
<p>a value never returned from <a class="link" href="pango-Scripts-and-Languages.html#pango-script-for-unichar" title="pango_script_for_unichar ()"><code class="function">pango_script_for_unichar()</code></a></p>
|
784
|
+
</td>
|
785
|
+
<td class="enum_member_annotations"> </td>
|
786
|
+
</tr>
|
787
|
+
<tr>
|
788
|
+
<td class="enum_member_name"><p><a name="PANGO-SCRIPT-COMMON:CAPS"></a>PANGO_SCRIPT_COMMON</p></td>
|
789
|
+
<td class="enum_member_description">
|
790
|
+
<p>a character used by multiple different scripts</p>
|
791
|
+
</td>
|
792
|
+
<td class="enum_member_annotations"> </td>
|
793
|
+
</tr>
|
794
|
+
<tr>
|
795
|
+
<td class="enum_member_name"><p><a name="PANGO-SCRIPT-INHERITED:CAPS"></a>PANGO_SCRIPT_INHERITED</p></td>
|
796
|
+
<td class="enum_member_description">
|
797
|
+
<p>a mark glyph that takes its script from the
|
798
|
+
base glyph to which it is attached</p>
|
799
|
+
</td>
|
800
|
+
<td class="enum_member_annotations"> </td>
|
801
|
+
</tr>
|
802
|
+
<tr>
|
803
|
+
<td class="enum_member_name"><p><a name="PANGO-SCRIPT-ARABIC:CAPS"></a>PANGO_SCRIPT_ARABIC</p></td>
|
804
|
+
<td class="enum_member_description">
|
805
|
+
<p>Arabic</p>
|
806
|
+
</td>
|
807
|
+
<td class="enum_member_annotations"> </td>
|
808
|
+
</tr>
|
809
|
+
<tr>
|
810
|
+
<td class="enum_member_name"><p><a name="PANGO-SCRIPT-ARMENIAN:CAPS"></a>PANGO_SCRIPT_ARMENIAN</p></td>
|
811
|
+
<td class="enum_member_description">
|
812
|
+
<p>Armenian</p>
|
813
|
+
</td>
|
814
|
+
<td class="enum_member_annotations"> </td>
|
815
|
+
</tr>
|
816
|
+
<tr>
|
817
|
+
<td class="enum_member_name"><p><a name="PANGO-SCRIPT-BENGALI:CAPS"></a>PANGO_SCRIPT_BENGALI</p></td>
|
818
|
+
<td class="enum_member_description">
|
819
|
+
<p>Bengali</p>
|
820
|
+
</td>
|
821
|
+
<td class="enum_member_annotations"> </td>
|
822
|
+
</tr>
|
823
|
+
<tr>
|
824
|
+
<td class="enum_member_name"><p><a name="PANGO-SCRIPT-BOPOMOFO:CAPS"></a>PANGO_SCRIPT_BOPOMOFO</p></td>
|
825
|
+
<td class="enum_member_description">
|
826
|
+
<p>Bopomofo</p>
|
827
|
+
</td>
|
828
|
+
<td class="enum_member_annotations"> </td>
|
829
|
+
</tr>
|
830
|
+
<tr>
|
831
|
+
<td class="enum_member_name"><p><a name="PANGO-SCRIPT-CHEROKEE:CAPS"></a>PANGO_SCRIPT_CHEROKEE</p></td>
|
832
|
+
<td class="enum_member_description">
|
833
|
+
<p>Cherokee</p>
|
834
|
+
</td>
|
835
|
+
<td class="enum_member_annotations"> </td>
|
836
|
+
</tr>
|
837
|
+
<tr>
|
838
|
+
<td class="enum_member_name"><p><a name="PANGO-SCRIPT-COPTIC:CAPS"></a>PANGO_SCRIPT_COPTIC</p></td>
|
839
|
+
<td class="enum_member_description">
|
840
|
+
<p>Coptic</p>
|
841
|
+
</td>
|
842
|
+
<td class="enum_member_annotations"> </td>
|
843
|
+
</tr>
|
844
|
+
<tr>
|
845
|
+
<td class="enum_member_name"><p><a name="PANGO-SCRIPT-CYRILLIC:CAPS"></a>PANGO_SCRIPT_CYRILLIC</p></td>
|
846
|
+
<td class="enum_member_description">
|
847
|
+
<p>Cyrillic</p>
|
848
|
+
</td>
|
849
|
+
<td class="enum_member_annotations"> </td>
|
850
|
+
</tr>
|
851
|
+
<tr>
|
852
|
+
<td class="enum_member_name"><p><a name="PANGO-SCRIPT-DESERET:CAPS"></a>PANGO_SCRIPT_DESERET</p></td>
|
853
|
+
<td class="enum_member_description">
|
854
|
+
<p>Deseret</p>
|
855
|
+
</td>
|
856
|
+
<td class="enum_member_annotations"> </td>
|
857
|
+
</tr>
|
858
|
+
<tr>
|
859
|
+
<td class="enum_member_name"><p><a name="PANGO-SCRIPT-DEVANAGARI:CAPS"></a>PANGO_SCRIPT_DEVANAGARI</p></td>
|
860
|
+
<td class="enum_member_description">
|
861
|
+
<p>Devanagari</p>
|
862
|
+
</td>
|
863
|
+
<td class="enum_member_annotations"> </td>
|
864
|
+
</tr>
|
865
|
+
<tr>
|
866
|
+
<td class="enum_member_name"><p><a name="PANGO-SCRIPT-ETHIOPIC:CAPS"></a>PANGO_SCRIPT_ETHIOPIC</p></td>
|
867
|
+
<td class="enum_member_description">
|
868
|
+
<p>Ethiopic</p>
|
869
|
+
</td>
|
870
|
+
<td class="enum_member_annotations"> </td>
|
871
|
+
</tr>
|
872
|
+
<tr>
|
873
|
+
<td class="enum_member_name"><p><a name="PANGO-SCRIPT-GEORGIAN:CAPS"></a>PANGO_SCRIPT_GEORGIAN</p></td>
|
874
|
+
<td class="enum_member_description">
|
875
|
+
<p>Georgian</p>
|
876
|
+
</td>
|
877
|
+
<td class="enum_member_annotations"> </td>
|
878
|
+
</tr>
|
879
|
+
<tr>
|
880
|
+
<td class="enum_member_name"><p><a name="PANGO-SCRIPT-GOTHIC:CAPS"></a>PANGO_SCRIPT_GOTHIC</p></td>
|
881
|
+
<td class="enum_member_description">
|
882
|
+
<p>Gothic</p>
|
883
|
+
</td>
|
884
|
+
<td class="enum_member_annotations"> </td>
|
885
|
+
</tr>
|
886
|
+
<tr>
|
887
|
+
<td class="enum_member_name"><p><a name="PANGO-SCRIPT-GREEK:CAPS"></a>PANGO_SCRIPT_GREEK</p></td>
|
888
|
+
<td class="enum_member_description">
|
889
|
+
<p>Greek</p>
|
890
|
+
</td>
|
891
|
+
<td class="enum_member_annotations"> </td>
|
892
|
+
</tr>
|
893
|
+
<tr>
|
894
|
+
<td class="enum_member_name"><p><a name="PANGO-SCRIPT-GUJARATI:CAPS"></a>PANGO_SCRIPT_GUJARATI</p></td>
|
895
|
+
<td class="enum_member_description">
|
896
|
+
<p>Gujarati</p>
|
897
|
+
</td>
|
898
|
+
<td class="enum_member_annotations"> </td>
|
899
|
+
</tr>
|
900
|
+
<tr>
|
901
|
+
<td class="enum_member_name"><p><a name="PANGO-SCRIPT-GURMUKHI:CAPS"></a>PANGO_SCRIPT_GURMUKHI</p></td>
|
902
|
+
<td class="enum_member_description">
|
903
|
+
<p>Gurmukhi</p>
|
904
|
+
</td>
|
905
|
+
<td class="enum_member_annotations"> </td>
|
906
|
+
</tr>
|
907
|
+
<tr>
|
908
|
+
<td class="enum_member_name"><p><a name="PANGO-SCRIPT-HAN:CAPS"></a>PANGO_SCRIPT_HAN</p></td>
|
909
|
+
<td class="enum_member_description">
|
910
|
+
<p>Han</p>
|
911
|
+
</td>
|
912
|
+
<td class="enum_member_annotations"> </td>
|
913
|
+
</tr>
|
914
|
+
<tr>
|
915
|
+
<td class="enum_member_name"><p><a name="PANGO-SCRIPT-HANGUL:CAPS"></a>PANGO_SCRIPT_HANGUL</p></td>
|
916
|
+
<td class="enum_member_description">
|
917
|
+
<p>Hangul</p>
|
918
|
+
</td>
|
919
|
+
<td class="enum_member_annotations"> </td>
|
920
|
+
</tr>
|
921
|
+
<tr>
|
922
|
+
<td class="enum_member_name"><p><a name="PANGO-SCRIPT-HEBREW:CAPS"></a>PANGO_SCRIPT_HEBREW</p></td>
|
923
|
+
<td class="enum_member_description">
|
924
|
+
<p>Hebrew</p>
|
925
|
+
</td>
|
926
|
+
<td class="enum_member_annotations"> </td>
|
927
|
+
</tr>
|
928
|
+
<tr>
|
929
|
+
<td class="enum_member_name"><p><a name="PANGO-SCRIPT-HIRAGANA:CAPS"></a>PANGO_SCRIPT_HIRAGANA</p></td>
|
930
|
+
<td class="enum_member_description">
|
931
|
+
<p>Hiragana</p>
|
932
|
+
</td>
|
933
|
+
<td class="enum_member_annotations"> </td>
|
934
|
+
</tr>
|
935
|
+
<tr>
|
936
|
+
<td class="enum_member_name"><p><a name="PANGO-SCRIPT-KANNADA:CAPS"></a>PANGO_SCRIPT_KANNADA</p></td>
|
937
|
+
<td class="enum_member_description">
|
938
|
+
<p>Kannada</p>
|
939
|
+
</td>
|
940
|
+
<td class="enum_member_annotations"> </td>
|
941
|
+
</tr>
|
942
|
+
<tr>
|
943
|
+
<td class="enum_member_name"><p><a name="PANGO-SCRIPT-KATAKANA:CAPS"></a>PANGO_SCRIPT_KATAKANA</p></td>
|
944
|
+
<td class="enum_member_description">
|
945
|
+
<p>Katakana</p>
|
946
|
+
</td>
|
947
|
+
<td class="enum_member_annotations"> </td>
|
948
|
+
</tr>
|
949
|
+
<tr>
|
950
|
+
<td class="enum_member_name"><p><a name="PANGO-SCRIPT-KHMER:CAPS"></a>PANGO_SCRIPT_KHMER</p></td>
|
951
|
+
<td class="enum_member_description">
|
952
|
+
<p>Khmer</p>
|
953
|
+
</td>
|
954
|
+
<td class="enum_member_annotations"> </td>
|
955
|
+
</tr>
|
956
|
+
<tr>
|
957
|
+
<td class="enum_member_name"><p><a name="PANGO-SCRIPT-LAO:CAPS"></a>PANGO_SCRIPT_LAO</p></td>
|
958
|
+
<td class="enum_member_description">
|
959
|
+
<p>Lao</p>
|
960
|
+
</td>
|
961
|
+
<td class="enum_member_annotations"> </td>
|
962
|
+
</tr>
|
963
|
+
<tr>
|
964
|
+
<td class="enum_member_name"><p><a name="PANGO-SCRIPT-LATIN:CAPS"></a>PANGO_SCRIPT_LATIN</p></td>
|
965
|
+
<td class="enum_member_description">
|
966
|
+
<p>Latin</p>
|
967
|
+
</td>
|
968
|
+
<td class="enum_member_annotations"> </td>
|
969
|
+
</tr>
|
970
|
+
<tr>
|
971
|
+
<td class="enum_member_name"><p><a name="PANGO-SCRIPT-MALAYALAM:CAPS"></a>PANGO_SCRIPT_MALAYALAM</p></td>
|
972
|
+
<td class="enum_member_description">
|
973
|
+
<p>Malayalam</p>
|
974
|
+
</td>
|
975
|
+
<td class="enum_member_annotations"> </td>
|
976
|
+
</tr>
|
977
|
+
<tr>
|
978
|
+
<td class="enum_member_name"><p><a name="PANGO-SCRIPT-MONGOLIAN:CAPS"></a>PANGO_SCRIPT_MONGOLIAN</p></td>
|
979
|
+
<td class="enum_member_description">
|
980
|
+
<p>Mongolian</p>
|
981
|
+
</td>
|
982
|
+
<td class="enum_member_annotations"> </td>
|
983
|
+
</tr>
|
984
|
+
<tr>
|
985
|
+
<td class="enum_member_name"><p><a name="PANGO-SCRIPT-MYANMAR:CAPS"></a>PANGO_SCRIPT_MYANMAR</p></td>
|
986
|
+
<td class="enum_member_description">
|
987
|
+
<p>Myanmar</p>
|
988
|
+
</td>
|
989
|
+
<td class="enum_member_annotations"> </td>
|
990
|
+
</tr>
|
991
|
+
<tr>
|
992
|
+
<td class="enum_member_name"><p><a name="PANGO-SCRIPT-OGHAM:CAPS"></a>PANGO_SCRIPT_OGHAM</p></td>
|
993
|
+
<td class="enum_member_description">
|
994
|
+
<p>Ogham</p>
|
995
|
+
</td>
|
996
|
+
<td class="enum_member_annotations"> </td>
|
997
|
+
</tr>
|
998
|
+
<tr>
|
999
|
+
<td class="enum_member_name"><p><a name="PANGO-SCRIPT-OLD-ITALIC:CAPS"></a>PANGO_SCRIPT_OLD_ITALIC</p></td>
|
1000
|
+
<td class="enum_member_description">
|
1001
|
+
<p>Old Italic</p>
|
1002
|
+
</td>
|
1003
|
+
<td class="enum_member_annotations"> </td>
|
1004
|
+
</tr>
|
1005
|
+
<tr>
|
1006
|
+
<td class="enum_member_name"><p><a name="PANGO-SCRIPT-ORIYA:CAPS"></a>PANGO_SCRIPT_ORIYA</p></td>
|
1007
|
+
<td class="enum_member_description">
|
1008
|
+
<p>Oriya</p>
|
1009
|
+
</td>
|
1010
|
+
<td class="enum_member_annotations"> </td>
|
1011
|
+
</tr>
|
1012
|
+
<tr>
|
1013
|
+
<td class="enum_member_name"><p><a name="PANGO-SCRIPT-RUNIC:CAPS"></a>PANGO_SCRIPT_RUNIC</p></td>
|
1014
|
+
<td class="enum_member_description">
|
1015
|
+
<p>Runic</p>
|
1016
|
+
</td>
|
1017
|
+
<td class="enum_member_annotations"> </td>
|
1018
|
+
</tr>
|
1019
|
+
<tr>
|
1020
|
+
<td class="enum_member_name"><p><a name="PANGO-SCRIPT-SINHALA:CAPS"></a>PANGO_SCRIPT_SINHALA</p></td>
|
1021
|
+
<td class="enum_member_description">
|
1022
|
+
<p>Sinhala</p>
|
1023
|
+
</td>
|
1024
|
+
<td class="enum_member_annotations"> </td>
|
1025
|
+
</tr>
|
1026
|
+
<tr>
|
1027
|
+
<td class="enum_member_name"><p><a name="PANGO-SCRIPT-SYRIAC:CAPS"></a>PANGO_SCRIPT_SYRIAC</p></td>
|
1028
|
+
<td class="enum_member_description">
|
1029
|
+
<p>Syriac</p>
|
1030
|
+
</td>
|
1031
|
+
<td class="enum_member_annotations"> </td>
|
1032
|
+
</tr>
|
1033
|
+
<tr>
|
1034
|
+
<td class="enum_member_name"><p><a name="PANGO-SCRIPT-TAMIL:CAPS"></a>PANGO_SCRIPT_TAMIL</p></td>
|
1035
|
+
<td class="enum_member_description">
|
1036
|
+
<p>Tamil</p>
|
1037
|
+
</td>
|
1038
|
+
<td class="enum_member_annotations"> </td>
|
1039
|
+
</tr>
|
1040
|
+
<tr>
|
1041
|
+
<td class="enum_member_name"><p><a name="PANGO-SCRIPT-TELUGU:CAPS"></a>PANGO_SCRIPT_TELUGU</p></td>
|
1042
|
+
<td class="enum_member_description">
|
1043
|
+
<p>Telugu</p>
|
1044
|
+
</td>
|
1045
|
+
<td class="enum_member_annotations"> </td>
|
1046
|
+
</tr>
|
1047
|
+
<tr>
|
1048
|
+
<td class="enum_member_name"><p><a name="PANGO-SCRIPT-THAANA:CAPS"></a>PANGO_SCRIPT_THAANA</p></td>
|
1049
|
+
<td class="enum_member_description">
|
1050
|
+
<p>Thaana</p>
|
1051
|
+
</td>
|
1052
|
+
<td class="enum_member_annotations"> </td>
|
1053
|
+
</tr>
|
1054
|
+
<tr>
|
1055
|
+
<td class="enum_member_name"><p><a name="PANGO-SCRIPT-THAI:CAPS"></a>PANGO_SCRIPT_THAI</p></td>
|
1056
|
+
<td class="enum_member_description">
|
1057
|
+
<p>Thai</p>
|
1058
|
+
</td>
|
1059
|
+
<td class="enum_member_annotations"> </td>
|
1060
|
+
</tr>
|
1061
|
+
<tr>
|
1062
|
+
<td class="enum_member_name"><p><a name="PANGO-SCRIPT-TIBETAN:CAPS"></a>PANGO_SCRIPT_TIBETAN</p></td>
|
1063
|
+
<td class="enum_member_description">
|
1064
|
+
<p>Tibetan</p>
|
1065
|
+
</td>
|
1066
|
+
<td class="enum_member_annotations"> </td>
|
1067
|
+
</tr>
|
1068
|
+
<tr>
|
1069
|
+
<td class="enum_member_name"><p><a name="PANGO-SCRIPT-CANADIAN-ABORIGINAL:CAPS"></a>PANGO_SCRIPT_CANADIAN_ABORIGINAL</p></td>
|
1070
|
+
<td class="enum_member_description">
|
1071
|
+
<p>Canadian Aboriginal</p>
|
1072
|
+
</td>
|
1073
|
+
<td class="enum_member_annotations"> </td>
|
1074
|
+
</tr>
|
1075
|
+
<tr>
|
1076
|
+
<td class="enum_member_name"><p><a name="PANGO-SCRIPT-YI:CAPS"></a>PANGO_SCRIPT_YI</p></td>
|
1077
|
+
<td class="enum_member_description">
|
1078
|
+
<p>Yi</p>
|
1079
|
+
</td>
|
1080
|
+
<td class="enum_member_annotations"> </td>
|
1081
|
+
</tr>
|
1082
|
+
<tr>
|
1083
|
+
<td class="enum_member_name"><p><a name="PANGO-SCRIPT-TAGALOG:CAPS"></a>PANGO_SCRIPT_TAGALOG</p></td>
|
1084
|
+
<td class="enum_member_description">
|
1085
|
+
<p>Tagalog</p>
|
1086
|
+
</td>
|
1087
|
+
<td class="enum_member_annotations"> </td>
|
1088
|
+
</tr>
|
1089
|
+
<tr>
|
1090
|
+
<td class="enum_member_name"><p><a name="PANGO-SCRIPT-HANUNOO:CAPS"></a>PANGO_SCRIPT_HANUNOO</p></td>
|
1091
|
+
<td class="enum_member_description">
|
1092
|
+
<p>Hanunoo</p>
|
1093
|
+
</td>
|
1094
|
+
<td class="enum_member_annotations"> </td>
|
1095
|
+
</tr>
|
1096
|
+
<tr>
|
1097
|
+
<td class="enum_member_name"><p><a name="PANGO-SCRIPT-BUHID:CAPS"></a>PANGO_SCRIPT_BUHID</p></td>
|
1098
|
+
<td class="enum_member_description">
|
1099
|
+
<p>Buhid</p>
|
1100
|
+
</td>
|
1101
|
+
<td class="enum_member_annotations"> </td>
|
1102
|
+
</tr>
|
1103
|
+
<tr>
|
1104
|
+
<td class="enum_member_name"><p><a name="PANGO-SCRIPT-TAGBANWA:CAPS"></a>PANGO_SCRIPT_TAGBANWA</p></td>
|
1105
|
+
<td class="enum_member_description">
|
1106
|
+
<p>Tagbanwa</p>
|
1107
|
+
</td>
|
1108
|
+
<td class="enum_member_annotations"> </td>
|
1109
|
+
</tr>
|
1110
|
+
<tr>
|
1111
|
+
<td class="enum_member_name"><p><a name="PANGO-SCRIPT-BRAILLE:CAPS"></a>PANGO_SCRIPT_BRAILLE</p></td>
|
1112
|
+
<td class="enum_member_description">
|
1113
|
+
<p>Braille</p>
|
1114
|
+
</td>
|
1115
|
+
<td class="enum_member_annotations"> </td>
|
1116
|
+
</tr>
|
1117
|
+
<tr>
|
1118
|
+
<td class="enum_member_name"><p><a name="PANGO-SCRIPT-CYPRIOT:CAPS"></a>PANGO_SCRIPT_CYPRIOT</p></td>
|
1119
|
+
<td class="enum_member_description">
|
1120
|
+
<p>Cypriot</p>
|
1121
|
+
</td>
|
1122
|
+
<td class="enum_member_annotations"> </td>
|
1123
|
+
</tr>
|
1124
|
+
<tr>
|
1125
|
+
<td class="enum_member_name"><p><a name="PANGO-SCRIPT-LIMBU:CAPS"></a>PANGO_SCRIPT_LIMBU</p></td>
|
1126
|
+
<td class="enum_member_description">
|
1127
|
+
<p>Limbu</p>
|
1128
|
+
</td>
|
1129
|
+
<td class="enum_member_annotations"> </td>
|
1130
|
+
</tr>
|
1131
|
+
<tr>
|
1132
|
+
<td class="enum_member_name"><p><a name="PANGO-SCRIPT-OSMANYA:CAPS"></a>PANGO_SCRIPT_OSMANYA</p></td>
|
1133
|
+
<td class="enum_member_description">
|
1134
|
+
<p>Osmanya</p>
|
1135
|
+
</td>
|
1136
|
+
<td class="enum_member_annotations"> </td>
|
1137
|
+
</tr>
|
1138
|
+
<tr>
|
1139
|
+
<td class="enum_member_name"><p><a name="PANGO-SCRIPT-SHAVIAN:CAPS"></a>PANGO_SCRIPT_SHAVIAN</p></td>
|
1140
|
+
<td class="enum_member_description">
|
1141
|
+
<p>Shavian</p>
|
1142
|
+
</td>
|
1143
|
+
<td class="enum_member_annotations"> </td>
|
1144
|
+
</tr>
|
1145
|
+
<tr>
|
1146
|
+
<td class="enum_member_name"><p><a name="PANGO-SCRIPT-LINEAR-B:CAPS"></a>PANGO_SCRIPT_LINEAR_B</p></td>
|
1147
|
+
<td class="enum_member_description">
|
1148
|
+
<p>Linear B</p>
|
1149
|
+
</td>
|
1150
|
+
<td class="enum_member_annotations"> </td>
|
1151
|
+
</tr>
|
1152
|
+
<tr>
|
1153
|
+
<td class="enum_member_name"><p><a name="PANGO-SCRIPT-TAI-LE:CAPS"></a>PANGO_SCRIPT_TAI_LE</p></td>
|
1154
|
+
<td class="enum_member_description">
|
1155
|
+
<p>Tai Le</p>
|
1156
|
+
</td>
|
1157
|
+
<td class="enum_member_annotations"> </td>
|
1158
|
+
</tr>
|
1159
|
+
<tr>
|
1160
|
+
<td class="enum_member_name"><p><a name="PANGO-SCRIPT-UGARITIC:CAPS"></a>PANGO_SCRIPT_UGARITIC</p></td>
|
1161
|
+
<td class="enum_member_description">
|
1162
|
+
<p>Ugaritic</p>
|
1163
|
+
</td>
|
1164
|
+
<td class="enum_member_annotations"> </td>
|
1165
|
+
</tr>
|
1166
|
+
<tr>
|
1167
|
+
<td class="enum_member_name"><p><a name="PANGO-SCRIPT-NEW-TAI-LUE:CAPS"></a>PANGO_SCRIPT_NEW_TAI_LUE</p></td>
|
1168
|
+
<td class="enum_member_description">
|
1169
|
+
<p>New Tai Lue. Since 1.10</p>
|
1170
|
+
</td>
|
1171
|
+
<td class="enum_member_annotations"> </td>
|
1172
|
+
</tr>
|
1173
|
+
<tr>
|
1174
|
+
<td class="enum_member_name"><p><a name="PANGO-SCRIPT-BUGINESE:CAPS"></a>PANGO_SCRIPT_BUGINESE</p></td>
|
1175
|
+
<td class="enum_member_description">
|
1176
|
+
<p>Buginese. Since 1.10</p>
|
1177
|
+
</td>
|
1178
|
+
<td class="enum_member_annotations"> </td>
|
1179
|
+
</tr>
|
1180
|
+
<tr>
|
1181
|
+
<td class="enum_member_name"><p><a name="PANGO-SCRIPT-GLAGOLITIC:CAPS"></a>PANGO_SCRIPT_GLAGOLITIC</p></td>
|
1182
|
+
<td class="enum_member_description">
|
1183
|
+
<p>Glagolitic. Since 1.10</p>
|
1184
|
+
</td>
|
1185
|
+
<td class="enum_member_annotations"> </td>
|
1186
|
+
</tr>
|
1187
|
+
<tr>
|
1188
|
+
<td class="enum_member_name"><p><a name="PANGO-SCRIPT-TIFINAGH:CAPS"></a>PANGO_SCRIPT_TIFINAGH</p></td>
|
1189
|
+
<td class="enum_member_description">
|
1190
|
+
<p>Tifinagh. Since 1.10</p>
|
1191
|
+
</td>
|
1192
|
+
<td class="enum_member_annotations"> </td>
|
1193
|
+
</tr>
|
1194
|
+
<tr>
|
1195
|
+
<td class="enum_member_name"><p><a name="PANGO-SCRIPT-SYLOTI-NAGRI:CAPS"></a>PANGO_SCRIPT_SYLOTI_NAGRI</p></td>
|
1196
|
+
<td class="enum_member_description">
|
1197
|
+
<p>Syloti Nagri. Since 1.10</p>
|
1198
|
+
</td>
|
1199
|
+
<td class="enum_member_annotations"> </td>
|
1200
|
+
</tr>
|
1201
|
+
<tr>
|
1202
|
+
<td class="enum_member_name"><p><a name="PANGO-SCRIPT-OLD-PERSIAN:CAPS"></a>PANGO_SCRIPT_OLD_PERSIAN</p></td>
|
1203
|
+
<td class="enum_member_description">
|
1204
|
+
<p>Old Persian. Since 1.10</p>
|
1205
|
+
</td>
|
1206
|
+
<td class="enum_member_annotations"> </td>
|
1207
|
+
</tr>
|
1208
|
+
<tr>
|
1209
|
+
<td class="enum_member_name"><p><a name="PANGO-SCRIPT-KHAROSHTHI:CAPS"></a>PANGO_SCRIPT_KHAROSHTHI</p></td>
|
1210
|
+
<td class="enum_member_description">
|
1211
|
+
<p>Kharoshthi. Since 1.10</p>
|
1212
|
+
</td>
|
1213
|
+
<td class="enum_member_annotations"> </td>
|
1214
|
+
</tr>
|
1215
|
+
<tr>
|
1216
|
+
<td class="enum_member_name"><p><a name="PANGO-SCRIPT-UNKNOWN:CAPS"></a>PANGO_SCRIPT_UNKNOWN</p></td>
|
1217
|
+
<td class="enum_member_description">
|
1218
|
+
<p>an unassigned code point. Since 1.14</p>
|
1219
|
+
</td>
|
1220
|
+
<td class="enum_member_annotations"> </td>
|
1221
|
+
</tr>
|
1222
|
+
<tr>
|
1223
|
+
<td class="enum_member_name"><p><a name="PANGO-SCRIPT-BALINESE:CAPS"></a>PANGO_SCRIPT_BALINESE</p></td>
|
1224
|
+
<td class="enum_member_description">
|
1225
|
+
<p>Balinese. Since 1.14</p>
|
1226
|
+
</td>
|
1227
|
+
<td class="enum_member_annotations"> </td>
|
1228
|
+
</tr>
|
1229
|
+
<tr>
|
1230
|
+
<td class="enum_member_name"><p><a name="PANGO-SCRIPT-CUNEIFORM:CAPS"></a>PANGO_SCRIPT_CUNEIFORM</p></td>
|
1231
|
+
<td class="enum_member_description">
|
1232
|
+
<p>Cuneiform. Since 1.14</p>
|
1233
|
+
</td>
|
1234
|
+
<td class="enum_member_annotations"> </td>
|
1235
|
+
</tr>
|
1236
|
+
<tr>
|
1237
|
+
<td class="enum_member_name"><p><a name="PANGO-SCRIPT-PHOENICIAN:CAPS"></a>PANGO_SCRIPT_PHOENICIAN</p></td>
|
1238
|
+
<td class="enum_member_description">
|
1239
|
+
<p>Phoenician. Since 1.14</p>
|
1240
|
+
</td>
|
1241
|
+
<td class="enum_member_annotations"> </td>
|
1242
|
+
</tr>
|
1243
|
+
<tr>
|
1244
|
+
<td class="enum_member_name"><p><a name="PANGO-SCRIPT-PHAGS-PA:CAPS"></a>PANGO_SCRIPT_PHAGS_PA</p></td>
|
1245
|
+
<td class="enum_member_description">
|
1246
|
+
<p>Phags-pa. Since 1.14</p>
|
1247
|
+
</td>
|
1248
|
+
<td class="enum_member_annotations"> </td>
|
1249
|
+
</tr>
|
1250
|
+
<tr>
|
1251
|
+
<td class="enum_member_name"><p><a name="PANGO-SCRIPT-NKO:CAPS"></a>PANGO_SCRIPT_NKO</p></td>
|
1252
|
+
<td class="enum_member_description">
|
1253
|
+
<p>N'Ko. Since 1.14</p>
|
1254
|
+
</td>
|
1255
|
+
<td class="enum_member_annotations"> </td>
|
1256
|
+
</tr>
|
1257
|
+
<tr>
|
1258
|
+
<td class="enum_member_name"><p><a name="PANGO-SCRIPT-KAYAH-LI:CAPS"></a>PANGO_SCRIPT_KAYAH_LI</p></td>
|
1259
|
+
<td class="enum_member_description">
|
1260
|
+
<p>Kayah Li. Since 1.20.1</p>
|
1261
|
+
</td>
|
1262
|
+
<td class="enum_member_annotations"> </td>
|
1263
|
+
</tr>
|
1264
|
+
<tr>
|
1265
|
+
<td class="enum_member_name"><p><a name="PANGO-SCRIPT-LEPCHA:CAPS"></a>PANGO_SCRIPT_LEPCHA</p></td>
|
1266
|
+
<td class="enum_member_description">
|
1267
|
+
<p>Lepcha. Since 1.20.1</p>
|
1268
|
+
</td>
|
1269
|
+
<td class="enum_member_annotations"> </td>
|
1270
|
+
</tr>
|
1271
|
+
<tr>
|
1272
|
+
<td class="enum_member_name"><p><a name="PANGO-SCRIPT-REJANG:CAPS"></a>PANGO_SCRIPT_REJANG</p></td>
|
1273
|
+
<td class="enum_member_description">
|
1274
|
+
<p>Rejang. Since 1.20.1</p>
|
1275
|
+
</td>
|
1276
|
+
<td class="enum_member_annotations"> </td>
|
1277
|
+
</tr>
|
1278
|
+
<tr>
|
1279
|
+
<td class="enum_member_name"><p><a name="PANGO-SCRIPT-SUNDANESE:CAPS"></a>PANGO_SCRIPT_SUNDANESE</p></td>
|
1280
|
+
<td class="enum_member_description">
|
1281
|
+
<p>Sundanese. Since 1.20.1</p>
|
1282
|
+
</td>
|
1283
|
+
<td class="enum_member_annotations"> </td>
|
1284
|
+
</tr>
|
1285
|
+
<tr>
|
1286
|
+
<td class="enum_member_name"><p><a name="PANGO-SCRIPT-SAURASHTRA:CAPS"></a>PANGO_SCRIPT_SAURASHTRA</p></td>
|
1287
|
+
<td class="enum_member_description">
|
1288
|
+
<p>Saurashtra. Since 1.20.1</p>
|
1289
|
+
</td>
|
1290
|
+
<td class="enum_member_annotations"> </td>
|
1291
|
+
</tr>
|
1292
|
+
<tr>
|
1293
|
+
<td class="enum_member_name"><p><a name="PANGO-SCRIPT-CHAM:CAPS"></a>PANGO_SCRIPT_CHAM</p></td>
|
1294
|
+
<td class="enum_member_description">
|
1295
|
+
<p>Cham. Since 1.20.1</p>
|
1296
|
+
</td>
|
1297
|
+
<td class="enum_member_annotations"> </td>
|
1298
|
+
</tr>
|
1299
|
+
<tr>
|
1300
|
+
<td class="enum_member_name"><p><a name="PANGO-SCRIPT-OL-CHIKI:CAPS"></a>PANGO_SCRIPT_OL_CHIKI</p></td>
|
1301
|
+
<td class="enum_member_description">
|
1302
|
+
<p>Ol Chiki. Since 1.20.1</p>
|
1303
|
+
</td>
|
1304
|
+
<td class="enum_member_annotations"> </td>
|
1305
|
+
</tr>
|
1306
|
+
<tr>
|
1307
|
+
<td class="enum_member_name"><p><a name="PANGO-SCRIPT-VAI:CAPS"></a>PANGO_SCRIPT_VAI</p></td>
|
1308
|
+
<td class="enum_member_description">
|
1309
|
+
<p>Vai. Since 1.20.1</p>
|
1310
|
+
</td>
|
1311
|
+
<td class="enum_member_annotations"> </td>
|
1312
|
+
</tr>
|
1313
|
+
<tr>
|
1314
|
+
<td class="enum_member_name"><p><a name="PANGO-SCRIPT-CARIAN:CAPS"></a>PANGO_SCRIPT_CARIAN</p></td>
|
1315
|
+
<td class="enum_member_description">
|
1316
|
+
<p>Carian. Since 1.20.1</p>
|
1317
|
+
</td>
|
1318
|
+
<td class="enum_member_annotations"> </td>
|
1319
|
+
</tr>
|
1320
|
+
<tr>
|
1321
|
+
<td class="enum_member_name"><p><a name="PANGO-SCRIPT-LYCIAN:CAPS"></a>PANGO_SCRIPT_LYCIAN</p></td>
|
1322
|
+
<td class="enum_member_description">
|
1323
|
+
<p>Lycian. Since 1.20.1</p>
|
1324
|
+
</td>
|
1325
|
+
<td class="enum_member_annotations"> </td>
|
1326
|
+
</tr>
|
1327
|
+
<tr>
|
1328
|
+
<td class="enum_member_name"><p><a name="PANGO-SCRIPT-LYDIAN:CAPS"></a>PANGO_SCRIPT_LYDIAN</p></td>
|
1329
|
+
<td class="enum_member_description">
|
1330
|
+
<p>Lydian. Since 1.20.1</p>
|
1331
|
+
</td>
|
1332
|
+
<td class="enum_member_annotations"> </td>
|
1333
|
+
</tr>
|
1334
|
+
<tr>
|
1335
|
+
<td class="enum_member_name"><p><a name="PANGO-SCRIPT-BATAK:CAPS"></a>PANGO_SCRIPT_BATAK</p></td>
|
1336
|
+
<td class="enum_member_description">
|
1337
|
+
<p>Batak. Since 1.32</p>
|
1338
|
+
</td>
|
1339
|
+
<td class="enum_member_annotations"> </td>
|
1340
|
+
</tr>
|
1341
|
+
<tr>
|
1342
|
+
<td class="enum_member_name"><p><a name="PANGO-SCRIPT-BRAHMI:CAPS"></a>PANGO_SCRIPT_BRAHMI</p></td>
|
1343
|
+
<td class="enum_member_description">
|
1344
|
+
<p>Brahmi. Since 1.32</p>
|
1345
|
+
</td>
|
1346
|
+
<td class="enum_member_annotations"> </td>
|
1347
|
+
</tr>
|
1348
|
+
<tr>
|
1349
|
+
<td class="enum_member_name"><p><a name="PANGO-SCRIPT-MANDAIC:CAPS"></a>PANGO_SCRIPT_MANDAIC</p></td>
|
1350
|
+
<td class="enum_member_description">
|
1351
|
+
<p>Mandaic. Since 1.32</p>
|
1352
|
+
</td>
|
1353
|
+
<td class="enum_member_annotations"> </td>
|
1354
|
+
</tr>
|
1355
|
+
<tr>
|
1356
|
+
<td class="enum_member_name"><p><a name="PANGO-SCRIPT-CHAKMA:CAPS"></a>PANGO_SCRIPT_CHAKMA</p></td>
|
1357
|
+
<td class="enum_member_description">
|
1358
|
+
<p>Chakma. Since: 1.32</p>
|
1359
|
+
</td>
|
1360
|
+
<td class="enum_member_annotations"> </td>
|
1361
|
+
</tr>
|
1362
|
+
<tr>
|
1363
|
+
<td class="enum_member_name"><p><a name="PANGO-SCRIPT-MEROITIC-CURSIVE:CAPS"></a>PANGO_SCRIPT_MEROITIC_CURSIVE</p></td>
|
1364
|
+
<td class="enum_member_description">
|
1365
|
+
<p>Meroitic Cursive. Since: 1.32</p>
|
1366
|
+
</td>
|
1367
|
+
<td class="enum_member_annotations"> </td>
|
1368
|
+
</tr>
|
1369
|
+
<tr>
|
1370
|
+
<td class="enum_member_name"><p><a name="PANGO-SCRIPT-MEROITIC-HIEROGLYPHS:CAPS"></a>PANGO_SCRIPT_MEROITIC_HIEROGLYPHS</p></td>
|
1371
|
+
<td class="enum_member_description">
|
1372
|
+
<p>Meroitic Hieroglyphs. Since: 1.32</p>
|
1373
|
+
</td>
|
1374
|
+
<td class="enum_member_annotations"> </td>
|
1375
|
+
</tr>
|
1376
|
+
<tr>
|
1377
|
+
<td class="enum_member_name"><p><a name="PANGO-SCRIPT-MIAO:CAPS"></a>PANGO_SCRIPT_MIAO</p></td>
|
1378
|
+
<td class="enum_member_description">
|
1379
|
+
<p>Miao. Since: 1.32</p>
|
1380
|
+
</td>
|
1381
|
+
<td class="enum_member_annotations"> </td>
|
1382
|
+
</tr>
|
1383
|
+
<tr>
|
1384
|
+
<td class="enum_member_name"><p><a name="PANGO-SCRIPT-SHARADA:CAPS"></a>PANGO_SCRIPT_SHARADA</p></td>
|
1385
|
+
<td class="enum_member_description">
|
1386
|
+
<p>Sharada. Since: 1.32</p>
|
1387
|
+
</td>
|
1388
|
+
<td class="enum_member_annotations"> </td>
|
1389
|
+
</tr>
|
1390
|
+
<tr>
|
1391
|
+
<td class="enum_member_name"><p><a name="PANGO-SCRIPT-SORA-SOMPENG:CAPS"></a>PANGO_SCRIPT_SORA_SOMPENG</p></td>
|
1392
|
+
<td class="enum_member_description">
|
1393
|
+
<p>Sora Sompeng. Since: 1.32</p>
|
1394
|
+
</td>
|
1395
|
+
<td class="enum_member_annotations"> </td>
|
1396
|
+
</tr>
|
1397
|
+
<tr>
|
1398
|
+
<td class="enum_member_name"><p><a name="PANGO-SCRIPT-TAKRI:CAPS"></a>PANGO_SCRIPT_TAKRI</p></td>
|
1399
|
+
<td class="enum_member_description">
|
1400
|
+
<p>Takri. Since: 1.32</p>
|
1401
|
+
</td>
|
1402
|
+
<td class="enum_member_annotations"> </td>
|
1403
|
+
</tr>
|
1404
|
+
</tbody>
|
1405
|
+
</table></div>
|
1406
|
+
</div>
|
1407
|
+
</div>
|
1408
|
+
<hr>
|
1409
|
+
<div class="refsect2">
|
1410
|
+
<a name="PangoScriptIter"></a><h3>PangoScriptIter</h3>
|
1411
|
+
<pre class="programlisting">typedef struct _PangoScriptIter PangoScriptIter;</pre>
|
1412
|
+
<p>A <a class="link" href="pango-Scripts-and-Languages.html#PangoScriptIter" title="PangoScriptIter"><span class="type">PangoScriptIter</span></a> is used to iterate through a string
|
1413
|
+
and identify ranges in different scripts.</p>
|
1414
|
+
</div>
|
1415
|
+
<hr>
|
1416
|
+
<div class="refsect2">
|
1417
|
+
<a name="PangoLanguage-struct"></a><h3>PangoLanguage</h3>
|
1418
|
+
<pre class="programlisting">typedef struct _PangoLanguage PangoLanguage;</pre>
|
1419
|
+
<p>The <a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> structure is used to
|
1420
|
+
represent a language.</p>
|
1421
|
+
<p><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> pointers can be efficiently
|
1422
|
+
copied and compared with each other.</p>
|
1423
|
+
</div>
|
1424
|
+
</div>
|
1425
|
+
</div>
|
1426
|
+
<div class="footer">
|
1427
|
+
<hr>
|
1428
|
+
Generated by GTK-Doc V1.21.1</div>
|
1429
|
+
</body>
|
1430
|
+
</html>
|