pango 2.2.0-x86-mingw32 → 2.2.1-x86-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Rakefile +21 -2
- data/lib/2.0/pango.so +0 -0
- data/vendor/local/bin/derb.exe +0 -0
- data/vendor/local/bin/genbrk.exe +0 -0
- data/vendor/local/bin/genccode.exe +0 -0
- data/vendor/local/bin/gencfu.exe +0 -0
- data/vendor/local/bin/gencmn.exe +0 -0
- data/vendor/local/bin/gencnval.exe +0 -0
- data/vendor/local/bin/gendict.exe +0 -0
- data/vendor/local/bin/gennorm2.exe +0 -0
- data/vendor/local/bin/genrb.exe +0 -0
- data/vendor/local/bin/gensprep.exe +0 -0
- data/vendor/local/bin/hb-ot-shape-closure.exe +0 -0
- data/vendor/local/bin/hb-shape.exe +0 -0
- data/vendor/local/bin/hb-view.exe +0 -0
- data/vendor/local/bin/icu-config +820 -0
- data/vendor/local/bin/icuinfo.exe +0 -0
- data/vendor/local/bin/icupkg.exe +0 -0
- data/vendor/local/bin/libharfbuzz-0.dll +0 -0
- data/vendor/local/bin/libpango-1.0-0.dll +0 -0
- data/vendor/local/bin/libpangocairo-1.0-0.dll +0 -0
- data/vendor/local/bin/libpangoft2-1.0-0.dll +0 -0
- data/vendor/local/bin/libpangowin32-1.0-0.dll +0 -0
- data/vendor/local/bin/libstdc++-6.dll +0 -0
- data/vendor/local/bin/makeconv.exe +0 -0
- data/vendor/local/bin/pango-querymodules.exe +0 -0
- data/vendor/local/bin/pango-view.exe +0 -0
- data/vendor/local/bin/pkgdata.exe +0 -0
- data/vendor/local/bin/uconv.exe +0 -0
- data/vendor/local/etc/pango/pango.modules +3 -3
- data/vendor/local/include/harfbuzz/hb-blob.h +3 -4
- data/vendor/local/include/harfbuzz/hb-buffer.h +22 -1
- data/vendor/local/include/harfbuzz/hb-common.h +23 -18
- data/vendor/local/include/harfbuzz/hb-icu.h +52 -0
- data/vendor/local/include/harfbuzz/hb-ot-font.h +41 -0
- data/vendor/local/include/harfbuzz/hb-ot-layout.h +11 -3
- data/vendor/local/include/harfbuzz/hb-ot-shape.h +10 -11
- data/vendor/local/include/harfbuzz/hb-ot.h +1 -0
- data/vendor/local/include/harfbuzz/hb-version.h +7 -7
- data/vendor/local/include/layout/LEFontInstance.h +550 -0
- data/vendor/local/include/layout/LEGlyphFilter.h +45 -0
- data/vendor/local/include/layout/LEGlyphStorage.h +546 -0
- data/vendor/local/include/layout/LEInsertionList.h +177 -0
- data/vendor/local/include/layout/LELanguages.h +112 -0
- data/vendor/local/include/layout/LEScripts.h +263 -0
- data/vendor/local/include/layout/LESwaps.h +100 -0
- data/vendor/local/include/layout/LETableReference.h +418 -0
- data/vendor/local/include/layout/LETypes.h +728 -0
- data/vendor/local/include/layout/LayoutEngine.h +518 -0
- data/vendor/local/include/layout/ParagraphLayout.h +747 -0
- data/vendor/local/include/layout/RunArrays.h +676 -0
- data/vendor/local/include/layout/loengine.h +225 -0
- data/vendor/local/include/layout/playout.h +466 -0
- data/vendor/local/include/layout/plruns.h +441 -0
- data/vendor/local/include/pango-1.0/pango/pango-features.h +2 -2
- data/vendor/local/include/pango-1.0/pango/pango-font.h +3 -1
- data/vendor/local/include/pango-1.0/pango/pango-item.h +11 -2
- data/vendor/local/include/unicode/alphaindex.h +752 -0
- data/vendor/local/include/unicode/appendable.h +232 -0
- data/vendor/local/include/unicode/basictz.h +214 -0
- data/vendor/local/include/unicode/brkiter.h +655 -0
- data/vendor/local/include/unicode/bytestream.h +257 -0
- data/vendor/local/include/unicode/bytestrie.h +519 -0
- data/vendor/local/include/unicode/bytestriebuilder.h +181 -0
- data/vendor/local/include/unicode/calendar.h +2519 -0
- data/vendor/local/include/unicode/caniter.h +208 -0
- data/vendor/local/include/unicode/chariter.h +722 -0
- data/vendor/local/include/unicode/choicfmt.h +594 -0
- data/vendor/local/include/unicode/coleitr.h +404 -0
- data/vendor/local/include/unicode/coll.h +1267 -0
- data/vendor/local/include/unicode/compactdecimalformat.h +330 -0
- data/vendor/local/include/unicode/curramt.h +130 -0
- data/vendor/local/include/unicode/currpinf.h +258 -0
- data/vendor/local/include/unicode/currunit.h +110 -0
- data/vendor/local/include/unicode/datefmt.h +883 -0
- data/vendor/local/include/unicode/dbbi.h +40 -0
- data/vendor/local/include/unicode/dcfmtsym.h +482 -0
- data/vendor/local/include/unicode/decimfmt.h +2479 -0
- data/vendor/local/include/unicode/docmain.h +215 -0
- data/vendor/local/include/unicode/dtfmtsym.h +912 -0
- data/vendor/local/include/unicode/dtintrv.h +158 -0
- data/vendor/local/include/unicode/dtitvfmt.h +985 -0
- data/vendor/local/include/unicode/dtitvinf.h +514 -0
- data/vendor/local/include/unicode/dtptngen.h +498 -0
- data/vendor/local/include/unicode/dtrule.h +250 -0
- data/vendor/local/include/unicode/enumset.h +64 -0
- data/vendor/local/include/unicode/errorcode.h +137 -0
- data/vendor/local/include/unicode/fieldpos.h +291 -0
- data/vendor/local/include/unicode/filteredbrk.h +131 -0
- data/vendor/local/include/unicode/fmtable.h +760 -0
- data/vendor/local/include/unicode/format.h +305 -0
- data/vendor/local/include/unicode/fpositer.h +117 -0
- data/vendor/local/include/unicode/gender.h +111 -0
- data/vendor/local/include/unicode/gregocal.h +777 -0
- data/vendor/local/include/unicode/icudataver.h +41 -0
- data/vendor/local/include/unicode/icuplug.h +371 -0
- data/vendor/local/include/unicode/idna.h +323 -0
- data/vendor/local/include/unicode/listformatter.h +167 -0
- data/vendor/local/include/unicode/localpointer.h +304 -0
- data/vendor/local/include/unicode/locdspnm.h +204 -0
- data/vendor/local/include/unicode/locid.h +815 -0
- data/vendor/local/include/unicode/measfmt.h +389 -0
- data/vendor/local/include/unicode/measunit.h +1443 -0
- data/vendor/local/include/unicode/measure.h +159 -0
- data/vendor/local/include/unicode/messagepattern.h +943 -0
- data/vendor/local/include/unicode/msgfmt.h +1093 -0
- data/vendor/local/include/unicode/normalizer2.h +658 -0
- data/vendor/local/include/unicode/normlzr.h +797 -0
- data/vendor/local/include/unicode/numfmt.h +1187 -0
- data/vendor/local/include/unicode/numsys.h +208 -0
- data/vendor/local/include/unicode/parseerr.h +92 -0
- data/vendor/local/include/unicode/parsepos.h +230 -0
- data/vendor/local/include/unicode/platform.h +751 -0
- data/vendor/local/include/unicode/plurfmt.h +615 -0
- data/vendor/local/include/unicode/plurrule.h +501 -0
- data/vendor/local/include/unicode/ptypes.h +126 -0
- data/vendor/local/include/unicode/putil.h +181 -0
- data/vendor/local/include/unicode/rbbi.h +782 -0
- data/vendor/local/include/unicode/rbnf.h +1032 -0
- data/vendor/local/include/unicode/rbtz.h +362 -0
- data/vendor/local/include/unicode/regex.h +1857 -0
- data/vendor/local/include/unicode/region.h +228 -0
- data/vendor/local/include/unicode/reldatefmt.h +498 -0
- data/vendor/local/include/unicode/rep.h +261 -0
- data/vendor/local/include/unicode/resbund.h +490 -0
- data/vendor/local/include/unicode/schriter.h +187 -0
- data/vendor/local/include/unicode/scientificformathelper.h +139 -0
- data/vendor/local/include/unicode/search.h +575 -0
- data/vendor/local/include/unicode/selfmt.h +367 -0
- data/vendor/local/include/unicode/simpletz.h +928 -0
- data/vendor/local/include/unicode/smpdtfmt.h +1592 -0
- data/vendor/local/include/unicode/sortkey.h +338 -0
- data/vendor/local/include/unicode/std_string.h +37 -0
- data/vendor/local/include/unicode/strenum.h +276 -0
- data/vendor/local/include/unicode/stringpiece.h +224 -0
- data/vendor/local/include/unicode/stringtriebuilder.h +402 -0
- data/vendor/local/include/unicode/stsearch.h +504 -0
- data/vendor/local/include/unicode/symtable.h +112 -0
- data/vendor/local/include/unicode/tblcoll.h +873 -0
- data/vendor/local/include/unicode/timezone.h +948 -0
- data/vendor/local/include/unicode/tmunit.h +129 -0
- data/vendor/local/include/unicode/tmutamt.h +168 -0
- data/vendor/local/include/unicode/tmutfmt.h +243 -0
- data/vendor/local/include/unicode/translit.h +1342 -0
- data/vendor/local/include/unicode/tzfmt.h +1098 -0
- data/vendor/local/include/unicode/tznames.h +404 -0
- data/vendor/local/include/unicode/tzrule.h +828 -0
- data/vendor/local/include/unicode/tztrans.h +195 -0
- data/vendor/local/include/unicode/ubidi.h +2186 -0
- data/vendor/local/include/unicode/ubrk.h +540 -0
- data/vendor/local/include/unicode/ucal.h +1560 -0
- data/vendor/local/include/unicode/ucasemap.h +423 -0
- data/vendor/local/include/unicode/ucat.h +158 -0
- data/vendor/local/include/unicode/uchar.h +3426 -0
- data/vendor/local/include/unicode/ucharstrie.h +576 -0
- data/vendor/local/include/unicode/ucharstriebuilder.h +185 -0
- data/vendor/local/include/unicode/uchriter.h +381 -0
- data/vendor/local/include/unicode/uclean.h +258 -0
- data/vendor/local/include/unicode/ucnv.h +2036 -0
- data/vendor/local/include/unicode/ucnv_cb.h +162 -0
- data/vendor/local/include/unicode/ucnv_err.h +463 -0
- data/vendor/local/include/unicode/ucnvsel.h +187 -0
- data/vendor/local/include/unicode/ucol.h +1474 -0
- data/vendor/local/include/unicode/ucoleitr.h +266 -0
- data/vendor/local/include/unicode/uconfig.h +430 -0
- data/vendor/local/include/unicode/ucsdet.h +413 -0
- data/vendor/local/include/unicode/ucurr.h +424 -0
- data/vendor/local/include/unicode/udat.h +1536 -0
- data/vendor/local/include/unicode/udata.h +430 -0
- data/vendor/local/include/unicode/udateintervalformat.h +181 -0
- data/vendor/local/include/unicode/udatpg.h +588 -0
- data/vendor/local/include/unicode/udisplaycontext.h +150 -0
- data/vendor/local/include/unicode/uenum.h +206 -0
- data/vendor/local/include/unicode/uformattable.h +280 -0
- data/vendor/local/include/unicode/ugender.h +82 -0
- data/vendor/local/include/unicode/uidna.h +762 -0
- data/vendor/local/include/unicode/uiter.h +707 -0
- data/vendor/local/include/unicode/uldnames.h +302 -0
- data/vendor/local/include/unicode/uloc.h +1256 -0
- data/vendor/local/include/unicode/ulocdata.h +277 -0
- data/vendor/local/include/unicode/umachine.h +356 -0
- data/vendor/local/include/unicode/umisc.h +60 -0
- data/vendor/local/include/unicode/umsg.h +623 -0
- data/vendor/local/include/unicode/unifilt.h +120 -0
- data/vendor/local/include/unicode/unifunct.h +125 -0
- data/vendor/local/include/unicode/unimatch.h +163 -0
- data/vendor/local/include/unicode/unirepl.h +97 -0
- data/vendor/local/include/unicode/uniset.h +1691 -0
- data/vendor/local/include/unicode/unistr.h +4470 -0
- data/vendor/local/include/unicode/unorm.h +561 -0
- data/vendor/local/include/unicode/unorm2.h +528 -0
- data/vendor/local/include/unicode/unum.h +1328 -0
- data/vendor/local/include/unicode/unumsys.h +170 -0
- data/vendor/local/include/unicode/uobject.h +320 -0
- data/vendor/local/include/unicode/upluralrules.h +145 -0
- data/vendor/local/include/unicode/uregex.h +1591 -0
- data/vendor/local/include/unicode/uregion.h +248 -0
- data/vendor/local/include/unicode/urename.h +1784 -0
- data/vendor/local/include/unicode/urep.h +155 -0
- data/vendor/local/include/unicode/ures.h +887 -0
- data/vendor/local/include/unicode/uscript.h +642 -0
- data/vendor/local/include/unicode/usearch.h +885 -0
- data/vendor/local/include/unicode/uset.h +1126 -0
- data/vendor/local/include/unicode/usetiter.h +318 -0
- data/vendor/local/include/unicode/ushape.h +474 -0
- data/vendor/local/include/unicode/uspoof.h +1064 -0
- data/vendor/local/include/unicode/usprep.h +269 -0
- data/vendor/local/include/unicode/ustdio.h +1018 -0
- data/vendor/local/include/unicode/ustream.h +68 -0
- data/vendor/local/include/unicode/ustring.h +1700 -0
- data/vendor/local/include/unicode/ustringtrie.h +95 -0
- data/vendor/local/include/unicode/utext.h +1600 -0
- data/vendor/local/include/unicode/utf.h +223 -0
- data/vendor/local/include/unicode/utf16.h +623 -0
- data/vendor/local/include/unicode/utf32.h +23 -0
- data/vendor/local/include/unicode/utf8.h +824 -0
- data/vendor/local/include/unicode/utf_old.h +1169 -0
- data/vendor/local/include/unicode/utmscale.h +481 -0
- data/vendor/local/include/unicode/utrace.h +359 -0
- data/vendor/local/include/unicode/utrans.h +658 -0
- data/vendor/local/include/unicode/utypes.h +723 -0
- data/vendor/local/include/unicode/uvernum.h +170 -0
- data/vendor/local/include/unicode/uversion.h +193 -0
- data/vendor/local/include/unicode/vtzone.h +455 -0
- data/vendor/local/lib/girepository-1.0/Pango-1.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/PangoCairo-1.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/PangoFT2-1.0.typelib +0 -0
- data/vendor/local/lib/icu/54.1/Makefile.inc +293 -0
- data/vendor/local/lib/icu/54.1/pkgdata.inc +17 -0
- data/vendor/local/lib/icu/Makefile.inc +293 -0
- data/vendor/local/lib/icu/pkgdata.inc +17 -0
- data/vendor/local/lib/icudt.dll +0 -0
- data/vendor/local/lib/icudt54.dll +0 -0
- data/vendor/local/lib/icuin.dll +0 -0
- data/vendor/local/lib/icuin54.dll +0 -0
- data/vendor/local/lib/icuio.dll +0 -0
- data/vendor/local/lib/icuio54.dll +0 -0
- data/vendor/local/lib/icule.dll +0 -0
- data/vendor/local/lib/icule54.dll +0 -0
- data/vendor/local/lib/iculx.dll +0 -0
- data/vendor/local/lib/iculx54.dll +0 -0
- data/vendor/local/lib/icutest.dll +0 -0
- data/vendor/local/lib/icutest54.dll +0 -0
- data/vendor/local/lib/icutu.dll +0 -0
- data/vendor/local/lib/icutu54.dll +0 -0
- data/vendor/local/lib/icuuc.dll +0 -0
- data/vendor/local/lib/icuuc54.dll +0 -0
- data/vendor/local/lib/libharfbuzz-icu.a +0 -0
- data/vendor/local/lib/libharfbuzz-icu.la +41 -0
- data/vendor/local/lib/libharfbuzz.dll.a +0 -0
- data/vendor/local/lib/libharfbuzz.la +3 -3
- data/vendor/local/lib/libicudt.dll.a +0 -0
- data/vendor/local/lib/libicuin.dll.a +0 -0
- data/vendor/local/lib/libicuio.dll.a +0 -0
- data/vendor/local/lib/libicule.dll.a +0 -0
- data/vendor/local/lib/libiculx.dll.a +0 -0
- data/vendor/local/lib/libicutest.dll.a +0 -0
- data/vendor/local/lib/libicutu.dll.a +0 -0
- data/vendor/local/lib/libicuuc.dll.a +0 -0
- data/vendor/local/lib/libpango-1.0.dll.a +0 -0
- data/vendor/local/lib/libpango-1.0.la +2 -2
- data/vendor/local/lib/libpangocairo-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangocairo-1.0.la +2 -2
- data/vendor/local/lib/libpangoft2-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangoft2-1.0.la +2 -2
- data/vendor/local/lib/libpangowin32-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangowin32-1.0.la +2 -2
- data/vendor/local/lib/pango/1.8.0/modules/pango-arabic-lang.dll +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-arabic-lang.dll.a +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-arabic-lang.la +1 -1
- data/vendor/local/lib/pango/1.8.0/modules/pango-basic-fc.dll +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-basic-fc.dll.a +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-basic-fc.la +1 -1
- data/vendor/local/lib/pango/1.8.0/modules/pango-basic-win32.dll +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-basic-win32.dll.a +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-basic-win32.la +1 -1
- data/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.dll +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.dll.a +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.la +1 -1
- data/vendor/local/lib/pkgconfig/harfbuzz-icu.pc +13 -0
- data/vendor/local/lib/pkgconfig/harfbuzz.pc +1 -1
- data/vendor/local/lib/pkgconfig/icu-i18n.pc +38 -0
- data/vendor/local/lib/pkgconfig/icu-io.pc +38 -0
- data/vendor/local/lib/pkgconfig/icu-le.pc +38 -0
- data/vendor/local/lib/pkgconfig/icu-lx.pc +38 -0
- data/vendor/local/lib/pkgconfig/icu-uc.pc +38 -0
- data/vendor/local/lib/pkgconfig/pango.pc +1 -1
- data/vendor/local/lib/pkgconfig/pangocairo.pc +1 -1
- data/vendor/local/lib/pkgconfig/pangoft2.pc +1 -1
- data/vendor/local/lib/pkgconfig/pangowin32.pc +1 -1
- data/vendor/local/share/gir-1.0/Pango-1.0.gir +3009 -462
- data/vendor/local/share/gir-1.0/PangoCairo-1.0.gir +64 -22
- data/vendor/local/share/gir-1.0/PangoFT2-1.0.gir +4 -2
- data/vendor/local/share/gtk-doc/html/harfbuzz/annotation-glossary.html +30 -26
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-full.html +343 -313
- data/vendor/local/share/gtk-doc/html/harfbuzz/ch01.html +5 -5
- data/vendor/local/share/gtk-doc/html/harfbuzz/deprecated-api-index.html +6 -8
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-blob.html +442 -247
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-buffer.html +1389 -654
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-common.html +954 -698
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-coretext.html +95 -18
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-deprecated.html +36 -27
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-face.html +477 -191
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-font.html +1951 -1039
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ft.html +123 -65
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-glib.html +66 -21
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-gobject.html +11 -13
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-graphite2.html +67 -23
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-icu.html +66 -21
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot-layout.html +574 -347
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot-tag.html +104 -37
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot.html +10 -27
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-set.html +744 -318
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-shape-plan.html +294 -153
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-shape.html +196 -104
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-unicode.html +1100 -757
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-uniscribe.html +51 -18
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-version.html +110 -84
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb.html +11 -13
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz.devhelp2 +289 -503
- data/vendor/local/share/gtk-doc/html/harfbuzz/index.html +3 -3
- data/vendor/local/share/gtk-doc/html/harfbuzz/index.sgml +161 -316
- data/vendor/local/share/gtk-doc/html/harfbuzz/object-tree.html +31 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/style.css +260 -105
- data/vendor/local/share/gtk-doc/html/pango/PangoEngineLang.html +143 -105
- data/vendor/local/share/gtk-doc/html/pango/PangoEngineShape.html +150 -108
- data/vendor/local/share/gtk-doc/html/pango/PangoFcDecoder.html +163 -112
- data/vendor/local/share/gtk-doc/html/pango/PangoFcFont.html +348 -229
- data/vendor/local/share/gtk-doc/html/pango/PangoFcFontMap.html +746 -514
- data/vendor/local/share/gtk-doc/html/pango/PangoMarkupFormat.html +9 -9
- data/vendor/local/share/gtk-doc/html/pango/PangoRenderer.html +853 -623
- data/vendor/local/share/gtk-doc/html/pango/annotation-glossary.html +29 -13
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-10.html +31 -33
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-12.html +10 -12
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-14.html +12 -14
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-16.html +53 -55
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-18.html +28 -30
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-2.html +29 -31
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-20.html +17 -19
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-22.html +28 -30
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-24.html +17 -19
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-26.html +9 -11
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-30.html +6 -6
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-31-0.html +6 -6
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-32-4.html +11 -13
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-32.html +7 -9
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-34.html +5 -5
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-4.html +49 -51
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-6.html +36 -38
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-8.html +37 -39
- data/vendor/local/share/gtk-doc/html/pango/api-index-deprecated.html +68 -70
- data/vendor/local/share/gtk-doc/html/pango/api-index-full.html +568 -570
- data/vendor/local/share/gtk-doc/html/pango/index.html +3 -3
- data/vendor/local/share/gtk-doc/html/pango/index.sgml +229 -399
- data/vendor/local/share/gtk-doc/html/pango/lowlevel.html +4 -4
- data/vendor/local/share/gtk-doc/html/pango/pango-Bidirectional-Text.html +345 -259
- data/vendor/local/share/gtk-doc/html/pango/pango-Cairo-Rendering.html +979 -664
- data/vendor/local/share/gtk-doc/html/pango/pango-CoreText-Fonts.html +70 -43
- data/vendor/local/share/gtk-doc/html/pango/pango-Coverage-Maps.html +349 -229
- data/vendor/local/share/gtk-doc/html/pango/pango-Engines.html +236 -153
- data/vendor/local/share/gtk-doc/html/pango/pango-Fonts.html +3100 -2159
- data/vendor/local/share/gtk-doc/html/pango/pango-FreeType-Fonts-and-Rendering.html +659 -472
- data/vendor/local/share/gtk-doc/html/pango/pango-Glyph-Storage.html +1952 -1384
- data/vendor/local/share/gtk-doc/html/pango/pango-Layout-Objects.html +3050 -2135
- data/vendor/local/share/gtk-doc/html/pango/pango-Miscellaneous-Utilities.html +676 -463
- data/vendor/local/share/gtk-doc/html/pango/pango-Modules.html +223 -146
- data/vendor/local/share/gtk-doc/html/pango/pango-OpenType-Font-Handling.html +1589 -1199
- data/vendor/local/share/gtk-doc/html/pango/pango-Scripts-and-Languages.html +1072 -842
- data/vendor/local/share/gtk-doc/html/pango/pango-Tab-Stops.html +406 -276
- data/vendor/local/share/gtk-doc/html/pango/pango-Text-Attributes.html +2541 -1792
- data/vendor/local/share/gtk-doc/html/pango/pango-Text-Processing.html +1479 -1033
- data/vendor/local/share/gtk-doc/html/pango/pango-Version-Checking.html +214 -154
- data/vendor/local/share/gtk-doc/html/pango/pango-Vertical-Text.html +374 -291
- data/vendor/local/share/gtk-doc/html/pango/pango-Win32-Fonts-and-Rendering.html +733 -498
- data/vendor/local/share/gtk-doc/html/pango/pango-Xft-Fonts-and-Rendering.html +893 -617
- data/vendor/local/share/gtk-doc/html/pango/pango-hierarchy.html +59 -59
- data/vendor/local/share/gtk-doc/html/pango/pango-querymodules.html +5 -5
- data/vendor/local/share/gtk-doc/html/pango/pango.devhelp2 +578 -782
- data/vendor/local/share/gtk-doc/html/pango/pango.html +4 -4
- data/vendor/local/share/gtk-doc/html/pango/rendering.html +4 -4
- data/vendor/local/share/gtk-doc/html/pango/style.css +260 -105
- data/vendor/local/share/gtk-doc/html/pango/tools.html +4 -4
- data/vendor/local/share/icu/54.1/config/mh-mingw +158 -0
- data/vendor/local/share/icu/54.1/install-sh +251 -0
- data/vendor/local/share/icu/54.1/license.html +385 -0
- data/vendor/local/share/icu/54.1/mkinstalldirs +43 -0
- data/vendor/local/share/license/harfbuzz/AUTHORS +1 -0
- data/vendor/local/share/man/man1/derb.1 +196 -0
- data/vendor/local/share/man/man1/genbrk.1 +112 -0
- data/vendor/local/share/man/man1/gencfu.1 +91 -0
- data/vendor/local/share/man/man1/gencnval.1 +91 -0
- data/vendor/local/share/man/man1/gendict.1 +131 -0
- data/vendor/local/share/man/man1/genrb.1 +146 -0
- data/vendor/local/share/man/man1/icu-config.1 +288 -0
- data/vendor/local/share/man/man1/makeconv.1 +112 -0
- data/vendor/local/share/man/man1/pango-querymodules.1 +2 -2
- data/vendor/local/share/man/man1/pango-view.1 +1 -118
- data/vendor/local/share/man/man1/pkgdata.1 +258 -0
- data/vendor/local/share/man/man1/uconv.1 +443 -0
- data/vendor/local/share/man/man8/genccode.8 +106 -0
- data/vendor/local/share/man/man8/gencmn.8 +129 -0
- data/vendor/local/share/man/man8/gensprep.8 +102 -0
- data/vendor/local/share/man/man8/icupkg.8 +204 -0
- metadata +266 -14
- data/lib/1.9/pango.so +0 -0
- data/lib/2.1/pango.so +0 -0
@@ -8,17 +8,15 @@
|
|
8
8
|
<link rel="up" href="pango.html" title="Basic Pango Interfaces">
|
9
9
|
<link rel="prev" href="pango-Layout-Objects.html" title="Layout Objects">
|
10
10
|
<link rel="next" href="pango-Bidirectional-Text.html" title="Bidirectional Text">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.21.1 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
15
|
-
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="
|
16
|
-
<td width="100%" align="left">
|
17
|
-
<a href="#" class="shortcut">Top</a>
|
18
|
-
|
19
|
-
<a href="#pango-Scripts-and-Languages.
|
20
|
-
|
|
21
|
-
<a href="#pango-Scripts-and-Languages.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
15
|
+
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
|
16
|
+
<td width="100%" align="left" class="shortcuts">
|
17
|
+
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
|
18
|
+
<a href="#pango-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>
|
22
20
|
</td>
|
23
21
|
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
24
22
|
<td><a accesskey="u" href="pango.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
@@ -32,1169 +30,1401 @@
|
|
32
30
|
<h2><span class="refentrytitle"><a name="pango-Scripts-and-Languages.top_of_page"></a>Scripts and Languages</span></h2>
|
33
31
|
<p>Scripts and Languages — Identifying writing systems and languages</p>
|
34
32
|
</td>
|
35
|
-
<td valign="top" align="right"></td>
|
33
|
+
<td class="gallery_image" valign="top" align="right"></td>
|
36
34
|
</tr></table></div>
|
37
|
-
<div class="refsynopsisdiv">
|
38
|
-
<a name="pango-Scripts-and-Languages.synopsis"></a><h2>Synopsis</h2>
|
39
|
-
<a name="PangoScript"></a><a name="PangoLanguage"></a><pre class="synopsis">enum <a class="link" href="pango-Scripts-and-Languages.html#PangoScript-enum" title="enum PangoScript">PangoScript</a>;
|
40
|
-
#define <a class="link" href="pango-Scripts-and-Languages.html#PANGO-TYPE-SCRIPT:CAPS" title="PANGO_TYPE_SCRIPT">PANGO_TYPE_SCRIPT</a>
|
41
|
-
<a class="link" href="pango-Scripts-and-Languages.html#PangoScriptIter" title="PangoScriptIter">PangoScriptIter</a>;
|
42
|
-
<a class="link" href="pango-Scripts-and-Languages.html#PangoScript"><span class="returnvalue">PangoScript</span></a> <a class="link" href="pango-Scripts-and-Languages.html#pango-script-for-unichar" title="pango_script_for_unichar ()">pango_script_for_unichar</a> (<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html#gunichar"><span class="type">gunichar</span></a> ch</code></em>);
|
43
|
-
<a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="returnvalue">PangoLanguage</span></a> * <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> (<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoScript"><span class="type">PangoScript</span></a> script</code></em>);
|
44
|
-
<a class="link" href="pango-Scripts-and-Languages.html#PangoScriptIter" title="PangoScriptIter"><span class="returnvalue">PangoScriptIter</span></a> * <a class="link" href="pango-Scripts-and-Languages.html#pango-script-iter-new" title="pango_script_iter_new ()">pango_script_iter_new</a> (<em class="parameter"><code>const <span class="type">char</span> *text</code></em>,
|
45
|
-
<em class="parameter"><code><span class="type">int</span> length</code></em>);
|
46
|
-
<span class="returnvalue">void</span> <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> (<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>,
|
47
|
-
<em class="parameter"><code>const <span class="type">char</span> **start</code></em>,
|
48
|
-
<em class="parameter"><code>const <span class="type">char</span> **end</code></em>,
|
49
|
-
<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoScript"><span class="type">PangoScript</span></a> *script</code></em>);
|
50
|
-
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="pango-Scripts-and-Languages.html#pango-script-iter-next" title="pango_script_iter_next ()">pango_script_iter_next</a> (<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>);
|
51
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Scripts-and-Languages.html#pango-script-iter-free" title="pango_script_iter_free ()">pango_script_iter_free</a> (<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>);
|
52
|
-
<a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage-struct" title="PangoLanguage">PangoLanguage</a>;
|
53
|
-
#define <a class="link" href="pango-Scripts-and-Languages.html#PANGO-TYPE-LANGUAGE:CAPS" title="PANGO_TYPE_LANGUAGE">PANGO_TYPE_LANGUAGE</a>
|
54
|
-
<a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="returnvalue">PangoLanguage</span></a> * <a class="link" href="pango-Scripts-and-Languages.html#pango-language-from-string" title="pango_language_from_string ()">pango_language_from_string</a> (<em class="parameter"><code>const <span class="type">char</span> *language</code></em>);
|
55
|
-
const <span class="returnvalue">char</span> * <a class="link" href="pango-Scripts-and-Languages.html#pango-language-to-string" title="pango_language_to_string ()">pango_language_to_string</a> (<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> *language</code></em>);
|
56
|
-
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="pango-Scripts-and-Languages.html#pango-language-matches" title="pango_language_matches ()">pango_language_matches</a> (<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> *language</code></em>,
|
57
|
-
<em class="parameter"><code>const <span class="type">char</span> *range_list</code></em>);
|
58
|
-
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="pango-Scripts-and-Languages.html#pango-language-includes-script" title="pango_language_includes_script ()">pango_language_includes_script</a> (<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> *language</code></em>,
|
59
|
-
<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoScript"><span class="type">PangoScript</span></a> script</code></em>);
|
60
|
-
const <a class="link" href="pango-Scripts-and-Languages.html#PangoScript"><span class="returnvalue">PangoScript</span></a> * <a class="link" href="pango-Scripts-and-Languages.html#pango-language-get-scripts" title="pango_language_get_scripts ()">pango_language_get_scripts</a> (<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> *language</code></em>,
|
61
|
-
<em class="parameter"><code><span class="type">int</span> *num_scripts</code></em>);
|
62
|
-
<a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="returnvalue">PangoLanguage</span></a> * <a class="link" href="pango-Scripts-and-Languages.html#pango-language-get-default" title="pango_language_get_default ()">pango_language_get_default</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
63
|
-
const <span class="returnvalue">char</span> * <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> (<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> *language</code></em>);
|
64
|
-
</pre>
|
65
|
-
</div>
|
66
35
|
<div class="refsect1">
|
67
|
-
<a name="pango-Scripts-and-Languages.
|
68
|
-
<
|
69
|
-
GEnum
|
70
|
-
+----PangoScript
|
71
|
-
</pre>
|
72
|
-
<pre class="synopsis">
|
73
|
-
GBoxed
|
74
|
-
+----PangoLanguage
|
75
|
-
</pre>
|
76
|
-
</div>
|
77
|
-
<div class="refsect1">
|
78
|
-
<a name="pango-Scripts-and-Languages.description"></a><h2>Description</h2>
|
79
|
-
<p>
|
80
|
-
The functions in this section are used to identify the writing
|
81
|
-
system, or <em class="firstterm">script</em> of individual characters
|
82
|
-
and of ranges within a larger text string.</p>
|
83
|
-
</div>
|
84
|
-
<div class="refsect1">
|
85
|
-
<a name="pango-Scripts-and-Languages.details"></a><h2>Details</h2>
|
86
|
-
<div class="refsect2">
|
87
|
-
<a name="PangoScript-enum"></a><h3>enum PangoScript</h3>
|
88
|
-
<pre class="programlisting">typedef enum {
|
89
|
-
/* ISO 15924 code */
|
90
|
-
PANGO_SCRIPT_INVALID_CODE = -1,
|
91
|
-
PANGO_SCRIPT_COMMON = 0, /* Zyyy */
|
92
|
-
PANGO_SCRIPT_INHERITED, /* Qaai */
|
93
|
-
PANGO_SCRIPT_ARABIC, /* Arab */
|
94
|
-
PANGO_SCRIPT_ARMENIAN, /* Armn */
|
95
|
-
PANGO_SCRIPT_BENGALI, /* Beng */
|
96
|
-
PANGO_SCRIPT_BOPOMOFO, /* Bopo */
|
97
|
-
PANGO_SCRIPT_CHEROKEE, /* Cher */
|
98
|
-
PANGO_SCRIPT_COPTIC, /* Qaac */
|
99
|
-
PANGO_SCRIPT_CYRILLIC, /* Cyrl (Cyrs) */
|
100
|
-
PANGO_SCRIPT_DESERET, /* Dsrt */
|
101
|
-
PANGO_SCRIPT_DEVANAGARI, /* Deva */
|
102
|
-
PANGO_SCRIPT_ETHIOPIC, /* Ethi */
|
103
|
-
PANGO_SCRIPT_GEORGIAN, /* Geor (Geon, Geoa) */
|
104
|
-
PANGO_SCRIPT_GOTHIC, /* Goth */
|
105
|
-
PANGO_SCRIPT_GREEK, /* Grek */
|
106
|
-
PANGO_SCRIPT_GUJARATI, /* Gujr */
|
107
|
-
PANGO_SCRIPT_GURMUKHI, /* Guru */
|
108
|
-
PANGO_SCRIPT_HAN, /* Hani */
|
109
|
-
PANGO_SCRIPT_HANGUL, /* Hang */
|
110
|
-
PANGO_SCRIPT_HEBREW, /* Hebr */
|
111
|
-
PANGO_SCRIPT_HIRAGANA, /* Hira */
|
112
|
-
PANGO_SCRIPT_KANNADA, /* Knda */
|
113
|
-
PANGO_SCRIPT_KATAKANA, /* Kana */
|
114
|
-
PANGO_SCRIPT_KHMER, /* Khmr */
|
115
|
-
PANGO_SCRIPT_LAO, /* Laoo */
|
116
|
-
PANGO_SCRIPT_LATIN, /* Latn (Latf, Latg) */
|
117
|
-
PANGO_SCRIPT_MALAYALAM, /* Mlym */
|
118
|
-
PANGO_SCRIPT_MONGOLIAN, /* Mong */
|
119
|
-
PANGO_SCRIPT_MYANMAR, /* Mymr */
|
120
|
-
PANGO_SCRIPT_OGHAM, /* Ogam */
|
121
|
-
PANGO_SCRIPT_OLD_ITALIC, /* Ital */
|
122
|
-
PANGO_SCRIPT_ORIYA, /* Orya */
|
123
|
-
PANGO_SCRIPT_RUNIC, /* Runr */
|
124
|
-
PANGO_SCRIPT_SINHALA, /* Sinh */
|
125
|
-
PANGO_SCRIPT_SYRIAC, /* Syrc (Syrj, Syrn, Syre) */
|
126
|
-
PANGO_SCRIPT_TAMIL, /* Taml */
|
127
|
-
PANGO_SCRIPT_TELUGU, /* Telu */
|
128
|
-
PANGO_SCRIPT_THAANA, /* Thaa */
|
129
|
-
PANGO_SCRIPT_THAI, /* Thai */
|
130
|
-
PANGO_SCRIPT_TIBETAN, /* Tibt */
|
131
|
-
PANGO_SCRIPT_CANADIAN_ABORIGINAL, /* Cans */
|
132
|
-
PANGO_SCRIPT_YI, /* Yiii */
|
133
|
-
PANGO_SCRIPT_TAGALOG, /* Tglg */
|
134
|
-
PANGO_SCRIPT_HANUNOO, /* Hano */
|
135
|
-
PANGO_SCRIPT_BUHID, /* Buhd */
|
136
|
-
PANGO_SCRIPT_TAGBANWA, /* Tagb */
|
137
|
-
|
138
|
-
/* Unicode-4.0 additions */
|
139
|
-
PANGO_SCRIPT_BRAILLE, /* Brai */
|
140
|
-
PANGO_SCRIPT_CYPRIOT, /* Cprt */
|
141
|
-
PANGO_SCRIPT_LIMBU, /* Limb */
|
142
|
-
PANGO_SCRIPT_OSMANYA, /* Osma */
|
143
|
-
PANGO_SCRIPT_SHAVIAN, /* Shaw */
|
144
|
-
PANGO_SCRIPT_LINEAR_B, /* Linb */
|
145
|
-
PANGO_SCRIPT_TAI_LE, /* Tale */
|
146
|
-
PANGO_SCRIPT_UGARITIC, /* Ugar */
|
147
|
-
|
148
|
-
/* Unicode-4.1 additions */
|
149
|
-
PANGO_SCRIPT_NEW_TAI_LUE, /* Talu */
|
150
|
-
PANGO_SCRIPT_BUGINESE, /* Bugi */
|
151
|
-
PANGO_SCRIPT_GLAGOLITIC, /* Glag */
|
152
|
-
PANGO_SCRIPT_TIFINAGH, /* Tfng */
|
153
|
-
PANGO_SCRIPT_SYLOTI_NAGRI, /* Sylo */
|
154
|
-
PANGO_SCRIPT_OLD_PERSIAN, /* Xpeo */
|
155
|
-
PANGO_SCRIPT_KHAROSHTHI, /* Khar */
|
156
|
-
|
157
|
-
/* Unicode-5.0 additions */
|
158
|
-
PANGO_SCRIPT_UNKNOWN, /* Zzzz */
|
159
|
-
PANGO_SCRIPT_BALINESE, /* Bali */
|
160
|
-
PANGO_SCRIPT_CUNEIFORM, /* Xsux */
|
161
|
-
PANGO_SCRIPT_PHOENICIAN, /* Phnx */
|
162
|
-
PANGO_SCRIPT_PHAGS_PA, /* Phag */
|
163
|
-
PANGO_SCRIPT_NKO, /* Nkoo */
|
164
|
-
|
165
|
-
/* Unicode-5.1 additions */
|
166
|
-
PANGO_SCRIPT_KAYAH_LI, /* Kali */
|
167
|
-
PANGO_SCRIPT_LEPCHA, /* Lepc */
|
168
|
-
PANGO_SCRIPT_REJANG, /* Rjng */
|
169
|
-
PANGO_SCRIPT_SUNDANESE, /* Sund */
|
170
|
-
PANGO_SCRIPT_SAURASHTRA, /* Saur */
|
171
|
-
PANGO_SCRIPT_CHAM, /* Cham */
|
172
|
-
PANGO_SCRIPT_OL_CHIKI, /* Olck */
|
173
|
-
PANGO_SCRIPT_VAI, /* Vaii */
|
174
|
-
PANGO_SCRIPT_CARIAN, /* Cari */
|
175
|
-
PANGO_SCRIPT_LYCIAN, /* Lyci */
|
176
|
-
PANGO_SCRIPT_LYDIAN, /* Lydi */
|
177
|
-
|
178
|
-
/* Unicode-6.0 additions */
|
179
|
-
PANGO_SCRIPT_BATAK, /* Batk */
|
180
|
-
PANGO_SCRIPT_BRAHMI, /* Brah */
|
181
|
-
PANGO_SCRIPT_MANDAIC, /* Mand */
|
182
|
-
|
183
|
-
/* Unicode-6.1 additions */
|
184
|
-
PANGO_SCRIPT_CHAKMA, /* Cakm */
|
185
|
-
PANGO_SCRIPT_MEROITIC_CURSIVE, /* Merc */
|
186
|
-
PANGO_SCRIPT_MEROITIC_HIEROGLYPHS,/* Mero */
|
187
|
-
PANGO_SCRIPT_MIAO, /* Plrd */
|
188
|
-
PANGO_SCRIPT_SHARADA, /* Shrd */
|
189
|
-
PANGO_SCRIPT_SORA_SOMPENG, /* Sora */
|
190
|
-
PANGO_SCRIPT_TAKRI /* Takr */
|
191
|
-
} PangoScript;
|
192
|
-
</pre>
|
193
|
-
<p>
|
194
|
-
The <a class="link" href="pango-Scripts-and-Languages.html#PangoScript"><span class="type">PangoScript</span></a> enumeration identifies different writing
|
195
|
-
systems. The values correspond to the names as defined in the
|
196
|
-
Unicode standard.
|
197
|
-
Note that new types may be added in the future. Applications should be ready
|
198
|
-
to handle unknown values. This enumeration is interchangeable with
|
199
|
-
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/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
|
200
|
-
#24: Script names</a>.</p>
|
201
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
36
|
+
<a name="pango-Scripts-and-Languages.functions"></a><h2>Functions</h2>
|
37
|
+
<div class="informaltable"><table width="100%" border="0">
|
202
38
|
<colgroup>
|
203
|
-
<col
|
204
|
-
<col>
|
39
|
+
<col width="150px" class="functions_return">
|
40
|
+
<col class="functions_name">
|
205
41
|
</colgroup>
|
206
42
|
<tbody>
|
207
43
|
<tr>
|
208
|
-
<td
|
209
|
-
<td
|
210
|
-
</td>
|
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>
|
211
46
|
</tr>
|
212
47
|
<tr>
|
213
|
-
<td
|
214
|
-
<
|
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>
|
215
53
|
</td>
|
216
54
|
</tr>
|
217
55
|
<tr>
|
218
|
-
<td
|
219
|
-
<
|
220
|
-
|
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>
|
221
61
|
</td>
|
222
62
|
</tr>
|
223
63
|
<tr>
|
224
|
-
<td
|
225
|
-
<
|
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>
|
226
69
|
</td>
|
227
70
|
</tr>
|
228
71
|
<tr>
|
229
|
-
<td
|
230
|
-
<
|
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>
|
231
77
|
</td>
|
232
78
|
</tr>
|
233
79
|
<tr>
|
234
|
-
<td
|
235
|
-
<
|
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>
|
236
85
|
</td>
|
237
86
|
</tr>
|
238
87
|
<tr>
|
239
|
-
<td
|
240
|
-
<
|
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>
|
241
93
|
</td>
|
242
94
|
</tr>
|
243
95
|
<tr>
|
244
|
-
<td
|
245
|
-
<td>
|
246
|
-
</td>
|
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>
|
247
98
|
</tr>
|
248
99
|
<tr>
|
249
|
-
<td
|
250
|
-
<
|
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>
|
251
105
|
</td>
|
252
106
|
</tr>
|
253
107
|
<tr>
|
254
|
-
<td
|
255
|
-
|
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>
|
256
112
|
</td>
|
257
113
|
</tr>
|
258
114
|
<tr>
|
259
|
-
<td
|
260
|
-
<
|
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>
|
261
120
|
</td>
|
262
121
|
</tr>
|
263
122
|
<tr>
|
264
|
-
<td
|
265
|
-
<
|
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>
|
266
128
|
</td>
|
267
129
|
</tr>
|
268
130
|
<tr>
|
269
|
-
<td
|
270
|
-
|
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>
|
271
135
|
</td>
|
272
136
|
</tr>
|
273
137
|
<tr>
|
274
|
-
<td
|
275
|
-
<
|
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>
|
276
143
|
</td>
|
277
144
|
</tr>
|
278
145
|
<tr>
|
279
|
-
<td
|
280
|
-
|
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>
|
281
150
|
</td>
|
282
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>
|
283
163
|
<tr>
|
284
|
-
<td
|
285
|
-
<td>
|
286
|
-
</td>
|
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>
|
287
166
|
</tr>
|
288
167
|
<tr>
|
289
|
-
<td
|
290
|
-
<td>
|
291
|
-
</td>
|
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>
|
292
170
|
</tr>
|
293
171
|
<tr>
|
294
|
-
<td
|
295
|
-
<td>
|
296
|
-
</
|
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>
|
297
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>
|
298
780
|
<tr>
|
299
|
-
<td><p><a name="PANGO-SCRIPT-
|
300
|
-
<td>
|
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>
|
301
784
|
</td>
|
785
|
+
<td class="enum_member_annotations"> </td>
|
302
786
|
</tr>
|
303
787
|
<tr>
|
304
|
-
<td><p><a name="PANGO-SCRIPT-
|
305
|
-
<td>
|
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>
|
306
791
|
</td>
|
792
|
+
<td class="enum_member_annotations"> </td>
|
307
793
|
</tr>
|
308
794
|
<tr>
|
309
|
-
<td><p><a name="PANGO-SCRIPT-
|
310
|
-
<td>
|
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>
|
311
799
|
</td>
|
800
|
+
<td class="enum_member_annotations"> </td>
|
312
801
|
</tr>
|
313
802
|
<tr>
|
314
|
-
<td><p><a name="PANGO-SCRIPT-
|
315
|
-
<td>
|
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>
|
316
806
|
</td>
|
807
|
+
<td class="enum_member_annotations"> </td>
|
317
808
|
</tr>
|
318
809
|
<tr>
|
319
|
-
<td><p><a name="PANGO-SCRIPT-
|
320
|
-
<td>
|
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>
|
321
813
|
</td>
|
814
|
+
<td class="enum_member_annotations"> </td>
|
322
815
|
</tr>
|
323
816
|
<tr>
|
324
|
-
<td><p><a name="PANGO-SCRIPT-
|
325
|
-
<td>
|
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>
|
326
820
|
</td>
|
821
|
+
<td class="enum_member_annotations"> </td>
|
327
822
|
</tr>
|
328
823
|
<tr>
|
329
|
-
<td><p><a name="PANGO-SCRIPT-
|
330
|
-
<td>
|
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>
|
331
827
|
</td>
|
828
|
+
<td class="enum_member_annotations"> </td>
|
332
829
|
</tr>
|
333
830
|
<tr>
|
334
|
-
<td><p><a name="PANGO-SCRIPT-
|
335
|
-
<td>
|
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>
|
336
834
|
</td>
|
835
|
+
<td class="enum_member_annotations"> </td>
|
337
836
|
</tr>
|
338
837
|
<tr>
|
339
|
-
<td><p><a name="PANGO-SCRIPT-
|
340
|
-
<td>
|
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>
|
341
841
|
</td>
|
842
|
+
<td class="enum_member_annotations"> </td>
|
342
843
|
</tr>
|
343
844
|
<tr>
|
344
|
-
<td><p><a name="PANGO-SCRIPT-
|
345
|
-
<td>
|
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>
|
346
848
|
</td>
|
849
|
+
<td class="enum_member_annotations"> </td>
|
347
850
|
</tr>
|
348
851
|
<tr>
|
349
|
-
<td><p><a name="PANGO-SCRIPT-
|
350
|
-
<td>
|
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>
|
351
855
|
</td>
|
856
|
+
<td class="enum_member_annotations"> </td>
|
352
857
|
</tr>
|
353
858
|
<tr>
|
354
|
-
<td><p><a name="PANGO-SCRIPT-
|
355
|
-
<td>
|
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>
|
356
862
|
</td>
|
863
|
+
<td class="enum_member_annotations"> </td>
|
357
864
|
</tr>
|
358
865
|
<tr>
|
359
|
-
<td><p><a name="PANGO-SCRIPT-
|
360
|
-
<td>
|
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>
|
361
869
|
</td>
|
870
|
+
<td class="enum_member_annotations"> </td>
|
362
871
|
</tr>
|
363
872
|
<tr>
|
364
|
-
<td><p><a name="PANGO-SCRIPT-
|
365
|
-
<td>
|
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>
|
366
876
|
</td>
|
877
|
+
<td class="enum_member_annotations"> </td>
|
367
878
|
</tr>
|
368
879
|
<tr>
|
369
|
-
<td><p><a name="PANGO-SCRIPT-
|
370
|
-
<td>
|
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>
|
371
883
|
</td>
|
884
|
+
<td class="enum_member_annotations"> </td>
|
372
885
|
</tr>
|
373
886
|
<tr>
|
374
|
-
<td><p><a name="PANGO-SCRIPT-
|
375
|
-
<td>
|
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>
|
376
890
|
</td>
|
891
|
+
<td class="enum_member_annotations"> </td>
|
377
892
|
</tr>
|
378
893
|
<tr>
|
379
|
-
<td><p><a name="PANGO-SCRIPT-
|
380
|
-
<td>
|
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>
|
381
897
|
</td>
|
898
|
+
<td class="enum_member_annotations"> </td>
|
382
899
|
</tr>
|
383
900
|
<tr>
|
384
|
-
<td><p><a name="PANGO-SCRIPT-
|
385
|
-
<td>
|
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>
|
386
904
|
</td>
|
905
|
+
<td class="enum_member_annotations"> </td>
|
387
906
|
</tr>
|
388
907
|
<tr>
|
389
|
-
<td><p><a name="PANGO-SCRIPT-
|
390
|
-
<td>
|
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>
|
391
911
|
</td>
|
912
|
+
<td class="enum_member_annotations"> </td>
|
392
913
|
</tr>
|
393
914
|
<tr>
|
394
|
-
<td><p><a name="PANGO-SCRIPT-
|
395
|
-
<td>
|
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>
|
396
918
|
</td>
|
919
|
+
<td class="enum_member_annotations"> </td>
|
397
920
|
</tr>
|
398
921
|
<tr>
|
399
|
-
<td><p><a name="PANGO-SCRIPT-
|
400
|
-
<td>
|
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>
|
401
925
|
</td>
|
926
|
+
<td class="enum_member_annotations"> </td>
|
402
927
|
</tr>
|
403
928
|
<tr>
|
404
|
-
<td><p><a name="PANGO-SCRIPT-
|
405
|
-
<td>
|
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>
|
406
932
|
</td>
|
933
|
+
<td class="enum_member_annotations"> </td>
|
407
934
|
</tr>
|
408
935
|
<tr>
|
409
|
-
<td><p><a name="PANGO-SCRIPT-
|
410
|
-
<td>
|
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>
|
411
939
|
</td>
|
940
|
+
<td class="enum_member_annotations"> </td>
|
412
941
|
</tr>
|
413
942
|
<tr>
|
414
|
-
<td><p><a name="PANGO-SCRIPT-
|
415
|
-
<td>
|
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>
|
416
946
|
</td>
|
947
|
+
<td class="enum_member_annotations"> </td>
|
417
948
|
</tr>
|
418
949
|
<tr>
|
419
|
-
<td><p><a name="PANGO-SCRIPT-
|
420
|
-
<td>
|
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>
|
421
953
|
</td>
|
954
|
+
<td class="enum_member_annotations"> </td>
|
422
955
|
</tr>
|
423
956
|
<tr>
|
424
|
-
<td><p><a name="PANGO-SCRIPT-
|
425
|
-
<td>
|
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>
|
426
960
|
</td>
|
961
|
+
<td class="enum_member_annotations"> </td>
|
427
962
|
</tr>
|
428
963
|
<tr>
|
429
|
-
<td><p><a name="PANGO-SCRIPT-
|
430
|
-
<td>
|
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>
|
431
967
|
</td>
|
968
|
+
<td class="enum_member_annotations"> </td>
|
432
969
|
</tr>
|
433
970
|
<tr>
|
434
|
-
<td><p><a name="PANGO-SCRIPT-
|
435
|
-
<td>
|
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>
|
436
974
|
</td>
|
975
|
+
<td class="enum_member_annotations"> </td>
|
437
976
|
</tr>
|
438
977
|
<tr>
|
439
|
-
<td><p><a name="PANGO-SCRIPT-
|
440
|
-
<td>
|
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>
|
441
981
|
</td>
|
982
|
+
<td class="enum_member_annotations"> </td>
|
442
983
|
</tr>
|
443
984
|
<tr>
|
444
|
-
<td><p><a name="PANGO-SCRIPT-
|
445
|
-
<td>
|
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>
|
446
988
|
</td>
|
989
|
+
<td class="enum_member_annotations"> </td>
|
447
990
|
</tr>
|
448
991
|
<tr>
|
449
|
-
<td><p><a name="PANGO-SCRIPT-
|
450
|
-
<td>
|
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>
|
451
995
|
</td>
|
996
|
+
<td class="enum_member_annotations"> </td>
|
452
997
|
</tr>
|
453
998
|
<tr>
|
454
|
-
<td><p><a name="PANGO-SCRIPT-
|
455
|
-
<td>
|
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>
|
456
1002
|
</td>
|
1003
|
+
<td class="enum_member_annotations"> </td>
|
457
1004
|
</tr>
|
458
1005
|
<tr>
|
459
|
-
<td><p><a name="PANGO-SCRIPT-
|
460
|
-
<td>
|
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>
|
461
1009
|
</td>
|
1010
|
+
<td class="enum_member_annotations"> </td>
|
462
1011
|
</tr>
|
463
1012
|
<tr>
|
464
|
-
<td><p><a name="PANGO-SCRIPT-
|
465
|
-
<td>
|
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>
|
466
1016
|
</td>
|
1017
|
+
<td class="enum_member_annotations"> </td>
|
467
1018
|
</tr>
|
468
1019
|
<tr>
|
469
|
-
<td><p><a name="PANGO-SCRIPT-
|
470
|
-
<td>
|
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>
|
471
1023
|
</td>
|
1024
|
+
<td class="enum_member_annotations"> </td>
|
472
1025
|
</tr>
|
473
1026
|
<tr>
|
474
|
-
<td><p><a name="PANGO-SCRIPT-
|
475
|
-
<td>
|
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>
|
476
1030
|
</td>
|
1031
|
+
<td class="enum_member_annotations"> </td>
|
477
1032
|
</tr>
|
478
1033
|
<tr>
|
479
|
-
<td><p><a name="PANGO-SCRIPT-
|
480
|
-
<td>
|
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>
|
481
1037
|
</td>
|
1038
|
+
<td class="enum_member_annotations"> </td>
|
482
1039
|
</tr>
|
483
1040
|
<tr>
|
484
|
-
<td><p><a name="PANGO-SCRIPT-
|
485
|
-
<td>
|
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>
|
486
1044
|
</td>
|
1045
|
+
<td class="enum_member_annotations"> </td>
|
487
1046
|
</tr>
|
488
1047
|
<tr>
|
489
|
-
<td><p><a name="PANGO-SCRIPT-
|
490
|
-
<td>
|
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>
|
491
1051
|
</td>
|
1052
|
+
<td class="enum_member_annotations"> </td>
|
492
1053
|
</tr>
|
493
1054
|
<tr>
|
494
|
-
<td><p><a name="PANGO-SCRIPT-
|
495
|
-
<td>
|
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>
|
496
1058
|
</td>
|
1059
|
+
<td class="enum_member_annotations"> </td>
|
497
1060
|
</tr>
|
498
1061
|
<tr>
|
499
|
-
<td><p><a name="PANGO-SCRIPT-
|
500
|
-
<td>
|
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>
|
501
1065
|
</td>
|
1066
|
+
<td class="enum_member_annotations"> </td>
|
502
1067
|
</tr>
|
503
1068
|
<tr>
|
504
|
-
<td><p><a name="PANGO-SCRIPT-
|
505
|
-
<td>
|
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>
|
506
1072
|
</td>
|
1073
|
+
<td class="enum_member_annotations"> </td>
|
507
1074
|
</tr>
|
508
1075
|
<tr>
|
509
|
-
<td><p><a name="PANGO-SCRIPT-
|
510
|
-
<td>
|
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>
|
511
1079
|
</td>
|
1080
|
+
<td class="enum_member_annotations"> </td>
|
512
1081
|
</tr>
|
513
1082
|
<tr>
|
514
|
-
<td><p><a name="PANGO-SCRIPT-
|
515
|
-
<td>
|
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>
|
516
1086
|
</td>
|
1087
|
+
<td class="enum_member_annotations"> </td>
|
517
1088
|
</tr>
|
518
1089
|
<tr>
|
519
|
-
<td><p><a name="PANGO-SCRIPT-
|
520
|
-
<td>
|
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>
|
521
1093
|
</td>
|
1094
|
+
<td class="enum_member_annotations"> </td>
|
522
1095
|
</tr>
|
523
1096
|
<tr>
|
524
|
-
<td><p><a name="PANGO-SCRIPT-
|
525
|
-
<td>
|
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>
|
526
1100
|
</td>
|
1101
|
+
<td class="enum_member_annotations"> </td>
|
527
1102
|
</tr>
|
528
1103
|
<tr>
|
529
|
-
<td><p><a name="PANGO-SCRIPT-
|
530
|
-
<td>
|
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>
|
531
1107
|
</td>
|
1108
|
+
<td class="enum_member_annotations"> </td>
|
532
1109
|
</tr>
|
533
1110
|
<tr>
|
534
|
-
<td><p><a name="PANGO-SCRIPT-
|
535
|
-
<td>
|
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>
|
536
1114
|
</td>
|
1115
|
+
<td class="enum_member_annotations"> </td>
|
537
1116
|
</tr>
|
538
1117
|
<tr>
|
539
|
-
<td><p><a name="PANGO-SCRIPT-
|
540
|
-
<td>
|
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>
|
541
1121
|
</td>
|
1122
|
+
<td class="enum_member_annotations"> </td>
|
542
1123
|
</tr>
|
543
1124
|
<tr>
|
544
|
-
<td><p><a name="PANGO-SCRIPT-
|
545
|
-
<td>
|
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>
|
546
1128
|
</td>
|
1129
|
+
<td class="enum_member_annotations"> </td>
|
547
1130
|
</tr>
|
548
1131
|
<tr>
|
549
|
-
<td><p><a name="PANGO-SCRIPT-
|
550
|
-
<td>
|
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>
|
551
1135
|
</td>
|
1136
|
+
<td class="enum_member_annotations"> </td>
|
552
1137
|
</tr>
|
553
1138
|
<tr>
|
554
|
-
<td><p><a name="PANGO-SCRIPT-
|
555
|
-
<td>
|
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>
|
556
1142
|
</td>
|
1143
|
+
<td class="enum_member_annotations"> </td>
|
557
1144
|
</tr>
|
558
1145
|
<tr>
|
559
|
-
<td><p><a name="PANGO-SCRIPT-
|
560
|
-
<td>
|
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>
|
561
1149
|
</td>
|
1150
|
+
<td class="enum_member_annotations"> </td>
|
562
1151
|
</tr>
|
563
1152
|
<tr>
|
564
|
-
<td><p><a name="PANGO-SCRIPT-
|
565
|
-
<td>
|
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>
|
566
1156
|
</td>
|
1157
|
+
<td class="enum_member_annotations"> </td>
|
567
1158
|
</tr>
|
568
1159
|
<tr>
|
569
|
-
<td><p><a name="PANGO-SCRIPT-
|
570
|
-
<td>
|
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>
|
571
1163
|
</td>
|
1164
|
+
<td class="enum_member_annotations"> </td>
|
572
1165
|
</tr>
|
573
1166
|
<tr>
|
574
|
-
<td><p><a name="PANGO-SCRIPT-
|
575
|
-
<td>
|
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>
|
576
1170
|
</td>
|
1171
|
+
<td class="enum_member_annotations"> </td>
|
577
1172
|
</tr>
|
578
1173
|
<tr>
|
579
|
-
<td><p><a name="PANGO-SCRIPT-
|
580
|
-
<td>
|
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>
|
581
1177
|
</td>
|
1178
|
+
<td class="enum_member_annotations"> </td>
|
582
1179
|
</tr>
|
583
1180
|
<tr>
|
584
|
-
<td><p><a name="PANGO-SCRIPT-
|
585
|
-
<td>
|
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>
|
586
1184
|
</td>
|
1185
|
+
<td class="enum_member_annotations"> </td>
|
587
1186
|
</tr>
|
588
1187
|
<tr>
|
589
|
-
<td><p><a name="PANGO-SCRIPT-
|
590
|
-
<td>
|
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>
|
591
1191
|
</td>
|
1192
|
+
<td class="enum_member_annotations"> </td>
|
592
1193
|
</tr>
|
593
1194
|
<tr>
|
594
|
-
<td><p><a name="PANGO-SCRIPT-
|
595
|
-
<td>
|
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>
|
596
1198
|
</td>
|
1199
|
+
<td class="enum_member_annotations"> </td>
|
597
1200
|
</tr>
|
598
1201
|
<tr>
|
599
|
-
<td><p><a name="PANGO-SCRIPT-
|
600
|
-
<td>
|
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>
|
601
1205
|
</td>
|
1206
|
+
<td class="enum_member_annotations"> </td>
|
602
1207
|
</tr>
|
603
1208
|
<tr>
|
604
|
-
<td><p><a name="PANGO-SCRIPT-
|
605
|
-
<td>
|
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>
|
606
1212
|
</td>
|
1213
|
+
<td class="enum_member_annotations"> </td>
|
607
1214
|
</tr>
|
608
1215
|
<tr>
|
609
|
-
<td><p><a name="PANGO-SCRIPT-
|
610
|
-
<td>
|
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>
|
611
1219
|
</td>
|
1220
|
+
<td class="enum_member_annotations"> </td>
|
612
1221
|
</tr>
|
613
1222
|
<tr>
|
614
|
-
<td><p><a name="PANGO-SCRIPT-
|
615
|
-
<td>
|
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>
|
616
1226
|
</td>
|
1227
|
+
<td class="enum_member_annotations"> </td>
|
617
1228
|
</tr>
|
618
1229
|
<tr>
|
619
|
-
<td><p><a name="PANGO-SCRIPT-
|
620
|
-
<td>
|
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>
|
621
1233
|
</td>
|
1234
|
+
<td class="enum_member_annotations"> </td>
|
622
1235
|
</tr>
|
623
1236
|
<tr>
|
624
|
-
<td><p><a name="PANGO-SCRIPT-
|
625
|
-
<td>
|
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>
|
626
1240
|
</td>
|
1241
|
+
<td class="enum_member_annotations"> </td>
|
627
1242
|
</tr>
|
628
1243
|
<tr>
|
629
|
-
<td><p><a name="PANGO-SCRIPT-
|
630
|
-
<td>
|
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>
|
631
1247
|
</td>
|
1248
|
+
<td class="enum_member_annotations"> </td>
|
632
1249
|
</tr>
|
633
1250
|
<tr>
|
634
|
-
<td><p><a name="PANGO-SCRIPT-
|
635
|
-
<td>
|
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>
|
636
1254
|
</td>
|
1255
|
+
<td class="enum_member_annotations"> </td>
|
637
1256
|
</tr>
|
638
1257
|
<tr>
|
639
|
-
<td><p><a name="PANGO-SCRIPT-
|
640
|
-
<td>
|
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>
|
641
1261
|
</td>
|
1262
|
+
<td class="enum_member_annotations"> </td>
|
642
1263
|
</tr>
|
643
1264
|
<tr>
|
644
|
-
<td><p><a name="PANGO-SCRIPT-
|
645
|
-
<td>
|
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>
|
646
1268
|
</td>
|
1269
|
+
<td class="enum_member_annotations"> </td>
|
647
1270
|
</tr>
|
648
1271
|
<tr>
|
649
|
-
<td><p><a name="PANGO-SCRIPT-
|
650
|
-
<td>
|
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>
|
651
1275
|
</td>
|
1276
|
+
<td class="enum_member_annotations"> </td>
|
652
1277
|
</tr>
|
653
|
-
</tbody>
|
654
|
-
</table></div>
|
655
|
-
</div>
|
656
|
-
<hr>
|
657
|
-
<div class="refsect2">
|
658
|
-
<a name="PANGO-TYPE-SCRIPT:CAPS"></a><h3>PANGO_TYPE_SCRIPT</h3>
|
659
|
-
<pre class="programlisting">#define PANGO_TYPE_SCRIPT (pango_script_get_type ())
|
660
|
-
</pre>
|
661
|
-
</div>
|
662
|
-
<hr>
|
663
|
-
<div class="refsect2">
|
664
|
-
<a name="PangoScriptIter"></a><h3>PangoScriptIter</h3>
|
665
|
-
<pre class="programlisting">typedef struct _PangoScriptIter PangoScriptIter;</pre>
|
666
|
-
<p>
|
667
|
-
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
|
668
|
-
and identify ranges in different scripts.</p>
|
669
|
-
</div>
|
670
|
-
<hr>
|
671
|
-
<div class="refsect2">
|
672
|
-
<a name="pango-script-for-unichar"></a><h3>pango_script_for_unichar ()</h3>
|
673
|
-
<pre class="programlisting"><a class="link" href="pango-Scripts-and-Languages.html#PangoScript"><span class="returnvalue">PangoScript</span></a> pango_script_for_unichar (<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html#gunichar"><span class="type">gunichar</span></a> ch</code></em>);</pre>
|
674
|
-
<p>
|
675
|
-
Looks up the <a class="link" href="pango-Scripts-and-Languages.html#PangoScript"><span class="type">PangoScript</span></a> for a particular character (as defined by
|
676
|
-
Unicode Standard Annex #24). No check is made for <em class="parameter"><code>ch</code></em> being a
|
677
|
-
valid Unicode character; if you pass in invalid character, the
|
678
|
-
result is undefined.</p>
|
679
|
-
<p>
|
680
|
-
As of Pango 1.18, this function simply returns the return value of
|
681
|
-
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html#g-unichar-get-script"><code class="function">g_unichar_get_script()</code></a>.</p>
|
682
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
683
|
-
<colgroup>
|
684
|
-
<col align="left" valign="top">
|
685
|
-
<col>
|
686
|
-
</colgroup>
|
687
|
-
<tbody>
|
688
|
-
<tr>
|
689
|
-
<td><p><span class="term"><em class="parameter"><code>ch</code></em> :</span></p></td>
|
690
|
-
<td>a Unicode character</td>
|
691
|
-
</tr>
|
692
|
-
<tr>
|
693
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
694
|
-
<td>the <a class="link" href="pango-Scripts-and-Languages.html#PangoScript"><span class="type">PangoScript</span></a> for the character.</td>
|
695
|
-
</tr>
|
696
|
-
</tbody>
|
697
|
-
</table></div>
|
698
|
-
<p class="since">Since 1.4</p>
|
699
|
-
</div>
|
700
|
-
<hr>
|
701
|
-
<div class="refsect2">
|
702
|
-
<a name="pango-script-get-sample-language"></a><h3>pango_script_get_sample_language ()</h3>
|
703
|
-
<pre class="programlisting"><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="returnvalue">PangoLanguage</span></a> * pango_script_get_sample_language (<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoScript"><span class="type">PangoScript</span></a> script</code></em>);</pre>
|
704
|
-
<p>
|
705
|
-
Given a script, finds a language tag that is reasonably
|
706
|
-
representative of that script. This will usually be the
|
707
|
-
most widely spoken or used language written in that script:
|
708
|
-
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>
|
709
|
-
is <code class="literal">ru</code> (Russian), the sample language
|
710
|
-
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>
|
711
|
-
<p>
|
712
|
-
For some
|
713
|
-
scripts, no sample language will be returned because there
|
714
|
-
is no language that is sufficiently representative. The best
|
715
|
-
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
|
716
|
-
variants of written Chinese, Japanese, and Korean all use
|
717
|
-
significantly different sets of Han characters and forms
|
718
|
-
of shared characters. No sample language can be provided
|
719
|
-
for many historical scripts as well.</p>
|
720
|
-
<p>
|
721
|
-
As of 1.18, this function checks the environment variables
|
722
|
-
PANGO_LANGUAGE and LANGUAGE (checked in that order) first.
|
723
|
-
If one of them is set, it is parsed as a list of language tags
|
724
|
-
separated by colons or other separators. This function
|
725
|
-
will return the first language in the parsed list that Pango
|
726
|
-
believes may use <em class="parameter"><code>script</code></em> for writing. This last predicate
|
727
|
-
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
|
728
|
-
be used to control Pango's font selection for non-primary
|
729
|
-
languages. For example, a PANGO_LANGUAGE enviroment variable
|
730
|
-
set to "en:fa" makes Pango choose fonts suitable for Persian (fa)
|
731
|
-
instead of Arabic (ar) when a segment of Arabic text is found
|
732
|
-
in an otherwise non-Arabic text. The same trick can be used to
|
733
|
-
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
|
734
|
-
context language is not feasible.</p>
|
735
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
736
|
-
<colgroup>
|
737
|
-
<col align="left" valign="top">
|
738
|
-
<col>
|
739
|
-
</colgroup>
|
740
|
-
<tbody>
|
741
1278
|
<tr>
|
742
|
-
<td
|
743
|
-
<td
|
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>
|
744
1282
|
</td>
|
1283
|
+
<td class="enum_member_annotations"> </td>
|
745
1284
|
</tr>
|
746
1285
|
<tr>
|
747
|
-
<td
|
748
|
-
<td
|
749
|
-
|
750
|
-
</tr>
|
751
|
-
</tbody>
|
752
|
-
</table></div>
|
753
|
-
<p class="since">Since 1.4</p>
|
754
|
-
</div>
|
755
|
-
<hr>
|
756
|
-
<div class="refsect2">
|
757
|
-
<a name="pango-script-iter-new"></a><h3>pango_script_iter_new ()</h3>
|
758
|
-
<pre class="programlisting"><a class="link" href="pango-Scripts-and-Languages.html#PangoScriptIter" title="PangoScriptIter"><span class="returnvalue">PangoScriptIter</span></a> * pango_script_iter_new (<em class="parameter"><code>const <span class="type">char</span> *text</code></em>,
|
759
|
-
<em class="parameter"><code><span class="type">int</span> length</code></em>);</pre>
|
760
|
-
<p>
|
761
|
-
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
|
762
|
-
Unicode into runs by text. No copy is made of <em class="parameter"><code>text</code></em>, so
|
763
|
-
the caller needs to make sure it remains valid until
|
764
|
-
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>
|
765
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
766
|
-
<colgroup>
|
767
|
-
<col align="left" valign="top">
|
768
|
-
<col>
|
769
|
-
</colgroup>
|
770
|
-
<tbody>
|
771
|
-
<tr>
|
772
|
-
<td><p><span class="term"><em class="parameter"><code>text</code></em> :</span></p></td>
|
773
|
-
<td>a UTF-8 string</td>
|
774
|
-
</tr>
|
775
|
-
<tr>
|
776
|
-
<td><p><span class="term"><em class="parameter"><code>length</code></em> :</span></p></td>
|
777
|
-
<td>length of <em class="parameter"><code>text</code></em>, or -1 if <em class="parameter"><code>text</code></em> is nul-terminated.</td>
|
778
|
-
</tr>
|
779
|
-
<tr>
|
780
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
781
|
-
<td>the new script iterator, initialized
|
782
|
-
to point at the first range in the text, which should be
|
783
|
-
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
|
784
|
-
empty, it will point at an empty range.</td>
|
785
|
-
</tr>
|
786
|
-
</tbody>
|
787
|
-
</table></div>
|
788
|
-
<p class="since">Since 1.4</p>
|
789
|
-
</div>
|
790
|
-
<hr>
|
791
|
-
<div class="refsect2">
|
792
|
-
<a name="pango-script-iter-get-range"></a><h3>pango_script_iter_get_range ()</h3>
|
793
|
-
<pre class="programlisting"><span class="returnvalue">void</span> 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>,
|
794
|
-
<em class="parameter"><code>const <span class="type">char</span> **start</code></em>,
|
795
|
-
<em class="parameter"><code>const <span class="type">char</span> **end</code></em>,
|
796
|
-
<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoScript"><span class="type">PangoScript</span></a> *script</code></em>);</pre>
|
797
|
-
<p>
|
798
|
-
Gets information about the range to which <em class="parameter"><code>iter</code></em> currently points.
|
799
|
-
The range is the set of locations p where *start <= p < *end.
|
800
|
-
(That is, it doesn't include the character stored at *end)</p>
|
801
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
802
|
-
<colgroup>
|
803
|
-
<col align="left" valign="top">
|
804
|
-
<col>
|
805
|
-
</colgroup>
|
806
|
-
<tbody>
|
807
|
-
<tr>
|
808
|
-
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
809
|
-
<td>a <a class="link" href="pango-Scripts-and-Languages.html#PangoScriptIter" title="PangoScriptIter"><span class="type">PangoScriptIter</span></a>
|
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>
|
810
1289
|
</td>
|
1290
|
+
<td class="enum_member_annotations"> </td>
|
811
1291
|
</tr>
|
812
1292
|
<tr>
|
813
|
-
<td
|
814
|
-
<td
|
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>
|
815
1296
|
</td>
|
1297
|
+
<td class="enum_member_annotations"> </td>
|
816
1298
|
</tr>
|
817
1299
|
<tr>
|
818
|
-
<td
|
819
|
-
<td
|
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>
|
820
1303
|
</td>
|
1304
|
+
<td class="enum_member_annotations"> </td>
|
821
1305
|
</tr>
|
822
1306
|
<tr>
|
823
|
-
<td
|
824
|
-
<td
|
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>
|
825
1310
|
</td>
|
1311
|
+
<td class="enum_member_annotations"> </td>
|
826
1312
|
</tr>
|
827
|
-
</tbody>
|
828
|
-
</table></div>
|
829
|
-
<p class="since">Since 1.4</p>
|
830
|
-
</div>
|
831
|
-
<hr>
|
832
|
-
<div class="refsect2">
|
833
|
-
<a name="pango-script-iter-next"></a><h3>pango_script_iter_next ()</h3>
|
834
|
-
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> 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>
|
835
|
-
<p>
|
836
|
-
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>
|
837
|
-
is already at the end, it is left unchanged and <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>
|
838
|
-
is returned.</p>
|
839
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
840
|
-
<colgroup>
|
841
|
-
<col align="left" valign="top">
|
842
|
-
<col>
|
843
|
-
</colgroup>
|
844
|
-
<tbody>
|
845
1313
|
<tr>
|
846
|
-
<td
|
847
|
-
<td
|
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>
|
848
1317
|
</td>
|
1318
|
+
<td class="enum_member_annotations"> </td>
|
849
1319
|
</tr>
|
850
1320
|
<tr>
|
851
|
-
<td
|
852
|
-
<td>
|
853
|
-
<
|
854
|
-
</tr>
|
855
|
-
</tbody>
|
856
|
-
</table></div>
|
857
|
-
<p class="since">Since 1.4</p>
|
858
|
-
</div>
|
859
|
-
<hr>
|
860
|
-
<div class="refsect2">
|
861
|
-
<a name="pango-script-iter-free"></a><h3>pango_script_iter_free ()</h3>
|
862
|
-
<pre class="programlisting"><span class="returnvalue">void</span> 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>
|
863
|
-
<p>
|
864
|
-
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>
|
865
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
866
|
-
<colgroup>
|
867
|
-
<col align="left" valign="top">
|
868
|
-
<col>
|
869
|
-
</colgroup>
|
870
|
-
<tbody><tr>
|
871
|
-
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
872
|
-
<td>a <a class="link" href="pango-Scripts-and-Languages.html#PangoScriptIter" title="PangoScriptIter"><span class="type">PangoScriptIter</span></a>
|
873
|
-
</td>
|
874
|
-
</tr></tbody>
|
875
|
-
</table></div>
|
876
|
-
<p class="since">Since 1.4</p>
|
877
|
-
</div>
|
878
|
-
<hr>
|
879
|
-
<div class="refsect2">
|
880
|
-
<a name="PangoLanguage-struct"></a><h3>PangoLanguage</h3>
|
881
|
-
<pre class="programlisting">typedef struct _PangoLanguage PangoLanguage;</pre>
|
882
|
-
<p>
|
883
|
-
The <a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> structure is used to
|
884
|
-
represent a language.</p>
|
885
|
-
<p>
|
886
|
-
<a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> pointers can be efficiently
|
887
|
-
copied and compared with each other.</p>
|
888
|
-
</div>
|
889
|
-
<hr>
|
890
|
-
<div class="refsect2">
|
891
|
-
<a name="PANGO-TYPE-LANGUAGE:CAPS"></a><h3>PANGO_TYPE_LANGUAGE</h3>
|
892
|
-
<pre class="programlisting">#define PANGO_TYPE_LANGUAGE (pango_language_get_type ())
|
893
|
-
</pre>
|
894
|
-
<p>
|
895
|
-
The <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/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>
|
896
|
-
</div>
|
897
|
-
<hr>
|
898
|
-
<div class="refsect2">
|
899
|
-
<a name="pango-language-from-string"></a><h3>pango_language_from_string ()</h3>
|
900
|
-
<pre class="programlisting"><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="returnvalue">PangoLanguage</span></a> * pango_language_from_string (<em class="parameter"><code>const <span class="type">char</span> *language</code></em>);</pre>
|
901
|
-
<p>
|
902
|
-
Take a RFC-3066 format language tag as a string and convert it to a
|
903
|
-
<a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> pointer that can be efficiently copied (copy the
|
904
|
-
pointer) and compared with other language tags (compare the
|
905
|
-
pointer.)</p>
|
906
|
-
<p>
|
907
|
-
This function first canonicalizes the string by converting it to
|
908
|
-
lowercase, mapping '_' to '-', and stripping all characters other
|
909
|
-
than letters and '-'.</p>
|
910
|
-
<p>
|
911
|
-
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
|
912
|
-
the current locale of the process.</p>
|
913
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
914
|
-
<colgroup>
|
915
|
-
<col align="left" valign="top">
|
916
|
-
<col>
|
917
|
-
</colgroup>
|
918
|
-
<tbody>
|
919
|
-
<tr>
|
920
|
-
<td><p><span class="term"><em class="parameter"><code>language</code></em> :</span></p></td>
|
921
|
-
<td>a string representing a language tag, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
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>
|
922
1324
|
</td>
|
1325
|
+
<td class="enum_member_annotations"> </td>
|
923
1326
|
</tr>
|
924
1327
|
<tr>
|
925
|
-
<td
|
926
|
-
<td>
|
927
|
-
<
|
928
|
-
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. The returned pointer will be valid forever
|
929
|
-
after, and should not be freed. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
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>
|
930
1331
|
</td>
|
931
|
-
</
|
932
|
-
</tbody>
|
933
|
-
</table></div>
|
934
|
-
</div>
|
935
|
-
<hr>
|
936
|
-
<div class="refsect2">
|
937
|
-
<a name="pango-language-to-string"></a><h3>pango_language_to_string ()</h3>
|
938
|
-
<pre class="programlisting">const <span class="returnvalue">char</span> * 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>
|
939
|
-
<p>
|
940
|
-
Gets the RFC-3066 format string representing the given language tag.</p>
|
941
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
942
|
-
<colgroup>
|
943
|
-
<col align="left" valign="top">
|
944
|
-
<col>
|
945
|
-
</colgroup>
|
946
|
-
<tbody>
|
947
|
-
<tr>
|
948
|
-
<td><p><span class="term"><em class="parameter"><code>language</code></em> :</span></p></td>
|
949
|
-
<td>a language tag.</td>
|
1332
|
+
<td class="enum_member_annotations"> </td>
|
950
1333
|
</tr>
|
951
1334
|
<tr>
|
952
|
-
<td
|
953
|
-
<td>
|
954
|
-
|
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>
|
955
1340
|
</tr>
|
956
|
-
</tbody>
|
957
|
-
</table></div>
|
958
|
-
</div>
|
959
|
-
<hr>
|
960
|
-
<div class="refsect2">
|
961
|
-
<a name="pango-language-matches"></a><h3>pango_language_matches ()</h3>
|
962
|
-
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> 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>,
|
963
|
-
<em class="parameter"><code>const <span class="type">char</span> *range_list</code></em>);</pre>
|
964
|
-
<p>
|
965
|
-
Checks if a language tag matches one of the elements in a list of
|
966
|
-
language ranges. A language tag is considered to match a range
|
967
|
-
in the list if the range is '*', the range is exactly the tag,
|
968
|
-
or the range is a prefix of the tag, and the character after it
|
969
|
-
in the tag is '-'.</p>
|
970
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
971
|
-
<colgroup>
|
972
|
-
<col align="left" valign="top">
|
973
|
-
<col>
|
974
|
-
</colgroup>
|
975
|
-
<tbody>
|
976
1341
|
<tr>
|
977
|
-
<td
|
978
|
-
<td
|
979
|
-
<
|
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>
|
980
1347
|
</tr>
|
981
1348
|
<tr>
|
982
|
-
<td
|
983
|
-
<td>
|
984
|
-
|
985
|
-
Each element must either be '*', or a RFC 3066 language range
|
986
|
-
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>
|
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>
|
987
1352
|
</td>
|
1353
|
+
<td class="enum_member_annotations"> </td>
|
988
1354
|
</tr>
|
989
1355
|
<tr>
|
990
|
-
<td
|
991
|
-
<td>
|
992
|
-
<
|
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>
|
993
1361
|
</tr>
|
994
|
-
</tbody>
|
995
|
-
</table></div>
|
996
|
-
</div>
|
997
|
-
<hr>
|
998
|
-
<div class="refsect2">
|
999
|
-
<a name="pango-language-includes-script"></a><h3>pango_language_includes_script ()</h3>
|
1000
|
-
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> 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>,
|
1001
|
-
<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoScript"><span class="type">PangoScript</span></a> script</code></em>);</pre>
|
1002
|
-
<p>
|
1003
|
-
Determines if <em class="parameter"><code>script</code></em> is one of the scripts used to
|
1004
|
-
write <em class="parameter"><code>language</code></em>. The returned value is conservative;
|
1005
|
-
if nothing is known about the language tag <em class="parameter"><code>language</code></em>,
|
1006
|
-
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> will be returned, since, as far as Pango knows,
|
1007
|
-
<em class="parameter"><code>script</code></em> might be used to write <em class="parameter"><code>language</code></em>.</p>
|
1008
|
-
<p>
|
1009
|
-
This routine is used in Pango's itemization process when
|
1010
|
-
determining if a supplied language tag is relevant to
|
1011
|
-
a particular section of text. It probably is not useful for
|
1012
|
-
applications in most circumstances.</p>
|
1013
|
-
<p>
|
1014
|
-
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>
|
1015
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
1016
|
-
<colgroup>
|
1017
|
-
<col align="left" valign="top">
|
1018
|
-
<col>
|
1019
|
-
</colgroup>
|
1020
|
-
<tbody>
|
1021
1362
|
<tr>
|
1022
|
-
<td
|
1023
|
-
<td
|
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>
|
1024
1366
|
</td>
|
1367
|
+
<td class="enum_member_annotations"> </td>
|
1025
1368
|
</tr>
|
1026
1369
|
<tr>
|
1027
|
-
<td
|
1028
|
-
<td
|
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>
|
1029
1373
|
</td>
|
1374
|
+
<td class="enum_member_annotations"> </td>
|
1030
1375
|
</tr>
|
1031
1376
|
<tr>
|
1032
|
-
<td
|
1033
|
-
<td>
|
1034
|
-
<
|
1035
|
-
|
1036
|
-
|
1037
|
-
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</td>
|
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>
|
1038
1382
|
</tr>
|
1039
|
-
</tbody>
|
1040
|
-
</table></div>
|
1041
|
-
<p class="since">Since 1.4</p>
|
1042
|
-
</div>
|
1043
|
-
<hr>
|
1044
|
-
<div class="refsect2">
|
1045
|
-
<a name="pango-language-get-scripts"></a><h3>pango_language_get_scripts ()</h3>
|
1046
|
-
<pre class="programlisting">const <a class="link" href="pango-Scripts-and-Languages.html#PangoScript"><span class="returnvalue">PangoScript</span></a> * 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>,
|
1047
|
-
<em class="parameter"><code><span class="type">int</span> *num_scripts</code></em>);</pre>
|
1048
|
-
<p>
|
1049
|
-
Determines the scripts used to to write <em class="parameter"><code>language</code></em>.
|
1050
|
-
If nothing is known about the language tag <em class="parameter"><code>language</code></em>,
|
1051
|
-
or if <em class="parameter"><code>language</code></em> is <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, then <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> is returned.
|
1052
|
-
The list of scripts returned starts with the script that the
|
1053
|
-
language uses most and continues to the one it uses least.</p>
|
1054
|
-
<p>
|
1055
|
-
The value <em class="parameter"><code>num_script</code></em> points at will be set to the number
|
1056
|
-
of scripts in the returned array (or zero if <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> is returned).</p>
|
1057
|
-
<p>
|
1058
|
-
Most languages use only one script for writing, but there are
|
1059
|
-
some that use two (Latin and Cyrillic for example), and a few
|
1060
|
-
use three (Japanese for example). Applications should not make
|
1061
|
-
any assumptions on the maximum number of scripts returned
|
1062
|
-
though, except that it is positive if the return value is not
|
1063
|
-
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, and it is a small number.</p>
|
1064
|
-
<p>
|
1065
|
-
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
|
1066
|
-
internally.</p>
|
1067
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
1068
|
-
<colgroup>
|
1069
|
-
<col align="left" valign="top">
|
1070
|
-
<col>
|
1071
|
-
</colgroup>
|
1072
|
-
<tbody>
|
1073
1383
|
<tr>
|
1074
|
-
<td
|
1075
|
-
<td
|
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>
|
1076
1387
|
</td>
|
1388
|
+
<td class="enum_member_annotations"> </td>
|
1077
1389
|
</tr>
|
1078
1390
|
<tr>
|
1079
|
-
<td
|
1080
|
-
<td>
|
1081
|
-
|
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>
|
1082
1394
|
</td>
|
1395
|
+
<td class="enum_member_annotations"> </td>
|
1083
1396
|
</tr>
|
1084
1397
|
<tr>
|
1085
|
-
<td
|
1086
|
-
<td
|
1087
|
-
|
1088
|
-
<em class="parameter"><code>num_scripts</code></em>, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if Pango does not have any information about
|
1089
|
-
this particular language tag (also the case if <em class="parameter"><code>language</code></em> is <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>).
|
1090
|
-
The returned array is owned by Pango and should not be modified or
|
1091
|
-
freed. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=num_scripts]</span>
|
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>
|
1092
1401
|
</td>
|
1402
|
+
<td class="enum_member_annotations"> </td>
|
1093
1403
|
</tr>
|
1094
1404
|
</tbody>
|
1095
1405
|
</table></div>
|
1096
|
-
|
1406
|
+
</div>
|
1097
1407
|
</div>
|
1098
1408
|
<hr>
|
1099
1409
|
<div class="refsect2">
|
1100
|
-
<a name="
|
1101
|
-
<pre class="programlisting"
|
1102
|
-
<p>
|
1103
|
-
|
1104
|
-
Note that this can change over the life of an application.</p>
|
1105
|
-
<p>
|
1106
|
-
On Unix systems, this is the return value is derived from
|
1107
|
-
<code class="literal">setlocale(LC_CTYPE, NULL)</code>, and the user can
|
1108
|
-
affect this through the environment variables LC_ALL, LC_CTYPE or
|
1109
|
-
LANG (checked in that order). The locale string typically is in
|
1110
|
-
the form lang_COUNTRY, where lang is an ISO-639 language code, and
|
1111
|
-
COUNTRY is an ISO-3166 country code. For instance, sv_FI for
|
1112
|
-
Swedish as written in Finland or pt_BR for Portuguese as written in
|
1113
|
-
Brazil.</p>
|
1114
|
-
<p>
|
1115
|
-
On Windows, the C library does not use any such environment
|
1116
|
-
variables, and setting them won't affect the behavior of functions
|
1117
|
-
like <code class="function">ctime()</code>. The user sets the locale through the Regional Options
|
1118
|
-
in the Control Panel. The C library (in the <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-running.html#setlocale"><code class="function">setlocale()</code></a> function)
|
1119
|
-
does not use country and language codes, but country and language
|
1120
|
-
names spelled out in English.
|
1121
|
-
However, this function does check the above environment
|
1122
|
-
variables, and does return a Unix-style locale string based on
|
1123
|
-
either said environment variables or the thread's current locale.</p>
|
1124
|
-
<p>
|
1125
|
-
Your application should call <code class="literal">setlocale(LC_ALL, "");</code>
|
1126
|
-
for the user settings to take effect. Gtk+ does this in its initialization
|
1127
|
-
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>).
|
1128
|
-
See <code class="literal">man setlocale</code> for more details.</p>
|
1129
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
1130
|
-
<colgroup>
|
1131
|
-
<col align="left" valign="top">
|
1132
|
-
<col>
|
1133
|
-
</colgroup>
|
1134
|
-
<tbody><tr>
|
1135
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1136
|
-
<td>the default language as a
|
1137
|
-
<a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a>, must not be freed. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
1138
|
-
</td>
|
1139
|
-
</tr></tbody>
|
1140
|
-
</table></div>
|
1141
|
-
<p class="since">Since 1.16</p>
|
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>
|
1142
1414
|
</div>
|
1143
1415
|
<hr>
|
1144
1416
|
<div class="refsect2">
|
1145
|
-
<a name="
|
1146
|
-
<pre class="programlisting">
|
1147
|
-
<p>
|
1148
|
-
|
1149
|
-
|
1150
|
-
|
1151
|
-
The sample text may be a pangram, but is not necessarily. It is chosen to
|
1152
|
-
be demonstrative of normal text in the language, as well as exposing font
|
1153
|
-
feature requirements unique to the language. It is suitable for use
|
1154
|
-
as sample text in a font selection dialog.</p>
|
1155
|
-
<p>
|
1156
|
-
If <em class="parameter"><code>language</code></em> is <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, the default language as found by
|
1157
|
-
<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>
|
1158
|
-
<p>
|
1159
|
-
If Pango does not have a sample string for <em class="parameter"><code>language</code></em>, the classic
|
1160
|
-
"The quick brown fox..." is returned. This can be detected by
|
1161
|
-
comparing the returned pointer value to that returned for (non-existent)
|
1162
|
-
language code "xx". That is, compare to:
|
1163
|
-
</p>
|
1164
|
-
<div class="informalexample">
|
1165
|
-
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
1166
|
-
<tbody>
|
1167
|
-
<tr>
|
1168
|
-
<td class="listing_lines" align="right"><pre>1</pre></td>
|
1169
|
-
<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>
|
1170
|
-
</tr>
|
1171
|
-
</tbody>
|
1172
|
-
</table>
|
1173
|
-
</div>
|
1174
|
-
|
1175
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
1176
|
-
<colgroup>
|
1177
|
-
<col align="left" valign="top">
|
1178
|
-
<col>
|
1179
|
-
</colgroup>
|
1180
|
-
<tbody>
|
1181
|
-
<tr>
|
1182
|
-
<td><p><span class="term"><em class="parameter"><code>language</code></em> :</span></p></td>
|
1183
|
-
<td>a <a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a>, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
1184
|
-
</td>
|
1185
|
-
</tr>
|
1186
|
-
<tr>
|
1187
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1188
|
-
<td>the sample string. This value is owned by Pango
|
1189
|
-
and should not be freed.</td>
|
1190
|
-
</tr>
|
1191
|
-
</tbody>
|
1192
|
-
</table></div>
|
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>
|
1193
1423
|
</div>
|
1194
1424
|
</div>
|
1195
1425
|
</div>
|
1196
1426
|
<div class="footer">
|
1197
1427
|
<hr>
|
1198
|
-
Generated by GTK-Doc V1.
|
1428
|
+
Generated by GTK-Doc V1.21.1</div>
|
1199
1429
|
</body>
|
1200
1430
|
</html>
|