pango 2.2.4-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README +33 -0
- data/Rakefile +65 -0
- data/ext/pango/depend +12 -0
- data/ext/pango/extconf.rb +90 -0
- data/ext/pango/pango.def +18 -0
- data/ext/pango/rbpango.c +318 -0
- data/ext/pango/rbpango.h +96 -0
- data/ext/pango/rbpangoanalysis.c +218 -0
- data/ext/pango/rbpangoattribute.c +499 -0
- data/ext/pango/rbpangoattriterator.c +141 -0
- data/ext/pango/rbpangoattrlist.c +101 -0
- data/ext/pango/rbpangocairo.c +122 -0
- data/ext/pango/rbpangocairocontext.c +131 -0
- data/ext/pango/rbpangocolor.c +120 -0
- data/ext/pango/rbpangocontext.c +309 -0
- data/ext/pango/rbpangoconversions.h +111 -0
- data/ext/pango/rbpangocoverage.c +106 -0
- data/ext/pango/rbpangoengine.c +73 -0
- data/ext/pango/rbpangofont.c +110 -0
- data/ext/pango/rbpangofontdescription.c +282 -0
- data/ext/pango/rbpangofontface.c +73 -0
- data/ext/pango/rbpangofontfamily.c +79 -0
- data/ext/pango/rbpangofontmap.c +102 -0
- data/ext/pango/rbpangofontmetrics.c +85 -0
- data/ext/pango/rbpangofontset.c +69 -0
- data/ext/pango/rbpangofontsetsimple.c +60 -0
- data/ext/pango/rbpangoglyphinfo.c +123 -0
- data/ext/pango/rbpangoglyphitem.c +125 -0
- data/ext/pango/rbpangoglyphstring.c +151 -0
- data/ext/pango/rbpangogravity.c +54 -0
- data/ext/pango/rbpangoitem.c +95 -0
- data/ext/pango/rbpangolanguage.c +86 -0
- data/ext/pango/rbpangolayout.c +572 -0
- data/ext/pango/rbpangolayoutiter.c +189 -0
- data/ext/pango/rbpangolayoutline.c +239 -0
- data/ext/pango/rbpangologattr.c +109 -0
- data/ext/pango/rbpangomatrix.c +143 -0
- data/ext/pango/rbpangoprivate.h +49 -0
- data/ext/pango/rbpangorectangle.c +170 -0
- data/ext/pango/rbpangorenderer.c +193 -0
- data/ext/pango/rbpangoscript.c +84 -0
- data/ext/pango/rbpangoscriptiter.c +92 -0
- data/ext/pango/rbpangotabarray.c +128 -0
- data/extconf.rb +49 -0
- data/lib/2.0/pango.so +0 -0
- data/lib/2.1/pango.so +0 -0
- data/lib/2.2/pango.so +0 -0
- data/lib/pango.rb +79 -0
- data/sample/attribute.rb +82 -0
- data/sample/break.rb +28 -0
- data/sample/gdk_layout.rb +27 -0
- data/sample/glyphstring.rb +61 -0
- data/sample/item.rb +37 -0
- data/sample/label.rb +23 -0
- data/sample/layout.rb +102 -0
- data/sample/pango_cairo.rb +66 -0
- data/sample/parse.rb +33 -0
- data/sample/sample.txt +10 -0
- data/sample/script.rb +23 -0
- data/test/pango-test-utils.rb +9 -0
- data/test/run-test.rb +28 -0
- data/test/test-analysis.rb +26 -0
- data/test/test-attribute.rb +19 -0
- data/test/test-color.rb +47 -0
- data/test/test-language.rb +7 -0
- data/test/test-layout.rb +34 -0
- data/test/test-log-attr.rb +26 -0
- data/test/test-matrix.rb +26 -0
- data/test/test-rectangle.rb +26 -0
- data/vendor/local/bin/derb.exe +0 -0
- data/vendor/local/bin/genbrk.exe +0 -0
- data/vendor/local/bin/genccode.exe +0 -0
- data/vendor/local/bin/gencfu.exe +0 -0
- data/vendor/local/bin/gencmn.exe +0 -0
- data/vendor/local/bin/gencnval.exe +0 -0
- data/vendor/local/bin/gendict.exe +0 -0
- data/vendor/local/bin/gennorm2.exe +0 -0
- data/vendor/local/bin/genrb.exe +0 -0
- data/vendor/local/bin/gensprep.exe +0 -0
- data/vendor/local/bin/hb-ot-shape-closure.exe +0 -0
- data/vendor/local/bin/hb-shape.exe +0 -0
- data/vendor/local/bin/hb-view.exe +0 -0
- data/vendor/local/bin/icu-config +820 -0
- data/vendor/local/bin/icuinfo.exe +0 -0
- data/vendor/local/bin/icupkg.exe +0 -0
- data/vendor/local/bin/libharfbuzz-0.dll +0 -0
- data/vendor/local/bin/libpango-1.0-0.dll +0 -0
- data/vendor/local/bin/libpangocairo-1.0-0.dll +0 -0
- data/vendor/local/bin/libpangoft2-1.0-0.dll +0 -0
- data/vendor/local/bin/libpangowin32-1.0-0.dll +0 -0
- data/vendor/local/bin/makeconv.exe +0 -0
- data/vendor/local/bin/pango-querymodules.exe +0 -0
- data/vendor/local/bin/pango-view.exe +0 -0
- data/vendor/local/bin/pkgdata.exe +0 -0
- data/vendor/local/bin/uconv.exe +0 -0
- data/vendor/local/etc/pango/pango.modules +19 -0
- data/vendor/local/include/harfbuzz/hb-blob.h +126 -0
- data/vendor/local/include/harfbuzz/hb-buffer.h +344 -0
- data/vendor/local/include/harfbuzz/hb-common.h +344 -0
- data/vendor/local/include/harfbuzz/hb-deprecated.h +51 -0
- data/vendor/local/include/harfbuzz/hb-face.h +117 -0
- data/vendor/local/include/harfbuzz/hb-font.h +507 -0
- data/vendor/local/include/harfbuzz/hb-ft.h +62 -0
- data/vendor/local/include/harfbuzz/hb-glib.h +52 -0
- data/vendor/local/include/harfbuzz/hb-icu.h +52 -0
- data/vendor/local/include/harfbuzz/hb-ot-font.h +41 -0
- data/vendor/local/include/harfbuzz/hb-ot-layout.h +302 -0
- data/vendor/local/include/harfbuzz/hb-ot-shape.h +53 -0
- data/vendor/local/include/harfbuzz/hb-ot-tag.h +59 -0
- data/vendor/local/include/harfbuzz/hb-ot.h +43 -0
- data/vendor/local/include/harfbuzz/hb-set.h +154 -0
- data/vendor/local/include/harfbuzz/hb-shape-plan.h +89 -0
- data/vendor/local/include/harfbuzz/hb-shape.h +81 -0
- data/vendor/local/include/harfbuzz/hb-unicode.h +445 -0
- data/vendor/local/include/harfbuzz/hb-version.h +66 -0
- data/vendor/local/include/harfbuzz/hb.h +47 -0
- data/vendor/local/include/layout/LEFontInstance.h +550 -0
- data/vendor/local/include/layout/LEGlyphFilter.h +45 -0
- data/vendor/local/include/layout/LEGlyphStorage.h +546 -0
- data/vendor/local/include/layout/LEInsertionList.h +177 -0
- data/vendor/local/include/layout/LELanguages.h +112 -0
- data/vendor/local/include/layout/LEScripts.h +263 -0
- data/vendor/local/include/layout/LESwaps.h +100 -0
- data/vendor/local/include/layout/LETableReference.h +418 -0
- data/vendor/local/include/layout/LETypes.h +728 -0
- data/vendor/local/include/layout/LayoutEngine.h +518 -0
- data/vendor/local/include/layout/ParagraphLayout.h +747 -0
- data/vendor/local/include/layout/RunArrays.h +676 -0
- data/vendor/local/include/layout/loengine.h +225 -0
- data/vendor/local/include/layout/playout.h +466 -0
- data/vendor/local/include/layout/plruns.h +441 -0
- data/vendor/local/include/pango-1.0/pango/pango-attributes.h +514 -0
- data/vendor/local/include/pango-1.0/pango/pango-bidi-type.h +136 -0
- data/vendor/local/include/pango-1.0/pango/pango-break.h +173 -0
- data/vendor/local/include/pango-1.0/pango/pango-context.h +112 -0
- data/vendor/local/include/pango-1.0/pango/pango-coverage.h +79 -0
- data/vendor/local/include/pango-1.0/pango/pango-engine.h +429 -0
- data/vendor/local/include/pango-1.0/pango/pango-enum-types.h +69 -0
- data/vendor/local/include/pango-1.0/pango/pango-features.h +12 -0
- data/vendor/local/include/pango-1.0/pango/pango-font.h +622 -0
- data/vendor/local/include/pango-1.0/pango/pango-fontmap.h +167 -0
- data/vendor/local/include/pango-1.0/pango/pango-fontset.h +169 -0
- data/vendor/local/include/pango-1.0/pango/pango-glyph-item.h +158 -0
- data/vendor/local/include/pango-1.0/pango/pango-glyph.h +197 -0
- data/vendor/local/include/pango-1.0/pango/pango-gravity.h +128 -0
- data/vendor/local/include/pango-1.0/pango/pango-item.h +109 -0
- data/vendor/local/include/pango-1.0/pango/pango-language.h +61 -0
- data/vendor/local/include/pango-1.0/pango/pango-layout.h +340 -0
- data/vendor/local/include/pango-1.0/pango/pango-matrix.h +117 -0
- data/vendor/local/include/pango-1.0/pango/pango-modules.h +71 -0
- data/vendor/local/include/pango-1.0/pango/pango-ot.h +391 -0
- data/vendor/local/include/pango-1.0/pango/pango-renderer.h +260 -0
- data/vendor/local/include/pango-1.0/pango/pango-script.h +260 -0
- data/vendor/local/include/pango-1.0/pango/pango-tabs.h +87 -0
- data/vendor/local/include/pango-1.0/pango/pango-types.h +200 -0
- data/vendor/local/include/pango-1.0/pango/pango-utils.h +189 -0
- data/vendor/local/include/pango-1.0/pango/pango.h +48 -0
- data/vendor/local/include/pango-1.0/pango/pangocairo.h +169 -0
- data/vendor/local/include/pango-1.0/pango/pangofc-decoder.h +110 -0
- data/vendor/local/include/pango-1.0/pango/pangofc-font.h +153 -0
- data/vendor/local/include/pango-1.0/pango/pangofc-fontmap.h +289 -0
- data/vendor/local/include/pango-1.0/pango/pangoft2.h +133 -0
- data/vendor/local/include/pango-1.0/pango/pangowin32.h +128 -0
- data/vendor/local/include/unicode/alphaindex.h +752 -0
- data/vendor/local/include/unicode/appendable.h +232 -0
- data/vendor/local/include/unicode/basictz.h +214 -0
- data/vendor/local/include/unicode/brkiter.h +655 -0
- data/vendor/local/include/unicode/bytestream.h +257 -0
- data/vendor/local/include/unicode/bytestrie.h +519 -0
- data/vendor/local/include/unicode/bytestriebuilder.h +181 -0
- data/vendor/local/include/unicode/calendar.h +2519 -0
- data/vendor/local/include/unicode/caniter.h +208 -0
- data/vendor/local/include/unicode/chariter.h +722 -0
- data/vendor/local/include/unicode/choicfmt.h +594 -0
- data/vendor/local/include/unicode/coleitr.h +404 -0
- data/vendor/local/include/unicode/coll.h +1267 -0
- data/vendor/local/include/unicode/compactdecimalformat.h +330 -0
- data/vendor/local/include/unicode/curramt.h +130 -0
- data/vendor/local/include/unicode/currpinf.h +258 -0
- data/vendor/local/include/unicode/currunit.h +110 -0
- data/vendor/local/include/unicode/datefmt.h +883 -0
- data/vendor/local/include/unicode/dbbi.h +40 -0
- data/vendor/local/include/unicode/dcfmtsym.h +482 -0
- data/vendor/local/include/unicode/decimfmt.h +2479 -0
- data/vendor/local/include/unicode/docmain.h +215 -0
- data/vendor/local/include/unicode/dtfmtsym.h +912 -0
- data/vendor/local/include/unicode/dtintrv.h +158 -0
- data/vendor/local/include/unicode/dtitvfmt.h +985 -0
- data/vendor/local/include/unicode/dtitvinf.h +514 -0
- data/vendor/local/include/unicode/dtptngen.h +498 -0
- data/vendor/local/include/unicode/dtrule.h +250 -0
- data/vendor/local/include/unicode/enumset.h +64 -0
- data/vendor/local/include/unicode/errorcode.h +137 -0
- data/vendor/local/include/unicode/fieldpos.h +291 -0
- data/vendor/local/include/unicode/filteredbrk.h +131 -0
- data/vendor/local/include/unicode/fmtable.h +760 -0
- data/vendor/local/include/unicode/format.h +305 -0
- data/vendor/local/include/unicode/fpositer.h +117 -0
- data/vendor/local/include/unicode/gender.h +111 -0
- data/vendor/local/include/unicode/gregocal.h +777 -0
- data/vendor/local/include/unicode/icudataver.h +41 -0
- data/vendor/local/include/unicode/icuplug.h +371 -0
- data/vendor/local/include/unicode/idna.h +323 -0
- data/vendor/local/include/unicode/listformatter.h +167 -0
- data/vendor/local/include/unicode/localpointer.h +304 -0
- data/vendor/local/include/unicode/locdspnm.h +204 -0
- data/vendor/local/include/unicode/locid.h +815 -0
- data/vendor/local/include/unicode/measfmt.h +389 -0
- data/vendor/local/include/unicode/measunit.h +1443 -0
- data/vendor/local/include/unicode/measure.h +159 -0
- data/vendor/local/include/unicode/messagepattern.h +943 -0
- data/vendor/local/include/unicode/msgfmt.h +1093 -0
- data/vendor/local/include/unicode/normalizer2.h +658 -0
- data/vendor/local/include/unicode/normlzr.h +797 -0
- data/vendor/local/include/unicode/numfmt.h +1187 -0
- data/vendor/local/include/unicode/numsys.h +208 -0
- data/vendor/local/include/unicode/parseerr.h +92 -0
- data/vendor/local/include/unicode/parsepos.h +230 -0
- data/vendor/local/include/unicode/platform.h +751 -0
- data/vendor/local/include/unicode/plurfmt.h +615 -0
- data/vendor/local/include/unicode/plurrule.h +501 -0
- data/vendor/local/include/unicode/ptypes.h +126 -0
- data/vendor/local/include/unicode/putil.h +181 -0
- data/vendor/local/include/unicode/rbbi.h +782 -0
- data/vendor/local/include/unicode/rbnf.h +1032 -0
- data/vendor/local/include/unicode/rbtz.h +362 -0
- data/vendor/local/include/unicode/regex.h +1857 -0
- data/vendor/local/include/unicode/region.h +228 -0
- data/vendor/local/include/unicode/reldatefmt.h +498 -0
- data/vendor/local/include/unicode/rep.h +261 -0
- data/vendor/local/include/unicode/resbund.h +490 -0
- data/vendor/local/include/unicode/schriter.h +187 -0
- data/vendor/local/include/unicode/scientificformathelper.h +139 -0
- data/vendor/local/include/unicode/search.h +575 -0
- data/vendor/local/include/unicode/selfmt.h +367 -0
- data/vendor/local/include/unicode/simpletz.h +928 -0
- data/vendor/local/include/unicode/smpdtfmt.h +1592 -0
- data/vendor/local/include/unicode/sortkey.h +338 -0
- data/vendor/local/include/unicode/std_string.h +37 -0
- data/vendor/local/include/unicode/strenum.h +276 -0
- data/vendor/local/include/unicode/stringpiece.h +224 -0
- data/vendor/local/include/unicode/stringtriebuilder.h +402 -0
- data/vendor/local/include/unicode/stsearch.h +504 -0
- data/vendor/local/include/unicode/symtable.h +112 -0
- data/vendor/local/include/unicode/tblcoll.h +873 -0
- data/vendor/local/include/unicode/timezone.h +948 -0
- data/vendor/local/include/unicode/tmunit.h +129 -0
- data/vendor/local/include/unicode/tmutamt.h +168 -0
- data/vendor/local/include/unicode/tmutfmt.h +243 -0
- data/vendor/local/include/unicode/translit.h +1342 -0
- data/vendor/local/include/unicode/tzfmt.h +1098 -0
- data/vendor/local/include/unicode/tznames.h +404 -0
- data/vendor/local/include/unicode/tzrule.h +828 -0
- data/vendor/local/include/unicode/tztrans.h +195 -0
- data/vendor/local/include/unicode/ubidi.h +2186 -0
- data/vendor/local/include/unicode/ubrk.h +540 -0
- data/vendor/local/include/unicode/ucal.h +1560 -0
- data/vendor/local/include/unicode/ucasemap.h +423 -0
- data/vendor/local/include/unicode/ucat.h +158 -0
- data/vendor/local/include/unicode/uchar.h +3426 -0
- data/vendor/local/include/unicode/ucharstrie.h +576 -0
- data/vendor/local/include/unicode/ucharstriebuilder.h +185 -0
- data/vendor/local/include/unicode/uchriter.h +381 -0
- data/vendor/local/include/unicode/uclean.h +258 -0
- data/vendor/local/include/unicode/ucnv.h +2036 -0
- data/vendor/local/include/unicode/ucnv_cb.h +162 -0
- data/vendor/local/include/unicode/ucnv_err.h +463 -0
- data/vendor/local/include/unicode/ucnvsel.h +187 -0
- data/vendor/local/include/unicode/ucol.h +1474 -0
- data/vendor/local/include/unicode/ucoleitr.h +266 -0
- data/vendor/local/include/unicode/uconfig.h +430 -0
- data/vendor/local/include/unicode/ucsdet.h +413 -0
- data/vendor/local/include/unicode/ucurr.h +424 -0
- data/vendor/local/include/unicode/udat.h +1536 -0
- data/vendor/local/include/unicode/udata.h +430 -0
- data/vendor/local/include/unicode/udateintervalformat.h +181 -0
- data/vendor/local/include/unicode/udatpg.h +588 -0
- data/vendor/local/include/unicode/udisplaycontext.h +150 -0
- data/vendor/local/include/unicode/uenum.h +206 -0
- data/vendor/local/include/unicode/uformattable.h +280 -0
- data/vendor/local/include/unicode/ugender.h +82 -0
- data/vendor/local/include/unicode/uidna.h +762 -0
- data/vendor/local/include/unicode/uiter.h +707 -0
- data/vendor/local/include/unicode/uldnames.h +302 -0
- data/vendor/local/include/unicode/uloc.h +1256 -0
- data/vendor/local/include/unicode/ulocdata.h +277 -0
- data/vendor/local/include/unicode/umachine.h +356 -0
- data/vendor/local/include/unicode/umisc.h +60 -0
- data/vendor/local/include/unicode/umsg.h +623 -0
- data/vendor/local/include/unicode/unifilt.h +120 -0
- data/vendor/local/include/unicode/unifunct.h +125 -0
- data/vendor/local/include/unicode/unimatch.h +163 -0
- data/vendor/local/include/unicode/unirepl.h +97 -0
- data/vendor/local/include/unicode/uniset.h +1691 -0
- data/vendor/local/include/unicode/unistr.h +4470 -0
- data/vendor/local/include/unicode/unorm.h +561 -0
- data/vendor/local/include/unicode/unorm2.h +528 -0
- data/vendor/local/include/unicode/unum.h +1328 -0
- data/vendor/local/include/unicode/unumsys.h +170 -0
- data/vendor/local/include/unicode/uobject.h +320 -0
- data/vendor/local/include/unicode/upluralrules.h +145 -0
- data/vendor/local/include/unicode/uregex.h +1591 -0
- data/vendor/local/include/unicode/uregion.h +248 -0
- data/vendor/local/include/unicode/urename.h +1784 -0
- data/vendor/local/include/unicode/urep.h +155 -0
- data/vendor/local/include/unicode/ures.h +887 -0
- data/vendor/local/include/unicode/uscript.h +642 -0
- data/vendor/local/include/unicode/usearch.h +885 -0
- data/vendor/local/include/unicode/uset.h +1126 -0
- data/vendor/local/include/unicode/usetiter.h +318 -0
- data/vendor/local/include/unicode/ushape.h +474 -0
- data/vendor/local/include/unicode/uspoof.h +1064 -0
- data/vendor/local/include/unicode/usprep.h +269 -0
- data/vendor/local/include/unicode/ustdio.h +1018 -0
- data/vendor/local/include/unicode/ustream.h +68 -0
- data/vendor/local/include/unicode/ustring.h +1700 -0
- data/vendor/local/include/unicode/ustringtrie.h +95 -0
- data/vendor/local/include/unicode/utext.h +1600 -0
- data/vendor/local/include/unicode/utf.h +223 -0
- data/vendor/local/include/unicode/utf16.h +623 -0
- data/vendor/local/include/unicode/utf32.h +23 -0
- data/vendor/local/include/unicode/utf8.h +824 -0
- data/vendor/local/include/unicode/utf_old.h +1169 -0
- data/vendor/local/include/unicode/utmscale.h +481 -0
- data/vendor/local/include/unicode/utrace.h +359 -0
- data/vendor/local/include/unicode/utrans.h +658 -0
- data/vendor/local/include/unicode/utypes.h +723 -0
- data/vendor/local/include/unicode/uvernum.h +170 -0
- data/vendor/local/include/unicode/uversion.h +193 -0
- data/vendor/local/include/unicode/vtzone.h +455 -0
- data/vendor/local/lib/girepository-1.0/Pango-1.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/PangoCairo-1.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/PangoFT2-1.0.typelib +0 -0
- data/vendor/local/lib/icu/54.1/Makefile.inc +293 -0
- data/vendor/local/lib/icu/54.1/pkgdata.inc +17 -0
- data/vendor/local/lib/icu/Makefile.inc +293 -0
- data/vendor/local/lib/icu/pkgdata.inc +17 -0
- data/vendor/local/lib/icudt.dll +0 -0
- data/vendor/local/lib/icudt54.dll +0 -0
- data/vendor/local/lib/icuin.dll +0 -0
- data/vendor/local/lib/icuin54.dll +0 -0
- data/vendor/local/lib/icuio.dll +0 -0
- data/vendor/local/lib/icuio54.dll +0 -0
- data/vendor/local/lib/icule.dll +0 -0
- data/vendor/local/lib/icule54.dll +0 -0
- data/vendor/local/lib/iculx.dll +0 -0
- data/vendor/local/lib/iculx54.dll +0 -0
- data/vendor/local/lib/icutest.dll +0 -0
- data/vendor/local/lib/icutest54.dll +0 -0
- data/vendor/local/lib/icutu.dll +0 -0
- data/vendor/local/lib/icutu54.dll +0 -0
- data/vendor/local/lib/icuuc.dll +0 -0
- data/vendor/local/lib/icuuc54.dll +0 -0
- data/vendor/local/lib/libharfbuzz-icu.a +0 -0
- data/vendor/local/lib/libharfbuzz-icu.la +41 -0
- data/vendor/local/lib/libharfbuzz.dll.a +0 -0
- data/vendor/local/lib/libharfbuzz.la +41 -0
- data/vendor/local/lib/libicudt.dll.a +0 -0
- data/vendor/local/lib/libicuin.dll.a +0 -0
- data/vendor/local/lib/libicuio.dll.a +0 -0
- data/vendor/local/lib/libicule.dll.a +0 -0
- data/vendor/local/lib/libiculx.dll.a +0 -0
- data/vendor/local/lib/libicutest.dll.a +0 -0
- data/vendor/local/lib/libicutu.dll.a +0 -0
- data/vendor/local/lib/libicuuc.dll.a +0 -0
- data/vendor/local/lib/libpango-1.0.dll.a +0 -0
- data/vendor/local/lib/libpango-1.0.la +41 -0
- data/vendor/local/lib/libpangocairo-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangocairo-1.0.la +41 -0
- data/vendor/local/lib/libpangoft2-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangoft2-1.0.la +41 -0
- data/vendor/local/lib/libpangowin32-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangowin32-1.0.la +41 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-arabic-lang.dll +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-arabic-lang.dll.a +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-arabic-lang.la +41 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-basic-fc.dll +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-basic-fc.dll.a +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-basic-fc.la +41 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-basic-win32.dll +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-basic-win32.dll.a +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-basic-win32.la +41 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.dll +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.dll.a +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.la +41 -0
- data/vendor/local/lib/pkgconfig/harfbuzz-icu.pc +13 -0
- data/vendor/local/lib/pkgconfig/harfbuzz.pc +11 -0
- data/vendor/local/lib/pkgconfig/icu-i18n.pc +38 -0
- data/vendor/local/lib/pkgconfig/icu-io.pc +38 -0
- data/vendor/local/lib/pkgconfig/icu-le.pc +38 -0
- data/vendor/local/lib/pkgconfig/icu-lx.pc +38 -0
- data/vendor/local/lib/pkgconfig/icu-uc.pc +38 -0
- data/vendor/local/lib/pkgconfig/pango.pc +14 -0
- data/vendor/local/lib/pkgconfig/pangocairo.pc +11 -0
- data/vendor/local/lib/pkgconfig/pangoft2.pc +12 -0
- data/vendor/local/lib/pkgconfig/pangowin32.pc +11 -0
- data/vendor/local/share/gir-1.0/Pango-1.0.gir +13329 -0
- data/vendor/local/share/gir-1.0/PangoCairo-1.0.gir +833 -0
- data/vendor/local/share/gir-1.0/PangoFT2-1.0.gir +354 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/annotation-glossary.html +75 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-full.html +1449 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/ch01.html +98 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/deprecated-api-index.html +46 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-blob.html +610 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-buffer.html +1780 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-common.html +1337 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-coretext.html +144 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-deprecated.html +99 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-face.html +630 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-font.html +2529 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ft.html +188 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-glib.html +120 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-gobject.html +50 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-graphite2.html +120 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-icu.html +120 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot-layout.html +771 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot-tag.html +172 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot.html +50 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-set.html +966 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-shape-plan.html +405 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-shape.html +286 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-unicode.html +1523 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-uniscribe.html +100 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-version.html +182 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb.html +50 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz.devhelp2 +378 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/index.html +105 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/index.sgml +496 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/left-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/object-tree.html +59 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/right-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/style.css +476 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/up-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/up.png +0 -0
- data/vendor/local/share/gtk-doc/html/pango/PangoEngineLang.html +224 -0
- data/vendor/local/share/gtk-doc/html/pango/PangoEngineShape.html +255 -0
- data/vendor/local/share/gtk-doc/html/pango/PangoFcDecoder.html +246 -0
- data/vendor/local/share/gtk-doc/html/pango/PangoFcFont.html +500 -0
- data/vendor/local/share/gtk-doc/html/pango/PangoFcFontMap.html +1001 -0
- data/vendor/local/share/gtk-doc/html/pango/PangoMarkupFormat.html +301 -0
- data/vendor/local/share/gtk-doc/html/pango/PangoRenderer.html +1219 -0
- data/vendor/local/share/gtk-doc/html/pango/annotation-glossary.html +89 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-10.html +135 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-12.html +49 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-14.html +64 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-16.html +228 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-18.html +152 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-2.html +122 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-20.html +87 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-22.html +124 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-24.html +97 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-26.html +46 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-30.html +39 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-31-0.html +39 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-32-4.html +53 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-32.html +42 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-34.html +38 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-4.html +201 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-6.html +165 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-8.html +171 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-deprecated.html +284 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-full.html +2968 -0
- data/vendor/local/share/gtk-doc/html/pango/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/pango/index.html +146 -0
- data/vendor/local/share/gtk-doc/html/pango/index.sgml +957 -0
- data/vendor/local/share/gtk-doc/html/pango/layout.gif +0 -0
- data/vendor/local/share/gtk-doc/html/pango/left-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/pango/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/pango/lowlevel.html +68 -0
- data/vendor/local/share/gtk-doc/html/pango/pango-Bidirectional-Text.html +514 -0
- data/vendor/local/share/gtk-doc/html/pango/pango-Cairo-Rendering.html +1632 -0
- data/vendor/local/share/gtk-doc/html/pango/pango-CoreText-Fonts.html +115 -0
- data/vendor/local/share/gtk-doc/html/pango/pango-Coverage-Maps.html +508 -0
- data/vendor/local/share/gtk-doc/html/pango/pango-Engines.html +358 -0
- data/vendor/local/share/gtk-doc/html/pango/pango-Fonts.html +4154 -0
- data/vendor/local/share/gtk-doc/html/pango/pango-FreeType-Fonts-and-Rendering.html +956 -0
- data/vendor/local/share/gtk-doc/html/pango/pango-Glyph-Storage.html +2627 -0
- data/vendor/local/share/gtk-doc/html/pango/pango-Layout-Objects.html +4153 -0
- data/vendor/local/share/gtk-doc/html/pango/pango-Miscellaneous-Utilities.html +965 -0
- data/vendor/local/share/gtk-doc/html/pango/pango-Modules.html +331 -0
- data/vendor/local/share/gtk-doc/html/pango/pango-OpenType-Font-Handling.html +2202 -0
- data/vendor/local/share/gtk-doc/html/pango/pango-Scripts-and-Languages.html +1430 -0
- data/vendor/local/share/gtk-doc/html/pango/pango-Tab-Stops.html +582 -0
- data/vendor/local/share/gtk-doc/html/pango/pango-Text-Attributes.html +3356 -0
- data/vendor/local/share/gtk-doc/html/pango/pango-Text-Processing.html +2079 -0
- data/vendor/local/share/gtk-doc/html/pango/pango-Version-Checking.html +325 -0
- data/vendor/local/share/gtk-doc/html/pango/pango-Vertical-Text.html +523 -0
- data/vendor/local/share/gtk-doc/html/pango/pango-Win32-Fonts-and-Rendering.html +1028 -0
- data/vendor/local/share/gtk-doc/html/pango/pango-Xft-Fonts-and-Rendering.html +1275 -0
- data/vendor/local/share/gtk-doc/html/pango/pango-hierarchy.html +91 -0
- data/vendor/local/share/gtk-doc/html/pango/pango-querymodules.html +131 -0
- data/vendor/local/share/gtk-doc/html/pango/pango.devhelp2 +786 -0
- data/vendor/local/share/gtk-doc/html/pango/pango.html +63 -0
- data/vendor/local/share/gtk-doc/html/pango/rendering.html +47 -0
- data/vendor/local/share/gtk-doc/html/pango/right-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/pango/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/pango/rotated-text.png +0 -0
- data/vendor/local/share/gtk-doc/html/pango/style.css +476 -0
- data/vendor/local/share/gtk-doc/html/pango/tools.html +33 -0
- data/vendor/local/share/gtk-doc/html/pango/up-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/pango/up.png +0 -0
- data/vendor/local/share/icu/54.1/config/mh-mingw64 +158 -0
- data/vendor/local/share/icu/54.1/install-sh +251 -0
- data/vendor/local/share/icu/54.1/license.html +385 -0
- data/vendor/local/share/icu/54.1/mkinstalldirs +43 -0
- data/vendor/local/share/license/harfbuzz/AUTHORS +9 -0
- data/vendor/local/share/license/harfbuzz/COPYING +36 -0
- data/vendor/local/share/license/pango/AUTHORS +2 -0
- data/vendor/local/share/license/pango/COPYING +482 -0
- data/vendor/local/share/man/man1/derb.1 +196 -0
- data/vendor/local/share/man/man1/genbrk.1 +112 -0
- data/vendor/local/share/man/man1/gencfu.1 +91 -0
- data/vendor/local/share/man/man1/gencnval.1 +91 -0
- data/vendor/local/share/man/man1/gendict.1 +131 -0
- data/vendor/local/share/man/man1/genrb.1 +146 -0
- data/vendor/local/share/man/man1/icu-config.1 +288 -0
- data/vendor/local/share/man/man1/makeconv.1 +112 -0
- data/vendor/local/share/man/man1/pango-querymodules.1 +106 -0
- data/vendor/local/share/man/man1/pango-view.1 +1 -0
- data/vendor/local/share/man/man1/pkgdata.1 +258 -0
- data/vendor/local/share/man/man1/uconv.1 +443 -0
- data/vendor/local/share/man/man8/genccode.8 +106 -0
- data/vendor/local/share/man/man8/gencmn.8 +129 -0
- data/vendor/local/share/man/man8/gensprep.8 +102 -0
- data/vendor/local/share/man/man8/icupkg.8 +204 -0
- metadata +599 -0
@@ -0,0 +1,550 @@
|
|
1
|
+
|
2
|
+
/*
|
3
|
+
*
|
4
|
+
* (C) Copyright IBM Corp. 1998-2014 - All Rights Reserved
|
5
|
+
*
|
6
|
+
*/
|
7
|
+
|
8
|
+
#ifndef __LEFONTINSTANCE_H
|
9
|
+
#define __LEFONTINSTANCE_H
|
10
|
+
|
11
|
+
#include "LETypes.h"
|
12
|
+
/**
|
13
|
+
* \file
|
14
|
+
* \brief C++ API: Layout Engine Font Instance object
|
15
|
+
*/
|
16
|
+
|
17
|
+
U_NAMESPACE_BEGIN
|
18
|
+
|
19
|
+
/**
|
20
|
+
* Instances of this class are used by <code>LEFontInstance::mapCharsToGlyphs</code> and
|
21
|
+
* <code>LEFontInstance::mapCharToGlyph</code> to adjust character codes before the character
|
22
|
+
* to glyph mapping process. Examples of this are filtering out control characters
|
23
|
+
* and character mirroring - replacing a character which has both a left and a right
|
24
|
+
* hand form with the opposite form.
|
25
|
+
*
|
26
|
+
* @deprecated ICU 54. See {@link icu::LayoutEngine}
|
27
|
+
*/
|
28
|
+
class LECharMapper /* not : public UObject because this is an interface/mixin class */
|
29
|
+
{
|
30
|
+
public:
|
31
|
+
/**
|
32
|
+
* Destructor.
|
33
|
+
* @deprecated ICU 54. See {@link icu::LayoutEngine}
|
34
|
+
*/
|
35
|
+
virtual ~LECharMapper();
|
36
|
+
|
37
|
+
/**
|
38
|
+
* This method does the adjustments.
|
39
|
+
*
|
40
|
+
* @param ch - the input character
|
41
|
+
*
|
42
|
+
* @return the adjusted character
|
43
|
+
*
|
44
|
+
* @deprecated ICU 54. See {@link icu::LayoutEngine}
|
45
|
+
*/
|
46
|
+
virtual LEUnicode32 mapChar(LEUnicode32 ch) const = 0;
|
47
|
+
};
|
48
|
+
|
49
|
+
/**
|
50
|
+
* This is a forward reference to the class which holds the per-glyph
|
51
|
+
* storage.
|
52
|
+
*
|
53
|
+
* @deprecated ICU 54. See {@link icu::LayoutEngine}
|
54
|
+
*/
|
55
|
+
class LEGlyphStorage;
|
56
|
+
|
57
|
+
/**
|
58
|
+
* This is a virtual base class that serves as the interface between a LayoutEngine
|
59
|
+
* and the platform font environment. It allows a LayoutEngine to access font tables, do
|
60
|
+
* character to glyph mapping, and obtain metrics information without knowing any platform
|
61
|
+
* specific details. There are also a few utility methods for converting between points,
|
62
|
+
* pixels and funits. (font design units)
|
63
|
+
*
|
64
|
+
* An instance of an <code>LEFontInstance</code> represents a font at a particular point
|
65
|
+
* size. Each instance can represent either a single physical font, or a composite font.
|
66
|
+
* A composite font is a collection of physical fonts, each of which contains a subset of
|
67
|
+
* the characters contained in the composite font.
|
68
|
+
*
|
69
|
+
* Note: with the exception of <code>getSubFont</code>, the methods in this class only
|
70
|
+
* make sense for a physical font. If you have an <code>LEFontInstance</code> which
|
71
|
+
* represents a composite font you should only call the methods below which have
|
72
|
+
* an <code>LEGlyphID</code>, an <code>LEUnicode</code> or an <code>LEUnicode32</code>
|
73
|
+
* as one of the arguments because these can be used to select a particular subfont.
|
74
|
+
*
|
75
|
+
* Subclasses which implement composite fonts should supply an implementation of these
|
76
|
+
* methods with some default behavior such as returning constant values, or using the
|
77
|
+
* values from the first subfont.
|
78
|
+
*
|
79
|
+
* @deprecated ICU 54. See {@link icu::LayoutEngine}
|
80
|
+
*/
|
81
|
+
class U_LAYOUT_API LEFontInstance : public UObject
|
82
|
+
{
|
83
|
+
public:
|
84
|
+
|
85
|
+
/**
|
86
|
+
* This virtual destructor is here so that the subclass
|
87
|
+
* destructors can be invoked through the base class.
|
88
|
+
*
|
89
|
+
* @deprecated ICU 54. See {@link icu::LayoutEngine}
|
90
|
+
*/
|
91
|
+
virtual ~LEFontInstance();
|
92
|
+
|
93
|
+
/**
|
94
|
+
* Get a physical font which can render the given text. For composite fonts,
|
95
|
+
* if there is no single physical font which can render all of the text,
|
96
|
+
* return a physical font which can render an initial substring of the text,
|
97
|
+
* and set the <code>offset</code> parameter to the end of that substring.
|
98
|
+
*
|
99
|
+
* Internally, the LayoutEngine works with runs of text all in the same
|
100
|
+
* font and script, so it is best to call this method with text which is
|
101
|
+
* in a single script, passing the script code in as a hint. If you don't
|
102
|
+
* know the script of the text, you can use zero, which is the script code
|
103
|
+
* for characters used in more than one script.
|
104
|
+
*
|
105
|
+
* The default implementation of this method is intended for instances of
|
106
|
+
* <code>LEFontInstance</code> which represent a physical font. It returns
|
107
|
+
* <code>this</code> and indicates that the entire string can be rendered.
|
108
|
+
*
|
109
|
+
* This method will return a valid <code>LEFontInstance</code> unless you
|
110
|
+
* have passed illegal parameters, or an internal error has been encountered.
|
111
|
+
* For composite fonts, it may return the warning <code>LE_NO_SUBFONT_WARNING</code>
|
112
|
+
* to indicate that the returned font may not be able to render all of
|
113
|
+
* the text. Whenever a valid font is returned, the <code>offset</code> parameter
|
114
|
+
* will be advanced by at least one.
|
115
|
+
*
|
116
|
+
* Subclasses which implement composite fonts must override this method.
|
117
|
+
* Where it makes sense, they should use the script code as a hint to render
|
118
|
+
* characters from the COMMON script in the font which is used for the given
|
119
|
+
* script. For example, if the input text is a series of Arabic words separated
|
120
|
+
* by spaces, and the script code passed in is <code>arabScriptCode</code> you
|
121
|
+
* should return the font used for Arabic characters for all of the input text,
|
122
|
+
* including the spaces. If, on the other hand, the input text contains characters
|
123
|
+
* which cannot be rendered by the font used for Arabic characters, but which can
|
124
|
+
* be rendered by another font, you should return that font for those characters.
|
125
|
+
*
|
126
|
+
* @param chars - the array of Unicode characters.
|
127
|
+
* @param offset - a pointer to the starting offset in the text. On exit this
|
128
|
+
* will be set the the limit offset of the text which can be
|
129
|
+
* rendered using the returned font.
|
130
|
+
* @param limit - the limit offset for the input text.
|
131
|
+
* @param script - the script hint.
|
132
|
+
* @param success - set to an error code if the arguments are illegal, or no font
|
133
|
+
* can be returned for some reason. May also be set to
|
134
|
+
* <code>LE_NO_SUBFONT_WARNING</code> if the subfont which
|
135
|
+
* was returned cannot render all of the text.
|
136
|
+
*
|
137
|
+
* @return an <code>LEFontInstance</code> for the sub font which can render the characters, or
|
138
|
+
* <code>NULL</code> if there is an error.
|
139
|
+
*
|
140
|
+
* @see LEScripts.h
|
141
|
+
*
|
142
|
+
* @deprecated ICU 54. See {@link icu::LayoutEngine}
|
143
|
+
*/
|
144
|
+
virtual const LEFontInstance *getSubFont(const LEUnicode chars[], le_int32 *offset, le_int32 limit, le_int32 script, LEErrorCode &success) const;
|
145
|
+
|
146
|
+
//
|
147
|
+
// Font file access
|
148
|
+
//
|
149
|
+
|
150
|
+
/**
|
151
|
+
* This method reads a table from the font. Note that in general,
|
152
|
+
* it only makes sense to call this method on an <code>LEFontInstance</code>
|
153
|
+
* which represents a physical font - i.e. one which has been returned by
|
154
|
+
* <code>getSubFont()</code>. This is because each subfont in a composite font
|
155
|
+
* will have different tables, and there's no way to know which subfont to access.
|
156
|
+
*
|
157
|
+
* Subclasses which represent composite fonts should always return <code>NULL</code>.
|
158
|
+
*
|
159
|
+
* Note that implementing this function does not allow for range checking.
|
160
|
+
* Subclasses that desire the safety of range checking must implement the
|
161
|
+
* variation which has a length parameter.
|
162
|
+
*
|
163
|
+
* @param tableTag - the four byte table tag. (e.g. 'cmap')
|
164
|
+
*
|
165
|
+
* @return the address of the table in memory, or <code>NULL</code>
|
166
|
+
* if the table doesn't exist.
|
167
|
+
*
|
168
|
+
* @deprecated ICU 54. See {@link icu::LayoutEngine}
|
169
|
+
*/
|
170
|
+
virtual const void *getFontTable(LETag tableTag) const = 0;
|
171
|
+
|
172
|
+
/**
|
173
|
+
* This method reads a table from the font. Note that in general,
|
174
|
+
* it only makes sense to call this method on an <code>LEFontInstance</code>
|
175
|
+
* which represents a physical font - i.e. one which has been returned by
|
176
|
+
* <code>getSubFont()</code>. This is because each subfont in a composite font
|
177
|
+
* will have different tables, and there's no way to know which subfont to access.
|
178
|
+
*
|
179
|
+
* Subclasses which represent composite fonts should always return <code>NULL</code>.
|
180
|
+
*
|
181
|
+
* This version sets a length, for range checking.
|
182
|
+
* Note that range checking can only be accomplished if this function is
|
183
|
+
* implemented in subclasses.
|
184
|
+
*
|
185
|
+
* @param tableTag - the four byte table tag. (e.g. 'cmap')
|
186
|
+
* @param length - ignored on entry, on exit will be the length of the table if known, or -1 if unknown.
|
187
|
+
* @return the address of the table in memory, or <code>NULL</code>
|
188
|
+
* if the table doesn't exist.
|
189
|
+
* @deprecated ICU 54. See {@link LayoutEngine}
|
190
|
+
*/
|
191
|
+
virtual const void* getFontTable(LETag tableTag, size_t &length) const { length=-1; return getFontTable(tableTag); } /* -1 = unknown length */
|
192
|
+
|
193
|
+
/**
|
194
|
+
* This method is used to determine if the font can
|
195
|
+
* render the given character. This can usually be done
|
196
|
+
* by looking the character up in the font's character
|
197
|
+
* to glyph mapping.
|
198
|
+
*
|
199
|
+
* The default implementation of this method will return
|
200
|
+
* <code>TRUE</code> if <code>mapCharToGlyph(ch)</code>
|
201
|
+
* returns a non-zero value.
|
202
|
+
*
|
203
|
+
* @param ch - the character to be tested
|
204
|
+
*
|
205
|
+
* @return <code>TRUE</code> if the font can render ch.
|
206
|
+
*
|
207
|
+
* @deprecated ICU 54. See {@link icu::LayoutEngine}
|
208
|
+
*/
|
209
|
+
virtual le_bool canDisplay(LEUnicode32 ch) const;
|
210
|
+
|
211
|
+
/**
|
212
|
+
* This method returns the number of design units in
|
213
|
+
* the font's EM square.
|
214
|
+
*
|
215
|
+
* @return the number of design units pre EM.
|
216
|
+
*
|
217
|
+
* @deprecated ICU 54. See {@link icu::LayoutEngine}
|
218
|
+
*/
|
219
|
+
virtual le_int32 getUnitsPerEM() const = 0;
|
220
|
+
|
221
|
+
/**
|
222
|
+
* This method maps an array of character codes to an array of glyph
|
223
|
+
* indices, using the font's character to glyph map.
|
224
|
+
*
|
225
|
+
* The default implementation iterates over all of the characters and calls
|
226
|
+
* <code>mapCharToGlyph(ch, mapper)</code> on each one. It also handles surrogate
|
227
|
+
* characters, storing the glyph ID for the high surrogate, and a deleted glyph (0xFFFF)
|
228
|
+
* for the low surrogate.
|
229
|
+
*
|
230
|
+
* Most sublcasses will not need to implement this method.
|
231
|
+
*
|
232
|
+
* @param chars - the character array
|
233
|
+
* @param offset - the index of the first character
|
234
|
+
* @param count - the number of characters
|
235
|
+
* @param reverse - if <code>TRUE</code>, store the glyph indices in reverse order.
|
236
|
+
* @param mapper - the character mapper.
|
237
|
+
* @param filterZeroWidth - <code>TRUE</code> if ZWJ / ZWNJ characters should map to a glyph w/ no contours.
|
238
|
+
* @param glyphStorage - the object which contains the output glyph array
|
239
|
+
*
|
240
|
+
* @see LECharMapper
|
241
|
+
*
|
242
|
+
* @deprecated ICU 54. See {@link icu::LayoutEngine}
|
243
|
+
*/
|
244
|
+
virtual void mapCharsToGlyphs(const LEUnicode chars[], le_int32 offset, le_int32 count, le_bool reverse, const LECharMapper *mapper, le_bool filterZeroWidth, LEGlyphStorage &glyphStorage) const;
|
245
|
+
|
246
|
+
/**
|
247
|
+
* This method maps a single character to a glyph index, using the
|
248
|
+
* font's character to glyph map. The default implementation of this
|
249
|
+
* method calls the mapper, and then calls <code>mapCharToGlyph(mappedCh)</code>.
|
250
|
+
*
|
251
|
+
* @param ch - the character
|
252
|
+
* @param mapper - the character mapper
|
253
|
+
* @param filterZeroWidth - <code>TRUE</code> if ZWJ / ZWNJ characters should map to a glyph w/ no contours.
|
254
|
+
*
|
255
|
+
* @return the glyph index
|
256
|
+
*
|
257
|
+
* @see LECharMapper
|
258
|
+
*
|
259
|
+
* @deprecated ICU 54. See {@link icu::LayoutEngine}
|
260
|
+
*/
|
261
|
+
virtual LEGlyphID mapCharToGlyph(LEUnicode32 ch, const LECharMapper *mapper, le_bool filterZeroWidth) const;
|
262
|
+
|
263
|
+
/**
|
264
|
+
* This method maps a single character to a glyph index, using the
|
265
|
+
* font's character to glyph map. The default implementation of this
|
266
|
+
* method calls the mapper, and then calls <code>mapCharToGlyph(mappedCh)</code>.
|
267
|
+
*
|
268
|
+
* @param ch - the character
|
269
|
+
* @param mapper - the character mapper
|
270
|
+
*
|
271
|
+
* @return the glyph index
|
272
|
+
*
|
273
|
+
* @see LECharMapper
|
274
|
+
*
|
275
|
+
* @deprecated ICU 54. See {@link icu::LayoutEngine}
|
276
|
+
*/
|
277
|
+
virtual LEGlyphID mapCharToGlyph(LEUnicode32 ch, const LECharMapper *mapper) const;
|
278
|
+
|
279
|
+
/**
|
280
|
+
* This method maps a single character to a glyph index, using the
|
281
|
+
* font's character to glyph map. There is no default implementation
|
282
|
+
* of this method because it requires information about the platform
|
283
|
+
* font implementation.
|
284
|
+
*
|
285
|
+
* @param ch - the character
|
286
|
+
*
|
287
|
+
* @return the glyph index
|
288
|
+
*
|
289
|
+
* @deprecated ICU 54. See {@link icu::LayoutEngine}
|
290
|
+
*/
|
291
|
+
virtual LEGlyphID mapCharToGlyph(LEUnicode32 ch) const = 0;
|
292
|
+
|
293
|
+
//
|
294
|
+
// Metrics
|
295
|
+
//
|
296
|
+
|
297
|
+
/**
|
298
|
+
* This method gets the X and Y advance of a particular glyph, in pixels.
|
299
|
+
*
|
300
|
+
* @param glyph - the glyph index
|
301
|
+
* @param advance - the X and Y pixel values will be stored here
|
302
|
+
*
|
303
|
+
* @deprecated ICU 54. See {@link icu::LayoutEngine}
|
304
|
+
*/
|
305
|
+
virtual void getGlyphAdvance(LEGlyphID glyph, LEPoint &advance) const = 0;
|
306
|
+
|
307
|
+
/**
|
308
|
+
* This method gets the hinted X and Y pixel coordinates of a particular
|
309
|
+
* point in the outline of the given glyph.
|
310
|
+
*
|
311
|
+
* @param glyph - the glyph index
|
312
|
+
* @param pointNumber - the number of the point
|
313
|
+
* @param point - the point's X and Y pixel values will be stored here
|
314
|
+
*
|
315
|
+
* @return <code>TRUE</code> if the point coordinates could be stored.
|
316
|
+
*
|
317
|
+
* @deprecated ICU 54. See {@link icu::LayoutEngine}
|
318
|
+
*/
|
319
|
+
virtual le_bool getGlyphPoint(LEGlyphID glyph, le_int32 pointNumber, LEPoint &point) const = 0;
|
320
|
+
|
321
|
+
/**
|
322
|
+
* This method returns the width of the font's EM square
|
323
|
+
* in pixels.
|
324
|
+
*
|
325
|
+
* @return the pixel width of the EM square
|
326
|
+
*
|
327
|
+
* @deprecated ICU 54. See {@link icu::LayoutEngine}
|
328
|
+
*/
|
329
|
+
virtual float getXPixelsPerEm() const = 0;
|
330
|
+
|
331
|
+
/**
|
332
|
+
* This method returns the height of the font's EM square
|
333
|
+
* in pixels.
|
334
|
+
*
|
335
|
+
* @return the pixel height of the EM square
|
336
|
+
*
|
337
|
+
* @deprecated ICU 54. See {@link icu::LayoutEngine}
|
338
|
+
*/
|
339
|
+
virtual float getYPixelsPerEm() const = 0;
|
340
|
+
|
341
|
+
/**
|
342
|
+
* This method converts font design units in the
|
343
|
+
* X direction to points.
|
344
|
+
*
|
345
|
+
* @param xUnits - design units in the X direction
|
346
|
+
*
|
347
|
+
* @return points in the X direction
|
348
|
+
*
|
349
|
+
* @deprecated ICU 54. See {@link icu::LayoutEngine}
|
350
|
+
*/
|
351
|
+
virtual float xUnitsToPoints(float xUnits) const;
|
352
|
+
|
353
|
+
/**
|
354
|
+
* This method converts font design units in the
|
355
|
+
* Y direction to points.
|
356
|
+
*
|
357
|
+
* @param yUnits - design units in the Y direction
|
358
|
+
*
|
359
|
+
* @return points in the Y direction
|
360
|
+
*
|
361
|
+
* @deprecated ICU 54. See {@link icu::LayoutEngine}
|
362
|
+
*/
|
363
|
+
virtual float yUnitsToPoints(float yUnits) const;
|
364
|
+
|
365
|
+
/**
|
366
|
+
* This method converts font design units to points.
|
367
|
+
*
|
368
|
+
* @param units - X and Y design units
|
369
|
+
* @param points - set to X and Y points
|
370
|
+
*
|
371
|
+
* @deprecated ICU 54. See {@link icu::LayoutEngine}
|
372
|
+
*/
|
373
|
+
virtual void unitsToPoints(LEPoint &units, LEPoint &points) const;
|
374
|
+
|
375
|
+
/**
|
376
|
+
* This method converts pixels in the
|
377
|
+
* X direction to font design units.
|
378
|
+
*
|
379
|
+
* @param xPixels - pixels in the X direction
|
380
|
+
*
|
381
|
+
* @return font design units in the X direction
|
382
|
+
*
|
383
|
+
* @deprecated ICU 54. See {@link icu::LayoutEngine}
|
384
|
+
*/
|
385
|
+
virtual float xPixelsToUnits(float xPixels) const;
|
386
|
+
|
387
|
+
/**
|
388
|
+
* This method converts pixels in the
|
389
|
+
* Y direction to font design units.
|
390
|
+
*
|
391
|
+
* @param yPixels - pixels in the Y direction
|
392
|
+
*
|
393
|
+
* @return font design units in the Y direction
|
394
|
+
*
|
395
|
+
* @deprecated ICU 54. See {@link icu::LayoutEngine}
|
396
|
+
*/
|
397
|
+
virtual float yPixelsToUnits(float yPixels) const;
|
398
|
+
|
399
|
+
/**
|
400
|
+
* This method converts pixels to font design units.
|
401
|
+
*
|
402
|
+
* @param pixels - X and Y pixel
|
403
|
+
* @param units - set to X and Y font design units
|
404
|
+
*
|
405
|
+
* @deprecated ICU 54. See {@link icu::LayoutEngine}
|
406
|
+
*/
|
407
|
+
virtual void pixelsToUnits(LEPoint &pixels, LEPoint &units) const;
|
408
|
+
|
409
|
+
/**
|
410
|
+
* Get the X scale factor from the font's transform. The default
|
411
|
+
* implementation of <code>transformFunits()</code> will call this method.
|
412
|
+
*
|
413
|
+
* @return the X scale factor.
|
414
|
+
*
|
415
|
+
*
|
416
|
+
* @see transformFunits
|
417
|
+
*
|
418
|
+
* @deprecated ICU 54. See {@link icu::LayoutEngine}
|
419
|
+
*/
|
420
|
+
virtual float getScaleFactorX() const = 0;
|
421
|
+
|
422
|
+
/**
|
423
|
+
* Get the Y scale factor from the font's transform. The default
|
424
|
+
* implementation of <code>transformFunits()</code> will call this method.
|
425
|
+
*
|
426
|
+
* @return the Yscale factor.
|
427
|
+
*
|
428
|
+
* @see transformFunits
|
429
|
+
*
|
430
|
+
* @deprecated ICU 54. See {@link icu::LayoutEngine}
|
431
|
+
*/
|
432
|
+
virtual float getScaleFactorY() const = 0;
|
433
|
+
|
434
|
+
/**
|
435
|
+
* This method transforms an X, Y point in font design units to a
|
436
|
+
* pixel coordinate, applying the font's transform. The default
|
437
|
+
* implementation of this method calls <code>getScaleFactorX()</code>
|
438
|
+
* and <code>getScaleFactorY()</code>.
|
439
|
+
*
|
440
|
+
* @param xFunits - the X coordinate in font design units
|
441
|
+
* @param yFunits - the Y coordinate in font design units
|
442
|
+
* @param pixels - the tranformed co-ordinate in pixels
|
443
|
+
*
|
444
|
+
* @see getScaleFactorX
|
445
|
+
* @see getScaleFactorY
|
446
|
+
*
|
447
|
+
* @deprecated ICU 54. See {@link icu::LayoutEngine}
|
448
|
+
*/
|
449
|
+
virtual void transformFunits(float xFunits, float yFunits, LEPoint &pixels) const;
|
450
|
+
|
451
|
+
/**
|
452
|
+
* This is a convenience method used to convert
|
453
|
+
* values in a 16.16 fixed point format to floating point.
|
454
|
+
*
|
455
|
+
* @param fixed - the fixed point value
|
456
|
+
*
|
457
|
+
* @return the floating point value
|
458
|
+
*
|
459
|
+
* @deprecated ICU 54. See {@link icu::LayoutEngine}
|
460
|
+
*/
|
461
|
+
static inline float fixedToFloat(le_int32 fixed);
|
462
|
+
|
463
|
+
/**
|
464
|
+
* This is a convenience method used to convert
|
465
|
+
* floating point values to 16.16 fixed point format.
|
466
|
+
*
|
467
|
+
* @param theFloat - the floating point value
|
468
|
+
*
|
469
|
+
* @return the fixed point value
|
470
|
+
*
|
471
|
+
* @deprecated ICU 54. See {@link icu::LayoutEngine}
|
472
|
+
*/
|
473
|
+
static inline le_int32 floatToFixed(float theFloat);
|
474
|
+
|
475
|
+
//
|
476
|
+
// These methods won't ever be called by the LayoutEngine,
|
477
|
+
// but are useful for clients of <code>LEFontInstance</code> who
|
478
|
+
// need to render text.
|
479
|
+
//
|
480
|
+
|
481
|
+
/**
|
482
|
+
* Get the font's ascent.
|
483
|
+
*
|
484
|
+
* @return the font's ascent, in points. This value
|
485
|
+
* will always be positive.
|
486
|
+
*
|
487
|
+
* @deprecated ICU 54. See {@link icu::LayoutEngine}
|
488
|
+
*/
|
489
|
+
virtual le_int32 getAscent() const = 0;
|
490
|
+
|
491
|
+
/**
|
492
|
+
* Get the font's descent.
|
493
|
+
*
|
494
|
+
* @return the font's descent, in points. This value
|
495
|
+
* will always be positive.
|
496
|
+
*
|
497
|
+
* @deprecated ICU 54. See {@link icu::LayoutEngine}
|
498
|
+
*/
|
499
|
+
virtual le_int32 getDescent() const = 0;
|
500
|
+
|
501
|
+
/**
|
502
|
+
* Get the font's leading.
|
503
|
+
*
|
504
|
+
* @return the font's leading, in points. This value
|
505
|
+
* will always be positive.
|
506
|
+
*
|
507
|
+
* @deprecated ICU 54. See {@link icu::LayoutEngine}
|
508
|
+
*/
|
509
|
+
virtual le_int32 getLeading() const = 0;
|
510
|
+
|
511
|
+
/**
|
512
|
+
* Get the line height required to display text in
|
513
|
+
* this font. The default implementation of this method
|
514
|
+
* returns the sum of the ascent, descent, and leading.
|
515
|
+
*
|
516
|
+
* @return the line height, in points. This vaule will
|
517
|
+
* always be positive.
|
518
|
+
*
|
519
|
+
* @deprecated ICU 54. See {@link icu::LayoutEngine}
|
520
|
+
*/
|
521
|
+
virtual le_int32 getLineHeight() const;
|
522
|
+
|
523
|
+
/**
|
524
|
+
* ICU "poor man's RTTI", returns a UClassID for the actual class.
|
525
|
+
*
|
526
|
+
* @deprecated ICU 54. See {@link icu::LayoutEngine}
|
527
|
+
*/
|
528
|
+
virtual UClassID getDynamicClassID() const;
|
529
|
+
|
530
|
+
/**
|
531
|
+
* ICU "poor man's RTTI", returns a UClassID for this class.
|
532
|
+
*
|
533
|
+
* @deprecated ICU 54. See {@link icu::LayoutEngine}
|
534
|
+
*/
|
535
|
+
static UClassID getStaticClassID();
|
536
|
+
|
537
|
+
};
|
538
|
+
|
539
|
+
inline float LEFontInstance::fixedToFloat(le_int32 fixed)
|
540
|
+
{
|
541
|
+
return (float) (fixed / 65536.0);
|
542
|
+
}
|
543
|
+
|
544
|
+
inline le_int32 LEFontInstance::floatToFixed(float theFloat)
|
545
|
+
{
|
546
|
+
return (le_int32) (theFloat * 65536.0);
|
547
|
+
}
|
548
|
+
|
549
|
+
U_NAMESPACE_END
|
550
|
+
#endif
|
@@ -0,0 +1,45 @@
|
|
1
|
+
/*
|
2
|
+
*
|
3
|
+
* (C) Copyright IBM Corp. 1998-2011 - All Rights Reserved
|
4
|
+
*
|
5
|
+
*/
|
6
|
+
|
7
|
+
#ifndef __LEGLYPHFILTER__H
|
8
|
+
#define __LEGLYPHFILTER__H
|
9
|
+
|
10
|
+
#include "LETypes.h"
|
11
|
+
|
12
|
+
U_NAMESPACE_BEGIN
|
13
|
+
|
14
|
+
#ifndef U_HIDE_INTERNAL_API
|
15
|
+
/**
|
16
|
+
* This is a helper class that is used to
|
17
|
+
* recognize a set of glyph indices.
|
18
|
+
*
|
19
|
+
* @internal
|
20
|
+
*/
|
21
|
+
class LEGlyphFilter /* not : public UObject because this is an interface/mixin class */ {
|
22
|
+
public:
|
23
|
+
/**
|
24
|
+
* Destructor.
|
25
|
+
* @internal
|
26
|
+
*/
|
27
|
+
virtual ~LEGlyphFilter();
|
28
|
+
|
29
|
+
/**
|
30
|
+
* This method is used to test a particular
|
31
|
+
* glyph index to see if it is in the set
|
32
|
+
* recognized by the filter.
|
33
|
+
*
|
34
|
+
* @param glyph - the glyph index to be tested
|
35
|
+
*
|
36
|
+
* @return TRUE if the glyph index is in the set.
|
37
|
+
*
|
38
|
+
* @internal
|
39
|
+
*/
|
40
|
+
virtual le_bool accept(LEGlyphID glyph) const = 0;
|
41
|
+
};
|
42
|
+
#endif /* U_HIDE_INTERNAL_API */
|
43
|
+
|
44
|
+
U_NAMESPACE_END
|
45
|
+
#endif
|