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,1364 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright © 2007,2008,2009,2010 Red Hat, Inc.
|
3
|
+
* Copyright © 2010,2012,2013 Google, Inc.
|
4
|
+
*
|
5
|
+
* This is part of HarfBuzz, a text shaping library.
|
6
|
+
*
|
7
|
+
* Permission is hereby granted, without written agreement and without
|
8
|
+
* license or royalty fees, to use, copy, modify, and distribute this
|
9
|
+
* software and its documentation for any purpose, provided that the
|
10
|
+
* above copyright notice and the following two paragraphs appear in
|
11
|
+
* all copies of this software.
|
12
|
+
*
|
13
|
+
* IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR
|
14
|
+
* DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
|
15
|
+
* ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN
|
16
|
+
* IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
|
17
|
+
* DAMAGE.
|
18
|
+
*
|
19
|
+
* THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING,
|
20
|
+
* BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
|
21
|
+
* FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS
|
22
|
+
* ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO
|
23
|
+
* PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
|
24
|
+
*
|
25
|
+
* Red Hat Author(s): Behdad Esfahbod
|
26
|
+
* Google Author(s): Behdad Esfahbod
|
27
|
+
*/
|
28
|
+
|
29
|
+
#ifndef HB_OT_LAYOUT_GSUB_TABLE_HH
|
30
|
+
#define HB_OT_LAYOUT_GSUB_TABLE_HH
|
31
|
+
|
32
|
+
#include "hb-ot-layout-gsubgpos-private.hh"
|
33
|
+
|
34
|
+
|
35
|
+
namespace OT {
|
36
|
+
|
37
|
+
|
38
|
+
struct SingleSubstFormat1
|
39
|
+
{
|
40
|
+
inline void closure (hb_closure_context_t *c) const
|
41
|
+
{
|
42
|
+
TRACE_CLOSURE (this);
|
43
|
+
Coverage::Iter iter;
|
44
|
+
for (iter.init (this+coverage); iter.more (); iter.next ())
|
45
|
+
{
|
46
|
+
/* TODO Switch to range-based API to work around malicious fonts.
|
47
|
+
* https://github.com/harfbuzz/harfbuzz/issues/363 */
|
48
|
+
hb_codepoint_t glyph_id = iter.get_glyph ();
|
49
|
+
if (c->glyphs->has (glyph_id))
|
50
|
+
c->glyphs->add ((glyph_id + deltaGlyphID) & 0xFFFFu);
|
51
|
+
}
|
52
|
+
}
|
53
|
+
|
54
|
+
inline void collect_glyphs (hb_collect_glyphs_context_t *c) const
|
55
|
+
{
|
56
|
+
TRACE_COLLECT_GLYPHS (this);
|
57
|
+
if (unlikely (!(this+coverage).add_coverage (c->input))) return;
|
58
|
+
Coverage::Iter iter;
|
59
|
+
for (iter.init (this+coverage); iter.more (); iter.next ())
|
60
|
+
{
|
61
|
+
/* TODO Switch to range-based API to work around malicious fonts.
|
62
|
+
* https://github.com/harfbuzz/harfbuzz/issues/363 */
|
63
|
+
hb_codepoint_t glyph_id = iter.get_glyph ();
|
64
|
+
c->output->add ((glyph_id + deltaGlyphID) & 0xFFFFu);
|
65
|
+
}
|
66
|
+
}
|
67
|
+
|
68
|
+
inline const Coverage &get_coverage (void) const
|
69
|
+
{
|
70
|
+
return this+coverage;
|
71
|
+
}
|
72
|
+
|
73
|
+
inline bool would_apply (hb_would_apply_context_t *c) const
|
74
|
+
{
|
75
|
+
TRACE_WOULD_APPLY (this);
|
76
|
+
return_trace (c->len == 1 && (this+coverage).get_coverage (c->glyphs[0]) != NOT_COVERED);
|
77
|
+
}
|
78
|
+
|
79
|
+
inline bool apply (hb_ot_apply_context_t *c) const
|
80
|
+
{
|
81
|
+
TRACE_APPLY (this);
|
82
|
+
hb_codepoint_t glyph_id = c->buffer->cur().codepoint;
|
83
|
+
unsigned int index = (this+coverage).get_coverage (glyph_id);
|
84
|
+
if (likely (index == NOT_COVERED)) return_trace (false);
|
85
|
+
|
86
|
+
/* According to the Adobe Annotated OpenType Suite, result is always
|
87
|
+
* limited to 16bit. */
|
88
|
+
glyph_id = (glyph_id + deltaGlyphID) & 0xFFFFu;
|
89
|
+
c->replace_glyph (glyph_id);
|
90
|
+
|
91
|
+
return_trace (true);
|
92
|
+
}
|
93
|
+
|
94
|
+
inline bool serialize (hb_serialize_context_t *c,
|
95
|
+
Supplier<GlyphID> &glyphs,
|
96
|
+
unsigned int num_glyphs,
|
97
|
+
int delta)
|
98
|
+
{
|
99
|
+
TRACE_SERIALIZE (this);
|
100
|
+
if (unlikely (!c->extend_min (*this))) return_trace (false);
|
101
|
+
if (unlikely (!coverage.serialize (c, this).serialize (c, glyphs, num_glyphs))) return_trace (false);
|
102
|
+
deltaGlyphID.set (delta); /* TODO(serilaize) overflow? */
|
103
|
+
return_trace (true);
|
104
|
+
}
|
105
|
+
|
106
|
+
inline bool sanitize (hb_sanitize_context_t *c) const
|
107
|
+
{
|
108
|
+
TRACE_SANITIZE (this);
|
109
|
+
return_trace (coverage.sanitize (c, this) && deltaGlyphID.sanitize (c));
|
110
|
+
}
|
111
|
+
|
112
|
+
protected:
|
113
|
+
HBUINT16 format; /* Format identifier--format = 1 */
|
114
|
+
OffsetTo<Coverage>
|
115
|
+
coverage; /* Offset to Coverage table--from
|
116
|
+
* beginning of Substitution table */
|
117
|
+
HBINT16 deltaGlyphID; /* Add to original GlyphID to get
|
118
|
+
* substitute GlyphID */
|
119
|
+
public:
|
120
|
+
DEFINE_SIZE_STATIC (6);
|
121
|
+
};
|
122
|
+
|
123
|
+
struct SingleSubstFormat2
|
124
|
+
{
|
125
|
+
inline void closure (hb_closure_context_t *c) const
|
126
|
+
{
|
127
|
+
TRACE_CLOSURE (this);
|
128
|
+
Coverage::Iter iter;
|
129
|
+
unsigned int count = substitute.len;
|
130
|
+
for (iter.init (this+coverage); iter.more (); iter.next ())
|
131
|
+
{
|
132
|
+
if (unlikely (iter.get_coverage () >= count))
|
133
|
+
break; /* Work around malicious fonts. https://github.com/harfbuzz/harfbuzz/issues/363 */
|
134
|
+
if (c->glyphs->has (iter.get_glyph ()))
|
135
|
+
c->glyphs->add (substitute[iter.get_coverage ()]);
|
136
|
+
}
|
137
|
+
}
|
138
|
+
|
139
|
+
inline void collect_glyphs (hb_collect_glyphs_context_t *c) const
|
140
|
+
{
|
141
|
+
TRACE_COLLECT_GLYPHS (this);
|
142
|
+
if (unlikely (!(this+coverage).add_coverage (c->input))) return;
|
143
|
+
Coverage::Iter iter;
|
144
|
+
unsigned int count = substitute.len;
|
145
|
+
for (iter.init (this+coverage); iter.more (); iter.next ())
|
146
|
+
{
|
147
|
+
if (unlikely (iter.get_coverage () >= count))
|
148
|
+
break; /* Work around malicious fonts. https://github.com/harfbuzz/harfbuzz/issues/363 */
|
149
|
+
c->output->add (substitute[iter.get_coverage ()]);
|
150
|
+
}
|
151
|
+
}
|
152
|
+
|
153
|
+
inline const Coverage &get_coverage (void) const
|
154
|
+
{
|
155
|
+
return this+coverage;
|
156
|
+
}
|
157
|
+
|
158
|
+
inline bool would_apply (hb_would_apply_context_t *c) const
|
159
|
+
{
|
160
|
+
TRACE_WOULD_APPLY (this);
|
161
|
+
return_trace (c->len == 1 && (this+coverage).get_coverage (c->glyphs[0]) != NOT_COVERED);
|
162
|
+
}
|
163
|
+
|
164
|
+
inline bool apply (hb_ot_apply_context_t *c) const
|
165
|
+
{
|
166
|
+
TRACE_APPLY (this);
|
167
|
+
hb_codepoint_t glyph_id = c->buffer->cur().codepoint;
|
168
|
+
unsigned int index = (this+coverage).get_coverage (glyph_id);
|
169
|
+
if (likely (index == NOT_COVERED)) return_trace (false);
|
170
|
+
|
171
|
+
if (unlikely (index >= substitute.len)) return_trace (false);
|
172
|
+
|
173
|
+
glyph_id = substitute[index];
|
174
|
+
c->replace_glyph (glyph_id);
|
175
|
+
|
176
|
+
return_trace (true);
|
177
|
+
}
|
178
|
+
|
179
|
+
inline bool serialize (hb_serialize_context_t *c,
|
180
|
+
Supplier<GlyphID> &glyphs,
|
181
|
+
Supplier<GlyphID> &substitutes,
|
182
|
+
unsigned int num_glyphs)
|
183
|
+
{
|
184
|
+
TRACE_SERIALIZE (this);
|
185
|
+
if (unlikely (!c->extend_min (*this))) return_trace (false);
|
186
|
+
if (unlikely (!substitute.serialize (c, substitutes, num_glyphs))) return_trace (false);
|
187
|
+
if (unlikely (!coverage.serialize (c, this).serialize (c, glyphs, num_glyphs))) return_trace (false);
|
188
|
+
return_trace (true);
|
189
|
+
}
|
190
|
+
|
191
|
+
inline bool sanitize (hb_sanitize_context_t *c) const
|
192
|
+
{
|
193
|
+
TRACE_SANITIZE (this);
|
194
|
+
return_trace (coverage.sanitize (c, this) && substitute.sanitize (c));
|
195
|
+
}
|
196
|
+
|
197
|
+
protected:
|
198
|
+
HBUINT16 format; /* Format identifier--format = 2 */
|
199
|
+
OffsetTo<Coverage>
|
200
|
+
coverage; /* Offset to Coverage table--from
|
201
|
+
* beginning of Substitution table */
|
202
|
+
ArrayOf<GlyphID>
|
203
|
+
substitute; /* Array of substitute
|
204
|
+
* GlyphIDs--ordered by Coverage Index */
|
205
|
+
public:
|
206
|
+
DEFINE_SIZE_ARRAY (6, substitute);
|
207
|
+
};
|
208
|
+
|
209
|
+
struct SingleSubst
|
210
|
+
{
|
211
|
+
inline bool serialize (hb_serialize_context_t *c,
|
212
|
+
Supplier<GlyphID> &glyphs,
|
213
|
+
Supplier<GlyphID> &substitutes,
|
214
|
+
unsigned int num_glyphs)
|
215
|
+
{
|
216
|
+
TRACE_SERIALIZE (this);
|
217
|
+
if (unlikely (!c->extend_min (u.format))) return_trace (false);
|
218
|
+
unsigned int format = 2;
|
219
|
+
int delta = 0;
|
220
|
+
if (num_glyphs) {
|
221
|
+
format = 1;
|
222
|
+
/* TODO(serialize) check for wrap-around */
|
223
|
+
delta = substitutes[0] - glyphs[0];
|
224
|
+
for (unsigned int i = 1; i < num_glyphs; i++)
|
225
|
+
if (delta != substitutes[i] - glyphs[i]) {
|
226
|
+
format = 2;
|
227
|
+
break;
|
228
|
+
}
|
229
|
+
}
|
230
|
+
u.format.set (format);
|
231
|
+
switch (u.format) {
|
232
|
+
case 1: return_trace (u.format1.serialize (c, glyphs, num_glyphs, delta));
|
233
|
+
case 2: return_trace (u.format2.serialize (c, glyphs, substitutes, num_glyphs));
|
234
|
+
default:return_trace (false);
|
235
|
+
}
|
236
|
+
}
|
237
|
+
|
238
|
+
template <typename context_t>
|
239
|
+
inline typename context_t::return_t dispatch (context_t *c) const
|
240
|
+
{
|
241
|
+
TRACE_DISPATCH (this, u.format);
|
242
|
+
if (unlikely (!c->may_dispatch (this, &u.format))) return_trace (c->no_dispatch_return_value ());
|
243
|
+
switch (u.format) {
|
244
|
+
case 1: return_trace (c->dispatch (u.format1));
|
245
|
+
case 2: return_trace (c->dispatch (u.format2));
|
246
|
+
default:return_trace (c->default_return_value ());
|
247
|
+
}
|
248
|
+
}
|
249
|
+
|
250
|
+
protected:
|
251
|
+
union {
|
252
|
+
HBUINT16 format; /* Format identifier */
|
253
|
+
SingleSubstFormat1 format1;
|
254
|
+
SingleSubstFormat2 format2;
|
255
|
+
} u;
|
256
|
+
};
|
257
|
+
|
258
|
+
|
259
|
+
struct Sequence
|
260
|
+
{
|
261
|
+
inline void closure (hb_closure_context_t *c) const
|
262
|
+
{
|
263
|
+
TRACE_CLOSURE (this);
|
264
|
+
unsigned int count = substitute.len;
|
265
|
+
for (unsigned int i = 0; i < count; i++)
|
266
|
+
c->glyphs->add (substitute[i]);
|
267
|
+
}
|
268
|
+
|
269
|
+
inline void collect_glyphs (hb_collect_glyphs_context_t *c) const
|
270
|
+
{
|
271
|
+
TRACE_COLLECT_GLYPHS (this);
|
272
|
+
c->output->add_array (substitute.array, substitute.len);
|
273
|
+
}
|
274
|
+
|
275
|
+
inline bool apply (hb_ot_apply_context_t *c) const
|
276
|
+
{
|
277
|
+
TRACE_APPLY (this);
|
278
|
+
unsigned int count = substitute.len;
|
279
|
+
|
280
|
+
/* Special-case to make it in-place and not consider this
|
281
|
+
* as a "multiplied" substitution. */
|
282
|
+
if (unlikely (count == 1))
|
283
|
+
{
|
284
|
+
c->replace_glyph (substitute.array[0]);
|
285
|
+
return_trace (true);
|
286
|
+
}
|
287
|
+
/* Spec disallows this, but Uniscribe allows it.
|
288
|
+
* https://github.com/harfbuzz/harfbuzz/issues/253 */
|
289
|
+
else if (unlikely (count == 0))
|
290
|
+
{
|
291
|
+
c->buffer->delete_glyph ();
|
292
|
+
return_trace (true);
|
293
|
+
}
|
294
|
+
|
295
|
+
unsigned int klass = _hb_glyph_info_is_ligature (&c->buffer->cur()) ?
|
296
|
+
HB_OT_LAYOUT_GLYPH_PROPS_BASE_GLYPH : 0;
|
297
|
+
|
298
|
+
for (unsigned int i = 0; i < count; i++) {
|
299
|
+
_hb_glyph_info_set_lig_props_for_component (&c->buffer->cur(), i);
|
300
|
+
c->output_glyph_for_component (substitute.array[i], klass);
|
301
|
+
}
|
302
|
+
c->buffer->skip_glyph ();
|
303
|
+
|
304
|
+
return_trace (true);
|
305
|
+
}
|
306
|
+
|
307
|
+
inline bool serialize (hb_serialize_context_t *c,
|
308
|
+
Supplier<GlyphID> &glyphs,
|
309
|
+
unsigned int num_glyphs)
|
310
|
+
{
|
311
|
+
TRACE_SERIALIZE (this);
|
312
|
+
if (unlikely (!c->extend_min (*this))) return_trace (false);
|
313
|
+
if (unlikely (!substitute.serialize (c, glyphs, num_glyphs))) return_trace (false);
|
314
|
+
return_trace (true);
|
315
|
+
}
|
316
|
+
|
317
|
+
inline bool sanitize (hb_sanitize_context_t *c) const
|
318
|
+
{
|
319
|
+
TRACE_SANITIZE (this);
|
320
|
+
return_trace (substitute.sanitize (c));
|
321
|
+
}
|
322
|
+
|
323
|
+
protected:
|
324
|
+
ArrayOf<GlyphID>
|
325
|
+
substitute; /* String of GlyphIDs to substitute */
|
326
|
+
public:
|
327
|
+
DEFINE_SIZE_ARRAY (2, substitute);
|
328
|
+
};
|
329
|
+
|
330
|
+
struct MultipleSubstFormat1
|
331
|
+
{
|
332
|
+
inline void closure (hb_closure_context_t *c) const
|
333
|
+
{
|
334
|
+
TRACE_CLOSURE (this);
|
335
|
+
Coverage::Iter iter;
|
336
|
+
unsigned int count = sequence.len;
|
337
|
+
for (iter.init (this+coverage); iter.more (); iter.next ())
|
338
|
+
{
|
339
|
+
if (unlikely (iter.get_coverage () >= count))
|
340
|
+
break; /* Work around malicious fonts. https://github.com/harfbuzz/harfbuzz/issues/363 */
|
341
|
+
if (c->glyphs->has (iter.get_glyph ()))
|
342
|
+
(this+sequence[iter.get_coverage ()]).closure (c);
|
343
|
+
}
|
344
|
+
}
|
345
|
+
|
346
|
+
inline void collect_glyphs (hb_collect_glyphs_context_t *c) const
|
347
|
+
{
|
348
|
+
TRACE_COLLECT_GLYPHS (this);
|
349
|
+
if (unlikely (!(this+coverage).add_coverage (c->input))) return;
|
350
|
+
unsigned int count = sequence.len;
|
351
|
+
for (unsigned int i = 0; i < count; i++)
|
352
|
+
(this+sequence[i]).collect_glyphs (c);
|
353
|
+
}
|
354
|
+
|
355
|
+
inline const Coverage &get_coverage (void) const
|
356
|
+
{
|
357
|
+
return this+coverage;
|
358
|
+
}
|
359
|
+
|
360
|
+
inline bool would_apply (hb_would_apply_context_t *c) const
|
361
|
+
{
|
362
|
+
TRACE_WOULD_APPLY (this);
|
363
|
+
return_trace (c->len == 1 && (this+coverage).get_coverage (c->glyphs[0]) != NOT_COVERED);
|
364
|
+
}
|
365
|
+
|
366
|
+
inline bool apply (hb_ot_apply_context_t *c) const
|
367
|
+
{
|
368
|
+
TRACE_APPLY (this);
|
369
|
+
|
370
|
+
unsigned int index = (this+coverage).get_coverage (c->buffer->cur().codepoint);
|
371
|
+
if (likely (index == NOT_COVERED)) return_trace (false);
|
372
|
+
|
373
|
+
return_trace ((this+sequence[index]).apply (c));
|
374
|
+
}
|
375
|
+
|
376
|
+
inline bool serialize (hb_serialize_context_t *c,
|
377
|
+
Supplier<GlyphID> &glyphs,
|
378
|
+
Supplier<unsigned int> &substitute_len_list,
|
379
|
+
unsigned int num_glyphs,
|
380
|
+
Supplier<GlyphID> &substitute_glyphs_list)
|
381
|
+
{
|
382
|
+
TRACE_SERIALIZE (this);
|
383
|
+
if (unlikely (!c->extend_min (*this))) return_trace (false);
|
384
|
+
if (unlikely (!sequence.serialize (c, num_glyphs))) return_trace (false);
|
385
|
+
for (unsigned int i = 0; i < num_glyphs; i++)
|
386
|
+
if (unlikely (!sequence[i].serialize (c, this).serialize (c,
|
387
|
+
substitute_glyphs_list,
|
388
|
+
substitute_len_list[i]))) return_trace (false);
|
389
|
+
substitute_len_list += num_glyphs;
|
390
|
+
if (unlikely (!coverage.serialize (c, this).serialize (c, glyphs, num_glyphs))) return_trace (false);
|
391
|
+
return_trace (true);
|
392
|
+
}
|
393
|
+
|
394
|
+
inline bool sanitize (hb_sanitize_context_t *c) const
|
395
|
+
{
|
396
|
+
TRACE_SANITIZE (this);
|
397
|
+
return_trace (coverage.sanitize (c, this) && sequence.sanitize (c, this));
|
398
|
+
}
|
399
|
+
|
400
|
+
protected:
|
401
|
+
HBUINT16 format; /* Format identifier--format = 1 */
|
402
|
+
OffsetTo<Coverage>
|
403
|
+
coverage; /* Offset to Coverage table--from
|
404
|
+
* beginning of Substitution table */
|
405
|
+
OffsetArrayOf<Sequence>
|
406
|
+
sequence; /* Array of Sequence tables
|
407
|
+
* ordered by Coverage Index */
|
408
|
+
public:
|
409
|
+
DEFINE_SIZE_ARRAY (6, sequence);
|
410
|
+
};
|
411
|
+
|
412
|
+
struct MultipleSubst
|
413
|
+
{
|
414
|
+
inline bool serialize (hb_serialize_context_t *c,
|
415
|
+
Supplier<GlyphID> &glyphs,
|
416
|
+
Supplier<unsigned int> &substitute_len_list,
|
417
|
+
unsigned int num_glyphs,
|
418
|
+
Supplier<GlyphID> &substitute_glyphs_list)
|
419
|
+
{
|
420
|
+
TRACE_SERIALIZE (this);
|
421
|
+
if (unlikely (!c->extend_min (u.format))) return_trace (false);
|
422
|
+
unsigned int format = 1;
|
423
|
+
u.format.set (format);
|
424
|
+
switch (u.format) {
|
425
|
+
case 1: return_trace (u.format1.serialize (c, glyphs, substitute_len_list, num_glyphs, substitute_glyphs_list));
|
426
|
+
default:return_trace (false);
|
427
|
+
}
|
428
|
+
}
|
429
|
+
|
430
|
+
template <typename context_t>
|
431
|
+
inline typename context_t::return_t dispatch (context_t *c) const
|
432
|
+
{
|
433
|
+
TRACE_DISPATCH (this, u.format);
|
434
|
+
if (unlikely (!c->may_dispatch (this, &u.format))) return_trace (c->no_dispatch_return_value ());
|
435
|
+
switch (u.format) {
|
436
|
+
case 1: return_trace (c->dispatch (u.format1));
|
437
|
+
default:return_trace (c->default_return_value ());
|
438
|
+
}
|
439
|
+
}
|
440
|
+
|
441
|
+
protected:
|
442
|
+
union {
|
443
|
+
HBUINT16 format; /* Format identifier */
|
444
|
+
MultipleSubstFormat1 format1;
|
445
|
+
} u;
|
446
|
+
};
|
447
|
+
|
448
|
+
|
449
|
+
typedef ArrayOf<GlyphID> AlternateSet; /* Array of alternate GlyphIDs--in
|
450
|
+
* arbitrary order */
|
451
|
+
|
452
|
+
struct AlternateSubstFormat1
|
453
|
+
{
|
454
|
+
inline void closure (hb_closure_context_t *c) const
|
455
|
+
{
|
456
|
+
TRACE_CLOSURE (this);
|
457
|
+
Coverage::Iter iter;
|
458
|
+
unsigned int count = alternateSet.len;
|
459
|
+
for (iter.init (this+coverage); iter.more (); iter.next ())
|
460
|
+
{
|
461
|
+
if (unlikely (iter.get_coverage () >= count))
|
462
|
+
break; /* Work around malicious fonts. https://github.com/harfbuzz/harfbuzz/issues/363 */
|
463
|
+
if (c->glyphs->has (iter.get_glyph ())) {
|
464
|
+
const AlternateSet &alt_set = this+alternateSet[iter.get_coverage ()];
|
465
|
+
unsigned int count = alt_set.len;
|
466
|
+
for (unsigned int i = 0; i < count; i++)
|
467
|
+
c->glyphs->add (alt_set[i]);
|
468
|
+
}
|
469
|
+
}
|
470
|
+
}
|
471
|
+
|
472
|
+
inline void collect_glyphs (hb_collect_glyphs_context_t *c) const
|
473
|
+
{
|
474
|
+
TRACE_COLLECT_GLYPHS (this);
|
475
|
+
if (unlikely (!(this+coverage).add_coverage (c->input))) return;
|
476
|
+
Coverage::Iter iter;
|
477
|
+
unsigned int count = alternateSet.len;
|
478
|
+
for (iter.init (this+coverage); iter.more (); iter.next ())
|
479
|
+
{
|
480
|
+
if (unlikely (iter.get_coverage () >= count))
|
481
|
+
break; /* Work around malicious fonts. https://github.com/harfbuzz/harfbuzz/issues/363 */
|
482
|
+
const AlternateSet &alt_set = this+alternateSet[iter.get_coverage ()];
|
483
|
+
c->output->add_array (alt_set.array, alt_set.len);
|
484
|
+
}
|
485
|
+
}
|
486
|
+
|
487
|
+
inline const Coverage &get_coverage (void) const
|
488
|
+
{
|
489
|
+
return this+coverage;
|
490
|
+
}
|
491
|
+
|
492
|
+
inline bool would_apply (hb_would_apply_context_t *c) const
|
493
|
+
{
|
494
|
+
TRACE_WOULD_APPLY (this);
|
495
|
+
return_trace (c->len == 1 && (this+coverage).get_coverage (c->glyphs[0]) != NOT_COVERED);
|
496
|
+
}
|
497
|
+
|
498
|
+
inline bool apply (hb_ot_apply_context_t *c) const
|
499
|
+
{
|
500
|
+
TRACE_APPLY (this);
|
501
|
+
hb_codepoint_t glyph_id = c->buffer->cur().codepoint;
|
502
|
+
|
503
|
+
unsigned int index = (this+coverage).get_coverage (glyph_id);
|
504
|
+
if (likely (index == NOT_COVERED)) return_trace (false);
|
505
|
+
|
506
|
+
const AlternateSet &alt_set = this+alternateSet[index];
|
507
|
+
|
508
|
+
if (unlikely (!alt_set.len)) return_trace (false);
|
509
|
+
|
510
|
+
hb_mask_t glyph_mask = c->buffer->cur().mask;
|
511
|
+
hb_mask_t lookup_mask = c->lookup_mask;
|
512
|
+
|
513
|
+
/* Note: This breaks badly if two features enabled this lookup together. */
|
514
|
+
unsigned int shift = _hb_ctz (lookup_mask);
|
515
|
+
unsigned int alt_index = ((lookup_mask & glyph_mask) >> shift);
|
516
|
+
|
517
|
+
if (unlikely (alt_index > alt_set.len || alt_index == 0)) return_trace (false);
|
518
|
+
|
519
|
+
glyph_id = alt_set[alt_index - 1];
|
520
|
+
|
521
|
+
c->replace_glyph (glyph_id);
|
522
|
+
|
523
|
+
return_trace (true);
|
524
|
+
}
|
525
|
+
|
526
|
+
inline bool serialize (hb_serialize_context_t *c,
|
527
|
+
Supplier<GlyphID> &glyphs,
|
528
|
+
Supplier<unsigned int> &alternate_len_list,
|
529
|
+
unsigned int num_glyphs,
|
530
|
+
Supplier<GlyphID> &alternate_glyphs_list)
|
531
|
+
{
|
532
|
+
TRACE_SERIALIZE (this);
|
533
|
+
if (unlikely (!c->extend_min (*this))) return_trace (false);
|
534
|
+
if (unlikely (!alternateSet.serialize (c, num_glyphs))) return_trace (false);
|
535
|
+
for (unsigned int i = 0; i < num_glyphs; i++)
|
536
|
+
if (unlikely (!alternateSet[i].serialize (c, this).serialize (c,
|
537
|
+
alternate_glyphs_list,
|
538
|
+
alternate_len_list[i]))) return_trace (false);
|
539
|
+
alternate_len_list += num_glyphs;
|
540
|
+
if (unlikely (!coverage.serialize (c, this).serialize (c, glyphs, num_glyphs))) return_trace (false);
|
541
|
+
return_trace (true);
|
542
|
+
}
|
543
|
+
|
544
|
+
inline bool sanitize (hb_sanitize_context_t *c) const
|
545
|
+
{
|
546
|
+
TRACE_SANITIZE (this);
|
547
|
+
return_trace (coverage.sanitize (c, this) && alternateSet.sanitize (c, this));
|
548
|
+
}
|
549
|
+
|
550
|
+
protected:
|
551
|
+
HBUINT16 format; /* Format identifier--format = 1 */
|
552
|
+
OffsetTo<Coverage>
|
553
|
+
coverage; /* Offset to Coverage table--from
|
554
|
+
* beginning of Substitution table */
|
555
|
+
OffsetArrayOf<AlternateSet>
|
556
|
+
alternateSet; /* Array of AlternateSet tables
|
557
|
+
* ordered by Coverage Index */
|
558
|
+
public:
|
559
|
+
DEFINE_SIZE_ARRAY (6, alternateSet);
|
560
|
+
};
|
561
|
+
|
562
|
+
struct AlternateSubst
|
563
|
+
{
|
564
|
+
inline bool serialize (hb_serialize_context_t *c,
|
565
|
+
Supplier<GlyphID> &glyphs,
|
566
|
+
Supplier<unsigned int> &alternate_len_list,
|
567
|
+
unsigned int num_glyphs,
|
568
|
+
Supplier<GlyphID> &alternate_glyphs_list)
|
569
|
+
{
|
570
|
+
TRACE_SERIALIZE (this);
|
571
|
+
if (unlikely (!c->extend_min (u.format))) return_trace (false);
|
572
|
+
unsigned int format = 1;
|
573
|
+
u.format.set (format);
|
574
|
+
switch (u.format) {
|
575
|
+
case 1: return_trace (u.format1.serialize (c, glyphs, alternate_len_list, num_glyphs, alternate_glyphs_list));
|
576
|
+
default:return_trace (false);
|
577
|
+
}
|
578
|
+
}
|
579
|
+
|
580
|
+
template <typename context_t>
|
581
|
+
inline typename context_t::return_t dispatch (context_t *c) const
|
582
|
+
{
|
583
|
+
TRACE_DISPATCH (this, u.format);
|
584
|
+
if (unlikely (!c->may_dispatch (this, &u.format))) return_trace (c->no_dispatch_return_value ());
|
585
|
+
switch (u.format) {
|
586
|
+
case 1: return_trace (c->dispatch (u.format1));
|
587
|
+
default:return_trace (c->default_return_value ());
|
588
|
+
}
|
589
|
+
}
|
590
|
+
|
591
|
+
protected:
|
592
|
+
union {
|
593
|
+
HBUINT16 format; /* Format identifier */
|
594
|
+
AlternateSubstFormat1 format1;
|
595
|
+
} u;
|
596
|
+
};
|
597
|
+
|
598
|
+
|
599
|
+
struct Ligature
|
600
|
+
{
|
601
|
+
inline void closure (hb_closure_context_t *c) const
|
602
|
+
{
|
603
|
+
TRACE_CLOSURE (this);
|
604
|
+
unsigned int count = component.len;
|
605
|
+
for (unsigned int i = 1; i < count; i++)
|
606
|
+
if (!c->glyphs->has (component[i]))
|
607
|
+
return;
|
608
|
+
c->glyphs->add (ligGlyph);
|
609
|
+
}
|
610
|
+
|
611
|
+
inline void collect_glyphs (hb_collect_glyphs_context_t *c) const
|
612
|
+
{
|
613
|
+
TRACE_COLLECT_GLYPHS (this);
|
614
|
+
c->input->add_array (component.array, component.len ? component.len - 1 : 0);
|
615
|
+
c->output->add (ligGlyph);
|
616
|
+
}
|
617
|
+
|
618
|
+
inline bool would_apply (hb_would_apply_context_t *c) const
|
619
|
+
{
|
620
|
+
TRACE_WOULD_APPLY (this);
|
621
|
+
if (c->len != component.len)
|
622
|
+
return_trace (false);
|
623
|
+
|
624
|
+
for (unsigned int i = 1; i < c->len; i++)
|
625
|
+
if (likely (c->glyphs[i] != component[i]))
|
626
|
+
return_trace (false);
|
627
|
+
|
628
|
+
return_trace (true);
|
629
|
+
}
|
630
|
+
|
631
|
+
inline bool apply (hb_ot_apply_context_t *c) const
|
632
|
+
{
|
633
|
+
TRACE_APPLY (this);
|
634
|
+
unsigned int count = component.len;
|
635
|
+
|
636
|
+
if (unlikely (!count)) return_trace (false);
|
637
|
+
|
638
|
+
/* Special-case to make it in-place and not consider this
|
639
|
+
* as a "ligated" substitution. */
|
640
|
+
if (unlikely (count == 1))
|
641
|
+
{
|
642
|
+
c->replace_glyph (ligGlyph);
|
643
|
+
return_trace (true);
|
644
|
+
}
|
645
|
+
|
646
|
+
bool is_mark_ligature = false;
|
647
|
+
unsigned int total_component_count = 0;
|
648
|
+
|
649
|
+
unsigned int match_length = 0;
|
650
|
+
unsigned int match_positions[HB_MAX_CONTEXT_LENGTH];
|
651
|
+
|
652
|
+
if (likely (!match_input (c, count,
|
653
|
+
&component[1],
|
654
|
+
match_glyph,
|
655
|
+
nullptr,
|
656
|
+
&match_length,
|
657
|
+
match_positions,
|
658
|
+
&is_mark_ligature,
|
659
|
+
&total_component_count)))
|
660
|
+
return_trace (false);
|
661
|
+
|
662
|
+
ligate_input (c,
|
663
|
+
count,
|
664
|
+
match_positions,
|
665
|
+
match_length,
|
666
|
+
ligGlyph,
|
667
|
+
is_mark_ligature,
|
668
|
+
total_component_count);
|
669
|
+
|
670
|
+
return_trace (true);
|
671
|
+
}
|
672
|
+
|
673
|
+
inline bool serialize (hb_serialize_context_t *c,
|
674
|
+
GlyphID ligature,
|
675
|
+
Supplier<GlyphID> &components, /* Starting from second */
|
676
|
+
unsigned int num_components /* Including first component */)
|
677
|
+
{
|
678
|
+
TRACE_SERIALIZE (this);
|
679
|
+
if (unlikely (!c->extend_min (*this))) return_trace (false);
|
680
|
+
ligGlyph = ligature;
|
681
|
+
if (unlikely (!component.serialize (c, components, num_components))) return_trace (false);
|
682
|
+
return_trace (true);
|
683
|
+
}
|
684
|
+
|
685
|
+
public:
|
686
|
+
inline bool sanitize (hb_sanitize_context_t *c) const
|
687
|
+
{
|
688
|
+
TRACE_SANITIZE (this);
|
689
|
+
return_trace (ligGlyph.sanitize (c) && component.sanitize (c));
|
690
|
+
}
|
691
|
+
|
692
|
+
protected:
|
693
|
+
GlyphID ligGlyph; /* GlyphID of ligature to substitute */
|
694
|
+
HeadlessArrayOf<GlyphID>
|
695
|
+
component; /* Array of component GlyphIDs--start
|
696
|
+
* with the second component--ordered
|
697
|
+
* in writing direction */
|
698
|
+
public:
|
699
|
+
DEFINE_SIZE_ARRAY (4, component);
|
700
|
+
};
|
701
|
+
|
702
|
+
struct LigatureSet
|
703
|
+
{
|
704
|
+
inline void closure (hb_closure_context_t *c) const
|
705
|
+
{
|
706
|
+
TRACE_CLOSURE (this);
|
707
|
+
unsigned int num_ligs = ligature.len;
|
708
|
+
for (unsigned int i = 0; i < num_ligs; i++)
|
709
|
+
(this+ligature[i]).closure (c);
|
710
|
+
}
|
711
|
+
|
712
|
+
inline void collect_glyphs (hb_collect_glyphs_context_t *c) const
|
713
|
+
{
|
714
|
+
TRACE_COLLECT_GLYPHS (this);
|
715
|
+
unsigned int num_ligs = ligature.len;
|
716
|
+
for (unsigned int i = 0; i < num_ligs; i++)
|
717
|
+
(this+ligature[i]).collect_glyphs (c);
|
718
|
+
}
|
719
|
+
|
720
|
+
inline bool would_apply (hb_would_apply_context_t *c) const
|
721
|
+
{
|
722
|
+
TRACE_WOULD_APPLY (this);
|
723
|
+
unsigned int num_ligs = ligature.len;
|
724
|
+
for (unsigned int i = 0; i < num_ligs; i++)
|
725
|
+
{
|
726
|
+
const Ligature &lig = this+ligature[i];
|
727
|
+
if (lig.would_apply (c))
|
728
|
+
return_trace (true);
|
729
|
+
}
|
730
|
+
return_trace (false);
|
731
|
+
}
|
732
|
+
|
733
|
+
inline bool apply (hb_ot_apply_context_t *c) const
|
734
|
+
{
|
735
|
+
TRACE_APPLY (this);
|
736
|
+
unsigned int num_ligs = ligature.len;
|
737
|
+
for (unsigned int i = 0; i < num_ligs; i++)
|
738
|
+
{
|
739
|
+
const Ligature &lig = this+ligature[i];
|
740
|
+
if (lig.apply (c)) return_trace (true);
|
741
|
+
}
|
742
|
+
|
743
|
+
return_trace (false);
|
744
|
+
}
|
745
|
+
|
746
|
+
inline bool serialize (hb_serialize_context_t *c,
|
747
|
+
Supplier<GlyphID> &ligatures,
|
748
|
+
Supplier<unsigned int> &component_count_list,
|
749
|
+
unsigned int num_ligatures,
|
750
|
+
Supplier<GlyphID> &component_list /* Starting from second for each ligature */)
|
751
|
+
{
|
752
|
+
TRACE_SERIALIZE (this);
|
753
|
+
if (unlikely (!c->extend_min (*this))) return_trace (false);
|
754
|
+
if (unlikely (!ligature.serialize (c, num_ligatures))) return_trace (false);
|
755
|
+
for (unsigned int i = 0; i < num_ligatures; i++)
|
756
|
+
if (unlikely (!ligature[i].serialize (c, this).serialize (c,
|
757
|
+
ligatures[i],
|
758
|
+
component_list,
|
759
|
+
component_count_list[i]))) return_trace (false);
|
760
|
+
ligatures += num_ligatures;
|
761
|
+
component_count_list += num_ligatures;
|
762
|
+
return_trace (true);
|
763
|
+
}
|
764
|
+
|
765
|
+
inline bool sanitize (hb_sanitize_context_t *c) const
|
766
|
+
{
|
767
|
+
TRACE_SANITIZE (this);
|
768
|
+
return_trace (ligature.sanitize (c, this));
|
769
|
+
}
|
770
|
+
|
771
|
+
protected:
|
772
|
+
OffsetArrayOf<Ligature>
|
773
|
+
ligature; /* Array LigatureSet tables
|
774
|
+
* ordered by preference */
|
775
|
+
public:
|
776
|
+
DEFINE_SIZE_ARRAY (2, ligature);
|
777
|
+
};
|
778
|
+
|
779
|
+
struct LigatureSubstFormat1
|
780
|
+
{
|
781
|
+
inline void closure (hb_closure_context_t *c) const
|
782
|
+
{
|
783
|
+
TRACE_CLOSURE (this);
|
784
|
+
Coverage::Iter iter;
|
785
|
+
unsigned int count = ligatureSet.len;
|
786
|
+
for (iter.init (this+coverage); iter.more (); iter.next ())
|
787
|
+
{
|
788
|
+
if (unlikely (iter.get_coverage () >= count))
|
789
|
+
break; /* Work around malicious fonts. https://github.com/harfbuzz/harfbuzz/issues/363 */
|
790
|
+
if (c->glyphs->has (iter.get_glyph ()))
|
791
|
+
(this+ligatureSet[iter.get_coverage ()]).closure (c);
|
792
|
+
}
|
793
|
+
}
|
794
|
+
|
795
|
+
inline void collect_glyphs (hb_collect_glyphs_context_t *c) const
|
796
|
+
{
|
797
|
+
TRACE_COLLECT_GLYPHS (this);
|
798
|
+
if (unlikely (!(this+coverage).add_coverage (c->input))) return;
|
799
|
+
Coverage::Iter iter;
|
800
|
+
unsigned int count = ligatureSet.len;
|
801
|
+
for (iter.init (this+coverage); iter.more (); iter.next ())
|
802
|
+
{
|
803
|
+
if (unlikely (iter.get_coverage () >= count))
|
804
|
+
break; /* Work around malicious fonts. https://github.com/harfbuzz/harfbuzz/issues/363 */
|
805
|
+
(this+ligatureSet[iter.get_coverage ()]).collect_glyphs (c);
|
806
|
+
}
|
807
|
+
}
|
808
|
+
|
809
|
+
inline const Coverage &get_coverage (void) const
|
810
|
+
{
|
811
|
+
return this+coverage;
|
812
|
+
}
|
813
|
+
|
814
|
+
inline bool would_apply (hb_would_apply_context_t *c) const
|
815
|
+
{
|
816
|
+
TRACE_WOULD_APPLY (this);
|
817
|
+
unsigned int index = (this+coverage).get_coverage (c->glyphs[0]);
|
818
|
+
if (likely (index == NOT_COVERED)) return_trace (false);
|
819
|
+
|
820
|
+
const LigatureSet &lig_set = this+ligatureSet[index];
|
821
|
+
return_trace (lig_set.would_apply (c));
|
822
|
+
}
|
823
|
+
|
824
|
+
inline bool apply (hb_ot_apply_context_t *c) const
|
825
|
+
{
|
826
|
+
TRACE_APPLY (this);
|
827
|
+
hb_codepoint_t glyph_id = c->buffer->cur().codepoint;
|
828
|
+
|
829
|
+
unsigned int index = (this+coverage).get_coverage (glyph_id);
|
830
|
+
if (likely (index == NOT_COVERED)) return_trace (false);
|
831
|
+
|
832
|
+
const LigatureSet &lig_set = this+ligatureSet[index];
|
833
|
+
return_trace (lig_set.apply (c));
|
834
|
+
}
|
835
|
+
|
836
|
+
inline bool serialize (hb_serialize_context_t *c,
|
837
|
+
Supplier<GlyphID> &first_glyphs,
|
838
|
+
Supplier<unsigned int> &ligature_per_first_glyph_count_list,
|
839
|
+
unsigned int num_first_glyphs,
|
840
|
+
Supplier<GlyphID> &ligatures_list,
|
841
|
+
Supplier<unsigned int> &component_count_list,
|
842
|
+
Supplier<GlyphID> &component_list /* Starting from second for each ligature */)
|
843
|
+
{
|
844
|
+
TRACE_SERIALIZE (this);
|
845
|
+
if (unlikely (!c->extend_min (*this))) return_trace (false);
|
846
|
+
if (unlikely (!ligatureSet.serialize (c, num_first_glyphs))) return_trace (false);
|
847
|
+
for (unsigned int i = 0; i < num_first_glyphs; i++)
|
848
|
+
if (unlikely (!ligatureSet[i].serialize (c, this).serialize (c,
|
849
|
+
ligatures_list,
|
850
|
+
component_count_list,
|
851
|
+
ligature_per_first_glyph_count_list[i],
|
852
|
+
component_list))) return_trace (false);
|
853
|
+
ligature_per_first_glyph_count_list += num_first_glyphs;
|
854
|
+
if (unlikely (!coverage.serialize (c, this).serialize (c, first_glyphs, num_first_glyphs))) return_trace (false);
|
855
|
+
return_trace (true);
|
856
|
+
}
|
857
|
+
|
858
|
+
inline bool sanitize (hb_sanitize_context_t *c) const
|
859
|
+
{
|
860
|
+
TRACE_SANITIZE (this);
|
861
|
+
return_trace (coverage.sanitize (c, this) && ligatureSet.sanitize (c, this));
|
862
|
+
}
|
863
|
+
|
864
|
+
protected:
|
865
|
+
HBUINT16 format; /* Format identifier--format = 1 */
|
866
|
+
OffsetTo<Coverage>
|
867
|
+
coverage; /* Offset to Coverage table--from
|
868
|
+
* beginning of Substitution table */
|
869
|
+
OffsetArrayOf<LigatureSet>
|
870
|
+
ligatureSet; /* Array LigatureSet tables
|
871
|
+
* ordered by Coverage Index */
|
872
|
+
public:
|
873
|
+
DEFINE_SIZE_ARRAY (6, ligatureSet);
|
874
|
+
};
|
875
|
+
|
876
|
+
struct LigatureSubst
|
877
|
+
{
|
878
|
+
inline bool serialize (hb_serialize_context_t *c,
|
879
|
+
Supplier<GlyphID> &first_glyphs,
|
880
|
+
Supplier<unsigned int> &ligature_per_first_glyph_count_list,
|
881
|
+
unsigned int num_first_glyphs,
|
882
|
+
Supplier<GlyphID> &ligatures_list,
|
883
|
+
Supplier<unsigned int> &component_count_list,
|
884
|
+
Supplier<GlyphID> &component_list /* Starting from second for each ligature */)
|
885
|
+
{
|
886
|
+
TRACE_SERIALIZE (this);
|
887
|
+
if (unlikely (!c->extend_min (u.format))) return_trace (false);
|
888
|
+
unsigned int format = 1;
|
889
|
+
u.format.set (format);
|
890
|
+
switch (u.format) {
|
891
|
+
case 1: return_trace (u.format1.serialize (c,
|
892
|
+
first_glyphs,
|
893
|
+
ligature_per_first_glyph_count_list,
|
894
|
+
num_first_glyphs,
|
895
|
+
ligatures_list,
|
896
|
+
component_count_list,
|
897
|
+
component_list));
|
898
|
+
default:return_trace (false);
|
899
|
+
}
|
900
|
+
}
|
901
|
+
|
902
|
+
template <typename context_t>
|
903
|
+
inline typename context_t::return_t dispatch (context_t *c) const
|
904
|
+
{
|
905
|
+
TRACE_DISPATCH (this, u.format);
|
906
|
+
if (unlikely (!c->may_dispatch (this, &u.format))) return_trace (c->no_dispatch_return_value ());
|
907
|
+
switch (u.format) {
|
908
|
+
case 1: return_trace (c->dispatch (u.format1));
|
909
|
+
default:return_trace (c->default_return_value ());
|
910
|
+
}
|
911
|
+
}
|
912
|
+
|
913
|
+
protected:
|
914
|
+
union {
|
915
|
+
HBUINT16 format; /* Format identifier */
|
916
|
+
LigatureSubstFormat1 format1;
|
917
|
+
} u;
|
918
|
+
};
|
919
|
+
|
920
|
+
|
921
|
+
struct ContextSubst : Context {};
|
922
|
+
|
923
|
+
struct ChainContextSubst : ChainContext {};
|
924
|
+
|
925
|
+
struct ExtensionSubst : Extension<ExtensionSubst>
|
926
|
+
{
|
927
|
+
typedef struct SubstLookupSubTable LookupSubTable;
|
928
|
+
|
929
|
+
inline bool is_reverse (void) const;
|
930
|
+
};
|
931
|
+
|
932
|
+
|
933
|
+
struct ReverseChainSingleSubstFormat1
|
934
|
+
{
|
935
|
+
inline void closure (hb_closure_context_t *c) const
|
936
|
+
{
|
937
|
+
TRACE_CLOSURE (this);
|
938
|
+
const OffsetArrayOf<Coverage> &lookahead = StructAfter<OffsetArrayOf<Coverage> > (backtrack);
|
939
|
+
|
940
|
+
unsigned int count;
|
941
|
+
|
942
|
+
count = backtrack.len;
|
943
|
+
for (unsigned int i = 0; i < count; i++)
|
944
|
+
if (!(this+backtrack[i]).intersects (c->glyphs))
|
945
|
+
return;
|
946
|
+
|
947
|
+
count = lookahead.len;
|
948
|
+
for (unsigned int i = 0; i < count; i++)
|
949
|
+
if (!(this+lookahead[i]).intersects (c->glyphs))
|
950
|
+
return;
|
951
|
+
|
952
|
+
const ArrayOf<GlyphID> &substitute = StructAfter<ArrayOf<GlyphID> > (lookahead);
|
953
|
+
Coverage::Iter iter;
|
954
|
+
count = substitute.len;
|
955
|
+
for (iter.init (this+coverage); iter.more (); iter.next ())
|
956
|
+
{
|
957
|
+
if (unlikely (iter.get_coverage () >= count))
|
958
|
+
break; /* Work around malicious fonts. https://github.com/harfbuzz/harfbuzz/issues/363 */
|
959
|
+
if (c->glyphs->has (iter.get_glyph ()))
|
960
|
+
c->glyphs->add (substitute[iter.get_coverage ()]);
|
961
|
+
}
|
962
|
+
}
|
963
|
+
|
964
|
+
inline void collect_glyphs (hb_collect_glyphs_context_t *c) const
|
965
|
+
{
|
966
|
+
TRACE_COLLECT_GLYPHS (this);
|
967
|
+
if (unlikely (!(this+coverage).add_coverage (c->input))) return;
|
968
|
+
|
969
|
+
unsigned int count;
|
970
|
+
|
971
|
+
count = backtrack.len;
|
972
|
+
for (unsigned int i = 0; i < count; i++)
|
973
|
+
if (unlikely (!(this+backtrack[i]).add_coverage (c->before))) return;
|
974
|
+
|
975
|
+
const OffsetArrayOf<Coverage> &lookahead = StructAfter<OffsetArrayOf<Coverage> > (backtrack);
|
976
|
+
count = lookahead.len;
|
977
|
+
for (unsigned int i = 0; i < count; i++)
|
978
|
+
if (unlikely (!(this+lookahead[i]).add_coverage (c->after))) return;
|
979
|
+
|
980
|
+
const ArrayOf<GlyphID> &substitute = StructAfter<ArrayOf<GlyphID> > (lookahead);
|
981
|
+
count = substitute.len;
|
982
|
+
c->output->add_array (substitute.array, substitute.len);
|
983
|
+
}
|
984
|
+
|
985
|
+
inline const Coverage &get_coverage (void) const
|
986
|
+
{
|
987
|
+
return this+coverage;
|
988
|
+
}
|
989
|
+
|
990
|
+
inline bool would_apply (hb_would_apply_context_t *c) const
|
991
|
+
{
|
992
|
+
TRACE_WOULD_APPLY (this);
|
993
|
+
return_trace (c->len == 1 && (this+coverage).get_coverage (c->glyphs[0]) != NOT_COVERED);
|
994
|
+
}
|
995
|
+
|
996
|
+
inline bool apply (hb_ot_apply_context_t *c) const
|
997
|
+
{
|
998
|
+
TRACE_APPLY (this);
|
999
|
+
if (unlikely (c->nesting_level_left != HB_MAX_NESTING_LEVEL))
|
1000
|
+
return_trace (false); /* No chaining to this type */
|
1001
|
+
|
1002
|
+
unsigned int index = (this+coverage).get_coverage (c->buffer->cur().codepoint);
|
1003
|
+
if (likely (index == NOT_COVERED)) return_trace (false);
|
1004
|
+
|
1005
|
+
const OffsetArrayOf<Coverage> &lookahead = StructAfter<OffsetArrayOf<Coverage> > (backtrack);
|
1006
|
+
const ArrayOf<GlyphID> &substitute = StructAfter<ArrayOf<GlyphID> > (lookahead);
|
1007
|
+
|
1008
|
+
unsigned int start_index = 0, end_index = 0;
|
1009
|
+
if (match_backtrack (c,
|
1010
|
+
backtrack.len, (HBUINT16 *) backtrack.array,
|
1011
|
+
match_coverage, this,
|
1012
|
+
&start_index) &&
|
1013
|
+
match_lookahead (c,
|
1014
|
+
lookahead.len, (HBUINT16 *) lookahead.array,
|
1015
|
+
match_coverage, this,
|
1016
|
+
1, &end_index))
|
1017
|
+
{
|
1018
|
+
c->buffer->unsafe_to_break_from_outbuffer (start_index, end_index);
|
1019
|
+
c->replace_glyph_inplace (substitute[index]);
|
1020
|
+
/* Note: We DON'T decrease buffer->idx. The main loop does it
|
1021
|
+
* for us. This is useful for preventing surprises if someone
|
1022
|
+
* calls us through a Context lookup. */
|
1023
|
+
return_trace (true);
|
1024
|
+
}
|
1025
|
+
|
1026
|
+
return_trace (false);
|
1027
|
+
}
|
1028
|
+
|
1029
|
+
inline bool sanitize (hb_sanitize_context_t *c) const
|
1030
|
+
{
|
1031
|
+
TRACE_SANITIZE (this);
|
1032
|
+
if (!(coverage.sanitize (c, this) && backtrack.sanitize (c, this)))
|
1033
|
+
return_trace (false);
|
1034
|
+
const OffsetArrayOf<Coverage> &lookahead = StructAfter<OffsetArrayOf<Coverage> > (backtrack);
|
1035
|
+
if (!lookahead.sanitize (c, this))
|
1036
|
+
return_trace (false);
|
1037
|
+
const ArrayOf<GlyphID> &substitute = StructAfter<ArrayOf<GlyphID> > (lookahead);
|
1038
|
+
return_trace (substitute.sanitize (c));
|
1039
|
+
}
|
1040
|
+
|
1041
|
+
protected:
|
1042
|
+
HBUINT16 format; /* Format identifier--format = 1 */
|
1043
|
+
OffsetTo<Coverage>
|
1044
|
+
coverage; /* Offset to Coverage table--from
|
1045
|
+
* beginning of table */
|
1046
|
+
OffsetArrayOf<Coverage>
|
1047
|
+
backtrack; /* Array of coverage tables
|
1048
|
+
* in backtracking sequence, in glyph
|
1049
|
+
* sequence order */
|
1050
|
+
OffsetArrayOf<Coverage>
|
1051
|
+
lookaheadX; /* Array of coverage tables
|
1052
|
+
* in lookahead sequence, in glyph
|
1053
|
+
* sequence order */
|
1054
|
+
ArrayOf<GlyphID>
|
1055
|
+
substituteX; /* Array of substitute
|
1056
|
+
* GlyphIDs--ordered by Coverage Index */
|
1057
|
+
public:
|
1058
|
+
DEFINE_SIZE_MIN (10);
|
1059
|
+
};
|
1060
|
+
|
1061
|
+
struct ReverseChainSingleSubst
|
1062
|
+
{
|
1063
|
+
template <typename context_t>
|
1064
|
+
inline typename context_t::return_t dispatch (context_t *c) const
|
1065
|
+
{
|
1066
|
+
TRACE_DISPATCH (this, u.format);
|
1067
|
+
if (unlikely (!c->may_dispatch (this, &u.format))) return_trace (c->no_dispatch_return_value ());
|
1068
|
+
switch (u.format) {
|
1069
|
+
case 1: return_trace (c->dispatch (u.format1));
|
1070
|
+
default:return_trace (c->default_return_value ());
|
1071
|
+
}
|
1072
|
+
}
|
1073
|
+
|
1074
|
+
protected:
|
1075
|
+
union {
|
1076
|
+
HBUINT16 format; /* Format identifier */
|
1077
|
+
ReverseChainSingleSubstFormat1 format1;
|
1078
|
+
} u;
|
1079
|
+
};
|
1080
|
+
|
1081
|
+
|
1082
|
+
|
1083
|
+
/*
|
1084
|
+
* SubstLookup
|
1085
|
+
*/
|
1086
|
+
|
1087
|
+
struct SubstLookupSubTable
|
1088
|
+
{
|
1089
|
+
friend struct SubstLookup;
|
1090
|
+
|
1091
|
+
enum Type {
|
1092
|
+
Single = 1,
|
1093
|
+
Multiple = 2,
|
1094
|
+
Alternate = 3,
|
1095
|
+
Ligature = 4,
|
1096
|
+
Context = 5,
|
1097
|
+
ChainContext = 6,
|
1098
|
+
Extension = 7,
|
1099
|
+
ReverseChainSingle = 8
|
1100
|
+
};
|
1101
|
+
|
1102
|
+
template <typename context_t>
|
1103
|
+
inline typename context_t::return_t dispatch (context_t *c, unsigned int lookup_type) const
|
1104
|
+
{
|
1105
|
+
TRACE_DISPATCH (this, lookup_type);
|
1106
|
+
if (unlikely (!c->may_dispatch (this, &u.sub_format))) return_trace (c->no_dispatch_return_value ());
|
1107
|
+
switch (lookup_type) {
|
1108
|
+
case Single: return_trace (u.single.dispatch (c));
|
1109
|
+
case Multiple: return_trace (u.multiple.dispatch (c));
|
1110
|
+
case Alternate: return_trace (u.alternate.dispatch (c));
|
1111
|
+
case Ligature: return_trace (u.ligature.dispatch (c));
|
1112
|
+
case Context: return_trace (u.context.dispatch (c));
|
1113
|
+
case ChainContext: return_trace (u.chainContext.dispatch (c));
|
1114
|
+
case Extension: return_trace (u.extension.dispatch (c));
|
1115
|
+
case ReverseChainSingle: return_trace (u.reverseChainContextSingle.dispatch (c));
|
1116
|
+
default: return_trace (c->default_return_value ());
|
1117
|
+
}
|
1118
|
+
}
|
1119
|
+
|
1120
|
+
protected:
|
1121
|
+
union {
|
1122
|
+
HBUINT16 sub_format;
|
1123
|
+
SingleSubst single;
|
1124
|
+
MultipleSubst multiple;
|
1125
|
+
AlternateSubst alternate;
|
1126
|
+
LigatureSubst ligature;
|
1127
|
+
ContextSubst context;
|
1128
|
+
ChainContextSubst chainContext;
|
1129
|
+
ExtensionSubst extension;
|
1130
|
+
ReverseChainSingleSubst reverseChainContextSingle;
|
1131
|
+
} u;
|
1132
|
+
public:
|
1133
|
+
DEFINE_SIZE_UNION (2, sub_format);
|
1134
|
+
};
|
1135
|
+
|
1136
|
+
|
1137
|
+
struct SubstLookup : Lookup
|
1138
|
+
{
|
1139
|
+
inline const SubstLookupSubTable& get_subtable (unsigned int i) const
|
1140
|
+
{ return Lookup::get_subtable<SubstLookupSubTable> (i); }
|
1141
|
+
|
1142
|
+
inline static bool lookup_type_is_reverse (unsigned int lookup_type)
|
1143
|
+
{ return lookup_type == SubstLookupSubTable::ReverseChainSingle; }
|
1144
|
+
|
1145
|
+
inline bool is_reverse (void) const
|
1146
|
+
{
|
1147
|
+
unsigned int type = get_type ();
|
1148
|
+
if (unlikely (type == SubstLookupSubTable::Extension))
|
1149
|
+
return CastR<ExtensionSubst> (get_subtable(0)).is_reverse ();
|
1150
|
+
return lookup_type_is_reverse (type);
|
1151
|
+
}
|
1152
|
+
|
1153
|
+
inline bool apply (hb_ot_apply_context_t *c) const
|
1154
|
+
{
|
1155
|
+
TRACE_APPLY (this);
|
1156
|
+
return_trace (dispatch (c));
|
1157
|
+
}
|
1158
|
+
|
1159
|
+
inline hb_closure_context_t::return_t closure (hb_closure_context_t *c) const
|
1160
|
+
{
|
1161
|
+
TRACE_CLOSURE (this);
|
1162
|
+
c->set_recurse_func (dispatch_recurse_func<hb_closure_context_t>);
|
1163
|
+
return_trace (dispatch (c));
|
1164
|
+
}
|
1165
|
+
|
1166
|
+
inline hb_collect_glyphs_context_t::return_t collect_glyphs (hb_collect_glyphs_context_t *c) const
|
1167
|
+
{
|
1168
|
+
TRACE_COLLECT_GLYPHS (this);
|
1169
|
+
c->set_recurse_func (dispatch_recurse_func<hb_collect_glyphs_context_t>);
|
1170
|
+
return_trace (dispatch (c));
|
1171
|
+
}
|
1172
|
+
|
1173
|
+
template <typename set_t>
|
1174
|
+
inline void add_coverage (set_t *glyphs) const
|
1175
|
+
{
|
1176
|
+
hb_add_coverage_context_t<set_t> c (glyphs);
|
1177
|
+
dispatch (&c);
|
1178
|
+
}
|
1179
|
+
|
1180
|
+
inline bool would_apply (hb_would_apply_context_t *c,
|
1181
|
+
const hb_ot_layout_lookup_accelerator_t *accel) const
|
1182
|
+
{
|
1183
|
+
TRACE_WOULD_APPLY (this);
|
1184
|
+
if (unlikely (!c->len)) return_trace (false);
|
1185
|
+
if (!accel->may_have (c->glyphs[0])) return_trace (false);
|
1186
|
+
return_trace (dispatch (c));
|
1187
|
+
}
|
1188
|
+
|
1189
|
+
static bool apply_recurse_func (hb_ot_apply_context_t *c, unsigned int lookup_index);
|
1190
|
+
|
1191
|
+
inline SubstLookupSubTable& serialize_subtable (hb_serialize_context_t *c,
|
1192
|
+
unsigned int i)
|
1193
|
+
{ return get_subtables<SubstLookupSubTable> ()[i].serialize (c, this); }
|
1194
|
+
|
1195
|
+
inline bool serialize_single (hb_serialize_context_t *c,
|
1196
|
+
uint32_t lookup_props,
|
1197
|
+
Supplier<GlyphID> &glyphs,
|
1198
|
+
Supplier<GlyphID> &substitutes,
|
1199
|
+
unsigned int num_glyphs)
|
1200
|
+
{
|
1201
|
+
TRACE_SERIALIZE (this);
|
1202
|
+
if (unlikely (!Lookup::serialize (c, SubstLookupSubTable::Single, lookup_props, 1))) return_trace (false);
|
1203
|
+
return_trace (serialize_subtable (c, 0).u.single.serialize (c, glyphs, substitutes, num_glyphs));
|
1204
|
+
}
|
1205
|
+
|
1206
|
+
inline bool serialize_multiple (hb_serialize_context_t *c,
|
1207
|
+
uint32_t lookup_props,
|
1208
|
+
Supplier<GlyphID> &glyphs,
|
1209
|
+
Supplier<unsigned int> &substitute_len_list,
|
1210
|
+
unsigned int num_glyphs,
|
1211
|
+
Supplier<GlyphID> &substitute_glyphs_list)
|
1212
|
+
{
|
1213
|
+
TRACE_SERIALIZE (this);
|
1214
|
+
if (unlikely (!Lookup::serialize (c, SubstLookupSubTable::Multiple, lookup_props, 1))) return_trace (false);
|
1215
|
+
return_trace (serialize_subtable (c, 0).u.multiple.serialize (c,
|
1216
|
+
glyphs,
|
1217
|
+
substitute_len_list,
|
1218
|
+
num_glyphs,
|
1219
|
+
substitute_glyphs_list));
|
1220
|
+
}
|
1221
|
+
|
1222
|
+
inline bool serialize_alternate (hb_serialize_context_t *c,
|
1223
|
+
uint32_t lookup_props,
|
1224
|
+
Supplier<GlyphID> &glyphs,
|
1225
|
+
Supplier<unsigned int> &alternate_len_list,
|
1226
|
+
unsigned int num_glyphs,
|
1227
|
+
Supplier<GlyphID> &alternate_glyphs_list)
|
1228
|
+
{
|
1229
|
+
TRACE_SERIALIZE (this);
|
1230
|
+
if (unlikely (!Lookup::serialize (c, SubstLookupSubTable::Alternate, lookup_props, 1))) return_trace (false);
|
1231
|
+
return_trace (serialize_subtable (c, 0).u.alternate.serialize (c,
|
1232
|
+
glyphs,
|
1233
|
+
alternate_len_list,
|
1234
|
+
num_glyphs,
|
1235
|
+
alternate_glyphs_list));
|
1236
|
+
}
|
1237
|
+
|
1238
|
+
inline bool serialize_ligature (hb_serialize_context_t *c,
|
1239
|
+
uint32_t lookup_props,
|
1240
|
+
Supplier<GlyphID> &first_glyphs,
|
1241
|
+
Supplier<unsigned int> &ligature_per_first_glyph_count_list,
|
1242
|
+
unsigned int num_first_glyphs,
|
1243
|
+
Supplier<GlyphID> &ligatures_list,
|
1244
|
+
Supplier<unsigned int> &component_count_list,
|
1245
|
+
Supplier<GlyphID> &component_list /* Starting from second for each ligature */)
|
1246
|
+
{
|
1247
|
+
TRACE_SERIALIZE (this);
|
1248
|
+
if (unlikely (!Lookup::serialize (c, SubstLookupSubTable::Ligature, lookup_props, 1))) return_trace (false);
|
1249
|
+
return_trace (serialize_subtable (c, 0).u.ligature.serialize (c,
|
1250
|
+
first_glyphs,
|
1251
|
+
ligature_per_first_glyph_count_list,
|
1252
|
+
num_first_glyphs,
|
1253
|
+
ligatures_list,
|
1254
|
+
component_count_list,
|
1255
|
+
component_list));
|
1256
|
+
}
|
1257
|
+
|
1258
|
+
template <typename context_t>
|
1259
|
+
static inline typename context_t::return_t dispatch_recurse_func (context_t *c, unsigned int lookup_index);
|
1260
|
+
|
1261
|
+
template <typename context_t>
|
1262
|
+
inline typename context_t::return_t dispatch (context_t *c) const
|
1263
|
+
{ return Lookup::dispatch<SubstLookupSubTable> (c); }
|
1264
|
+
|
1265
|
+
inline bool sanitize (hb_sanitize_context_t *c) const
|
1266
|
+
{
|
1267
|
+
TRACE_SANITIZE (this);
|
1268
|
+
if (unlikely (!Lookup::sanitize (c))) return_trace (false);
|
1269
|
+
if (unlikely (!dispatch (c))) return_trace (false);
|
1270
|
+
|
1271
|
+
if (unlikely (get_type () == SubstLookupSubTable::Extension))
|
1272
|
+
{
|
1273
|
+
/* The spec says all subtables of an Extension lookup should
|
1274
|
+
* have the same type, which shall not be the Extension type
|
1275
|
+
* itself (but we already checked for that).
|
1276
|
+
* This is specially important if one has a reverse type! */
|
1277
|
+
unsigned int type = get_subtable (0).u.extension.get_type ();
|
1278
|
+
unsigned int count = get_subtable_count ();
|
1279
|
+
for (unsigned int i = 1; i < count; i++)
|
1280
|
+
if (get_subtable (i).u.extension.get_type () != type)
|
1281
|
+
return_trace (false);
|
1282
|
+
}
|
1283
|
+
return_trace (true);
|
1284
|
+
}
|
1285
|
+
};
|
1286
|
+
|
1287
|
+
typedef OffsetListOf<SubstLookup> SubstLookupList;
|
1288
|
+
|
1289
|
+
/*
|
1290
|
+
* GSUB -- The Glyph Substitution Table
|
1291
|
+
*/
|
1292
|
+
|
1293
|
+
struct GSUB : GSUBGPOS
|
1294
|
+
{
|
1295
|
+
static const hb_tag_t tableTag = HB_OT_TAG_GSUB;
|
1296
|
+
|
1297
|
+
inline const SubstLookup& get_lookup (unsigned int i) const
|
1298
|
+
{ return CastR<SubstLookup> (GSUBGPOS::get_lookup (i)); }
|
1299
|
+
|
1300
|
+
static inline void substitute_start (hb_font_t *font, hb_buffer_t *buffer);
|
1301
|
+
|
1302
|
+
inline bool sanitize (hb_sanitize_context_t *c) const
|
1303
|
+
{
|
1304
|
+
TRACE_SANITIZE (this);
|
1305
|
+
if (unlikely (!GSUBGPOS::sanitize (c))) return_trace (false);
|
1306
|
+
const OffsetTo<SubstLookupList> &list = CastR<OffsetTo<SubstLookupList> > (lookupList);
|
1307
|
+
return_trace (list.sanitize (c, this));
|
1308
|
+
}
|
1309
|
+
};
|
1310
|
+
|
1311
|
+
|
1312
|
+
void
|
1313
|
+
GSUB::substitute_start (hb_font_t *font, hb_buffer_t *buffer)
|
1314
|
+
{
|
1315
|
+
_hb_buffer_assert_gsubgpos_vars (buffer);
|
1316
|
+
|
1317
|
+
const GDEF &gdef = *hb_ot_layout_from_face (font->face)->gdef;
|
1318
|
+
unsigned int count = buffer->len;
|
1319
|
+
for (unsigned int i = 0; i < count; i++)
|
1320
|
+
{
|
1321
|
+
_hb_glyph_info_set_glyph_props (&buffer->info[i], gdef.get_glyph_props (buffer->info[i].codepoint));
|
1322
|
+
_hb_glyph_info_clear_lig_props (&buffer->info[i]);
|
1323
|
+
buffer->info[i].syllable() = 0;
|
1324
|
+
}
|
1325
|
+
}
|
1326
|
+
|
1327
|
+
|
1328
|
+
/* Out-of-class implementation for methods recursing */
|
1329
|
+
|
1330
|
+
/*static*/ inline bool ExtensionSubst::is_reverse (void) const
|
1331
|
+
{
|
1332
|
+
unsigned int type = get_type ();
|
1333
|
+
if (unlikely (type == SubstLookupSubTable::Extension))
|
1334
|
+
return CastR<ExtensionSubst> (get_subtable<LookupSubTable>()).is_reverse ();
|
1335
|
+
return SubstLookup::lookup_type_is_reverse (type);
|
1336
|
+
}
|
1337
|
+
|
1338
|
+
template <typename context_t>
|
1339
|
+
/*static*/ inline typename context_t::return_t SubstLookup::dispatch_recurse_func (context_t *c, unsigned int lookup_index)
|
1340
|
+
{
|
1341
|
+
const GSUB &gsub = *(hb_ot_layout_from_face (c->face)->gsub);
|
1342
|
+
const SubstLookup &l = gsub.get_lookup (lookup_index);
|
1343
|
+
return l.dispatch (c);
|
1344
|
+
}
|
1345
|
+
|
1346
|
+
/*static*/ inline bool SubstLookup::apply_recurse_func (hb_ot_apply_context_t *c, unsigned int lookup_index)
|
1347
|
+
{
|
1348
|
+
const GSUB &gsub = *(hb_ot_layout_from_face (c->face)->gsub);
|
1349
|
+
const SubstLookup &l = gsub.get_lookup (lookup_index);
|
1350
|
+
unsigned int saved_lookup_props = c->lookup_props;
|
1351
|
+
unsigned int saved_lookup_index = c->lookup_index;
|
1352
|
+
c->set_lookup_index (lookup_index);
|
1353
|
+
c->set_lookup_props (l.get_props ());
|
1354
|
+
bool ret = l.dispatch (c);
|
1355
|
+
c->set_lookup_index (saved_lookup_index);
|
1356
|
+
c->set_lookup_props (saved_lookup_props);
|
1357
|
+
return ret;
|
1358
|
+
}
|
1359
|
+
|
1360
|
+
|
1361
|
+
} /* namespace OT */
|
1362
|
+
|
1363
|
+
|
1364
|
+
#endif /* HB_OT_LAYOUT_GSUB_TABLE_HH */
|