laag-harfbuzz 1.7.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +57 -0
- data/LICENSE.txt +36 -0
- data/README.org +34 -0
- data/ext/laag/harfbuzz/extconf.rb +16 -0
- data/laag-harfbuzz.gemspec +20 -0
- data/lib/laag/harfbuzz.rb +29 -0
- data/vendor/github.com/harfbuzz/harfbuzz/.ci/deploy-docs.sh +36 -0
- data/vendor/github.com/harfbuzz/harfbuzz/.ci/fail.sh +18 -0
- data/vendor/github.com/harfbuzz/harfbuzz/.ci/run-coveralls.sh +14 -0
- data/vendor/github.com/harfbuzz/harfbuzz/.ci/trigger-coverity.sh +11 -0
- data/vendor/github.com/harfbuzz/harfbuzz/.circleci/config.yml +190 -0
- data/vendor/github.com/harfbuzz/harfbuzz/.editorconfig +18 -0
- data/vendor/github.com/harfbuzz/harfbuzz/.travis.yml +89 -0
- data/vendor/github.com/harfbuzz/harfbuzz/AUTHORS +9 -0
- data/vendor/github.com/harfbuzz/harfbuzz/BUILD.md +50 -0
- data/vendor/github.com/harfbuzz/harfbuzz/CMakeLists.txt +848 -0
- data/vendor/github.com/harfbuzz/harfbuzz/COPYING +36 -0
- data/vendor/github.com/harfbuzz/harfbuzz/Makefile.am +85 -0
- data/vendor/github.com/harfbuzz/harfbuzz/NEWS +1832 -0
- data/vendor/github.com/harfbuzz/harfbuzz/README +16 -0
- data/vendor/github.com/harfbuzz/harfbuzz/README.md +1 -0
- data/vendor/github.com/harfbuzz/harfbuzz/README.python +30 -0
- data/vendor/github.com/harfbuzz/harfbuzz/RELEASING.md +99 -0
- data/vendor/github.com/harfbuzz/harfbuzz/THANKS +7 -0
- data/vendor/github.com/harfbuzz/harfbuzz/TODO +42 -0
- data/vendor/github.com/harfbuzz/harfbuzz/appveyor.yml +61 -0
- data/vendor/github.com/harfbuzz/harfbuzz/autogen.sh +48 -0
- data/vendor/github.com/harfbuzz/harfbuzz/configure.ac +542 -0
- data/vendor/github.com/harfbuzz/harfbuzz/docs/HarfBuzz.png +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/docs/HarfBuzz.svg +277 -0
- data/vendor/github.com/harfbuzz/harfbuzz/docs/Makefile.am +123 -0
- data/vendor/github.com/harfbuzz/harfbuzz/docs/harfbuzz-docs.xml +210 -0
- data/vendor/github.com/harfbuzz/harfbuzz/docs/harfbuzz-overrides.txt +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/docs/harfbuzz-sections.txt +627 -0
- data/vendor/github.com/harfbuzz/harfbuzz/docs/usermanual-buffers-language-script-and-direction.xml +77 -0
- data/vendor/github.com/harfbuzz/harfbuzz/docs/usermanual-clusters.xml +304 -0
- data/vendor/github.com/harfbuzz/harfbuzz/docs/usermanual-fonts-and-faces.xml +18 -0
- data/vendor/github.com/harfbuzz/harfbuzz/docs/usermanual-glyph-information.xml +8 -0
- data/vendor/github.com/harfbuzz/harfbuzz/docs/usermanual-hello-harfbuzz.xml +183 -0
- data/vendor/github.com/harfbuzz/harfbuzz/docs/usermanual-install-harfbuzz.xml +70 -0
- data/vendor/github.com/harfbuzz/harfbuzz/docs/usermanual-opentype-features.xml +13 -0
- data/vendor/github.com/harfbuzz/harfbuzz/docs/usermanual-what-is-harfbuzz.xml +115 -0
- data/vendor/github.com/harfbuzz/harfbuzz/docs/version.xml.in +1 -0
- data/vendor/github.com/harfbuzz/harfbuzz/git.mk +400 -0
- data/vendor/github.com/harfbuzz/harfbuzz/harfbuzz.doap +24 -0
- data/vendor/github.com/harfbuzz/harfbuzz/m4/ax_code_coverage.m4 +264 -0
- data/vendor/github.com/harfbuzz/harfbuzz/m4/ax_cxx_compile_stdcxx.m4 +982 -0
- data/vendor/github.com/harfbuzz/harfbuzz/m4/ax_pthread.m4 +485 -0
- data/vendor/github.com/harfbuzz/harfbuzz/m4/pkg.m4 +157 -0
- data/vendor/github.com/harfbuzz/harfbuzz/mingw32.sh +22 -0
- data/vendor/github.com/harfbuzz/harfbuzz/mingw64.sh +22 -0
- data/vendor/github.com/harfbuzz/harfbuzz/replace-enum-strings.cmake +21 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/Makefile.am +445 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/Makefile.sources +214 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/check-c-linkage-decls.sh +27 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/check-externs.sh +22 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/check-header-guards.sh +24 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/check-includes.sh +44 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/check-libstdc++.sh +44 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/check-static-inits.sh +40 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/check-symbols.sh +62 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/dev-run.sh +98 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/dump-indic-data.cc +43 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/dump-khmer-data.cc +43 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/dump-myanmar-data.cc +43 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/dump-use-data.cc +38 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/gen-arabic-table.py +269 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/gen-def.py +19 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/gen-indic-table.py +260 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/gen-unicode-ranges.py +52 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/gen-use-table.py +484 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/harfbuzz-config.cmake.in +82 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/harfbuzz-gobject.pc.in +12 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/harfbuzz-icu.pc.in +13 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/harfbuzz-subset.pc.in +12 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/harfbuzz.pc.in +13 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-aat-layout-ankr-table.hh +80 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-aat-layout-common-private.hh +728 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-aat-layout-kerx-table.hh +339 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-aat-layout-morx-table.hh +728 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-aat-layout-private.hh +43 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-aat-layout-trak-table.hh +201 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-aat-layout.cc +143 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-atomic-private.hh +189 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-blob.cc +504 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-blob.h +129 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-buffer-deserialize-json.hh +643 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-buffer-deserialize-json.rl +132 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-buffer-deserialize-text.hh +571 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-buffer-deserialize-text.rl +126 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-buffer-private.hh +388 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-buffer-serialize.cc +486 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-buffer.cc +2010 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-buffer.h +562 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-common.cc +1050 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-common.h +397 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-coretext.cc +1401 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-coretext.h +64 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-debug.hh +444 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-deprecated.h +65 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-directwrite.cc +931 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-directwrite.h +38 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-dsalgs.hh +161 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-face-private.hh +111 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-face.cc +506 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-face.h +121 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-fallback-shape.cc +149 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-font-private.hh +561 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-font.cc +1846 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-font.h +641 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-ft.cc +783 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-ft.h +132 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-glib.cc +431 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-glib.h +56 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-gobject-enums.cc.tmpl +73 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-gobject-enums.h.tmpl +56 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-gobject-structs.cc +83 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-gobject-structs.h +138 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-gobject.h +40 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-graphite2.cc +421 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-graphite2.h +52 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-icu.cc +394 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-icu.h +52 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-mutex-private.hh +141 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-object-private.hh +196 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-open-file-private.hh +372 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-open-type-private.hh +1238 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-ot-cmap-table.hh +789 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-ot-color-cbdt-table.hh +471 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-ot-color-colr-table.hh +142 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-ot-color-cpal-table.hh +208 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-ot-color.cc +183 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-ot-font.cc +281 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-ot-font.h +45 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-ot-glyf-table.hh +473 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-ot-hdmx-table.hh +198 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-ot-head-table.hh +154 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-ot-hhea-table.hh +98 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-ot-hmtx-table.hh +328 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-ot-kern-table.hh +394 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-ot-layout-base-table.hh +655 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-ot-layout-common-private.hh +1773 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-ot-layout-gdef-table.hh +459 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-ot-layout-gpos-table.hh +1654 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-ot-layout-gsub-table.hh +1364 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-ot-layout-gsubgpos-private.hh +2374 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-ot-layout-jstf-table.hh +234 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-ot-layout-private.hh +683 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-ot-layout.cc +1313 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-ot-layout.h +338 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-ot-map-private.hh +250 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-ot-map.cc +336 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-ot-math-table.hh +722 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-ot-math.cc +253 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-ot-math.h +209 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-ot-maxp-table.hh +148 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-ot-name-table.hh +138 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-ot-os2-table.hh +181 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-ot-os2-unicode-ranges.hh +247 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-ot-post-macroman.hh +294 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-ot-post-table.hh +282 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-ot-shape-complex-arabic-fallback.hh +354 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-ot-shape-complex-arabic-private.hh +50 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-ot-shape-complex-arabic-table.hh +398 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-ot-shape-complex-arabic-win1256.hh +323 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-ot-shape-complex-arabic.cc +721 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-ot-shape-complex-default.cc +46 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-ot-shape-complex-hangul.cc +431 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-ot-shape-complex-hebrew.cc +186 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-ot-shape-complex-indic-machine.hh +1319 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-ot-shape-complex-indic-machine.rl +125 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-ot-shape-complex-indic-private.hh +401 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-ot-shape-complex-indic-table.cc +486 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-ot-shape-complex-indic.cc +1569 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-ot-shape-complex-khmer-machine.hh +294 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-ot-shape-complex-khmer-machine.rl +107 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-ot-shape-complex-khmer-private.hh +124 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-ot-shape-complex-khmer.cc +835 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-ot-shape-complex-myanmar-machine.hh +413 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-ot-shape-complex-myanmar-machine.rl +129 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-ot-shape-complex-myanmar-private.hh +171 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-ot-shape-complex-myanmar.cc +401 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-ot-shape-complex-private.hh +397 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-ot-shape-complex-thai.cc +383 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-ot-shape-complex-tibetan.cc +63 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-ot-shape-complex-use-machine.hh +502 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-ot-shape-complex-use-machine.rl +176 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-ot-shape-complex-use-private.hh +97 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-ot-shape-complex-use-table.cc +788 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-ot-shape-complex-use.cc +612 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-ot-shape-fallback-private.hh +53 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-ot-shape-fallback.cc +559 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-ot-shape-normalize-private.hh +69 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-ot-shape-normalize.cc +433 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-ot-shape-private.hh +108 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-ot-shape.cc +970 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-ot-shape.h +53 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-ot-tag.cc +1094 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-ot-tag.h +59 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-ot-var-avar-table.hh +149 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-ot-var-fvar-table.hh +209 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-ot-var-hvar-table.hh +165 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-ot-var-mvar-table.hh +114 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-ot-var.cc +159 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-ot-var.h +105 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-ot.h +45 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-private.hh +1073 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-set-digest-private.hh +179 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-set-private.hh +658 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-set.cc +519 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-set.h +165 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-shape-plan-private.hh +67 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-shape-plan.cc +578 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-shape-plan.h +108 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-shape.cc +161 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-shape.h +62 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-shaper-impl-private.hh +43 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-shaper-list.hh +58 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-shaper-private.hh +124 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-shaper.cc +111 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-string-array.hh +81 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-subset-glyf.cc +307 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-subset-glyf.hh +40 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-subset-input.cc +119 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-subset-plan.cc +227 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-subset-plan.hh +85 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-subset-private.hh +62 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-subset.cc +339 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-subset.h +83 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-ucdn.cc +273 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-ucdn/COPYING +13 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-ucdn/Makefile.am +16 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-ucdn/Makefile.sources +7 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-ucdn/README +40 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-ucdn/ucdn.c +360 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-ucdn/ucdn.h +453 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-ucdn/ucdn_db.h +5540 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-unicode-private.hh +371 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-unicode.cc +563 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-unicode.h +471 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-uniscribe.cc +1039 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-uniscribe.h +46 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-utf-private.hh +282 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-version.h +66 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-version.h.in +66 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb-warning.cc +39 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/hb.h +51 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/main.cc +201 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/sample.py +78 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/test-buffer-serialize.cc +129 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/test-size-params.cc +94 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/test-unicode-ranges.cc +67 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/test-would-substitute.cc +104 -0
- data/vendor/github.com/harfbuzz/harfbuzz/src/test.cc +134 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/CMakeLists.txt +4 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/Makefile.am +15 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/api/.valgrind-suppressions +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/api/CMakeLists.txt +29 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/api/Makefile.am +169 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/api/fonts/Inconsolata-Regular.ab.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/api/fonts/Inconsolata-Regular.abc.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/api/fonts/Inconsolata-Regular.abc.widerc.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/api/fonts/Inconsolata-Regular.ac.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/api/fonts/Inconsolata-Regular.ac.widerc.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/api/fonts/MathTestFontEmpty.otf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/api/fonts/MathTestFontFull.otf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/api/fonts/MathTestFontNone.otf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/api/fonts/MathTestFontPartial1.otf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/api/fonts/MathTestFontPartial2.otf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/api/fonts/MathTestFontPartial3.otf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/api/fonts/MathTestFontPartial4.otf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/api/fonts/README +3 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/api/fonts/Roboto-Regular.abc.cmap-format12-only.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/api/fonts/Roboto-Regular.abc.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/api/fonts/Roboto-Regular.ac.cmap-format12-only.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/api/fonts/Roboto-Regular.ac.nohints.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/api/fonts/Roboto-Regular.ac.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/api/fonts/Roboto-Regular.b.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/api/fonts/Roboto-Regular.components.1fc.nohints.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/api/fonts/Roboto-Regular.components.subset.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/api/fonts/Roboto-Regular.components.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/api/hb-subset-test.h +136 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/api/hb-test.h +314 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/api/test-blob.c +349 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/api/test-buffer.c +884 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/api/test-c.c +64 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/api/test-common.c +225 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/api/test-cplusplus.cc +30 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/api/test-font.c +550 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/api/test-object.c +375 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/api/test-ot-color.c +319 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/api/test-ot-math.c +712 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/api/test-ot-tag.c +320 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/api/test-set.c +399 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/api/test-shape.c +208 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/api/test-subset-cmap.c +82 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/api/test-subset-glyf.c +183 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/api/test-subset-hdmx.c +81 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/api/test-subset-hmtx.c +162 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/api/test-subset-os2.c +59 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/api/test-unicode.c +937 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/api/test-version.c +81 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/fuzzing/CMakeLists.txt +18 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/fuzzing/Makefile.am +52 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/fuzzing/README +21 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/fuzzing/hb-fuzzer.cc +52 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/fuzzing/hb-fuzzer.hh +4 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/fuzzing/main.cc +21 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/fuzzing/run-fuzzer-tests.py +32 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/CMakeLists.txt +17 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/Makefile.am +35 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/README.md +41 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/Makefile.am +13 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/COPYING +95 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/Makefile.am +20 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/Makefile.sources +47 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/0509e80afb379d16560e9e47bdd7d888bebdebc6.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/051d92f8bc6ff724511b296c27623f824de256e9.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/074a5ae6b19de8f29772fdd5df2d3d833f81f5e6.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/07f054357ff8638bac3711b422a1e31180bba863.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/15dfc433a135a658b9f4b1a861b5cdd9658ccbb9.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/1735326da89f0818cd8c51a0600e9789812c0f94.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/191826b9643e3f124d865d617ae609db6a2ce203.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/1a3d8f381387dd29be1e897e4b5100ac8b4829e1.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/1a6f1687b7a221f9f2c834b0b360d3c8463b6daf.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/1c04a16f32a39c26c851b7fc014d2e8d298ba2b8.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/1c2c3fc37b2d4c3cb2ef726c6cdaaabd4b7f3eb9.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/1c2fb74c1b2aa173262734c1f616148f1648cfd6.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/1ed7e9064f008f62de6ff0207bb4dd29409597a5.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/205edd09bd3d141cc9580f650109556cc28b22cb.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/217a934cfe15c548b572c203dceb2befdf026462.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/21b7fb9c1eeae260473809fbc1fe330f66a507cd.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/226bc2deab3846f1a682085f70c67d0421014144.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/233c1e252e737ca79e03a9fd56b71aaa4a230f2b.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/243798dd281c1c77c065958e1ff467420faa9bde.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/24b8d24d00ae86f49791b746da4c9d3f717a51a8.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/270b89df543a7e48e206a2d830c0e10e5265c630.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/298c9e1d955f10f6f72c6915c3c6ff9bf9695cec.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/2de1ab4907ab688c0cfc236b0bf51151db38bf2e.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/319f5d7ebffbefc5c5e6569f8cea73444d7a7268.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/341421e629668b1a1242245d39238ca48432d35d.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/3493e92eaded2661cadde752a39f9d58b11f0326.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/3511ff5c1647150595846ac414c595cccac34f18.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/37033cc5cf37bb223d7355153016b6ccece93b28.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/373e67bf41ca264e260a9716162b71a23549e885.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/375d6ae32a3cbe52fbf81a4e5777e3377675d5a3.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/3cae6bfe5b57c07ba81ddbd54c02fe4f3a1e3bf6.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/3d0b77a2360aa6faa1385aaa510509ab70dfbeff.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/43979b90b2dd929723cf4fe1715990bcb9c9a56b.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/43ef465752be9af900745f72fe29cb853a1401a5.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/45855bc8d46332b39c4ab9e2ee1a26b1f896da6b.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/49c9f7485c1392fa09a1b801bc2ffea79275f22e.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/4cce528e99f600ed9c25a2b69e32eb94a03b4ae8.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/4fac3929fc3332834e93673780ec0fe94342d193.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/5028afb650b1bb718ed2131e872fbcce57828fff.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/53374c7ca3657be37efde7ed02ae34229a56ae1f.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/54674a3111d209fb6be0ed31745314b7a8d2c244.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/558661aa659912f4d30ecd27bd09835171a8e2b0.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/55c88ebbe938680b08f92c3de20713183e0c7481.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/56cfd0e18d07f41c38e9598545a6d369127fc6f9.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/573d3a3177c9a8646e94c8a0d7b224334340946a.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/57a9d9f83020155cbb1d2be1f43d82388cbecc88.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/59a585a63b3df608fbeef00956c8c108deec7de6.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/5a5daf5eb5a4db77a2baa3ad9c7a6ed6e0655fa8.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/5dfad7735c6a67085f1b90d4d497e32907db4c78.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/641bd9db850193064d17575053ae2bf8ec149ddc.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/663aef6b019dbf45ffd74089e2b5f2496ceceb18.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/6991b13ce889466be6de3f66e891de2bc0f117ee.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/6ff0fbead4462d9f229167b4e6839eceb8465058.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/706c5d7b625f207bc0d874c67237aad6f1e9cd6f.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/757ebd573617a24aa9dfbf0b885c54875c6fe06b.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/7a37dc4d5bf018456aea291cee06daf004c0221c.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/7e14e7883ed152baa158b80e207b66114c823a8b.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/8099955657a54e9ee38a6ba1d6f950ce58e3cc25.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/813c2f8e5512187fd982417a7fb4286728e6f4a8.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/81c368a33816fb20e9f647e8f24e2180f4720263.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/8228d035fcd65d62ec9728fb34f42c63be93a5d3.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/8240789f6d12d4cfc4b5e8e6f246c3701bcf861f.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/82f4f3b57bb55344e72e70231380202a52af5805.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/8454d22037f892e76614e1645d066689a0200e61.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/85414f2552b654585b7a8d13dcc3e8fd9f7970a3.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/856ff9562451293cbeff6f396d4e3877c4f0a436.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/85fe0be440c64ac77699e21c2f1bd933a919167e.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/87f85d17d26f1fe9ad28d7365101958edaefb967.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/8a9fea2a7384f2116e5b84a9b31f83be7850ce21.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/94a5d6fb15a27521fba9ea4aee9cb39b2d03322a.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/96490dd2ff81233b335a650e7eb660e0e7b2eeea.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/98b7887cff91f722b92a8ff800120954606354f9.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/9d8a94a67932a3ab75a596fc8b5c6d0392ca9e49.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/a014549f766436cf55b2ceb40e462038938ee899.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/a02a7f0ad42c2922cb37ad1358c9df4eb81f1bca.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/a34a7b00f22ffb5fd7eef6933b81c7e71bc2cdfb.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/a34a9191d9376bda419836effeef7e75c1386016.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/a69118c2c2ada48ff803d9149daa54c9ebdae30e.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/a6c76d1bafde4a0b1026ebcc932d2e5c6fd02442.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/a919b33197965846f21074b24e30250d67277bce.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/a98e908e2ed21b22228ea59ebcc0f05034c86f2e.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/af3086380b743099c54a3b11b96766039ea62fcd.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/b151cfcdaa77585d77f17a42158e0873fc8e2633.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/b6acef662e0beb8d5fcf5b61c6b0ca69537b7402.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/b9e2aaa0d75fcef6971ec3a96d806ba4a6b31fe2.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/bb0c53752e85c3d28973ebc913287b8987d3dfe8.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/bb29ce50df2bdba2d10726427c6b7609bf460e04.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/bb9473d2403488714043bcfb946c9f78b86ad627.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/bbf4a308c402f0678c3e82844892a4da2ebe598f.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/bf39b0e91ef9807f15a9e283a21a14a209fd2cfc.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/bf962d3202883a820aed019d9b5c1838c2ff69c6.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/c4e48b0886ef460f532fb49f00047ec92c432ec0.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/cc5f3d2d717fb6bd4dfae1c16d48a2cb8e12233b.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/d23d76ea0909c14972796937ba072b5a40c1e257.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/d629e7fedc0b350222d7987345fe61613fa3929a.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/d9b8bc10985f24796826c29f7ccba3d0ae11ec02.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/dd9f0c7c7c36f75a18be0cab1cddf8f3ab0f366b.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/df768b9c257e0c9c35786c47cae15c46571d56be.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/e207635780b42f898d58654b65098763e340f5c7.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/e68a88939e0f06e34d2bc911f09b70890289c8fd.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/e88c339237f52d21e01c55f01b9c1b4cc14a0467.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/e90374e5e439e00725b4fe7a8d73db57c5a97f82.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/ee39587d13b2afa5499cc79e45780aa79293bbd4.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/ef2511f215aa3ca847cbfffbf861793b42170875.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/ef86fe710cfea877bbe0dbb6946a1f88d0661031.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/f22416c692720a7d46fadf4af99f4c9e094f00b9.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/f443753e8ffe8e8aae606cfba158e00334b6efb1.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/f499fbc23865022234775c43503bba2e63978fe1.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/f518eb6f6b5eec2946c9fbbbde44e45d46f5e2ac.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/f9b1dd4dcb515e757789a22cb4241107746fd3d0.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/fab39d60d758cb586db5a504f218442cd1395725.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/fbb6c84c9e1fe0c39e152fbe845e51fd81f6748e.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/fcdcffbdf1c4c97c05308d7600e4c283eb47dbca.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/fonts/ffa0f5d2d9025486d8469d8b1fdd983e7632499b.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/tests/arabic-fallback-shaping.tests +1 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/tests/arabic-feature-order.tests +4 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/tests/arabic-like-joining.tests +1 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/tests/arabic-mark-order.tests +6 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/tests/arabic-stch.tests +1 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/tests/automatic-fractions.tests +3 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/tests/cluster.tests +2 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/tests/color-fonts.tests +1 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/tests/context-matching.tests +3 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/tests/cursive-positioning.tests +4 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/tests/default-ignorables.tests +2 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/tests/emoji-flag-tags.tests +2 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/tests/fallback-positioning.tests +2 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/tests/fuzzed.tests +23 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/tests/hangul-jamo.tests +2 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/tests/hyphens.tests +2 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/tests/indic-consonant-with-stacker.tests +4 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/tests/indic-init.tests +1 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/tests/indic-joiner-candrabindu.tests +2 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/tests/indic-joiners.tests +2 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/tests/indic-old-spec.tests +2 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/tests/indic-pref-blocking.tests +2 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/tests/indic-script-extensions.tests +2 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/tests/indic-special-cases.tests +3 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/tests/indic-syllable.tests +8 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/tests/language-tags.tests +12 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/tests/ligature-id.tests +36 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/tests/mark-attachment.tests +1 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/tests/mark-filtering-sets.tests +5 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/tests/mongolian-variation-selector.tests +4 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/tests/myanmar-syllable.tests +1 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/tests/simple.tests +2 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/tests/spaces.tests +17 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/tests/tibetan-contractions-1.tests +60 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/tests/tibetan-contractions-2.tests +53 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/tests/tibetan-vowels.tests +11 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/tests/use-marchen.tests +35 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/tests/use-syllable.tests +8 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/tests/use.tests +5 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/tests/variations-rvrn.tests +100 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/tests/vertical.tests +3 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/in-house/tests/zero-width-marks.tests +11 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/COPYING +13 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/DISABLED +35 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/Makefile.am +26 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/Makefile.sources +66 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/README +7 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/extract-tests.py +49 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/fonts/AdobeVFPrototype-Subset.otf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/fonts/FDArrayTest257.otf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/fonts/FDArrayTest65535.otf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/fonts/NotoSansBalinese-Regular.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/fonts/NotoSansKannada-Regular.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/fonts/NotoSerifKannada-Regular.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/fonts/Selawik-README.md +60 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/fonts/Selawik-variable.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/fonts/TestAVAR.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/fonts/TestCMAP14.otf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/fonts/TestCMAPMacTurkish.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/fonts/TestCVARGVAROne.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/fonts/TestCVARGVARTwo.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/fonts/TestGLYFOne.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/fonts/TestGPOSFour.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/fonts/TestGPOSOne.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/fonts/TestGPOSThree.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/fonts/TestGPOSTwo.otf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/fonts/TestGSUBOne.otf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/fonts/TestGVAREight.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/fonts/TestGVARFour.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/fonts/TestGVARNine.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/fonts/TestGVAROne.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/fonts/TestGVARThree.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/fonts/TestGVARTwo.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/fonts/TestHVAROne.otf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/fonts/TestHVARTwo.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/fonts/TestKERNOne.otf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/fonts/TestMORXEight.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/fonts/TestMORXEighteen.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/fonts/TestMORXEleven.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/fonts/TestMORXFour.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/fonts/TestMORXFourteen.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/fonts/TestMORXNine.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/fonts/TestMORXOne.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/fonts/TestMORXSeventeen.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/fonts/TestMORXSixteen.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/fonts/TestMORXTen.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/fonts/TestMORXThirteen.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/fonts/TestMORXThree.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/fonts/TestMORXTwelve.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/fonts/TestMORXTwenty.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/fonts/TestMORXTwentyfive.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/fonts/TestMORXTwentyone.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/fonts/TestMORXTwentysix.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/fonts/TestMORXTwentythree.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/fonts/TestMORXTwentytwo.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/fonts/TestMORXTwo.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/fonts/TestShapeAran.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/fonts/TestShapeEthi.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/fonts/Zycon.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/tests/AVAR-1.tests +17 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/tests/CFF-1.tests +13 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/tests/CFF-2.tests +13 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/tests/CFF2-1.tests +9 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/tests/CMAP-1.tests +4 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/tests/CMAP-2.tests +2 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/tests/CMAP-3.tests +20 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/tests/CVAR-1.tests +3 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/tests/CVAR-2.tests +3 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/tests/GLYF-1.tests +1 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/tests/GPOS-1.tests +19 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/tests/GPOS-2.tests +3 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/tests/GPOS-3.tests +4 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/tests/GPOS-4.tests +4 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/tests/GPOS-5.tests +5 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/tests/GSUB-1.tests +1 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/tests/GSUB-2.tests +11 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/tests/GVAR-1.tests +9 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/tests/GVAR-2.tests +9 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/tests/GVAR-3.tests +9 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/tests/GVAR-4.tests +11 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/tests/GVAR-5.tests +11 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/tests/GVAR-6.tests +11 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/tests/GVAR-7.tests +7 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/tests/GVAR-8.tests +6 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/tests/GVAR-9.tests +10 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/tests/HVAR-1.tests +6 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/tests/HVAR-2.tests +6 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/tests/KERN-1.tests +1 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/tests/KERN-2.tests +1 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/tests/MORX-1.tests +1 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/tests/MORX-10.tests +1 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/tests/MORX-11.tests +1 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/tests/MORX-12.tests +3 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/tests/MORX-13.tests +1 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/tests/MORX-14.tests +2 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/tests/MORX-16.tests +1 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/tests/MORX-17.tests +1 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/tests/MORX-18.tests +4 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/tests/MORX-19.tests +2 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/tests/MORX-2.tests +16 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/tests/MORX-20.tests +7 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/tests/MORX-21.tests +1 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/tests/MORX-22.tests +1 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/tests/MORX-23.tests +1 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/tests/MORX-25.tests +9 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/tests/MORX-26.tests +2 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/tests/MORX-3.tests +16 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/tests/MORX-4.tests +15 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/tests/MORX-5.tests +25 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/tests/MORX-6.tests +1 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/tests/MORX-7.tests +1 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/tests/MORX-8.tests +3 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/tests/MORX-9.tests +1 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/tests/SHARAN-1.tests +6 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/tests/SHBALI-1.tests +22 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/tests/SHBALI-2.tests +12 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/tests/SHBALI-3.tests +9 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/tests/SHKNDA-1.tests +34 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/tests/SHKNDA-2.tests +16 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/tests/SHKNDA-3.tests +31 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/data/text-rendering-tests/update.sh +46 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/hb-diff +10 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/hb-diff-colorize +7 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/hb-diff-filter-failures +5 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/hb-diff-stat +5 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/hb-unicode-decode +5 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/hb-unicode-encode +5 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/hb-unicode-prettyname +6 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/hb_test_tools.py +571 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/record-test.sh +107 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/run-tests.py +98 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-arabic/script-arabic/language-persian/mehran.txt +8 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-arabic/script-arabic/language-urdu/crulp/ligatures/2grams.txt +601 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-arabic/script-arabic/language-urdu/crulp/ligatures/3grams.txt +3415 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-arabic/script-arabic/language-urdu/crulp/ligatures/4grams.txt +6316 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-arabic/script-arabic/language-urdu/crulp/ligatures/5grams.txt +5029 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-arabic/script-arabic/language-urdu/crulp/ligatures/6grams.txt +1542 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-arabic/script-arabic/language-urdu/crulp/ligatures/7grams.txt +354 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-arabic/script-arabic/language-urdu/crulp/ligatures/8grams.txt +26 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-arabic/script-arabic/language-urdu/crulp/ligatures/LICENSE +3 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-arabic/script-arabic/language-urdu/crulp/ligatures/README +16 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-arabic/script-arabic/language-urdu/crulp/ligatures/SOURCES +4 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-arabic/script-arabic/misc/diacritics/lam-alef.txt +28 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-arabic/script-arabic/misc/diacritics/language-arabic.txt +695 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-arabic/script-arabic/misc/diacritics/language-persian.txt +48 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-arabic/script-arabic/misc/diacritics/language-urdu.txt +188 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-arabic/script-arabic/misc/diacritics/ligature-components.txt +18 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-arabic/script-arabic/misc/diacritics/ligature-diacritics.txt +1 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-arabic/script-arabic/misc/diacritics/mark-skipping.txt +10 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-arabic/script-mongolian/misc/misc.txt +6 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-arabic/script-mongolian/misc/non-joining.txt +8 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-arabic/script-mongolian/misc/poem.txt +4 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-arabic/script-mongolian/misc/variation-selectors.txt +8 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-arabic/script-nko/misc/misc.txt +5 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-arabic/script-phags-pa/misc/misc.txt +14 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-arabic/script-syriac/misc/abbreviation-mark.txt +11 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-arabic/script-syriac/misc/alaph.txt +98 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-default/script-ethiopic/misc/misc.txt +1 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-default/script-han/misc/cjk-compat.txt +3 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-default/script-hiragana/misc/kazuraki-liga-lines.txt +8 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-default/script-hiragana/misc/kazuraki-liga.txt +53 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-default/script-linear-b/misc/misc.txt +1 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-default/script-tifinagh/misc/misc.txt +10 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-hangul/script-hangul/misc/misc.txt +4 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-hebrew/script-hebrew/misc/diacritics.txt +16 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-assamese/utrrs/LICENSE +19 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-assamese/utrrs/README +13 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-assamese/utrrs/SOURCES +2 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-assamese/utrrs/codepoint/IndicFontFeatureCodepoint-AdditionalVowels.txt +4 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-assamese/utrrs/codepoint/IndicFontFeatureCodepoint-Consonants.txt +40 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-assamese/utrrs/codepoint/IndicFontFeatureCodepoint-DependentVowels.txt +10 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-assamese/utrrs/codepoint/IndicFontFeatureCodepoint-Digits.txt +10 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-assamese/utrrs/codepoint/IndicFontFeatureCodepoint-IndependentVowels.txt +11 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-assamese/utrrs/codepoint/IndicFontFeatureCodepoint-Reserved.txt +2 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-assamese/utrrs/codepoint/IndicFontFeatureCodepoint-VariousSigns.txt +6 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-assamese/utrrs/gpos/IndicFontFeatureGPOS-AboveBase.txt +59 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-assamese/utrrs/gpos/IndicFontFeatureGPOS-BelowBase.txt +131 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-assamese/utrrs/gsub/IndicFontFeatureGSUB.txt +139 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-bengali/misc/misc.txt +53 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-bengali/misc/reph.txt +14 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-bengali/utrrs/LICENSE +19 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-bengali/utrrs/README +13 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-bengali/utrrs/SOURCES +2 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-bengali/utrrs/codepoint/IndicFontFeatureCodepoint-AdditionalVowels.txt +1 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-bengali/utrrs/codepoint/IndicFontFeatureCodepoint-Consonants.txt +36 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-bengali/utrrs/codepoint/IndicFontFeatureCodepoint-DependentVowels.txt +10 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-bengali/utrrs/codepoint/IndicFontFeatureCodepoint-Digits.txt +10 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-bengali/utrrs/codepoint/IndicFontFeatureCodepoint-IndependentVowels.txt +12 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-bengali/utrrs/codepoint/IndicFontFeatureCodepoint-Reserved.txt +2 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-bengali/utrrs/codepoint/IndicFontFeatureCodepoint-VariousSigns.txt +6 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-bengali/utrrs/gpos/IndicFontFeatureGPOS-AboveBase.txt +58 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-bengali/utrrs/gpos/IndicFontFeatureGPOS-BelowBase.txt +119 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-bengali/utrrs/gsub/IndicFontFeatureGSUB.txt +215 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-devanagari/misc/dottedcircle.txt +8 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-devanagari/misc/eyelash.txt +3 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-devanagari/misc/joiners.txt +19 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-devanagari/misc/misc.txt +36 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-devanagari/misc/spec-deviations.txt +1 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-devanagari/misc/tricky-reordering.txt +5 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-devanagari/utrrs/LICENSE +19 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-devanagari/utrrs/README +13 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-devanagari/utrrs/SOURCES +2 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-devanagari/utrrs/codepoint/IndicFontFeatureCodepoint-AdditionalConsonants.txt +8 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-devanagari/utrrs/codepoint/IndicFontFeatureCodepoint-AdditionalVowels.txt +4 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-devanagari/utrrs/codepoint/IndicFontFeatureCodepoint-Consonants.txt +45 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-devanagari/utrrs/codepoint/IndicFontFeatureCodepoint-DependentVowels.txt +14 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-devanagari/utrrs/codepoint/IndicFontFeatureCodepoint-DevnagariSpecificAddition.txt +1 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-devanagari/utrrs/codepoint/IndicFontFeatureCodepoint-Digits.txt +10 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-devanagari/utrrs/codepoint/IndicFontFeatureCodepoint-GenericPunctuation.txt +2 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-devanagari/utrrs/codepoint/IndicFontFeatureCodepoint-IndependentVowels.txt +16 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-devanagari/utrrs/codepoint/IndicFontFeatureCodepoint-VariousSigns.txt +10 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-devanagari/utrrs/gpos/IndicFontFeatureGPOS-AboveBase.txt +185 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-devanagari/utrrs/gpos/IndicFontFeatureGPOS-BelowBase.txt +185 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-devanagari/utrrs/gsub/IndicFontFeatureGSUB.txt +1367 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-gujarati/utrrs/LICENSE +19 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-gujarati/utrrs/README +13 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-gujarati/utrrs/SOURCES +2 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-gujarati/utrrs/codepoint/IndicFontFeatureCodepoint-AdditionalVowels.txt +1 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-gujarati/utrrs/codepoint/IndicFontFeatureCodepoint-Consonants.txt +34 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-gujarati/utrrs/codepoint/IndicFontFeatureCodepoint-DependentVowels.txt +12 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-gujarati/utrrs/codepoint/IndicFontFeatureCodepoint-Digits.txt +10 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-gujarati/utrrs/codepoint/IndicFontFeatureCodepoint-IndependentVowels.txt +13 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-gujarati/utrrs/codepoint/IndicFontFeatureCodepoint-Reserved.txt +2 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-gujarati/utrrs/codepoint/IndicFontFeatureCodepoint-VariousSigns.txt +7 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-gujarati/utrrs/gpos/IndicFontFeatureGPOS-AboveBase.txt +170 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-gujarati/utrrs/gpos/IndicFontFeatureGPOS-BelowBase.txt +170 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-gujarati/utrrs/gsub/IndicFontFeatureGSUB.txt +1156 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-gurmukhi/misc/misc.txt +2 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-gurmukhi/utrrs/LICENSE +19 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-gurmukhi/utrrs/README +13 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-gurmukhi/utrrs/SOURCES +2 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-gurmukhi/utrrs/codepoint/IndicFontFeatureCodepoint-Consonants.txt +38 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-gurmukhi/utrrs/codepoint/IndicFontFeatureCodepoint-DependentVowels.txt +9 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-gurmukhi/utrrs/codepoint/IndicFontFeatureCodepoint-Digits.txt +10 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-gurmukhi/utrrs/codepoint/IndicFontFeatureCodepoint-GurmukhiSpecific.txt +6 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-gurmukhi/utrrs/codepoint/IndicFontFeatureCodepoint-IndependentVowels.txt +10 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-gurmukhi/utrrs/codepoint/IndicFontFeatureCodepoint-Reserved.txt +2 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-gurmukhi/utrrs/codepoint/IndicFontFeatureCodepoint-VariousSigns.txt +6 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-gurmukhi/utrrs/gpos/IndicFontFeatureGPOS-AboveBase.txt +22 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-gurmukhi/utrrs/gpos/IndicFontFeatureGPOS-BelowBase.txt +2 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-gurmukhi/utrrs/gsub/IndicFontFeatureGSUB.txt +152 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-kannada/misc/misc.txt +20 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-kannada/misc/right-matras.txt +7 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-kannada/utrrs/LICENSE +19 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-kannada/utrrs/README +13 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-kannada/utrrs/SOURCES +2 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-kannada/utrrs/codepoint/IndicFontFeatureCodepoint-AdditionalConsonants.txt +1 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-kannada/utrrs/codepoint/IndicFontFeatureCodepoint-AdditionalVowels.txt +4 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-kannada/utrrs/codepoint/IndicFontFeatureCodepoint-Consonants.txt +40 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-kannada/utrrs/codepoint/IndicFontFeatureCodepoint-DependentVowels.txt +13 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-kannada/utrrs/codepoint/IndicFontFeatureCodepoint-Digits.txt +10 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-kannada/utrrs/codepoint/IndicFontFeatureCodepoint-IndependentVowels.txt +14 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-kannada/utrrs/codepoint/IndicFontFeatureCodepoint-Reserved.txt +2 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-kannada/utrrs/codepoint/IndicFontFeatureCodepoint-VariousSigns.txt +9 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-kannada/utrrs/gpos/IndicFontFeatureGPOS-AboveBase.txt +188 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-kannada/utrrs/gsub/IndicFontFeatureGSUB.txt +306 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-malayalam/misc/cibu.txt +188 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-malayalam/misc/dot-reph.txt +15 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-malayalam/misc/misc.txt +65 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-malayalam/utrrs/LICENSE +19 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-malayalam/utrrs/README +13 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-malayalam/utrrs/SOURCES +2 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-malayalam/utrrs/codepoint/IndicFontFeatureCodepoint-AdditionalVowels.txt +2 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-malayalam/utrrs/codepoint/IndicFontFeatureCodepoint-Consonants.txt +36 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-malayalam/utrrs/codepoint/IndicFontFeatureCodepoint-DependentVowels.txt +12 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-malayalam/utrrs/codepoint/IndicFontFeatureCodepoint-Digits.txt +10 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-malayalam/utrrs/codepoint/IndicFontFeatureCodepoint-IndependentVowels.txt +14 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-malayalam/utrrs/codepoint/IndicFontFeatureCodepoint-Reserved.txt +2 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-malayalam/utrrs/codepoint/IndicFontFeatureCodepoint-VariousSigns.txt +4 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-malayalam/utrrs/gsub/IndicFontFeatureGSUB.txt +254 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-oriya/misc/bindu.txt +2 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-oriya/misc/misc.txt +28 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-oriya/utrrs/LICENSE +19 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-oriya/utrrs/README +13 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-oriya/utrrs/SOURCES +2 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-oriya/utrrs/codepoint/IndicFontFeatureCodepoint-AdditionalConsonants.txt +3 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-oriya/utrrs/codepoint/IndicFontFeatureCodepoint-AdditionalVowels.txt +2 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-oriya/utrrs/codepoint/IndicFontFeatureCodepoint-Consonants.txt +34 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-oriya/utrrs/codepoint/IndicFontFeatureCodepoint-DependentVowels.txt +12 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-oriya/utrrs/codepoint/IndicFontFeatureCodepoint-Digits.txt +10 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-oriya/utrrs/codepoint/IndicFontFeatureCodepoint-IndependentVowels.txt +12 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-oriya/utrrs/codepoint/IndicFontFeatureCodepoint-OriyaSpecific.txt +2 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-oriya/utrrs/codepoint/IndicFontFeatureCodepoint-Reserved.txt +2 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-oriya/utrrs/codepoint/IndicFontFeatureCodepoint-VariousSigns.txt +8 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-oriya/utrrs/gsub/IndicFontFeatureGSUB.txt +170 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-sinhala/misc/extensive.txt +4390 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-sinhala/misc/misc.txt +41 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-sinhala/misc/reph.txt +3 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-sinhala/misc/split-matras.txt +4 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-sinhala/utrrs/LICENSE +19 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-sinhala/utrrs/README +13 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-sinhala/utrrs/SOURCES +2 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-sinhala/utrrs/codepoint/IndicFontFeatureCodepoint-Consonants.txt +41 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-sinhala/utrrs/codepoint/IndicFontFeatureCodepoint-DependentVowels.txt +17 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-sinhala/utrrs/codepoint/IndicFontFeatureCodepoint-IndependentVowels.txt +18 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-sinhala/utrrs/codepoint/IndicFontFeatureCodepoint-Punctuation.txt +1 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-sinhala/utrrs/codepoint/IndicFontFeatureCodepoint-VariousSigns.txt +3 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-sinhala/utrrs/gpos/IndicFontFeatureGPOS.txt +162 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-sinhala/utrrs/gsub/IndicFontFeatureGSUB-Conjunct.txt +1 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-sinhala/utrrs/gsub/IndicFontFeatureGSUB-Rakaaraansaya.txt +41 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-sinhala/utrrs/gsub/IndicFontFeatureGSUB-Repaya.txt +42 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-sinhala/utrrs/gsub/IndicFontFeatureGSUB-Special-Cases.txt +2 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-sinhala/utrrs/gsub/IndicFontFeatureGSUB-TouchingLetters.txt +1 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-sinhala/utrrs/gsub/IndicFontFeatureGSUB-Yansaya.txt +41 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-sinhala/utrrs/gsub/IndicFontFeatureGSUB.txt +1 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-tamil/misc/misc.txt +43 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-tamil/utrrs/LICENSE +19 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-tamil/utrrs/README +13 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-tamil/utrrs/SOURCES +2 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-tamil/utrrs/codepoint/IndicFontFeatureCodepoint-Consonants.txt +23 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-tamil/utrrs/codepoint/IndicFontFeatureCodepoint-CurrencySymbols.txt +1 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-tamil/utrrs/codepoint/IndicFontFeatureCodepoint-DependentVowels.txt +11 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-tamil/utrrs/codepoint/IndicFontFeatureCodepoint-Digits.txt +10 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-tamil/utrrs/codepoint/IndicFontFeatureCodepoint-IndependentVowels.txt +12 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-tamil/utrrs/codepoint/IndicFontFeatureCodepoint-Numerics.txt +3 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-tamil/utrrs/codepoint/IndicFontFeatureCodepoint-Reserved.txt +2 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-tamil/utrrs/codepoint/IndicFontFeatureCodepoint-Symbols.txt +6 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-tamil/utrrs/codepoint/IndicFontFeatureCodepoint-TamilSymbol.txt +1 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-tamil/utrrs/codepoint/IndicFontFeatureCodepoint-VariousSigns.txt +4 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-tamil/utrrs/gpos/IndicFontFeatureGPOS-AboveBase.txt +64 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-tamil/utrrs/gpos/IndicFontFeatureGPOS-BelowBase.txt +44 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-tamil/utrrs/gsub/IndicFontFeatureGSUB.txt +4 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-telugu/misc/misc.txt +12 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-telugu/utrrs/LICENSE +19 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-telugu/utrrs/README +13 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-telugu/utrrs/SOURCES +2 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-telugu/utrrs/codepoint/IndicFontFeatureCodepoint-AdditionalVowels.txt +2 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-telugu/utrrs/codepoint/IndicFontFeatureCodepoint-Consonants.txt +38 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-telugu/utrrs/codepoint/IndicFontFeatureCodepoint-DependentVowels.txt +13 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-telugu/utrrs/codepoint/IndicFontFeatureCodepoint-Digits.txt +10 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-telugu/utrrs/codepoint/IndicFontFeatureCodepoint-IndependentVowels.txt +14 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-telugu/utrrs/codepoint/IndicFontFeatureCodepoint-Reserved.txt +2 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-telugu/utrrs/codepoint/IndicFontFeatureCodepoint-VariousSigns.txt +6 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-telugu/utrrs/gpos/IndicFontFeatureGPOS-AboveBase.txt +385 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/indic/script-telugu/utrrs/gsub/IndicFontFeatureGSUB.txt +287 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/south-east-asian/script-javanese/misc.txt +54 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/south-east-asian/script-khmer/misc/misc.txt +23 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/south-east-asian/script-khmer/misc/other-marks-invalid.txt +4 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-indic/south-east-asian/script-khmer/misc/other-marks.txt +7 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-myanmar/script-myanmar/misc/misc.txt +7 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-myanmar/script-myanmar/misc/otspec.txt +1 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-myanmar/script-myanmar/misc/utn11.txt +34 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-thai/script-lao/misc/sara-am.txt +20 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-thai/script-thai/misc/misc.txt +11 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-thai/script-thai/misc/phinthu.txt +16 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-thai/script-thai/misc/pua-shaping.txt +11 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-thai/script-thai/misc/sara-am.txt +20 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-tibetan/script-tibetan/misc/contractions.txt +612 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-tibetan/script-tibetan/misc/misc.txt +2 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-use/script-batak/misc.txt +9 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-use/script-buginese/misc.txt +70 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-use/script-cham/misc.txt +3 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-use/script-kaithi/misc.txt +6 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-use/script-kharoshti/misc.txt +36 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-use/script-tai-tham/misc.txt +2 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/shaping/texts/in-house/shaper-use/script-tai-tham/torture.txt +23 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/subset/CMakeLists.txt +10 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/subset/Makefile.am +22 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/subset/data/Makefile.am +24 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/subset/data/Makefile.sources +10 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/subset/data/expected/basics/Roboto-Regular.abc.default.61,62,63.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/subset/data/expected/basics/Roboto-Regular.abc.default.61,63.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/subset/data/expected/basics/Roboto-Regular.abc.default.61.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/subset/data/expected/basics/Roboto-Regular.abc.default.62.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/subset/data/expected/basics/Roboto-Regular.abc.default.63.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/subset/data/expected/basics/Roboto-Regular.abc.drop-hints.61,62,63.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/subset/data/expected/basics/Roboto-Regular.abc.drop-hints.61,63.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/subset/data/expected/basics/Roboto-Regular.abc.drop-hints.61.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/subset/data/expected/basics/Roboto-Regular.abc.drop-hints.62.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/subset/data/expected/basics/Roboto-Regular.abc.drop-hints.63.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/subset/data/expected/full-font/Roboto-Regular.default.1FC,21,41,20,62,63.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/subset/data/expected/full-font/Roboto-Regular.default.61,62,63.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/subset/data/expected/full-font/Roboto-Regular.drop-hints.1FC,21,41,20,62,63.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/subset/data/expected/full-font/Roboto-Regular.drop-hints.61,62,63.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/subset/data/fonts/Roboto-Regular.abc.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/subset/data/fonts/Roboto-Regular.ttf +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/subset/data/profiles/default.txt +0 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/subset/data/profiles/drop-hints.txt +1 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/subset/data/tests/basics.tests +13 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/subset/data/tests/full-font.tests +11 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/subset/generate-expected-outputs.py +47 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/subset/run-tests.py +133 -0
- data/vendor/github.com/harfbuzz/harfbuzz/test/subset/subset_test_suite.py +87 -0
- data/vendor/github.com/harfbuzz/harfbuzz/util/Makefile.am +75 -0
- data/vendor/github.com/harfbuzz/harfbuzz/util/Makefile.sources +37 -0
- data/vendor/github.com/harfbuzz/harfbuzz/util/ansi-print.cc +427 -0
- data/vendor/github.com/harfbuzz/harfbuzz/util/ansi-print.hh +40 -0
- data/vendor/github.com/harfbuzz/harfbuzz/util/hb-fc-list.c +222 -0
- data/vendor/github.com/harfbuzz/harfbuzz/util/hb-fc.cc +149 -0
- data/vendor/github.com/harfbuzz/harfbuzz/util/hb-fc.h +46 -0
- data/vendor/github.com/harfbuzz/harfbuzz/util/hb-ot-shape-closure.cc +119 -0
- data/vendor/github.com/harfbuzz/harfbuzz/util/hb-shape.cc +165 -0
- data/vendor/github.com/harfbuzz/harfbuzz/util/hb-subset.cc +127 -0
- data/vendor/github.com/harfbuzz/harfbuzz/util/hb-view.cc +40 -0
- data/vendor/github.com/harfbuzz/harfbuzz/util/helper-cairo-ansi.cc +102 -0
- data/vendor/github.com/harfbuzz/harfbuzz/util/helper-cairo-ansi.hh +40 -0
- data/vendor/github.com/harfbuzz/harfbuzz/util/helper-cairo.cc +553 -0
- data/vendor/github.com/harfbuzz/harfbuzz/util/helper-cairo.hh +86 -0
- data/vendor/github.com/harfbuzz/harfbuzz/util/main-font-text.hh +96 -0
- data/vendor/github.com/harfbuzz/harfbuzz/util/options.cc +1026 -0
- data/vendor/github.com/harfbuzz/harfbuzz/util/options.hh +690 -0
- data/vendor/github.com/harfbuzz/harfbuzz/util/shape-consumer.hh +101 -0
- data/vendor/github.com/harfbuzz/harfbuzz/util/view-cairo.cc +133 -0
- data/vendor/github.com/harfbuzz/harfbuzz/util/view-cairo.hh +102 -0
- metadata +939 -0
@@ -0,0 +1,86 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright © 2011 Google, 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
|
+
* Google Author(s): Behdad Esfahbod
|
25
|
+
*/
|
26
|
+
|
27
|
+
#ifndef HELPER_CAIRO_HH
|
28
|
+
#define HELPER_CAIRO_HH
|
29
|
+
|
30
|
+
#include "hb-private.hh"
|
31
|
+
#include "options.hh"
|
32
|
+
|
33
|
+
#include <cairo.h>
|
34
|
+
|
35
|
+
|
36
|
+
cairo_scaled_font_t *
|
37
|
+
helper_cairo_create_scaled_font (const font_options_t *font_opts);
|
38
|
+
|
39
|
+
bool
|
40
|
+
helper_cairo_scaled_font_has_color (cairo_scaled_font_t *scaled_font);
|
41
|
+
|
42
|
+
extern const char *helper_cairo_supported_formats[];
|
43
|
+
|
44
|
+
cairo_t *
|
45
|
+
helper_cairo_create_context (double w, double h,
|
46
|
+
view_options_t *view_opts,
|
47
|
+
output_options_t *out_opts,
|
48
|
+
cairo_content_t content);
|
49
|
+
|
50
|
+
void
|
51
|
+
helper_cairo_destroy_context (cairo_t *cr);
|
52
|
+
|
53
|
+
|
54
|
+
struct helper_cairo_line_t {
|
55
|
+
cairo_glyph_t *glyphs;
|
56
|
+
unsigned int num_glyphs;
|
57
|
+
char *utf8;
|
58
|
+
unsigned int utf8_len;
|
59
|
+
cairo_text_cluster_t *clusters;
|
60
|
+
unsigned int num_clusters;
|
61
|
+
cairo_text_cluster_flags_t cluster_flags;
|
62
|
+
|
63
|
+
void finish (void) {
|
64
|
+
if (glyphs)
|
65
|
+
cairo_glyph_free (glyphs);
|
66
|
+
if (clusters)
|
67
|
+
cairo_text_cluster_free (clusters);
|
68
|
+
if (utf8)
|
69
|
+
g_free (utf8);
|
70
|
+
}
|
71
|
+
|
72
|
+
void get_advance (double *x_advance, double *y_advance) {
|
73
|
+
*x_advance = glyphs[num_glyphs].x;
|
74
|
+
*y_advance = glyphs[num_glyphs].y;
|
75
|
+
}
|
76
|
+
};
|
77
|
+
|
78
|
+
void
|
79
|
+
helper_cairo_line_from_buffer (helper_cairo_line_t *l,
|
80
|
+
hb_buffer_t *buffer,
|
81
|
+
const char *text,
|
82
|
+
unsigned int text_len,
|
83
|
+
int scale_bits,
|
84
|
+
hb_bool_t utf8_clusters);
|
85
|
+
|
86
|
+
#endif
|
@@ -0,0 +1,96 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright © 2011,2012 Google, 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
|
+
* Google Author(s): Behdad Esfahbod
|
25
|
+
*/
|
26
|
+
|
27
|
+
#ifndef HB_MAIN_FONT_TEXT_HH
|
28
|
+
#define HB_MAIN_FONT_TEXT_HH
|
29
|
+
|
30
|
+
#include "hb-private.hh"
|
31
|
+
#include "options.hh"
|
32
|
+
|
33
|
+
/* main() body for utilities taking font and processing text.*/
|
34
|
+
|
35
|
+
static char *
|
36
|
+
locale_to_utf8 (char *s)
|
37
|
+
{
|
38
|
+
char *t;
|
39
|
+
GError *error = nullptr;
|
40
|
+
|
41
|
+
t = g_locale_to_utf8 (s, -1, nullptr, nullptr, &error);
|
42
|
+
if (!t)
|
43
|
+
{
|
44
|
+
fail (true, "Failed converting text to UTF-8");
|
45
|
+
}
|
46
|
+
|
47
|
+
return t;
|
48
|
+
}
|
49
|
+
|
50
|
+
template <typename consumer_t, int default_font_size, int subpixel_bits>
|
51
|
+
struct main_font_text_t
|
52
|
+
{
|
53
|
+
main_font_text_t (void)
|
54
|
+
: options ("[FONT-FILE] [TEXT]"),
|
55
|
+
font_opts (&options, default_font_size, subpixel_bits),
|
56
|
+
input (&options),
|
57
|
+
consumer (&options) {}
|
58
|
+
|
59
|
+
int
|
60
|
+
main (int argc, char **argv)
|
61
|
+
{
|
62
|
+
options.parse (&argc, &argv);
|
63
|
+
|
64
|
+
argc--, argv++;
|
65
|
+
if (argc && !font_opts.font_file) font_opts.font_file = locale_to_utf8 (argv[0]), argc--, argv++;
|
66
|
+
if (argc && !input.text && !input.text_file) input.text = locale_to_utf8 (argv[0]), argc--, argv++;
|
67
|
+
if (argc)
|
68
|
+
fail (true, "Too many arguments on the command line");
|
69
|
+
if (!font_opts.font_file)
|
70
|
+
options.usage ();
|
71
|
+
if (!input.text && !input.text_file)
|
72
|
+
input.text_file = g_strdup ("-");
|
73
|
+
|
74
|
+
hb_buffer_t *buffer = hb_buffer_create ();
|
75
|
+
consumer.init (buffer, &font_opts);
|
76
|
+
hb_buffer_destroy (buffer);
|
77
|
+
|
78
|
+
unsigned int text_len;
|
79
|
+
const char *text;
|
80
|
+
while ((text = input.get_line (&text_len)))
|
81
|
+
consumer.consume_line (text, text_len, input.text_before, input.text_after);
|
82
|
+
|
83
|
+
consumer.finish (&font_opts);
|
84
|
+
|
85
|
+
return consumer.failed ? 1 : 0;
|
86
|
+
}
|
87
|
+
|
88
|
+
protected:
|
89
|
+
option_parser_t options;
|
90
|
+
font_options_t font_opts;
|
91
|
+
text_options_t input;
|
92
|
+
consumer_t consumer;
|
93
|
+
};
|
94
|
+
|
95
|
+
#endif
|
96
|
+
|
@@ -0,0 +1,1026 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright © 2011,2012 Google, 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
|
+
* Google Author(s): Behdad Esfahbod
|
25
|
+
*/
|
26
|
+
|
27
|
+
#include "options.hh"
|
28
|
+
|
29
|
+
#ifdef HAVE_FREETYPE
|
30
|
+
#include <hb-ft.h>
|
31
|
+
#endif
|
32
|
+
#ifdef HAVE_OT
|
33
|
+
#include <hb-ot.h>
|
34
|
+
#endif
|
35
|
+
|
36
|
+
struct supported_font_funcs_t {
|
37
|
+
char name[4];
|
38
|
+
void (*func) (hb_font_t *);
|
39
|
+
} supported_font_funcs[] =
|
40
|
+
{
|
41
|
+
#ifdef HAVE_FREETYPE
|
42
|
+
{"ft", hb_ft_font_set_funcs},
|
43
|
+
#endif
|
44
|
+
#ifdef HAVE_OT
|
45
|
+
{"ot", hb_ot_font_set_funcs},
|
46
|
+
#endif
|
47
|
+
};
|
48
|
+
|
49
|
+
|
50
|
+
void
|
51
|
+
fail (hb_bool_t suggest_help, const char *format, ...)
|
52
|
+
{
|
53
|
+
const char *msg;
|
54
|
+
|
55
|
+
va_list vap;
|
56
|
+
va_start (vap, format);
|
57
|
+
msg = g_strdup_vprintf (format, vap);
|
58
|
+
va_end (vap);
|
59
|
+
const char *prgname = g_get_prgname ();
|
60
|
+
g_printerr ("%s: %s\n", prgname, msg);
|
61
|
+
if (suggest_help)
|
62
|
+
g_printerr ("Try `%s --help' for more information.\n", prgname);
|
63
|
+
|
64
|
+
exit (1);
|
65
|
+
}
|
66
|
+
|
67
|
+
|
68
|
+
hb_bool_t debug = false;
|
69
|
+
|
70
|
+
static gchar *
|
71
|
+
shapers_to_string (void)
|
72
|
+
{
|
73
|
+
GString *shapers = g_string_new (nullptr);
|
74
|
+
const char **shaper_list = hb_shape_list_shapers ();
|
75
|
+
|
76
|
+
for (; *shaper_list; shaper_list++) {
|
77
|
+
g_string_append (shapers, *shaper_list);
|
78
|
+
g_string_append_c (shapers, ',');
|
79
|
+
}
|
80
|
+
g_string_truncate (shapers, MAX (0, (gint)shapers->len - 1));
|
81
|
+
|
82
|
+
return g_string_free (shapers, false);
|
83
|
+
}
|
84
|
+
|
85
|
+
static G_GNUC_NORETURN gboolean
|
86
|
+
show_version (const char *name G_GNUC_UNUSED,
|
87
|
+
const char *arg G_GNUC_UNUSED,
|
88
|
+
gpointer data G_GNUC_UNUSED,
|
89
|
+
GError **error G_GNUC_UNUSED)
|
90
|
+
{
|
91
|
+
g_printf ("%s (%s) %s\n", g_get_prgname (), PACKAGE_NAME, PACKAGE_VERSION);
|
92
|
+
|
93
|
+
char *shapers = shapers_to_string ();
|
94
|
+
g_printf ("Available shapers: %s\n", shapers);
|
95
|
+
g_free (shapers);
|
96
|
+
if (strcmp (HB_VERSION_STRING, hb_version_string ()))
|
97
|
+
g_printf ("Linked HarfBuzz library has a different version: %s\n", hb_version_string ());
|
98
|
+
|
99
|
+
exit(0);
|
100
|
+
}
|
101
|
+
|
102
|
+
|
103
|
+
void
|
104
|
+
option_parser_t::add_main_options (void)
|
105
|
+
{
|
106
|
+
GOptionEntry entries[] =
|
107
|
+
{
|
108
|
+
{"version", 0, G_OPTION_FLAG_NO_ARG,
|
109
|
+
G_OPTION_ARG_CALLBACK, (gpointer) &show_version, "Show version numbers", nullptr},
|
110
|
+
{"debug", 0, 0, G_OPTION_ARG_NONE, &debug, "Free all resources before exit", nullptr},
|
111
|
+
{nullptr}
|
112
|
+
};
|
113
|
+
g_option_context_add_main_entries (context, entries, nullptr);
|
114
|
+
}
|
115
|
+
|
116
|
+
static gboolean
|
117
|
+
pre_parse (GOptionContext *context G_GNUC_UNUSED,
|
118
|
+
GOptionGroup *group G_GNUC_UNUSED,
|
119
|
+
gpointer data,
|
120
|
+
GError **error)
|
121
|
+
{
|
122
|
+
option_group_t *option_group = (option_group_t *) data;
|
123
|
+
option_group->pre_parse (error);
|
124
|
+
return *error == nullptr;
|
125
|
+
}
|
126
|
+
|
127
|
+
static gboolean
|
128
|
+
post_parse (GOptionContext *context G_GNUC_UNUSED,
|
129
|
+
GOptionGroup *group G_GNUC_UNUSED,
|
130
|
+
gpointer data,
|
131
|
+
GError **error)
|
132
|
+
{
|
133
|
+
option_group_t *option_group = static_cast<option_group_t *>(data);
|
134
|
+
option_group->post_parse (error);
|
135
|
+
return *error == nullptr;
|
136
|
+
}
|
137
|
+
|
138
|
+
void
|
139
|
+
option_parser_t::add_group (GOptionEntry *entries,
|
140
|
+
const gchar *name,
|
141
|
+
const gchar *description,
|
142
|
+
const gchar *help_description,
|
143
|
+
option_group_t *option_group)
|
144
|
+
{
|
145
|
+
GOptionGroup *group = g_option_group_new (name, description, help_description,
|
146
|
+
static_cast<gpointer>(option_group), nullptr);
|
147
|
+
g_option_group_add_entries (group, entries);
|
148
|
+
g_option_group_set_parse_hooks (group, pre_parse, post_parse);
|
149
|
+
g_option_context_add_group (context, group);
|
150
|
+
}
|
151
|
+
|
152
|
+
void
|
153
|
+
option_parser_t::parse (int *argc, char ***argv)
|
154
|
+
{
|
155
|
+
setlocale (LC_ALL, "");
|
156
|
+
|
157
|
+
GError *parse_error = nullptr;
|
158
|
+
if (!g_option_context_parse (context, argc, argv, &parse_error))
|
159
|
+
{
|
160
|
+
if (parse_error != nullptr) {
|
161
|
+
fail (true, "%s", parse_error->message);
|
162
|
+
//g_error_free (parse_error);
|
163
|
+
} else
|
164
|
+
fail (true, "Option parse error");
|
165
|
+
}
|
166
|
+
}
|
167
|
+
|
168
|
+
|
169
|
+
static gboolean
|
170
|
+
parse_margin (const char *name G_GNUC_UNUSED,
|
171
|
+
const char *arg,
|
172
|
+
gpointer data,
|
173
|
+
GError **error G_GNUC_UNUSED)
|
174
|
+
{
|
175
|
+
view_options_t *view_opts = (view_options_t *) data;
|
176
|
+
view_options_t::margin_t &m = view_opts->margin;
|
177
|
+
switch (sscanf (arg, "%lf%*[ ,]%lf%*[ ,]%lf%*[ ,]%lf", &m.t, &m.r, &m.b, &m.l)) {
|
178
|
+
case 1: m.r = m.t;
|
179
|
+
case 2: m.b = m.t;
|
180
|
+
case 3: m.l = m.r;
|
181
|
+
case 4: return true;
|
182
|
+
default:
|
183
|
+
g_set_error (error, G_OPTION_ERROR, G_OPTION_ERROR_BAD_VALUE,
|
184
|
+
"%s argument should be one to four space-separated numbers",
|
185
|
+
name);
|
186
|
+
return false;
|
187
|
+
}
|
188
|
+
}
|
189
|
+
|
190
|
+
|
191
|
+
static gboolean
|
192
|
+
parse_shapers (const char *name G_GNUC_UNUSED,
|
193
|
+
const char *arg,
|
194
|
+
gpointer data,
|
195
|
+
GError **error G_GNUC_UNUSED)
|
196
|
+
{
|
197
|
+
shape_options_t *shape_opts = (shape_options_t *) data;
|
198
|
+
g_strfreev (shape_opts->shapers);
|
199
|
+
shape_opts->shapers = g_strsplit (arg, ",", 0);
|
200
|
+
return true;
|
201
|
+
}
|
202
|
+
|
203
|
+
static G_GNUC_NORETURN gboolean
|
204
|
+
list_shapers (const char *name G_GNUC_UNUSED,
|
205
|
+
const char *arg G_GNUC_UNUSED,
|
206
|
+
gpointer data G_GNUC_UNUSED,
|
207
|
+
GError **error G_GNUC_UNUSED)
|
208
|
+
{
|
209
|
+
for (const char **shaper = hb_shape_list_shapers (); *shaper; shaper++)
|
210
|
+
g_printf ("%s\n", *shaper);
|
211
|
+
|
212
|
+
exit(0);
|
213
|
+
}
|
214
|
+
|
215
|
+
|
216
|
+
static gboolean
|
217
|
+
parse_features (const char *name G_GNUC_UNUSED,
|
218
|
+
const char *arg,
|
219
|
+
gpointer data,
|
220
|
+
GError **error G_GNUC_UNUSED)
|
221
|
+
{
|
222
|
+
shape_options_t *shape_opts = (shape_options_t *) data;
|
223
|
+
char *s = (char *) arg;
|
224
|
+
char *p;
|
225
|
+
|
226
|
+
shape_opts->num_features = 0;
|
227
|
+
g_free (shape_opts->features);
|
228
|
+
shape_opts->features = nullptr;
|
229
|
+
|
230
|
+
if (!*s)
|
231
|
+
return true;
|
232
|
+
|
233
|
+
/* count the features first, so we can allocate memory */
|
234
|
+
p = s;
|
235
|
+
do {
|
236
|
+
shape_opts->num_features++;
|
237
|
+
p = strchr (p, ',');
|
238
|
+
if (p)
|
239
|
+
p++;
|
240
|
+
} while (p);
|
241
|
+
|
242
|
+
shape_opts->features = (hb_feature_t *) calloc (shape_opts->num_features, sizeof (*shape_opts->features));
|
243
|
+
if (!shape_opts->features)
|
244
|
+
return false;
|
245
|
+
|
246
|
+
/* now do the actual parsing */
|
247
|
+
p = s;
|
248
|
+
shape_opts->num_features = 0;
|
249
|
+
while (p && *p) {
|
250
|
+
char *end = strchr (p, ',');
|
251
|
+
if (hb_feature_from_string (p, end ? end - p : -1, &shape_opts->features[shape_opts->num_features]))
|
252
|
+
shape_opts->num_features++;
|
253
|
+
p = end ? end + 1 : nullptr;
|
254
|
+
}
|
255
|
+
|
256
|
+
return true;
|
257
|
+
}
|
258
|
+
|
259
|
+
static gboolean
|
260
|
+
parse_variations (const char *name G_GNUC_UNUSED,
|
261
|
+
const char *arg,
|
262
|
+
gpointer data,
|
263
|
+
GError **error G_GNUC_UNUSED)
|
264
|
+
{
|
265
|
+
font_options_t *font_opts = (font_options_t *) data;
|
266
|
+
char *s = (char *) arg;
|
267
|
+
char *p;
|
268
|
+
|
269
|
+
font_opts->num_variations = 0;
|
270
|
+
g_free (font_opts->variations);
|
271
|
+
font_opts->variations = nullptr;
|
272
|
+
|
273
|
+
if (!*s)
|
274
|
+
return true;
|
275
|
+
|
276
|
+
/* count the variations first, so we can allocate memory */
|
277
|
+
p = s;
|
278
|
+
do {
|
279
|
+
font_opts->num_variations++;
|
280
|
+
p = strchr (p, ',');
|
281
|
+
if (p)
|
282
|
+
p++;
|
283
|
+
} while (p);
|
284
|
+
|
285
|
+
font_opts->variations = (hb_variation_t *) calloc (font_opts->num_variations, sizeof (*font_opts->variations));
|
286
|
+
if (!font_opts->variations)
|
287
|
+
return false;
|
288
|
+
|
289
|
+
/* now do the actual parsing */
|
290
|
+
p = s;
|
291
|
+
font_opts->num_variations = 0;
|
292
|
+
while (p && *p) {
|
293
|
+
char *end = strchr (p, ',');
|
294
|
+
if (hb_variation_from_string (p, end ? end - p : -1, &font_opts->variations[font_opts->num_variations]))
|
295
|
+
font_opts->num_variations++;
|
296
|
+
p = end ? end + 1 : nullptr;
|
297
|
+
}
|
298
|
+
|
299
|
+
return true;
|
300
|
+
}
|
301
|
+
|
302
|
+
static gboolean
|
303
|
+
parse_text (const char *name G_GNUC_UNUSED,
|
304
|
+
const char *arg,
|
305
|
+
gpointer data,
|
306
|
+
GError **error G_GNUC_UNUSED)
|
307
|
+
{
|
308
|
+
text_options_t *text_opts = (text_options_t *) data;
|
309
|
+
|
310
|
+
if (text_opts->text)
|
311
|
+
{
|
312
|
+
g_set_error (error, G_OPTION_ERROR, G_OPTION_ERROR_BAD_VALUE,
|
313
|
+
"Either --text or --unicodes can be provided but not both");
|
314
|
+
return false;
|
315
|
+
}
|
316
|
+
|
317
|
+
text_opts->text = g_strdup (arg);
|
318
|
+
return true;
|
319
|
+
}
|
320
|
+
|
321
|
+
|
322
|
+
static gboolean
|
323
|
+
parse_unicodes (const char *name G_GNUC_UNUSED,
|
324
|
+
const char *arg,
|
325
|
+
gpointer data,
|
326
|
+
GError **error G_GNUC_UNUSED)
|
327
|
+
{
|
328
|
+
text_options_t *text_opts = (text_options_t *) data;
|
329
|
+
|
330
|
+
if (text_opts->text)
|
331
|
+
{
|
332
|
+
g_set_error (error, G_OPTION_ERROR, G_OPTION_ERROR_BAD_VALUE,
|
333
|
+
"Either --text or --unicodes can be provided but not both");
|
334
|
+
return false;
|
335
|
+
}
|
336
|
+
|
337
|
+
GString *gs = g_string_new (nullptr);
|
338
|
+
char *s = (char *) arg;
|
339
|
+
char *p;
|
340
|
+
|
341
|
+
while (s && *s)
|
342
|
+
{
|
343
|
+
while (*s && strchr ("<+>{},;&#\\xXuUnNiI\n\t", *s))
|
344
|
+
s++;
|
345
|
+
|
346
|
+
errno = 0;
|
347
|
+
hb_codepoint_t u = strtoul (s, &p, 16);
|
348
|
+
if (errno || s == p)
|
349
|
+
{
|
350
|
+
g_set_error (error, G_OPTION_ERROR, G_OPTION_ERROR_BAD_VALUE,
|
351
|
+
"Failed parsing Unicode values at: '%s'", s);
|
352
|
+
return false;
|
353
|
+
}
|
354
|
+
|
355
|
+
g_string_append_unichar (gs, u);
|
356
|
+
|
357
|
+
s = p;
|
358
|
+
}
|
359
|
+
|
360
|
+
text_opts->text = g_string_free (gs, FALSE);
|
361
|
+
return true;
|
362
|
+
}
|
363
|
+
|
364
|
+
|
365
|
+
void
|
366
|
+
view_options_t::add_options (option_parser_t *parser)
|
367
|
+
{
|
368
|
+
GOptionEntry entries[] =
|
369
|
+
{
|
370
|
+
{"annotate", 0, 0, G_OPTION_ARG_NONE, &this->annotate, "Annotate output rendering", nullptr},
|
371
|
+
{"background", 0, 0, G_OPTION_ARG_STRING, &this->back, "Set background color (default: " DEFAULT_BACK ")", "rrggbb/rrggbbaa"},
|
372
|
+
{"foreground", 0, 0, G_OPTION_ARG_STRING, &this->fore, "Set foreground color (default: " DEFAULT_FORE ")", "rrggbb/rrggbbaa"},
|
373
|
+
{"line-space", 0, 0, G_OPTION_ARG_DOUBLE, &this->line_space, "Set space between lines (default: 0)", "units"},
|
374
|
+
{"margin", 0, 0, G_OPTION_ARG_CALLBACK, (gpointer) &parse_margin, "Margin around output (default: " G_STRINGIFY(DEFAULT_MARGIN) ")","one to four numbers"},
|
375
|
+
{nullptr}
|
376
|
+
};
|
377
|
+
parser->add_group (entries,
|
378
|
+
"view",
|
379
|
+
"View options:",
|
380
|
+
"Options for output rendering",
|
381
|
+
this);
|
382
|
+
}
|
383
|
+
|
384
|
+
void
|
385
|
+
shape_options_t::add_options (option_parser_t *parser)
|
386
|
+
{
|
387
|
+
GOptionEntry entries[] =
|
388
|
+
{
|
389
|
+
{"list-shapers", 0, G_OPTION_FLAG_NO_ARG,
|
390
|
+
G_OPTION_ARG_CALLBACK, (gpointer) &list_shapers, "List available shapers and quit", nullptr},
|
391
|
+
{"shaper", 0, G_OPTION_FLAG_HIDDEN,
|
392
|
+
G_OPTION_ARG_CALLBACK, (gpointer) &parse_shapers, "Hidden duplicate of --shapers", nullptr},
|
393
|
+
{"shapers", 0, 0, G_OPTION_ARG_CALLBACK, (gpointer) &parse_shapers, "Set comma-separated list of shapers to try","list"},
|
394
|
+
{"direction", 0, 0, G_OPTION_ARG_STRING, &this->direction, "Set text direction (default: auto)", "ltr/rtl/ttb/btt"},
|
395
|
+
{"language", 0, 0, G_OPTION_ARG_STRING, &this->language, "Set text language (default: $LANG)", "langstr"},
|
396
|
+
{"script", 0, 0, G_OPTION_ARG_STRING, &this->script, "Set text script (default: auto)", "ISO-15924 tag"},
|
397
|
+
{"bot", 0, 0, G_OPTION_ARG_NONE, &this->bot, "Treat text as beginning-of-paragraph", nullptr},
|
398
|
+
{"eot", 0, 0, G_OPTION_ARG_NONE, &this->eot, "Treat text as end-of-paragraph", nullptr},
|
399
|
+
{"preserve-default-ignorables",0, 0, G_OPTION_ARG_NONE, &this->preserve_default_ignorables, "Preserve Default-Ignorable characters", nullptr},
|
400
|
+
{"remove-default-ignorables",0, 0, G_OPTION_ARG_NONE, &this->remove_default_ignorables, "Remove Default-Ignorable characters", nullptr},
|
401
|
+
{"utf8-clusters", 0, 0, G_OPTION_ARG_NONE, &this->utf8_clusters, "Use UTF8 byte indices, not char indices", nullptr},
|
402
|
+
{"cluster-level", 0, 0, G_OPTION_ARG_INT, &this->cluster_level, "Cluster merging level (default: 0)", "0/1/2"},
|
403
|
+
{"normalize-glyphs",0, 0, G_OPTION_ARG_NONE, &this->normalize_glyphs, "Rearrange glyph clusters in nominal order", nullptr},
|
404
|
+
{"verify", 0, 0, G_OPTION_ARG_NONE, &this->verify, "Perform sanity checks on shaping results", nullptr},
|
405
|
+
{"num-iterations", 0, 0, G_OPTION_ARG_INT, &this->num_iterations, "Run shaper N times (default: 1)", "N"},
|
406
|
+
{nullptr}
|
407
|
+
};
|
408
|
+
parser->add_group (entries,
|
409
|
+
"shape",
|
410
|
+
"Shape options:",
|
411
|
+
"Options for the shaping process",
|
412
|
+
this);
|
413
|
+
|
414
|
+
const gchar *features_help = "Comma-separated list of font features\n"
|
415
|
+
"\n"
|
416
|
+
" Features can be enabled or disabled, either globally or limited to\n"
|
417
|
+
" specific character ranges. The format for specifying feature settings\n"
|
418
|
+
" follows. All valid CSS font-feature-settings values other than 'normal'\n"
|
419
|
+
" and 'inherited' are also accepted, though, not documented below.\n"
|
420
|
+
"\n"
|
421
|
+
" The range indices refer to the positions between Unicode characters,\n"
|
422
|
+
" unless the --utf8-clusters is provided, in which case range indices\n"
|
423
|
+
" refer to UTF-8 byte indices. The position before the first character\n"
|
424
|
+
" is always 0.\n"
|
425
|
+
"\n"
|
426
|
+
" The format is Python-esque. Here is how it all works:\n"
|
427
|
+
"\n"
|
428
|
+
" Syntax: Value: Start: End:\n"
|
429
|
+
"\n"
|
430
|
+
" Setting value:\n"
|
431
|
+
" \"kern\" 1 0 ∞ # Turn feature on\n"
|
432
|
+
" \"+kern\" 1 0 ∞ # Turn feature on\n"
|
433
|
+
" \"-kern\" 0 0 ∞ # Turn feature off\n"
|
434
|
+
" \"kern=0\" 0 0 ∞ # Turn feature off\n"
|
435
|
+
" \"kern=1\" 1 0 ∞ # Turn feature on\n"
|
436
|
+
" \"aalt=2\" 2 0 ∞ # Choose 2nd alternate\n"
|
437
|
+
"\n"
|
438
|
+
" Setting index:\n"
|
439
|
+
" \"kern[]\" 1 0 ∞ # Turn feature on\n"
|
440
|
+
" \"kern[:]\" 1 0 ∞ # Turn feature on\n"
|
441
|
+
" \"kern[5:]\" 1 5 ∞ # Turn feature on, partial\n"
|
442
|
+
" \"kern[:5]\" 1 0 5 # Turn feature on, partial\n"
|
443
|
+
" \"kern[3:5]\" 1 3 5 # Turn feature on, range\n"
|
444
|
+
" \"kern[3]\" 1 3 3+1 # Turn feature on, single char\n"
|
445
|
+
"\n"
|
446
|
+
" Mixing it all:\n"
|
447
|
+
"\n"
|
448
|
+
" \"aalt[3:5]=2\" 2 3 5 # Turn 2nd alternate on for range";
|
449
|
+
|
450
|
+
GOptionEntry entries2[] =
|
451
|
+
{
|
452
|
+
{"features", 0, 0, G_OPTION_ARG_CALLBACK, (gpointer) &parse_features, features_help, "list"},
|
453
|
+
{nullptr}
|
454
|
+
};
|
455
|
+
parser->add_group (entries2,
|
456
|
+
"features",
|
457
|
+
"Features options:",
|
458
|
+
"Options for font features used",
|
459
|
+
this);
|
460
|
+
}
|
461
|
+
|
462
|
+
static gboolean
|
463
|
+
parse_font_size (const char *name G_GNUC_UNUSED,
|
464
|
+
const char *arg,
|
465
|
+
gpointer data,
|
466
|
+
GError **error G_GNUC_UNUSED)
|
467
|
+
{
|
468
|
+
font_options_t *font_opts = (font_options_t *) data;
|
469
|
+
if (0 == strcmp (arg, "upem"))
|
470
|
+
{
|
471
|
+
font_opts->font_size_y = font_opts->font_size_x = FONT_SIZE_UPEM;
|
472
|
+
return true;
|
473
|
+
}
|
474
|
+
switch (sscanf (arg, "%lf%*[ ,]%lf", &font_opts->font_size_x, &font_opts->font_size_y)) {
|
475
|
+
case 1: font_opts->font_size_y = font_opts->font_size_x;
|
476
|
+
case 2: return true;
|
477
|
+
default:
|
478
|
+
g_set_error (error, G_OPTION_ERROR, G_OPTION_ERROR_BAD_VALUE,
|
479
|
+
"%s argument should be one or two space-separated numbers",
|
480
|
+
name);
|
481
|
+
return false;
|
482
|
+
}
|
483
|
+
}
|
484
|
+
|
485
|
+
static gboolean
|
486
|
+
parse_font_ppem (const char *name G_GNUC_UNUSED,
|
487
|
+
const char *arg,
|
488
|
+
gpointer data,
|
489
|
+
GError **error G_GNUC_UNUSED)
|
490
|
+
{
|
491
|
+
font_options_t *font_opts = (font_options_t *) data;
|
492
|
+
switch (sscanf (arg, "%d%*[ ,]%d", &font_opts->x_ppem, &font_opts->y_ppem)) {
|
493
|
+
case 1: font_opts->y_ppem = font_opts->x_ppem;
|
494
|
+
case 2: return true;
|
495
|
+
default:
|
496
|
+
g_set_error (error, G_OPTION_ERROR, G_OPTION_ERROR_BAD_VALUE,
|
497
|
+
"%s argument should be one or two space-separated numbers",
|
498
|
+
name);
|
499
|
+
return false;
|
500
|
+
}
|
501
|
+
}
|
502
|
+
|
503
|
+
void
|
504
|
+
font_options_t::add_options (option_parser_t *parser)
|
505
|
+
{
|
506
|
+
char *text = nullptr;
|
507
|
+
|
508
|
+
{
|
509
|
+
static_assert ((ARRAY_LENGTH_CONST (supported_font_funcs) > 0),
|
510
|
+
"No supported font-funcs found.");
|
511
|
+
GString *s = g_string_new (nullptr);
|
512
|
+
g_string_printf (s, "Set font functions implementation to use (default: %s)\n\n Supported font function implementations are: %s",
|
513
|
+
supported_font_funcs[0].name,
|
514
|
+
supported_font_funcs[0].name);
|
515
|
+
for (unsigned int i = 1; i < ARRAY_LENGTH (supported_font_funcs); i++)
|
516
|
+
{
|
517
|
+
g_string_append_c (s, '/');
|
518
|
+
g_string_append (s, supported_font_funcs[i].name);
|
519
|
+
}
|
520
|
+
text = g_string_free (s, FALSE);
|
521
|
+
parser->free_later (text);
|
522
|
+
}
|
523
|
+
|
524
|
+
char *font_size_text;
|
525
|
+
if (default_font_size == FONT_SIZE_UPEM)
|
526
|
+
font_size_text = (char *) "Font size (default: upem)";
|
527
|
+
else
|
528
|
+
{
|
529
|
+
font_size_text = g_strdup_printf ("Font size (default: %d)", default_font_size);
|
530
|
+
parser->free_later (font_size_text);
|
531
|
+
}
|
532
|
+
|
533
|
+
GOptionEntry entries[] =
|
534
|
+
{
|
535
|
+
{"font-file", 0, 0, G_OPTION_ARG_STRING, &this->font_file, "Set font file-name", "filename"},
|
536
|
+
{"face-index", 0, 0, G_OPTION_ARG_INT, &this->face_index, "Set face index (default: 0)", "index"},
|
537
|
+
{"font-size", 0, default_font_size ? 0 : G_OPTION_FLAG_HIDDEN,
|
538
|
+
G_OPTION_ARG_CALLBACK, (gpointer) &parse_font_size, font_size_text, "1/2 integers or 'upem'"},
|
539
|
+
{"font-ppem", 0, 0, G_OPTION_ARG_CALLBACK, (gpointer) &parse_font_ppem, "Set x,y pixels per EM (default: 0; disabled)", "1/2 integers"},
|
540
|
+
{"font-ptem", 0, 0, G_OPTION_ARG_DOUBLE, &this->ptem, "Set font point-size (default: 0; disabled)", "point-size"},
|
541
|
+
{"font-funcs", 0, 0, G_OPTION_ARG_STRING, &this->font_funcs, text, "impl"},
|
542
|
+
{nullptr}
|
543
|
+
};
|
544
|
+
parser->add_group (entries,
|
545
|
+
"font",
|
546
|
+
"Font options:",
|
547
|
+
"Options for the font",
|
548
|
+
this);
|
549
|
+
|
550
|
+
const gchar *variations_help = "Comma-separated list of font variations\n"
|
551
|
+
"\n"
|
552
|
+
" Variations are set globally. The format for specifying variation settings\n"
|
553
|
+
" follows. All valid CSS font-variation-settings values other than 'normal'\n"
|
554
|
+
" and 'inherited' are also accepted, though, not documented below.\n"
|
555
|
+
"\n"
|
556
|
+
" The format is a tag, optionally followed by an equals sign, followed by a\n"
|
557
|
+
" number. For example:\n"
|
558
|
+
"\n"
|
559
|
+
" \"wght=500\"\n"
|
560
|
+
" \"slnt=-7.5\"\n";
|
561
|
+
|
562
|
+
GOptionEntry entries2[] =
|
563
|
+
{
|
564
|
+
{"variations", 0, 0, G_OPTION_ARG_CALLBACK, (gpointer) &parse_variations, variations_help, "list"},
|
565
|
+
{nullptr}
|
566
|
+
};
|
567
|
+
parser->add_group (entries2,
|
568
|
+
"variations",
|
569
|
+
"Variations options:",
|
570
|
+
"Options for font variations used",
|
571
|
+
this);
|
572
|
+
}
|
573
|
+
|
574
|
+
void
|
575
|
+
text_options_t::add_options (option_parser_t *parser)
|
576
|
+
{
|
577
|
+
GOptionEntry entries[] =
|
578
|
+
{
|
579
|
+
{"text", 0, 0, G_OPTION_ARG_CALLBACK, (gpointer) &parse_text, "Set input text", "string"},
|
580
|
+
{"text-file", 0, 0, G_OPTION_ARG_STRING, &this->text_file, "Set input text file-name\n\n If no text is provided, standard input is used for input.\n", "filename"},
|
581
|
+
{"unicodes", 'u', 0, G_OPTION_ARG_CALLBACK, (gpointer) &parse_unicodes, "Set input Unicode codepoints", "list of hex numbers"},
|
582
|
+
{"text-before", 0, 0, G_OPTION_ARG_STRING, &this->text_before, "Set text context before each line", "string"},
|
583
|
+
{"text-after", 0, 0, G_OPTION_ARG_STRING, &this->text_after, "Set text context after each line", "string"},
|
584
|
+
{nullptr}
|
585
|
+
};
|
586
|
+
parser->add_group (entries,
|
587
|
+
"text",
|
588
|
+
"Text options:",
|
589
|
+
"Options for the input text",
|
590
|
+
this);
|
591
|
+
}
|
592
|
+
|
593
|
+
void
|
594
|
+
output_options_t::add_options (option_parser_t *parser)
|
595
|
+
{
|
596
|
+
const char *text;
|
597
|
+
|
598
|
+
if (nullptr == supported_formats)
|
599
|
+
text = "Set output serialization format";
|
600
|
+
else
|
601
|
+
{
|
602
|
+
char *items = g_strjoinv ("/", const_cast<char **> (supported_formats));
|
603
|
+
text = g_strdup_printf ("Set output format\n\n Supported output formats are: %s", items);
|
604
|
+
g_free (items);
|
605
|
+
parser->free_later ((char *) text);
|
606
|
+
}
|
607
|
+
|
608
|
+
GOptionEntry entries[] =
|
609
|
+
{
|
610
|
+
{"output-file", 'o', 0, G_OPTION_ARG_STRING, &this->output_file, "Set output file-name (default: stdout)","filename"},
|
611
|
+
{"output-format", 'O', 0, G_OPTION_ARG_STRING, &this->output_format, text, "format"},
|
612
|
+
{nullptr}
|
613
|
+
};
|
614
|
+
parser->add_group (entries,
|
615
|
+
"output",
|
616
|
+
"Output destination & format options:",
|
617
|
+
"Options for the destination & form of the output",
|
618
|
+
this);
|
619
|
+
}
|
620
|
+
|
621
|
+
|
622
|
+
|
623
|
+
hb_font_t *
|
624
|
+
font_options_t::get_font (void) const
|
625
|
+
{
|
626
|
+
if (font)
|
627
|
+
return font;
|
628
|
+
|
629
|
+
hb_blob_t *blob = nullptr;
|
630
|
+
|
631
|
+
/* Create the blob */
|
632
|
+
{
|
633
|
+
char *font_data;
|
634
|
+
unsigned int len = 0;
|
635
|
+
hb_destroy_func_t destroy;
|
636
|
+
void *user_data;
|
637
|
+
hb_memory_mode_t mm;
|
638
|
+
|
639
|
+
/* This is a hell of a lot of code for just reading a file! */
|
640
|
+
if (!font_file)
|
641
|
+
fail (true, "No font file set");
|
642
|
+
|
643
|
+
if (0 == strcmp (font_file, "-")) {
|
644
|
+
/* read it */
|
645
|
+
GString *gs = g_string_new (nullptr);
|
646
|
+
char buf[BUFSIZ];
|
647
|
+
#if defined(_WIN32) || defined(__CYGWIN__)
|
648
|
+
setmode (fileno (stdin), O_BINARY);
|
649
|
+
#endif
|
650
|
+
while (!feof (stdin)) {
|
651
|
+
size_t ret = fread (buf, 1, sizeof (buf), stdin);
|
652
|
+
if (ferror (stdin))
|
653
|
+
fail (false, "Failed reading font from standard input: %s",
|
654
|
+
strerror (errno));
|
655
|
+
g_string_append_len (gs, buf, ret);
|
656
|
+
}
|
657
|
+
len = gs->len;
|
658
|
+
font_data = g_string_free (gs, false);
|
659
|
+
user_data = font_data;
|
660
|
+
destroy = (hb_destroy_func_t) g_free;
|
661
|
+
mm = HB_MEMORY_MODE_WRITABLE;
|
662
|
+
} else {
|
663
|
+
GError *error = nullptr;
|
664
|
+
GMappedFile *mf = g_mapped_file_new (font_file, false, &error);
|
665
|
+
if (mf) {
|
666
|
+
font_data = g_mapped_file_get_contents (mf);
|
667
|
+
len = g_mapped_file_get_length (mf);
|
668
|
+
if (len) {
|
669
|
+
destroy = (hb_destroy_func_t) g_mapped_file_unref;
|
670
|
+
user_data = (void *) mf;
|
671
|
+
mm = HB_MEMORY_MODE_READONLY_MAY_MAKE_WRITABLE;
|
672
|
+
} else
|
673
|
+
g_mapped_file_unref (mf);
|
674
|
+
} else {
|
675
|
+
fail (false, "%s", error->message);
|
676
|
+
//g_error_free (error);
|
677
|
+
}
|
678
|
+
if (!len) {
|
679
|
+
/* GMappedFile is buggy, it doesn't fail if file isn't regular.
|
680
|
+
* Try reading.
|
681
|
+
* https://bugzilla.gnome.org/show_bug.cgi?id=659212 */
|
682
|
+
GError *error = nullptr;
|
683
|
+
gsize l;
|
684
|
+
if (g_file_get_contents (font_file, &font_data, &l, &error)) {
|
685
|
+
len = l;
|
686
|
+
destroy = (hb_destroy_func_t) g_free;
|
687
|
+
user_data = (void *) font_data;
|
688
|
+
mm = HB_MEMORY_MODE_WRITABLE;
|
689
|
+
} else {
|
690
|
+
fail (false, "%s", error->message);
|
691
|
+
//g_error_free (error);
|
692
|
+
}
|
693
|
+
}
|
694
|
+
}
|
695
|
+
|
696
|
+
if (debug)
|
697
|
+
mm = HB_MEMORY_MODE_DUPLICATE;
|
698
|
+
|
699
|
+
blob = hb_blob_create (font_data, len, mm, user_data, destroy);
|
700
|
+
}
|
701
|
+
|
702
|
+
/* Create the face */
|
703
|
+
hb_face_t *face = hb_face_create (blob, face_index);
|
704
|
+
hb_blob_destroy (blob);
|
705
|
+
|
706
|
+
|
707
|
+
font = hb_font_create (face);
|
708
|
+
|
709
|
+
if (font_size_x == FONT_SIZE_UPEM)
|
710
|
+
font_size_x = hb_face_get_upem (face);
|
711
|
+
if (font_size_y == FONT_SIZE_UPEM)
|
712
|
+
font_size_y = hb_face_get_upem (face);
|
713
|
+
|
714
|
+
hb_font_set_ppem (font, x_ppem, y_ppem);
|
715
|
+
hb_font_set_ptem (font, ptem);
|
716
|
+
|
717
|
+
int scale_x = (int) scalbnf (font_size_x, subpixel_bits);
|
718
|
+
int scale_y = (int) scalbnf (font_size_y, subpixel_bits);
|
719
|
+
hb_font_set_scale (font, scale_x, scale_y);
|
720
|
+
hb_face_destroy (face);
|
721
|
+
|
722
|
+
hb_font_set_variations (font, variations, num_variations);
|
723
|
+
|
724
|
+
void (*set_font_funcs) (hb_font_t *) = nullptr;
|
725
|
+
if (!font_funcs)
|
726
|
+
{
|
727
|
+
set_font_funcs = supported_font_funcs[0].func;
|
728
|
+
}
|
729
|
+
else
|
730
|
+
{
|
731
|
+
for (unsigned int i = 0; i < ARRAY_LENGTH (supported_font_funcs); i++)
|
732
|
+
if (0 == g_ascii_strcasecmp (font_funcs, supported_font_funcs[i].name))
|
733
|
+
{
|
734
|
+
set_font_funcs = supported_font_funcs[i].func;
|
735
|
+
break;
|
736
|
+
}
|
737
|
+
if (!set_font_funcs)
|
738
|
+
{
|
739
|
+
GString *s = g_string_new (nullptr);
|
740
|
+
for (unsigned int i = 0; i < ARRAY_LENGTH (supported_font_funcs); i++)
|
741
|
+
{
|
742
|
+
if (i)
|
743
|
+
g_string_append_c (s, '/');
|
744
|
+
g_string_append (s, supported_font_funcs[i].name);
|
745
|
+
}
|
746
|
+
char *p = g_string_free (s, FALSE);
|
747
|
+
fail (false, "Unknown font function implementation `%s'; supported values are: %s; default is %s",
|
748
|
+
font_funcs,
|
749
|
+
p,
|
750
|
+
supported_font_funcs[0].name);
|
751
|
+
//free (p);
|
752
|
+
}
|
753
|
+
}
|
754
|
+
set_font_funcs (font);
|
755
|
+
|
756
|
+
return font;
|
757
|
+
}
|
758
|
+
|
759
|
+
|
760
|
+
const char *
|
761
|
+
text_options_t::get_line (unsigned int *len)
|
762
|
+
{
|
763
|
+
if (text) {
|
764
|
+
if (!line) line = text;
|
765
|
+
if (line_len == (unsigned int) -1)
|
766
|
+
line_len = strlen (line);
|
767
|
+
|
768
|
+
if (!line_len) {
|
769
|
+
*len = 0;
|
770
|
+
return nullptr;
|
771
|
+
}
|
772
|
+
|
773
|
+
const char *ret = line;
|
774
|
+
const char *p = (const char *) memchr (line, '\n', line_len);
|
775
|
+
unsigned int ret_len;
|
776
|
+
if (!p) {
|
777
|
+
ret_len = line_len;
|
778
|
+
line += ret_len;
|
779
|
+
line_len = 0;
|
780
|
+
} else {
|
781
|
+
ret_len = p - ret;
|
782
|
+
line += ret_len + 1;
|
783
|
+
line_len -= ret_len + 1;
|
784
|
+
}
|
785
|
+
|
786
|
+
*len = ret_len;
|
787
|
+
return ret;
|
788
|
+
}
|
789
|
+
|
790
|
+
if (!fp) {
|
791
|
+
if (!text_file)
|
792
|
+
fail (true, "At least one of text or text-file must be set");
|
793
|
+
|
794
|
+
if (0 != strcmp (text_file, "-"))
|
795
|
+
fp = fopen (text_file, "r");
|
796
|
+
else
|
797
|
+
fp = stdin;
|
798
|
+
|
799
|
+
if (!fp)
|
800
|
+
fail (false, "Failed opening text file `%s': %s",
|
801
|
+
text_file, strerror (errno));
|
802
|
+
|
803
|
+
gs = g_string_new (nullptr);
|
804
|
+
}
|
805
|
+
|
806
|
+
#ifdef HAVE_SETLINEBUF
|
807
|
+
setlinebuf (fp);
|
808
|
+
#else
|
809
|
+
setvbuf(fp, NULL, _IOLBF, BUFSIZ);
|
810
|
+
#endif
|
811
|
+
|
812
|
+
g_string_set_size (gs, 0);
|
813
|
+
char buf[BUFSIZ];
|
814
|
+
while (fgets (buf, sizeof (buf), fp)) {
|
815
|
+
unsigned int bytes = strlen (buf);
|
816
|
+
if (bytes && buf[bytes - 1] == '\n') {
|
817
|
+
bytes--;
|
818
|
+
g_string_append_len (gs, buf, bytes);
|
819
|
+
break;
|
820
|
+
}
|
821
|
+
g_string_append_len (gs, buf, bytes);
|
822
|
+
}
|
823
|
+
if (ferror (fp))
|
824
|
+
fail (false, "Failed reading text: %s",
|
825
|
+
strerror (errno));
|
826
|
+
*len = gs->len;
|
827
|
+
return !*len && feof (fp) ? nullptr : gs->str;
|
828
|
+
}
|
829
|
+
|
830
|
+
|
831
|
+
FILE *
|
832
|
+
output_options_t::get_file_handle (void)
|
833
|
+
{
|
834
|
+
if (fp)
|
835
|
+
return fp;
|
836
|
+
|
837
|
+
if (output_file)
|
838
|
+
fp = fopen (output_file, "wb");
|
839
|
+
else {
|
840
|
+
#if defined(_WIN32) || defined(__CYGWIN__)
|
841
|
+
setmode (fileno (stdout), O_BINARY);
|
842
|
+
#endif
|
843
|
+
fp = stdout;
|
844
|
+
}
|
845
|
+
if (!fp)
|
846
|
+
fail (false, "Cannot open output file `%s': %s",
|
847
|
+
g_filename_display_name (output_file), strerror (errno));
|
848
|
+
|
849
|
+
#ifdef HAVE_SETLINEBUF
|
850
|
+
setlinebuf (fp);
|
851
|
+
#else
|
852
|
+
setvbuf(fp, NULL, _IOLBF, BUFSIZ);
|
853
|
+
#endif
|
854
|
+
|
855
|
+
return fp;
|
856
|
+
}
|
857
|
+
|
858
|
+
static gboolean
|
859
|
+
parse_verbose (const char *name G_GNUC_UNUSED,
|
860
|
+
const char *arg G_GNUC_UNUSED,
|
861
|
+
gpointer data G_GNUC_UNUSED,
|
862
|
+
GError **error G_GNUC_UNUSED)
|
863
|
+
{
|
864
|
+
format_options_t *format_opts = (format_options_t *) data;
|
865
|
+
format_opts->show_text = format_opts->show_unicode = format_opts->show_line_num = true;
|
866
|
+
return true;
|
867
|
+
}
|
868
|
+
|
869
|
+
static gboolean
|
870
|
+
parse_ned (const char *name G_GNUC_UNUSED,
|
871
|
+
const char *arg G_GNUC_UNUSED,
|
872
|
+
gpointer data G_GNUC_UNUSED,
|
873
|
+
GError **error G_GNUC_UNUSED)
|
874
|
+
{
|
875
|
+
format_options_t *format_opts = (format_options_t *) data;
|
876
|
+
format_opts->show_clusters = format_opts->show_advances = false;
|
877
|
+
return true;
|
878
|
+
}
|
879
|
+
|
880
|
+
void
|
881
|
+
format_options_t::add_options (option_parser_t *parser)
|
882
|
+
{
|
883
|
+
GOptionEntry entries[] =
|
884
|
+
{
|
885
|
+
{"show-text", 0, 0, G_OPTION_ARG_NONE, &this->show_text, "Prefix each line of output with its corresponding input text", nullptr},
|
886
|
+
{"show-unicode", 0, 0, G_OPTION_ARG_NONE, &this->show_unicode, "Prefix each line of output with its corresponding input codepoint(s)", nullptr},
|
887
|
+
{"show-line-num", 0, 0, G_OPTION_ARG_NONE, &this->show_line_num, "Prefix each line of output with its corresponding input line number", nullptr},
|
888
|
+
{"verbose", 'v', G_OPTION_FLAG_NO_ARG,
|
889
|
+
G_OPTION_ARG_CALLBACK, (gpointer) &parse_verbose, "Prefix each line of output with all of the above", nullptr},
|
890
|
+
{"no-glyph-names", 0, G_OPTION_FLAG_REVERSE,
|
891
|
+
G_OPTION_ARG_NONE, &this->show_glyph_names, "Output glyph indices instead of names", nullptr},
|
892
|
+
{"no-positions", 0, G_OPTION_FLAG_REVERSE,
|
893
|
+
G_OPTION_ARG_NONE, &this->show_positions, "Do not output glyph positions", nullptr},
|
894
|
+
{"no-advances", 0, G_OPTION_FLAG_REVERSE,
|
895
|
+
G_OPTION_ARG_NONE, &this->show_advances, "Do not output glyph advances", nullptr},
|
896
|
+
{"no-clusters", 0, G_OPTION_FLAG_REVERSE,
|
897
|
+
G_OPTION_ARG_NONE, &this->show_clusters, "Do not output cluster indices", nullptr},
|
898
|
+
{"show-extents", 0, 0, G_OPTION_ARG_NONE, &this->show_extents, "Output glyph extents", nullptr},
|
899
|
+
{"show-flags", 0, 0, G_OPTION_ARG_NONE, &this->show_flags, "Output glyph flags", nullptr},
|
900
|
+
{"ned", 'v', G_OPTION_FLAG_NO_ARG,
|
901
|
+
G_OPTION_ARG_CALLBACK, (gpointer) &parse_ned, "No Extra Data; Do not output clusters or advances", nullptr},
|
902
|
+
{"trace", 'V', 0, G_OPTION_ARG_NONE, &this->trace, "Output interim shaping results", nullptr},
|
903
|
+
{nullptr}
|
904
|
+
};
|
905
|
+
parser->add_group (entries,
|
906
|
+
"output-syntax",
|
907
|
+
"Output syntax:\n"
|
908
|
+
" text: [<glyph name or index>=<glyph cluster index within input>@<horizontal displacement>,<vertical displacement>+<horizontal advance>,<vertical advance>|...]\n"
|
909
|
+
" json: [{\"g\": <glyph name or index>, \"ax\": <horizontal advance>, \"ay\": <vertical advance>, \"dx\": <horizontal displacement>, \"dy\": <vertical displacement>, \"cl\": <glyph cluster index within input>}, ...]\n"
|
910
|
+
"\nOutput syntax options:",
|
911
|
+
"Options for the syntax of the output",
|
912
|
+
this);
|
913
|
+
}
|
914
|
+
|
915
|
+
void
|
916
|
+
format_options_t::serialize_unicode (hb_buffer_t *buffer,
|
917
|
+
GString *gs)
|
918
|
+
{
|
919
|
+
unsigned int num_glyphs = hb_buffer_get_length (buffer);
|
920
|
+
hb_glyph_info_t *info = hb_buffer_get_glyph_infos (buffer, nullptr);
|
921
|
+
|
922
|
+
g_string_append_c (gs, '<');
|
923
|
+
for (unsigned int i = 0; i < num_glyphs; i++)
|
924
|
+
{
|
925
|
+
if (i)
|
926
|
+
g_string_append_c (gs, ',');
|
927
|
+
g_string_append_printf (gs, "U+%04X", info->codepoint);
|
928
|
+
info++;
|
929
|
+
}
|
930
|
+
g_string_append_c (gs, '>');
|
931
|
+
}
|
932
|
+
|
933
|
+
void
|
934
|
+
format_options_t::serialize_glyphs (hb_buffer_t *buffer,
|
935
|
+
hb_font_t *font,
|
936
|
+
hb_buffer_serialize_format_t output_format,
|
937
|
+
hb_buffer_serialize_flags_t flags,
|
938
|
+
GString *gs)
|
939
|
+
{
|
940
|
+
g_string_append_c (gs, '[');
|
941
|
+
unsigned int num_glyphs = hb_buffer_get_length (buffer);
|
942
|
+
unsigned int start = 0;
|
943
|
+
|
944
|
+
while (start < num_glyphs)
|
945
|
+
{
|
946
|
+
char buf[1024];
|
947
|
+
unsigned int consumed;
|
948
|
+
start += hb_buffer_serialize_glyphs (buffer, start, num_glyphs,
|
949
|
+
buf, sizeof (buf), &consumed,
|
950
|
+
font, output_format, flags);
|
951
|
+
if (!consumed)
|
952
|
+
break;
|
953
|
+
g_string_append (gs, buf);
|
954
|
+
}
|
955
|
+
g_string_append_c (gs, ']');
|
956
|
+
}
|
957
|
+
void
|
958
|
+
format_options_t::serialize_line_no (unsigned int line_no,
|
959
|
+
GString *gs)
|
960
|
+
{
|
961
|
+
if (show_line_num)
|
962
|
+
g_string_append_printf (gs, "%d: ", line_no);
|
963
|
+
}
|
964
|
+
void
|
965
|
+
format_options_t::serialize_buffer_of_text (hb_buffer_t *buffer,
|
966
|
+
unsigned int line_no,
|
967
|
+
const char *text,
|
968
|
+
unsigned int text_len,
|
969
|
+
hb_font_t *font,
|
970
|
+
GString *gs)
|
971
|
+
{
|
972
|
+
if (show_text)
|
973
|
+
{
|
974
|
+
serialize_line_no (line_no, gs);
|
975
|
+
g_string_append_c (gs, '(');
|
976
|
+
g_string_append_len (gs, text, text_len);
|
977
|
+
g_string_append_c (gs, ')');
|
978
|
+
g_string_append_c (gs, '\n');
|
979
|
+
}
|
980
|
+
|
981
|
+
if (show_unicode)
|
982
|
+
{
|
983
|
+
serialize_line_no (line_no, gs);
|
984
|
+
serialize_unicode (buffer, gs);
|
985
|
+
g_string_append_c (gs, '\n');
|
986
|
+
}
|
987
|
+
}
|
988
|
+
void
|
989
|
+
format_options_t::serialize_message (unsigned int line_no,
|
990
|
+
const char *type,
|
991
|
+
const char *msg,
|
992
|
+
GString *gs)
|
993
|
+
{
|
994
|
+
serialize_line_no (line_no, gs);
|
995
|
+
g_string_append_printf (gs, "%s: %s", type, msg);
|
996
|
+
g_string_append_c (gs, '\n');
|
997
|
+
}
|
998
|
+
void
|
999
|
+
format_options_t::serialize_buffer_of_glyphs (hb_buffer_t *buffer,
|
1000
|
+
unsigned int line_no,
|
1001
|
+
const char *text,
|
1002
|
+
unsigned int text_len,
|
1003
|
+
hb_font_t *font,
|
1004
|
+
hb_buffer_serialize_format_t output_format,
|
1005
|
+
hb_buffer_serialize_flags_t format_flags,
|
1006
|
+
GString *gs)
|
1007
|
+
{
|
1008
|
+
serialize_line_no (line_no, gs);
|
1009
|
+
serialize_glyphs (buffer, font, output_format, format_flags, gs);
|
1010
|
+
g_string_append_c (gs, '\n');
|
1011
|
+
}
|
1012
|
+
|
1013
|
+
void
|
1014
|
+
subset_options_t::add_options (option_parser_t *parser)
|
1015
|
+
{
|
1016
|
+
GOptionEntry entries[] =
|
1017
|
+
{
|
1018
|
+
{"no-hinting", 0, 0, G_OPTION_ARG_NONE, &this->drop_hints, "Whether to drop hints", nullptr},
|
1019
|
+
{nullptr}
|
1020
|
+
};
|
1021
|
+
parser->add_group (entries,
|
1022
|
+
"subset",
|
1023
|
+
"Subset options:",
|
1024
|
+
"Options subsetting",
|
1025
|
+
this);
|
1026
|
+
}
|