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
@@ -0,0 +1,318 @@
|
|
1
|
+
/*
|
2
|
+
**********************************************************************
|
3
|
+
* Copyright (c) 2002-2014, International Business Machines
|
4
|
+
* Corporation and others. All Rights Reserved.
|
5
|
+
**********************************************************************
|
6
|
+
*/
|
7
|
+
#ifndef USETITER_H
|
8
|
+
#define USETITER_H
|
9
|
+
|
10
|
+
#include "unicode/utypes.h"
|
11
|
+
#include "unicode/uobject.h"
|
12
|
+
#include "unicode/unistr.h"
|
13
|
+
|
14
|
+
/**
|
15
|
+
* \file
|
16
|
+
* \brief C++ API: UnicodeSetIterator iterates over the contents of a UnicodeSet.
|
17
|
+
*/
|
18
|
+
|
19
|
+
U_NAMESPACE_BEGIN
|
20
|
+
|
21
|
+
class UnicodeSet;
|
22
|
+
class UnicodeString;
|
23
|
+
|
24
|
+
/**
|
25
|
+
*
|
26
|
+
* UnicodeSetIterator iterates over the contents of a UnicodeSet. It
|
27
|
+
* iterates over either code points or code point ranges. After all
|
28
|
+
* code points or ranges have been returned, it returns the
|
29
|
+
* multicharacter strings of the UnicodeSet, if any.
|
30
|
+
*
|
31
|
+
* This class is not intended to be subclassed. Consider any fields
|
32
|
+
* or methods declared as "protected" to be private. The use of
|
33
|
+
* protected in this class is an artifact of history.
|
34
|
+
*
|
35
|
+
* <p>To iterate over code points and strings, use a loop like this:
|
36
|
+
* <pre>
|
37
|
+
* UnicodeSetIterator it(set);
|
38
|
+
* while (it.next()) {
|
39
|
+
* processItem(it.getString());
|
40
|
+
* }
|
41
|
+
* </pre>
|
42
|
+
* <p>Each item in the set is accessed as a string. Set elements
|
43
|
+
* consisting of single code points are returned as strings containing
|
44
|
+
* just the one code point.
|
45
|
+
*
|
46
|
+
* <p>To iterate over code point ranges, instead of individual code points,
|
47
|
+
* use a loop like this:
|
48
|
+
* <pre>
|
49
|
+
* UnicodeSetIterator it(set);
|
50
|
+
* while (it.nextRange()) {
|
51
|
+
* if (it.isString()) {
|
52
|
+
* processString(it.getString());
|
53
|
+
* } else {
|
54
|
+
* processCodepointRange(it.getCodepoint(), it.getCodepointEnd());
|
55
|
+
* }
|
56
|
+
* }
|
57
|
+
* </pre>
|
58
|
+
* @author M. Davis
|
59
|
+
* @stable ICU 2.4
|
60
|
+
*/
|
61
|
+
class U_COMMON_API UnicodeSetIterator : public UObject {
|
62
|
+
|
63
|
+
protected:
|
64
|
+
|
65
|
+
/**
|
66
|
+
* Value of <tt>codepoint</tt> if the iterator points to a string.
|
67
|
+
* If <tt>codepoint == IS_STRING</tt>, then examine
|
68
|
+
* <tt>string</tt> for the current iteration result.
|
69
|
+
* @stable ICU 2.4
|
70
|
+
*/
|
71
|
+
enum { IS_STRING = -1 };
|
72
|
+
|
73
|
+
/**
|
74
|
+
* Current code point, or the special value <tt>IS_STRING</tt>, if
|
75
|
+
* the iterator points to a string.
|
76
|
+
* @stable ICU 2.4
|
77
|
+
*/
|
78
|
+
UChar32 codepoint;
|
79
|
+
|
80
|
+
/**
|
81
|
+
* When iterating over ranges using <tt>nextRange()</tt>,
|
82
|
+
* <tt>codepointEnd</tt> contains the inclusive end of the
|
83
|
+
* iteration range, if <tt>codepoint != IS_STRING</tt>. If
|
84
|
+
* iterating over code points using <tt>next()</tt>, or if
|
85
|
+
* <tt>codepoint == IS_STRING</tt>, then the value of
|
86
|
+
* <tt>codepointEnd</tt> is undefined.
|
87
|
+
* @stable ICU 2.4
|
88
|
+
*/
|
89
|
+
UChar32 codepointEnd;
|
90
|
+
|
91
|
+
/**
|
92
|
+
* If <tt>codepoint == IS_STRING</tt>, then <tt>string</tt> points
|
93
|
+
* to the current string. If <tt>codepoint != IS_STRING</tt>, the
|
94
|
+
* value of <tt>string</tt> is undefined.
|
95
|
+
* @stable ICU 2.4
|
96
|
+
*/
|
97
|
+
const UnicodeString* string;
|
98
|
+
|
99
|
+
public:
|
100
|
+
|
101
|
+
/**
|
102
|
+
* Create an iterator over the given set. The iterator is valid
|
103
|
+
* only so long as <tt>set</tt> is valid.
|
104
|
+
* @param set set to iterate over
|
105
|
+
* @stable ICU 2.4
|
106
|
+
*/
|
107
|
+
UnicodeSetIterator(const UnicodeSet& set);
|
108
|
+
|
109
|
+
/**
|
110
|
+
* Create an iterator over nothing. <tt>next()</tt> and
|
111
|
+
* <tt>nextRange()</tt> return false. This is a convenience
|
112
|
+
* constructor allowing the target to be set later.
|
113
|
+
* @stable ICU 2.4
|
114
|
+
*/
|
115
|
+
UnicodeSetIterator();
|
116
|
+
|
117
|
+
/**
|
118
|
+
* Destructor.
|
119
|
+
* @stable ICU 2.4
|
120
|
+
*/
|
121
|
+
virtual ~UnicodeSetIterator();
|
122
|
+
|
123
|
+
/**
|
124
|
+
* Returns true if the current element is a string. If so, the
|
125
|
+
* caller can retrieve it with <tt>getString()</tt>. If this
|
126
|
+
* method returns false, the current element is a code point or
|
127
|
+
* code point range, depending on whether <tt>next()</tt> or
|
128
|
+
* <tt>nextRange()</tt> was called.
|
129
|
+
* Elements of types string and codepoint can both be retrieved
|
130
|
+
* with the function <tt>getString()</tt>.
|
131
|
+
* Elements of type codepoint can also be retrieved with
|
132
|
+
* <tt>getCodepoint()</tt>.
|
133
|
+
* For ranges, <tt>getCodepoint()</tt> returns the starting codepoint
|
134
|
+
* of the range, and <tt>getCodepointEnd()</tt> returns the end
|
135
|
+
* of the range.
|
136
|
+
* @stable ICU 2.4
|
137
|
+
*/
|
138
|
+
inline UBool isString() const;
|
139
|
+
|
140
|
+
/**
|
141
|
+
* Returns the current code point, if <tt>isString()</tt> returned
|
142
|
+
* false. Otherwise returns an undefined result.
|
143
|
+
* @stable ICU 2.4
|
144
|
+
*/
|
145
|
+
inline UChar32 getCodepoint() const;
|
146
|
+
|
147
|
+
/**
|
148
|
+
* Returns the end of the current code point range, if
|
149
|
+
* <tt>isString()</tt> returned false and <tt>nextRange()</tt> was
|
150
|
+
* called. Otherwise returns an undefined result.
|
151
|
+
* @stable ICU 2.4
|
152
|
+
*/
|
153
|
+
inline UChar32 getCodepointEnd() const;
|
154
|
+
|
155
|
+
/**
|
156
|
+
* Returns the current string, if <tt>isString()</tt> returned
|
157
|
+
* true. If the current iteration item is a code point, a UnicodeString
|
158
|
+
* containing that single code point is returned.
|
159
|
+
*
|
160
|
+
* Ownership of the returned string remains with the iterator.
|
161
|
+
* The string is guaranteed to remain valid only until the iterator is
|
162
|
+
* advanced to the next item, or until the iterator is deleted.
|
163
|
+
*
|
164
|
+
* @stable ICU 2.4
|
165
|
+
*/
|
166
|
+
const UnicodeString& getString();
|
167
|
+
|
168
|
+
/**
|
169
|
+
* Advances the iteration position to the next element in the set,
|
170
|
+
* which can be either a single code point or a string.
|
171
|
+
* If there are no more elements in the set, return false.
|
172
|
+
*
|
173
|
+
* <p>
|
174
|
+
* If <tt>isString() == TRUE</tt>, the value is a
|
175
|
+
* string, otherwise the value is a
|
176
|
+
* single code point. Elements of either type can be retrieved
|
177
|
+
* with the function <tt>getString()</tt>, while elements of
|
178
|
+
* consisting of a single code point can be retrieved with
|
179
|
+
* <tt>getCodepoint()</tt>
|
180
|
+
*
|
181
|
+
* <p>The order of iteration is all code points in sorted order,
|
182
|
+
* followed by all strings sorted order. Do not mix
|
183
|
+
* calls to <tt>next()</tt> and <tt>nextRange()</tt> without
|
184
|
+
* calling <tt>reset()</tt> between them. The results of doing so
|
185
|
+
* are undefined.
|
186
|
+
*
|
187
|
+
* @return true if there was another element in the set.
|
188
|
+
* @stable ICU 2.4
|
189
|
+
*/
|
190
|
+
UBool next();
|
191
|
+
|
192
|
+
/**
|
193
|
+
* Returns the next element in the set, either a code point range
|
194
|
+
* or a string. If there are no more elements in the set, return
|
195
|
+
* false. If <tt>isString() == TRUE</tt>, the value is a
|
196
|
+
* string and can be accessed with <tt>getString()</tt>. Otherwise the value is a
|
197
|
+
* range of one or more code points from <tt>getCodepoint()</tt> to
|
198
|
+
* <tt>getCodepointeEnd()</tt> inclusive.
|
199
|
+
*
|
200
|
+
* <p>The order of iteration is all code points ranges in sorted
|
201
|
+
* order, followed by all strings sorted order. Ranges are
|
202
|
+
* disjoint and non-contiguous. The value returned from <tt>getString()</tt>
|
203
|
+
* is undefined unless <tt>isString() == TRUE</tt>. Do not mix calls to
|
204
|
+
* <tt>next()</tt> and <tt>nextRange()</tt> without calling
|
205
|
+
* <tt>reset()</tt> between them. The results of doing so are
|
206
|
+
* undefined.
|
207
|
+
*
|
208
|
+
* @return true if there was another element in the set.
|
209
|
+
* @stable ICU 2.4
|
210
|
+
*/
|
211
|
+
UBool nextRange();
|
212
|
+
|
213
|
+
/**
|
214
|
+
* Sets this iterator to visit the elements of the given set and
|
215
|
+
* resets it to the start of that set. The iterator is valid only
|
216
|
+
* so long as <tt>set</tt> is valid.
|
217
|
+
* @param set the set to iterate over.
|
218
|
+
* @stable ICU 2.4
|
219
|
+
*/
|
220
|
+
void reset(const UnicodeSet& set);
|
221
|
+
|
222
|
+
/**
|
223
|
+
* Resets this iterator to the start of the set.
|
224
|
+
* @stable ICU 2.4
|
225
|
+
*/
|
226
|
+
void reset();
|
227
|
+
|
228
|
+
/**
|
229
|
+
* ICU "poor man's RTTI", returns a UClassID for this class.
|
230
|
+
*
|
231
|
+
* @stable ICU 2.4
|
232
|
+
*/
|
233
|
+
static UClassID U_EXPORT2 getStaticClassID();
|
234
|
+
|
235
|
+
/**
|
236
|
+
* ICU "poor man's RTTI", returns a UClassID for the actual class.
|
237
|
+
*
|
238
|
+
* @stable ICU 2.4
|
239
|
+
*/
|
240
|
+
virtual UClassID getDynamicClassID() const;
|
241
|
+
|
242
|
+
// ======================= PRIVATES ===========================
|
243
|
+
|
244
|
+
protected:
|
245
|
+
|
246
|
+
// endElement and nextElements are really UChar32's, but we keep
|
247
|
+
// them as signed int32_t's so we can do comparisons with
|
248
|
+
// endElement set to -1. Leave them as int32_t's.
|
249
|
+
/** The set
|
250
|
+
* @stable ICU 2.4
|
251
|
+
*/
|
252
|
+
const UnicodeSet* set;
|
253
|
+
/** End range
|
254
|
+
* @stable ICU 2.4
|
255
|
+
*/
|
256
|
+
int32_t endRange;
|
257
|
+
/** Range
|
258
|
+
* @stable ICU 2.4
|
259
|
+
*/
|
260
|
+
int32_t range;
|
261
|
+
/** End element
|
262
|
+
* @stable ICU 2.4
|
263
|
+
*/
|
264
|
+
int32_t endElement;
|
265
|
+
/** Next element
|
266
|
+
* @stable ICU 2.4
|
267
|
+
*/
|
268
|
+
int32_t nextElement;
|
269
|
+
//UBool abbreviated;
|
270
|
+
/** Next string
|
271
|
+
* @stable ICU 2.4
|
272
|
+
*/
|
273
|
+
int32_t nextString;
|
274
|
+
/** String count
|
275
|
+
* @stable ICU 2.4
|
276
|
+
*/
|
277
|
+
int32_t stringCount;
|
278
|
+
|
279
|
+
/**
|
280
|
+
* Points to the string to use when the caller asks for a
|
281
|
+
* string and the current iteration item is a code point, not a string.
|
282
|
+
* @internal
|
283
|
+
*/
|
284
|
+
UnicodeString *cpString;
|
285
|
+
|
286
|
+
/** Copy constructor. Disallowed.
|
287
|
+
* @stable ICU 2.4
|
288
|
+
*/
|
289
|
+
UnicodeSetIterator(const UnicodeSetIterator&); // disallow
|
290
|
+
|
291
|
+
/** Assignment operator. Disallowed.
|
292
|
+
* @stable ICU 2.4
|
293
|
+
*/
|
294
|
+
UnicodeSetIterator& operator=(const UnicodeSetIterator&); // disallow
|
295
|
+
|
296
|
+
/** Load range
|
297
|
+
* @stable ICU 2.4
|
298
|
+
*/
|
299
|
+
virtual void loadRange(int32_t range);
|
300
|
+
|
301
|
+
};
|
302
|
+
|
303
|
+
inline UBool UnicodeSetIterator::isString() const {
|
304
|
+
return codepoint == (UChar32)IS_STRING;
|
305
|
+
}
|
306
|
+
|
307
|
+
inline UChar32 UnicodeSetIterator::getCodepoint() const {
|
308
|
+
return codepoint;
|
309
|
+
}
|
310
|
+
|
311
|
+
inline UChar32 UnicodeSetIterator::getCodepointEnd() const {
|
312
|
+
return codepointEnd;
|
313
|
+
}
|
314
|
+
|
315
|
+
|
316
|
+
U_NAMESPACE_END
|
317
|
+
|
318
|
+
#endif
|
@@ -0,0 +1,474 @@
|
|
1
|
+
/*
|
2
|
+
******************************************************************************
|
3
|
+
*
|
4
|
+
* Copyright (C) 2000-2012, International Business Machines
|
5
|
+
* Corporation and others. All Rights Reserved.
|
6
|
+
*
|
7
|
+
******************************************************************************
|
8
|
+
* file name: ushape.h
|
9
|
+
* encoding: US-ASCII
|
10
|
+
* tab size: 8 (not used)
|
11
|
+
* indentation:4
|
12
|
+
*
|
13
|
+
* created on: 2000jun29
|
14
|
+
* created by: Markus W. Scherer
|
15
|
+
*/
|
16
|
+
|
17
|
+
#ifndef __USHAPE_H__
|
18
|
+
#define __USHAPE_H__
|
19
|
+
|
20
|
+
#include "unicode/utypes.h"
|
21
|
+
|
22
|
+
/**
|
23
|
+
* \file
|
24
|
+
* \brief C API: Arabic shaping
|
25
|
+
*
|
26
|
+
*/
|
27
|
+
|
28
|
+
/**
|
29
|
+
* Shape Arabic text on a character basis.
|
30
|
+
*
|
31
|
+
* <p>This function performs basic operations for "shaping" Arabic text. It is most
|
32
|
+
* useful for use with legacy data formats and legacy display technology
|
33
|
+
* (simple terminals). All operations are performed on Unicode characters.</p>
|
34
|
+
*
|
35
|
+
* <p>Text-based shaping means that some character code points in the text are
|
36
|
+
* replaced by others depending on the context. It transforms one kind of text
|
37
|
+
* into another. In comparison, modern displays for Arabic text select
|
38
|
+
* appropriate, context-dependent font glyphs for each text element, which means
|
39
|
+
* that they transform text into a glyph vector.</p>
|
40
|
+
*
|
41
|
+
* <p>Text transformations are necessary when modern display technology is not
|
42
|
+
* available or when text needs to be transformed to or from legacy formats that
|
43
|
+
* use "shaped" characters. Since the Arabic script is cursive, connecting
|
44
|
+
* adjacent letters to each other, computers select images for each letter based
|
45
|
+
* on the surrounding letters. This usually results in four images per Arabic
|
46
|
+
* letter: initial, middle, final, and isolated forms. In Unicode, on the other
|
47
|
+
* hand, letters are normally stored abstract, and a display system is expected
|
48
|
+
* to select the necessary glyphs. (This makes searching and other text
|
49
|
+
* processing easier because the same letter has only one code.) It is possible
|
50
|
+
* to mimic this with text transformations because there are characters in
|
51
|
+
* Unicode that are rendered as letters with a specific shape
|
52
|
+
* (or cursive connectivity). They were included for interoperability with
|
53
|
+
* legacy systems and codepages, and for unsophisticated display systems.</p>
|
54
|
+
*
|
55
|
+
* <p>A second kind of text transformations is supported for Arabic digits:
|
56
|
+
* For compatibility with legacy codepages that only include European digits,
|
57
|
+
* it is possible to replace one set of digits by another, changing the
|
58
|
+
* character code points. These operations can be performed for either
|
59
|
+
* Arabic-Indic Digits (U+0660...U+0669) or Eastern (Extended) Arabic-Indic
|
60
|
+
* digits (U+06f0...U+06f9).</p>
|
61
|
+
*
|
62
|
+
* <p>Some replacements may result in more or fewer characters (code points).
|
63
|
+
* By default, this means that the destination buffer may receive text with a
|
64
|
+
* length different from the source length. Some legacy systems rely on the
|
65
|
+
* length of the text to be constant. They expect extra spaces to be added
|
66
|
+
* or consumed either next to the affected character or at the end of the
|
67
|
+
* text.</p>
|
68
|
+
*
|
69
|
+
* <p>For details about the available operations, see the description of the
|
70
|
+
* <code>U_SHAPE_...</code> options.</p>
|
71
|
+
*
|
72
|
+
* @param source The input text.
|
73
|
+
*
|
74
|
+
* @param sourceLength The number of UChars in <code>source</code>.
|
75
|
+
*
|
76
|
+
* @param dest The destination buffer that will receive the results of the
|
77
|
+
* requested operations. It may be <code>NULL</code> only if
|
78
|
+
* <code>destSize</code> is 0. The source and destination must not
|
79
|
+
* overlap.
|
80
|
+
*
|
81
|
+
* @param destSize The size (capacity) of the destination buffer in UChars.
|
82
|
+
* If <code>destSize</code> is 0, then no output is produced,
|
83
|
+
* but the necessary buffer size is returned ("preflighting").
|
84
|
+
*
|
85
|
+
* @param options This is a 32-bit set of flags that specify the operations
|
86
|
+
* that are performed on the input text. If no error occurs,
|
87
|
+
* then the result will always be written to the destination
|
88
|
+
* buffer.
|
89
|
+
*
|
90
|
+
* @param pErrorCode must be a valid pointer to an error code value,
|
91
|
+
* which must not indicate a failure before the function call.
|
92
|
+
*
|
93
|
+
* @return The number of UChars written to the destination buffer.
|
94
|
+
* If an error occured, then no output was written, or it may be
|
95
|
+
* incomplete. If <code>U_BUFFER_OVERFLOW_ERROR</code> is set, then
|
96
|
+
* the return value indicates the necessary destination buffer size.
|
97
|
+
* @stable ICU 2.0
|
98
|
+
*/
|
99
|
+
U_STABLE int32_t U_EXPORT2
|
100
|
+
u_shapeArabic(const UChar *source, int32_t sourceLength,
|
101
|
+
UChar *dest, int32_t destSize,
|
102
|
+
uint32_t options,
|
103
|
+
UErrorCode *pErrorCode);
|
104
|
+
|
105
|
+
/**
|
106
|
+
* Memory option: allow the result to have a different length than the source.
|
107
|
+
* Affects: LamAlef options
|
108
|
+
* @stable ICU 2.0
|
109
|
+
*/
|
110
|
+
#define U_SHAPE_LENGTH_GROW_SHRINK 0
|
111
|
+
|
112
|
+
/**
|
113
|
+
* Memory option: allow the result to have a different length than the source.
|
114
|
+
* Affects: LamAlef options
|
115
|
+
* This option is an alias to U_SHAPE_LENGTH_GROW_SHRINK
|
116
|
+
* @stable ICU 4.2
|
117
|
+
*/
|
118
|
+
#define U_SHAPE_LAMALEF_RESIZE 0
|
119
|
+
|
120
|
+
/**
|
121
|
+
* Memory option: the result must have the same length as the source.
|
122
|
+
* If more room is necessary, then try to consume spaces next to modified characters.
|
123
|
+
* @stable ICU 2.0
|
124
|
+
*/
|
125
|
+
#define U_SHAPE_LENGTH_FIXED_SPACES_NEAR 1
|
126
|
+
|
127
|
+
/**
|
128
|
+
* Memory option: the result must have the same length as the source.
|
129
|
+
* If more room is necessary, then try to consume spaces next to modified characters.
|
130
|
+
* Affects: LamAlef options
|
131
|
+
* This option is an alias to U_SHAPE_LENGTH_FIXED_SPACES_NEAR
|
132
|
+
* @stable ICU 4.2
|
133
|
+
*/
|
134
|
+
#define U_SHAPE_LAMALEF_NEAR 1
|
135
|
+
|
136
|
+
/**
|
137
|
+
* Memory option: the result must have the same length as the source.
|
138
|
+
* If more room is necessary, then try to consume spaces at the end of the text.
|
139
|
+
* @stable ICU 2.0
|
140
|
+
*/
|
141
|
+
#define U_SHAPE_LENGTH_FIXED_SPACES_AT_END 2
|
142
|
+
|
143
|
+
/**
|
144
|
+
* Memory option: the result must have the same length as the source.
|
145
|
+
* If more room is necessary, then try to consume spaces at the end of the text.
|
146
|
+
* Affects: LamAlef options
|
147
|
+
* This option is an alias to U_SHAPE_LENGTH_FIXED_SPACES_AT_END
|
148
|
+
* @stable ICU 4.2
|
149
|
+
*/
|
150
|
+
#define U_SHAPE_LAMALEF_END 2
|
151
|
+
|
152
|
+
/**
|
153
|
+
* Memory option: the result must have the same length as the source.
|
154
|
+
* If more room is necessary, then try to consume spaces at the beginning of the text.
|
155
|
+
* @stable ICU 2.0
|
156
|
+
*/
|
157
|
+
#define U_SHAPE_LENGTH_FIXED_SPACES_AT_BEGINNING 3
|
158
|
+
|
159
|
+
/**
|
160
|
+
* Memory option: the result must have the same length as the source.
|
161
|
+
* If more room is necessary, then try to consume spaces at the beginning of the text.
|
162
|
+
* Affects: LamAlef options
|
163
|
+
* This option is an alias to U_SHAPE_LENGTH_FIXED_SPACES_AT_BEGINNING
|
164
|
+
* @stable ICU 4.2
|
165
|
+
*/
|
166
|
+
#define U_SHAPE_LAMALEF_BEGIN 3
|
167
|
+
|
168
|
+
|
169
|
+
/**
|
170
|
+
* Memory option: the result must have the same length as the source.
|
171
|
+
* Shaping Mode: For each LAMALEF character found, expand LAMALEF using space at end.
|
172
|
+
* If there is no space at end, use spaces at beginning of the buffer. If there
|
173
|
+
* is no space at beginning of the buffer, use spaces at the near (i.e. the space
|
174
|
+
* after the LAMALEF character).
|
175
|
+
* If there are no spaces found, an error U_NO_SPACE_AVAILABLE (as defined in utypes.h)
|
176
|
+
* will be set in pErrorCode
|
177
|
+
*
|
178
|
+
* Deshaping Mode: Perform the same function as the flag equals U_SHAPE_LAMALEF_END.
|
179
|
+
* Affects: LamAlef options
|
180
|
+
* @stable ICU 4.2
|
181
|
+
*/
|
182
|
+
#define U_SHAPE_LAMALEF_AUTO 0x10000
|
183
|
+
|
184
|
+
/** Bit mask for memory options. @stable ICU 2.0 */
|
185
|
+
#define U_SHAPE_LENGTH_MASK 0x10003 /* Changed old value 3 */
|
186
|
+
|
187
|
+
|
188
|
+
/**
|
189
|
+
* Bit mask for LamAlef memory options.
|
190
|
+
* @stable ICU 4.2
|
191
|
+
*/
|
192
|
+
#define U_SHAPE_LAMALEF_MASK 0x10003 /* updated */
|
193
|
+
|
194
|
+
/** Direction indicator: the source is in logical (keyboard) order. @stable ICU 2.0 */
|
195
|
+
#define U_SHAPE_TEXT_DIRECTION_LOGICAL 0
|
196
|
+
|
197
|
+
/**
|
198
|
+
* Direction indicator:
|
199
|
+
* the source is in visual RTL order,
|
200
|
+
* the rightmost displayed character stored first.
|
201
|
+
* This option is an alias to U_SHAPE_TEXT_DIRECTION_LOGICAL
|
202
|
+
* @stable ICU 4.2
|
203
|
+
*/
|
204
|
+
#define U_SHAPE_TEXT_DIRECTION_VISUAL_RTL 0
|
205
|
+
|
206
|
+
/**
|
207
|
+
* Direction indicator:
|
208
|
+
* the source is in visual LTR order,
|
209
|
+
* the leftmost displayed character stored first.
|
210
|
+
* @stable ICU 2.0
|
211
|
+
*/
|
212
|
+
#define U_SHAPE_TEXT_DIRECTION_VISUAL_LTR 4
|
213
|
+
|
214
|
+
/** Bit mask for direction indicators. @stable ICU 2.0 */
|
215
|
+
#define U_SHAPE_TEXT_DIRECTION_MASK 4
|
216
|
+
|
217
|
+
|
218
|
+
/** Letter shaping option: do not perform letter shaping. @stable ICU 2.0 */
|
219
|
+
#define U_SHAPE_LETTERS_NOOP 0
|
220
|
+
|
221
|
+
/** Letter shaping option: replace abstract letter characters by "shaped" ones. @stable ICU 2.0 */
|
222
|
+
#define U_SHAPE_LETTERS_SHAPE 8
|
223
|
+
|
224
|
+
/** Letter shaping option: replace "shaped" letter characters by abstract ones. @stable ICU 2.0 */
|
225
|
+
#define U_SHAPE_LETTERS_UNSHAPE 0x10
|
226
|
+
|
227
|
+
/**
|
228
|
+
* Letter shaping option: replace abstract letter characters by "shaped" ones.
|
229
|
+
* The only difference with U_SHAPE_LETTERS_SHAPE is that Tashkeel letters
|
230
|
+
* are always "shaped" into the isolated form instead of the medial form
|
231
|
+
* (selecting code points from the Arabic Presentation Forms-B block).
|
232
|
+
* @stable ICU 2.0
|
233
|
+
*/
|
234
|
+
#define U_SHAPE_LETTERS_SHAPE_TASHKEEL_ISOLATED 0x18
|
235
|
+
|
236
|
+
|
237
|
+
/** Bit mask for letter shaping options. @stable ICU 2.0 */
|
238
|
+
#define U_SHAPE_LETTERS_MASK 0x18
|
239
|
+
|
240
|
+
|
241
|
+
/** Digit shaping option: do not perform digit shaping. @stable ICU 2.0 */
|
242
|
+
#define U_SHAPE_DIGITS_NOOP 0
|
243
|
+
|
244
|
+
/**
|
245
|
+
* Digit shaping option:
|
246
|
+
* Replace European digits (U+0030...) by Arabic-Indic digits.
|
247
|
+
* @stable ICU 2.0
|
248
|
+
*/
|
249
|
+
#define U_SHAPE_DIGITS_EN2AN 0x20
|
250
|
+
|
251
|
+
/**
|
252
|
+
* Digit shaping option:
|
253
|
+
* Replace Arabic-Indic digits by European digits (U+0030...).
|
254
|
+
* @stable ICU 2.0
|
255
|
+
*/
|
256
|
+
#define U_SHAPE_DIGITS_AN2EN 0x40
|
257
|
+
|
258
|
+
/**
|
259
|
+
* Digit shaping option:
|
260
|
+
* Replace European digits (U+0030...) by Arabic-Indic digits if the most recent
|
261
|
+
* strongly directional character is an Arabic letter
|
262
|
+
* (<code>u_charDirection()</code> result <code>U_RIGHT_TO_LEFT_ARABIC</code> [AL]).<br>
|
263
|
+
* The direction of "preceding" depends on the direction indicator option.
|
264
|
+
* For the first characters, the preceding strongly directional character
|
265
|
+
* (initial state) is assumed to be not an Arabic letter
|
266
|
+
* (it is <code>U_LEFT_TO_RIGHT</code> [L] or <code>U_RIGHT_TO_LEFT</code> [R]).
|
267
|
+
* @stable ICU 2.0
|
268
|
+
*/
|
269
|
+
#define U_SHAPE_DIGITS_ALEN2AN_INIT_LR 0x60
|
270
|
+
|
271
|
+
/**
|
272
|
+
* Digit shaping option:
|
273
|
+
* Replace European digits (U+0030...) by Arabic-Indic digits if the most recent
|
274
|
+
* strongly directional character is an Arabic letter
|
275
|
+
* (<code>u_charDirection()</code> result <code>U_RIGHT_TO_LEFT_ARABIC</code> [AL]).<br>
|
276
|
+
* The direction of "preceding" depends on the direction indicator option.
|
277
|
+
* For the first characters, the preceding strongly directional character
|
278
|
+
* (initial state) is assumed to be an Arabic letter.
|
279
|
+
* @stable ICU 2.0
|
280
|
+
*/
|
281
|
+
#define U_SHAPE_DIGITS_ALEN2AN_INIT_AL 0x80
|
282
|
+
|
283
|
+
/** Not a valid option value. May be replaced by a new option. @stable ICU 2.0 */
|
284
|
+
#define U_SHAPE_DIGITS_RESERVED 0xa0
|
285
|
+
|
286
|
+
/** Bit mask for digit shaping options. @stable ICU 2.0 */
|
287
|
+
#define U_SHAPE_DIGITS_MASK 0xe0
|
288
|
+
|
289
|
+
|
290
|
+
/** Digit type option: Use Arabic-Indic digits (U+0660...U+0669). @stable ICU 2.0 */
|
291
|
+
#define U_SHAPE_DIGIT_TYPE_AN 0
|
292
|
+
|
293
|
+
/** Digit type option: Use Eastern (Extended) Arabic-Indic digits (U+06f0...U+06f9). @stable ICU 2.0 */
|
294
|
+
#define U_SHAPE_DIGIT_TYPE_AN_EXTENDED 0x100
|
295
|
+
|
296
|
+
/** Not a valid option value. May be replaced by a new option. @stable ICU 2.0 */
|
297
|
+
#define U_SHAPE_DIGIT_TYPE_RESERVED 0x200
|
298
|
+
|
299
|
+
/** Bit mask for digit type options. @stable ICU 2.0 */
|
300
|
+
#define U_SHAPE_DIGIT_TYPE_MASK 0x300 /* I need to change this from 0x3f00 to 0x300 */
|
301
|
+
|
302
|
+
/**
|
303
|
+
* Tashkeel aggregation option:
|
304
|
+
* Replaces any combination of U+0651 with one of
|
305
|
+
* U+064C, U+064D, U+064E, U+064F, U+0650 with
|
306
|
+
* U+FC5E, U+FC5F, U+FC60, U+FC61, U+FC62 consecutively.
|
307
|
+
* @stable ICU 3.6
|
308
|
+
*/
|
309
|
+
#define U_SHAPE_AGGREGATE_TASHKEEL 0x4000
|
310
|
+
/** Tashkeel aggregation option: do not aggregate tashkeels. @stable ICU 3.6 */
|
311
|
+
#define U_SHAPE_AGGREGATE_TASHKEEL_NOOP 0
|
312
|
+
/** Bit mask for tashkeel aggregation. @stable ICU 3.6 */
|
313
|
+
#define U_SHAPE_AGGREGATE_TASHKEEL_MASK 0x4000
|
314
|
+
|
315
|
+
/**
|
316
|
+
* Presentation form option:
|
317
|
+
* Don't replace Arabic Presentation Forms-A and Arabic Presentation Forms-B
|
318
|
+
* characters with 0+06xx characters, before shaping.
|
319
|
+
* @stable ICU 3.6
|
320
|
+
*/
|
321
|
+
#define U_SHAPE_PRESERVE_PRESENTATION 0x8000
|
322
|
+
/** Presentation form option:
|
323
|
+
* Replace Arabic Presentation Forms-A and Arabic Presentationo Forms-B with
|
324
|
+
* their unshaped correspondants in range 0+06xx, before shaping.
|
325
|
+
* @stable ICU 3.6
|
326
|
+
*/
|
327
|
+
#define U_SHAPE_PRESERVE_PRESENTATION_NOOP 0
|
328
|
+
/** Bit mask for preserve presentation form. @stable ICU 3.6 */
|
329
|
+
#define U_SHAPE_PRESERVE_PRESENTATION_MASK 0x8000
|
330
|
+
|
331
|
+
/* Seen Tail option */
|
332
|
+
/**
|
333
|
+
* Memory option: the result must have the same length as the source.
|
334
|
+
* Shaping mode: The SEEN family character will expand into two characters using space near
|
335
|
+
* the SEEN family character(i.e. the space after the character).
|
336
|
+
* If there are no spaces found, an error U_NO_SPACE_AVAILABLE (as defined in utypes.h)
|
337
|
+
* will be set in pErrorCode
|
338
|
+
*
|
339
|
+
* De-shaping mode: Any Seen character followed by Tail character will be
|
340
|
+
* replaced by one cell Seen and a space will replace the Tail.
|
341
|
+
* Affects: Seen options
|
342
|
+
* @stable ICU 4.2
|
343
|
+
*/
|
344
|
+
#define U_SHAPE_SEEN_TWOCELL_NEAR 0x200000
|
345
|
+
|
346
|
+
/**
|
347
|
+
* Bit mask for Seen memory options.
|
348
|
+
* @stable ICU 4.2
|
349
|
+
*/
|
350
|
+
#define U_SHAPE_SEEN_MASK 0x700000
|
351
|
+
|
352
|
+
/* YehHamza option */
|
353
|
+
/**
|
354
|
+
* Memory option: the result must have the same length as the source.
|
355
|
+
* Shaping mode: The YEHHAMZA character will expand into two characters using space near it
|
356
|
+
* (i.e. the space after the character
|
357
|
+
* If there are no spaces found, an error U_NO_SPACE_AVAILABLE (as defined in utypes.h)
|
358
|
+
* will be set in pErrorCode
|
359
|
+
*
|
360
|
+
* De-shaping mode: Any Yeh (final or isolated) character followed by Hamza character will be
|
361
|
+
* replaced by one cell YehHamza and space will replace the Hamza.
|
362
|
+
* Affects: YehHamza options
|
363
|
+
* @stable ICU 4.2
|
364
|
+
*/
|
365
|
+
#define U_SHAPE_YEHHAMZA_TWOCELL_NEAR 0x1000000
|
366
|
+
|
367
|
+
|
368
|
+
/**
|
369
|
+
* Bit mask for YehHamza memory options.
|
370
|
+
* @stable ICU 4.2
|
371
|
+
*/
|
372
|
+
#define U_SHAPE_YEHHAMZA_MASK 0x3800000
|
373
|
+
|
374
|
+
/* New Tashkeel options */
|
375
|
+
/**
|
376
|
+
* Memory option: the result must have the same length as the source.
|
377
|
+
* Shaping mode: Tashkeel characters will be replaced by spaces.
|
378
|
+
* Spaces will be placed at beginning of the buffer
|
379
|
+
*
|
380
|
+
* De-shaping mode: N/A
|
381
|
+
* Affects: Tashkeel options
|
382
|
+
* @stable ICU 4.2
|
383
|
+
*/
|
384
|
+
#define U_SHAPE_TASHKEEL_BEGIN 0x40000
|
385
|
+
|
386
|
+
/**
|
387
|
+
* Memory option: the result must have the same length as the source.
|
388
|
+
* Shaping mode: Tashkeel characters will be replaced by spaces.
|
389
|
+
* Spaces will be placed at end of the buffer
|
390
|
+
*
|
391
|
+
* De-shaping mode: N/A
|
392
|
+
* Affects: Tashkeel options
|
393
|
+
* @stable ICU 4.2
|
394
|
+
*/
|
395
|
+
#define U_SHAPE_TASHKEEL_END 0x60000
|
396
|
+
|
397
|
+
/**
|
398
|
+
* Memory option: allow the result to have a different length than the source.
|
399
|
+
* Shaping mode: Tashkeel characters will be removed, buffer length will shrink.
|
400
|
+
* De-shaping mode: N/A
|
401
|
+
*
|
402
|
+
* Affect: Tashkeel options
|
403
|
+
* @stable ICU 4.2
|
404
|
+
*/
|
405
|
+
#define U_SHAPE_TASHKEEL_RESIZE 0x80000
|
406
|
+
|
407
|
+
/**
|
408
|
+
* Memory option: the result must have the same length as the source.
|
409
|
+
* Shaping mode: Tashkeel characters will be replaced by Tatweel if it is connected to adjacent
|
410
|
+
* characters (i.e. shaped on Tatweel) or replaced by space if it is not connected.
|
411
|
+
*
|
412
|
+
* De-shaping mode: N/A
|
413
|
+
* Affects: YehHamza options
|
414
|
+
* @stable ICU 4.2
|
415
|
+
*/
|
416
|
+
#define U_SHAPE_TASHKEEL_REPLACE_BY_TATWEEL 0xC0000
|
417
|
+
|
418
|
+
/**
|
419
|
+
* Bit mask for Tashkeel replacement with Space or Tatweel memory options.
|
420
|
+
* @stable ICU 4.2
|
421
|
+
*/
|
422
|
+
#define U_SHAPE_TASHKEEL_MASK 0xE0000
|
423
|
+
|
424
|
+
|
425
|
+
/* Space location Control options */
|
426
|
+
/**
|
427
|
+
* This option affect the meaning of BEGIN and END options. if this option is not used the default
|
428
|
+
* for BEGIN and END will be as following:
|
429
|
+
* The Default (for both Visual LTR, Visual RTL and Logical Text)
|
430
|
+
* 1. BEGIN always refers to the start address of physical memory.
|
431
|
+
* 2. END always refers to the end address of physical memory.
|
432
|
+
*
|
433
|
+
* If this option is used it will swap the meaning of BEGIN and END only for Visual LTR text.
|
434
|
+
*
|
435
|
+
* The effect on BEGIN and END Memory Options will be as following:
|
436
|
+
* A. BEGIN For Visual LTR text: This will be the beginning (right side) of the visual text(
|
437
|
+
* corresponding to the physical memory address end for Visual LTR text, Same as END in
|
438
|
+
* default behavior)
|
439
|
+
* B. BEGIN For Logical text: Same as BEGIN in default behavior.
|
440
|
+
* C. END For Visual LTR text: This will be the end (left side) of the visual text (corresponding
|
441
|
+
* to the physical memory address beginning for Visual LTR text, Same as BEGIN in default behavior.
|
442
|
+
* D. END For Logical text: Same as END in default behavior).
|
443
|
+
* Affects: All LamAlef BEGIN, END and AUTO options.
|
444
|
+
* @stable ICU 4.2
|
445
|
+
*/
|
446
|
+
#define U_SHAPE_SPACES_RELATIVE_TO_TEXT_BEGIN_END 0x4000000
|
447
|
+
|
448
|
+
/**
|
449
|
+
* Bit mask for swapping BEGIN and END for Visual LTR text
|
450
|
+
* @stable ICU 4.2
|
451
|
+
*/
|
452
|
+
#define U_SHAPE_SPACES_RELATIVE_TO_TEXT_MASK 0x4000000
|
453
|
+
|
454
|
+
/**
|
455
|
+
* If this option is used, shaping will use the new Unicode code point for TAIL (i.e. 0xFE73).
|
456
|
+
* If this option is not specified (Default), old unofficial Unicode TAIL code point is used (i.e. 0x200B)
|
457
|
+
* De-shaping will not use this option as it will always search for both the new Unicode code point for the
|
458
|
+
* TAIL (i.e. 0xFE73) or the old unofficial Unicode TAIL code point (i.e. 0x200B) and de-shape the
|
459
|
+
* Seen-Family letter accordingly.
|
460
|
+
*
|
461
|
+
* Shaping Mode: Only shaping.
|
462
|
+
* De-shaping Mode: N/A.
|
463
|
+
* Affects: All Seen options
|
464
|
+
* @stable ICU 4.8
|
465
|
+
*/
|
466
|
+
#define U_SHAPE_TAIL_NEW_UNICODE 0x8000000
|
467
|
+
|
468
|
+
/**
|
469
|
+
* Bit mask for new Unicode Tail option
|
470
|
+
* @stable ICU 4.8
|
471
|
+
*/
|
472
|
+
#define U_SHAPE_TAIL_TYPE_MASK 0x8000000
|
473
|
+
|
474
|
+
#endif
|