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
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# Pango Modules file
|
2
|
+
# Automatically generated file, do not edit
|
3
|
+
#
|
4
|
+
# ModulesPath = /home/vagrant/ruby-gnome2.win64/pango/vendor/local/lib/pango/1.8.0/modules
|
5
|
+
#
|
6
|
+
/home/vagrant/ruby-gnome2.win64/pango/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.dll devaIndicScriptEngineLang PangoEngineLang PangoRenderNone devanagari:*
|
7
|
+
/home/vagrant/ruby-gnome2.win64/pango/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.dll bengIndicScriptEngineLang PangoEngineLang PangoRenderNone bengali:*
|
8
|
+
/home/vagrant/ruby-gnome2.win64/pango/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.dll guruIndicScriptEngineLang PangoEngineLang PangoRenderNone gurmukhi:*
|
9
|
+
/home/vagrant/ruby-gnome2.win64/pango/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.dll gujrIndicScriptEngineLang PangoEngineLang PangoRenderNone gujarati:*
|
10
|
+
/home/vagrant/ruby-gnome2.win64/pango/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.dll oryaIndicScriptEngineLang PangoEngineLang PangoRenderNone oriya:*
|
11
|
+
/home/vagrant/ruby-gnome2.win64/pango/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.dll tamlIndicScriptEngineLang PangoEngineLang PangoRenderNone tamil:*
|
12
|
+
/home/vagrant/ruby-gnome2.win64/pango/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.dll teluIndicScriptEngineLang PangoEngineLang PangoRenderNone telugu:*
|
13
|
+
/home/vagrant/ruby-gnome2.win64/pango/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.dll kndaIndicScriptEngineLang PangoEngineLang PangoRenderNone kannada:*
|
14
|
+
/home/vagrant/ruby-gnome2.win64/pango/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.dll mlymIndicScriptEngineLang PangoEngineLang PangoRenderNone malayalam:*
|
15
|
+
/home/vagrant/ruby-gnome2.win64/pango/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.dll sinhIndicScriptEngineLang PangoEngineLang PangoRenderNone sinhala:*
|
16
|
+
/home/vagrant/ruby-gnome2.win64/pango/vendor/local/lib/pango/1.8.0/modules/pango-basic-fc.dll BasicScriptEngineFc PangoEngineShape PangoRenderFc common:
|
17
|
+
/home/vagrant/ruby-gnome2.win64/pango/vendor/local/lib/pango/1.8.0/modules/pango-arabic-lang.dll ArabicScriptEngineLang PangoEngineLang PangoRenderNone arabic:*
|
18
|
+
/home/vagrant/ruby-gnome2.win64/pango/vendor/local/lib/pango/1.8.0/modules/pango-basic-win32.dll BasicScriptEngineWin32 PangoEngineShape PangoRenderWin32 common:
|
19
|
+
|
@@ -0,0 +1,126 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright © 2009 Red Hat, Inc.
|
3
|
+
*
|
4
|
+
* This is part of HarfBuzz, a text shaping library.
|
5
|
+
*
|
6
|
+
* Permission is hereby granted, without written agreement and without
|
7
|
+
* license or royalty fees, to use, copy, modify, and distribute this
|
8
|
+
* software and its documentation for any purpose, provided that the
|
9
|
+
* above copyright notice and the following two paragraphs appear in
|
10
|
+
* all copies of this software.
|
11
|
+
*
|
12
|
+
* IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR
|
13
|
+
* DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
|
14
|
+
* ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN
|
15
|
+
* IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
|
16
|
+
* DAMAGE.
|
17
|
+
*
|
18
|
+
* THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING,
|
19
|
+
* BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
|
20
|
+
* FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS
|
21
|
+
* ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO
|
22
|
+
* PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
|
23
|
+
*
|
24
|
+
* Red Hat Author(s): Behdad Esfahbod
|
25
|
+
*/
|
26
|
+
|
27
|
+
#ifndef HB_H_IN
|
28
|
+
#error "Include <hb.h> instead."
|
29
|
+
#endif
|
30
|
+
|
31
|
+
#ifndef HB_BLOB_H
|
32
|
+
#define HB_BLOB_H
|
33
|
+
|
34
|
+
#include "hb-common.h"
|
35
|
+
|
36
|
+
HB_BEGIN_DECLS
|
37
|
+
|
38
|
+
|
39
|
+
/*
|
40
|
+
* Note re various memory-modes:
|
41
|
+
*
|
42
|
+
* - In no case shall the HarfBuzz client modify memory
|
43
|
+
* that is passed to HarfBuzz in a blob. If there is
|
44
|
+
* any such possibility, MODE_DUPLICATE should be used
|
45
|
+
* such that HarfBuzz makes a copy immediately,
|
46
|
+
*
|
47
|
+
* - Use MODE_READONLY otherse, unless you really really
|
48
|
+
* really know what you are doing,
|
49
|
+
*
|
50
|
+
* - MODE_WRITABLE is appropriate if you really made a
|
51
|
+
* copy of data solely for the purpose of passing to
|
52
|
+
* HarfBuzz and doing that just once (no reuse!),
|
53
|
+
*
|
54
|
+
* - If the font is mmap()ed, it's ok to use
|
55
|
+
* READONLY_MAY_MAKE_WRITABLE, however, using that mode
|
56
|
+
* correctly is very tricky. Use MODE_READONLY instead.
|
57
|
+
*/
|
58
|
+
typedef enum {
|
59
|
+
HB_MEMORY_MODE_DUPLICATE,
|
60
|
+
HB_MEMORY_MODE_READONLY,
|
61
|
+
HB_MEMORY_MODE_WRITABLE,
|
62
|
+
HB_MEMORY_MODE_READONLY_MAY_MAKE_WRITABLE
|
63
|
+
} hb_memory_mode_t;
|
64
|
+
|
65
|
+
typedef struct hb_blob_t hb_blob_t;
|
66
|
+
|
67
|
+
hb_blob_t *
|
68
|
+
hb_blob_create (const char *data,
|
69
|
+
unsigned int length,
|
70
|
+
hb_memory_mode_t mode,
|
71
|
+
void *user_data,
|
72
|
+
hb_destroy_func_t destroy);
|
73
|
+
|
74
|
+
/* Always creates with MEMORY_MODE_READONLY.
|
75
|
+
* Even if the parent blob is writable, we don't
|
76
|
+
* want the user of the sub-blob to be able to
|
77
|
+
* modify the parent data as that data may be
|
78
|
+
* shared among multiple sub-blobs.
|
79
|
+
*/
|
80
|
+
hb_blob_t *
|
81
|
+
hb_blob_create_sub_blob (hb_blob_t *parent,
|
82
|
+
unsigned int offset,
|
83
|
+
unsigned int length);
|
84
|
+
|
85
|
+
hb_blob_t *
|
86
|
+
hb_blob_get_empty (void);
|
87
|
+
|
88
|
+
hb_blob_t *
|
89
|
+
hb_blob_reference (hb_blob_t *blob);
|
90
|
+
|
91
|
+
void
|
92
|
+
hb_blob_destroy (hb_blob_t *blob);
|
93
|
+
|
94
|
+
hb_bool_t
|
95
|
+
hb_blob_set_user_data (hb_blob_t *blob,
|
96
|
+
hb_user_data_key_t *key,
|
97
|
+
void * data,
|
98
|
+
hb_destroy_func_t destroy,
|
99
|
+
hb_bool_t replace);
|
100
|
+
|
101
|
+
|
102
|
+
void *
|
103
|
+
hb_blob_get_user_data (hb_blob_t *blob,
|
104
|
+
hb_user_data_key_t *key);
|
105
|
+
|
106
|
+
|
107
|
+
void
|
108
|
+
hb_blob_make_immutable (hb_blob_t *blob);
|
109
|
+
|
110
|
+
hb_bool_t
|
111
|
+
hb_blob_is_immutable (hb_blob_t *blob);
|
112
|
+
|
113
|
+
|
114
|
+
unsigned int
|
115
|
+
hb_blob_get_length (hb_blob_t *blob);
|
116
|
+
|
117
|
+
const char *
|
118
|
+
hb_blob_get_data (hb_blob_t *blob, unsigned int *length);
|
119
|
+
|
120
|
+
char *
|
121
|
+
hb_blob_get_data_writable (hb_blob_t *blob, unsigned int *length);
|
122
|
+
|
123
|
+
|
124
|
+
HB_END_DECLS
|
125
|
+
|
126
|
+
#endif /* HB_BLOB_H */
|
@@ -0,0 +1,344 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright © 1998-2004 David Turner and Werner Lemberg
|
3
|
+
* Copyright © 2004,2007,2009 Red Hat, Inc.
|
4
|
+
* Copyright © 2011,2012 Google, Inc.
|
5
|
+
*
|
6
|
+
* This is part of HarfBuzz, a text shaping library.
|
7
|
+
*
|
8
|
+
* Permission is hereby granted, without written agreement and without
|
9
|
+
* license or royalty fees, to use, copy, modify, and distribute this
|
10
|
+
* software and its documentation for any purpose, provided that the
|
11
|
+
* above copyright notice and the following two paragraphs appear in
|
12
|
+
* all copies of this software.
|
13
|
+
*
|
14
|
+
* IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR
|
15
|
+
* DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
|
16
|
+
* ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN
|
17
|
+
* IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
|
18
|
+
* DAMAGE.
|
19
|
+
*
|
20
|
+
* THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING,
|
21
|
+
* BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
|
22
|
+
* FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS
|
23
|
+
* ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO
|
24
|
+
* PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
|
25
|
+
*
|
26
|
+
* Red Hat Author(s): Owen Taylor, Behdad Esfahbod
|
27
|
+
* Google Author(s): Behdad Esfahbod
|
28
|
+
*/
|
29
|
+
|
30
|
+
#ifndef HB_H_IN
|
31
|
+
#error "Include <hb.h> instead."
|
32
|
+
#endif
|
33
|
+
|
34
|
+
#ifndef HB_BUFFER_H
|
35
|
+
#define HB_BUFFER_H
|
36
|
+
|
37
|
+
#include "hb-common.h"
|
38
|
+
#include "hb-unicode.h"
|
39
|
+
#include "hb-font.h"
|
40
|
+
|
41
|
+
HB_BEGIN_DECLS
|
42
|
+
|
43
|
+
|
44
|
+
typedef struct hb_glyph_info_t {
|
45
|
+
hb_codepoint_t codepoint;
|
46
|
+
hb_mask_t mask;
|
47
|
+
uint32_t cluster;
|
48
|
+
|
49
|
+
/*< private >*/
|
50
|
+
hb_var_int_t var1;
|
51
|
+
hb_var_int_t var2;
|
52
|
+
} hb_glyph_info_t;
|
53
|
+
|
54
|
+
typedef struct hb_glyph_position_t {
|
55
|
+
hb_position_t x_advance;
|
56
|
+
hb_position_t y_advance;
|
57
|
+
hb_position_t x_offset;
|
58
|
+
hb_position_t y_offset;
|
59
|
+
|
60
|
+
/*< private >*/
|
61
|
+
hb_var_int_t var;
|
62
|
+
} hb_glyph_position_t;
|
63
|
+
|
64
|
+
|
65
|
+
typedef struct hb_segment_properties_t {
|
66
|
+
hb_direction_t direction;
|
67
|
+
hb_script_t script;
|
68
|
+
hb_language_t language;
|
69
|
+
/*< private >*/
|
70
|
+
void *reserved1;
|
71
|
+
void *reserved2;
|
72
|
+
} hb_segment_properties_t;
|
73
|
+
|
74
|
+
#define HB_SEGMENT_PROPERTIES_DEFAULT {HB_DIRECTION_INVALID, \
|
75
|
+
HB_SCRIPT_INVALID, \
|
76
|
+
HB_LANGUAGE_INVALID, \
|
77
|
+
NULL, \
|
78
|
+
NULL}
|
79
|
+
|
80
|
+
hb_bool_t
|
81
|
+
hb_segment_properties_equal (const hb_segment_properties_t *a,
|
82
|
+
const hb_segment_properties_t *b);
|
83
|
+
|
84
|
+
unsigned int
|
85
|
+
hb_segment_properties_hash (const hb_segment_properties_t *p);
|
86
|
+
|
87
|
+
|
88
|
+
|
89
|
+
/*
|
90
|
+
* hb_buffer_t
|
91
|
+
*/
|
92
|
+
|
93
|
+
typedef struct hb_buffer_t hb_buffer_t;
|
94
|
+
|
95
|
+
hb_buffer_t *
|
96
|
+
hb_buffer_create (void);
|
97
|
+
|
98
|
+
hb_buffer_t *
|
99
|
+
hb_buffer_get_empty (void);
|
100
|
+
|
101
|
+
hb_buffer_t *
|
102
|
+
hb_buffer_reference (hb_buffer_t *buffer);
|
103
|
+
|
104
|
+
void
|
105
|
+
hb_buffer_destroy (hb_buffer_t *buffer);
|
106
|
+
|
107
|
+
hb_bool_t
|
108
|
+
hb_buffer_set_user_data (hb_buffer_t *buffer,
|
109
|
+
hb_user_data_key_t *key,
|
110
|
+
void * data,
|
111
|
+
hb_destroy_func_t destroy,
|
112
|
+
hb_bool_t replace);
|
113
|
+
|
114
|
+
void *
|
115
|
+
hb_buffer_get_user_data (hb_buffer_t *buffer,
|
116
|
+
hb_user_data_key_t *key);
|
117
|
+
|
118
|
+
|
119
|
+
typedef enum {
|
120
|
+
HB_BUFFER_CONTENT_TYPE_INVALID = 0,
|
121
|
+
HB_BUFFER_CONTENT_TYPE_UNICODE,
|
122
|
+
HB_BUFFER_CONTENT_TYPE_GLYPHS
|
123
|
+
} hb_buffer_content_type_t;
|
124
|
+
|
125
|
+
void
|
126
|
+
hb_buffer_set_content_type (hb_buffer_t *buffer,
|
127
|
+
hb_buffer_content_type_t content_type);
|
128
|
+
|
129
|
+
hb_buffer_content_type_t
|
130
|
+
hb_buffer_get_content_type (hb_buffer_t *buffer);
|
131
|
+
|
132
|
+
|
133
|
+
void
|
134
|
+
hb_buffer_set_unicode_funcs (hb_buffer_t *buffer,
|
135
|
+
hb_unicode_funcs_t *unicode_funcs);
|
136
|
+
|
137
|
+
hb_unicode_funcs_t *
|
138
|
+
hb_buffer_get_unicode_funcs (hb_buffer_t *buffer);
|
139
|
+
|
140
|
+
void
|
141
|
+
hb_buffer_set_direction (hb_buffer_t *buffer,
|
142
|
+
hb_direction_t direction);
|
143
|
+
|
144
|
+
hb_direction_t
|
145
|
+
hb_buffer_get_direction (hb_buffer_t *buffer);
|
146
|
+
|
147
|
+
void
|
148
|
+
hb_buffer_set_script (hb_buffer_t *buffer,
|
149
|
+
hb_script_t script);
|
150
|
+
|
151
|
+
hb_script_t
|
152
|
+
hb_buffer_get_script (hb_buffer_t *buffer);
|
153
|
+
|
154
|
+
void
|
155
|
+
hb_buffer_set_language (hb_buffer_t *buffer,
|
156
|
+
hb_language_t language);
|
157
|
+
|
158
|
+
|
159
|
+
hb_language_t
|
160
|
+
hb_buffer_get_language (hb_buffer_t *buffer);
|
161
|
+
|
162
|
+
void
|
163
|
+
hb_buffer_set_segment_properties (hb_buffer_t *buffer,
|
164
|
+
const hb_segment_properties_t *props);
|
165
|
+
|
166
|
+
void
|
167
|
+
hb_buffer_get_segment_properties (hb_buffer_t *buffer,
|
168
|
+
hb_segment_properties_t *props);
|
169
|
+
|
170
|
+
void
|
171
|
+
hb_buffer_guess_segment_properties (hb_buffer_t *buffer);
|
172
|
+
|
173
|
+
|
174
|
+
typedef enum { /*< flags >*/
|
175
|
+
HB_BUFFER_FLAG_DEFAULT = 0x00000000u,
|
176
|
+
HB_BUFFER_FLAG_BOT = 0x00000001u, /* Beginning-of-text */
|
177
|
+
HB_BUFFER_FLAG_EOT = 0x00000002u, /* End-of-text */
|
178
|
+
HB_BUFFER_FLAG_PRESERVE_DEFAULT_IGNORABLES = 0x00000004u
|
179
|
+
} hb_buffer_flags_t;
|
180
|
+
|
181
|
+
void
|
182
|
+
hb_buffer_set_flags (hb_buffer_t *buffer,
|
183
|
+
hb_buffer_flags_t flags);
|
184
|
+
|
185
|
+
hb_buffer_flags_t
|
186
|
+
hb_buffer_get_flags (hb_buffer_t *buffer);
|
187
|
+
|
188
|
+
|
189
|
+
|
190
|
+
#define HB_BUFFER_REPLACEMENT_CODEPOINT_DEFAULT 0xFFFDu
|
191
|
+
|
192
|
+
/* Sets codepoint used to replace invalid UTF-8/16/32 entries.
|
193
|
+
* Default is 0xFFFDu. */
|
194
|
+
void
|
195
|
+
hb_buffer_set_replacement_codepoint (hb_buffer_t *buffer,
|
196
|
+
hb_codepoint_t replacement);
|
197
|
+
|
198
|
+
hb_codepoint_t
|
199
|
+
hb_buffer_get_replacement_codepoint (hb_buffer_t *buffer);
|
200
|
+
|
201
|
+
|
202
|
+
/* Resets the buffer. Afterwards it's as if it was just created,
|
203
|
+
* except that it has a larger buffer allocated perhaps... */
|
204
|
+
void
|
205
|
+
hb_buffer_reset (hb_buffer_t *buffer);
|
206
|
+
|
207
|
+
/* Like reset, but does NOT clear unicode_funcs and replacement_codepoint. */
|
208
|
+
void
|
209
|
+
hb_buffer_clear_contents (hb_buffer_t *buffer);
|
210
|
+
|
211
|
+
/* Returns false if allocation failed */
|
212
|
+
hb_bool_t
|
213
|
+
hb_buffer_pre_allocate (hb_buffer_t *buffer,
|
214
|
+
unsigned int size);
|
215
|
+
|
216
|
+
|
217
|
+
/* Returns false if allocation has failed before */
|
218
|
+
hb_bool_t
|
219
|
+
hb_buffer_allocation_successful (hb_buffer_t *buffer);
|
220
|
+
|
221
|
+
void
|
222
|
+
hb_buffer_reverse (hb_buffer_t *buffer);
|
223
|
+
|
224
|
+
void
|
225
|
+
hb_buffer_reverse_clusters (hb_buffer_t *buffer);
|
226
|
+
|
227
|
+
|
228
|
+
/* Filling the buffer in */
|
229
|
+
|
230
|
+
void
|
231
|
+
hb_buffer_add (hb_buffer_t *buffer,
|
232
|
+
hb_codepoint_t codepoint,
|
233
|
+
unsigned int cluster);
|
234
|
+
|
235
|
+
void
|
236
|
+
hb_buffer_add_utf8 (hb_buffer_t *buffer,
|
237
|
+
const char *text,
|
238
|
+
int text_length,
|
239
|
+
unsigned int item_offset,
|
240
|
+
int item_length);
|
241
|
+
|
242
|
+
void
|
243
|
+
hb_buffer_add_utf16 (hb_buffer_t *buffer,
|
244
|
+
const uint16_t *text,
|
245
|
+
int text_length,
|
246
|
+
unsigned int item_offset,
|
247
|
+
int item_length);
|
248
|
+
|
249
|
+
void
|
250
|
+
hb_buffer_add_utf32 (hb_buffer_t *buffer,
|
251
|
+
const uint32_t *text,
|
252
|
+
int text_length,
|
253
|
+
unsigned int item_offset,
|
254
|
+
int item_length);
|
255
|
+
|
256
|
+
/* Like add_utf32 but does NOT check for invalid Unicode codepoints. */
|
257
|
+
void
|
258
|
+
hb_buffer_add_codepoints (hb_buffer_t *buffer,
|
259
|
+
const hb_codepoint_t *text,
|
260
|
+
int text_length,
|
261
|
+
unsigned int item_offset,
|
262
|
+
int item_length);
|
263
|
+
|
264
|
+
|
265
|
+
/* Clears any new items added at the end */
|
266
|
+
hb_bool_t
|
267
|
+
hb_buffer_set_length (hb_buffer_t *buffer,
|
268
|
+
unsigned int length);
|
269
|
+
|
270
|
+
/* Return value valid as long as buffer not modified */
|
271
|
+
unsigned int
|
272
|
+
hb_buffer_get_length (hb_buffer_t *buffer);
|
273
|
+
|
274
|
+
/* Getting glyphs out of the buffer */
|
275
|
+
|
276
|
+
/* Return value valid as long as buffer not modified */
|
277
|
+
hb_glyph_info_t *
|
278
|
+
hb_buffer_get_glyph_infos (hb_buffer_t *buffer,
|
279
|
+
unsigned int *length);
|
280
|
+
|
281
|
+
/* Return value valid as long as buffer not modified */
|
282
|
+
hb_glyph_position_t *
|
283
|
+
hb_buffer_get_glyph_positions (hb_buffer_t *buffer,
|
284
|
+
unsigned int *length);
|
285
|
+
|
286
|
+
|
287
|
+
/* Reorders a glyph buffer to have canonical in-cluster glyph order / position.
|
288
|
+
* The resulting clusters should behave identical to pre-reordering clusters.
|
289
|
+
* NOTE: This has nothing to do with Unicode normalization. */
|
290
|
+
void
|
291
|
+
hb_buffer_normalize_glyphs (hb_buffer_t *buffer);
|
292
|
+
|
293
|
+
|
294
|
+
/*
|
295
|
+
* Serialize
|
296
|
+
*/
|
297
|
+
|
298
|
+
typedef enum { /*< flags >*/
|
299
|
+
HB_BUFFER_SERIALIZE_FLAG_DEFAULT = 0x00000000u,
|
300
|
+
HB_BUFFER_SERIALIZE_FLAG_NO_CLUSTERS = 0x00000001u,
|
301
|
+
HB_BUFFER_SERIALIZE_FLAG_NO_POSITIONS = 0x00000002u,
|
302
|
+
HB_BUFFER_SERIALIZE_FLAG_NO_GLYPH_NAMES = 0x00000004u
|
303
|
+
} hb_buffer_serialize_flags_t;
|
304
|
+
|
305
|
+
typedef enum {
|
306
|
+
HB_BUFFER_SERIALIZE_FORMAT_TEXT = HB_TAG('T','E','X','T'),
|
307
|
+
HB_BUFFER_SERIALIZE_FORMAT_JSON = HB_TAG('J','S','O','N'),
|
308
|
+
HB_BUFFER_SERIALIZE_FORMAT_INVALID = HB_TAG_NONE
|
309
|
+
} hb_buffer_serialize_format_t;
|
310
|
+
|
311
|
+
/* len=-1 means str is NUL-terminated. */
|
312
|
+
hb_buffer_serialize_format_t
|
313
|
+
hb_buffer_serialize_format_from_string (const char *str, int len);
|
314
|
+
|
315
|
+
const char *
|
316
|
+
hb_buffer_serialize_format_to_string (hb_buffer_serialize_format_t format);
|
317
|
+
|
318
|
+
const char **
|
319
|
+
hb_buffer_serialize_list_formats (void);
|
320
|
+
|
321
|
+
/* Returns number of items, starting at start, that were serialized. */
|
322
|
+
unsigned int
|
323
|
+
hb_buffer_serialize_glyphs (hb_buffer_t *buffer,
|
324
|
+
unsigned int start,
|
325
|
+
unsigned int end,
|
326
|
+
char *buf,
|
327
|
+
unsigned int buf_size,
|
328
|
+
unsigned int *buf_consumed, /* May be NULL */
|
329
|
+
hb_font_t *font, /* May be NULL */
|
330
|
+
hb_buffer_serialize_format_t format,
|
331
|
+
hb_buffer_serialize_flags_t flags);
|
332
|
+
|
333
|
+
hb_bool_t
|
334
|
+
hb_buffer_deserialize_glyphs (hb_buffer_t *buffer,
|
335
|
+
const char *buf,
|
336
|
+
int buf_len, /* -1 means nul-terminated */
|
337
|
+
const char **end_ptr, /* May be NULL */
|
338
|
+
hb_font_t *font, /* May be NULL */
|
339
|
+
hb_buffer_serialize_format_t format);
|
340
|
+
|
341
|
+
|
342
|
+
HB_END_DECLS
|
343
|
+
|
344
|
+
#endif /* HB_BUFFER_H */
|