Qunxin Liu
eee7b459ee
[subset] add option --no-prune-unicode-ranges
3 years ago
Garret Rieger
d2397d91f3
[subset] Add additional colrv1 subsetting tests that has a glyph with components.
3 years ago
Qunxin Liu
d07f789ae3
[subset] support option "--notdef-outline"
3 years ago
Qunxin Liu
cb5a6b5a27
[subset] support option --layout-features
4 years ago
Qunxin Liu
f739e1dc6a
[subset] subset both CPAL and COLRv1
4 years ago
Garret Rieger
a08900b721
[subset] fix failing colrv0 subsetting when font has composite glyphs.
...
Composite glyph collection was happening along side colrv0 glyph collection which meant it was possible to miss grabbing the component glyphs for a glyph added by colrv0.
4 years ago
Garret Rieger
b07b97d5d7
[subset] Add more Noto Nastaliq test cases.
4 years ago
Garret Rieger
92757f6809
[subset] Don't drop anchor device tables when dropping hints. These may contain variation data.
...
Update subseting expected files to match latest version of fontTools.
4 years ago
Garret Rieger
6fddc2bbf9
[subset] subset layout tables (G*) by default.
4 years ago
Garret Rieger
4ec18c85e6
[subset] add subsetting tests with drop hints and layout subsetting enabled.
4 years ago
Garret Rieger
596f4258d0
[subset] copy Lookup::markFilteringSet when subseting.
4 years ago
Garret Rieger
c35d786397
[subset] never drop the 'pref' feature.
...
Never ever drop feature 'pref', even if it's empty. Harfbuzz uses it to choose the shaper for Khmer.
4 years ago
Garret Rieger
85b0728783
Add full variable font subsetting test.
4 years ago
Garret Rieger
b10741ca7f
[subset] when closing glyphs in context lookups don't use a current glyph set if a lookup is already applied.
4 years ago
Garret Rieger
2773d05740
[subset] Add a test case using NotoNastaliqUrdu.
4 years ago
Qunxin Liu
95230e291d
[subset] support subsetting GSUB8
4 years ago
Garret Rieger
0104409959
Fix repack_tests for distcheck.
4 years ago
Garret Rieger
b8b8c58b9f
[subset] add tests that check for successful repacking of a real font file.
4 years ago
Qunxin Liu
56ca435787
[subset] fix for collect_features and remove_redundant_lamngsys
...
previously remove_redundant_sys () is missing in harfbuzz, after
redundant langsys removal, some features are removed as well in
prune_features() in fonttools. This change is trying to get the same
result between harfbuzz and fonttools.
4 years ago
Garret Rieger
69d772e522
[subset] Fixed test gsub5 test files.
4 years ago
Qunxin Liu
0e1c0fa404
[subset] optimize glyph closure method: step 5
...
add testcase and some fixes
4 years ago
Garret Rieger
b1b1486d07
[subset] update expected files to not include cmap12 pruning.
4 years ago
Garret Rieger
190b7a98f8
[subset] Update PairPosFormat2 subsetting to match fontTools updated subsetting ( https://github.com/fonttools/fonttools/pull/2221 )
...
- subset class def 1 against the coverage table.
- Don't re-use class 0 in class def 2.
- Ignore class 0 glyphs for the purposes of determing format 1 vs format 2 encoding for ClassDef.
Add an additional test case which demonstrates these issues.
4 years ago
Garret Rieger
00d9276343
Add gpos9 expected files to Makefile.am
4 years ago
Garret Rieger
08a4997fde
[subset] Add subset support for Extension lookups (GPOS 9, GSUB 7).
4 years ago
Behdad Esfahbod
eb069f3948
[tests] Update expected output of recently-merged gpos5
...
The merged PR was from before landing this:
commit 7a72b20aa2
Author: Garret Rieger <grieger@google.com>
Date: Thu Sep 24 15:58:48 2020 -0700
[subset] Subset GDEF during layout subsetting tests.
4 years ago
Khaled Hosny
554aaa0c5d
[build] Fix make distcheck
...
A regression from 7b77ce0507
.
It was caught by the CI build in the PR, but apparently we are now used
to CI failures that they are effectively ignored.
Also, yay for multiple build systems.
4 years ago
Khaled Hosny
5091ea7e24
Merge pull request #2733 from astiob/buffer-context-doc
...
[docs] Describe buffer context applicability more explicitly
4 years ago
Garret Rieger
be33704c00
Add gpos 5 tests to meson build file.
4 years ago
Qunxin Liu
3a0b05faf1
[subset] GPOS 5 MarkToLigature subsetting support
4 years ago
Garret Rieger
010accb3d5
[subset] Add additional test cases for the Amiri tests.
4 years ago
Garret Rieger
3271a7cdaa
[subset] Remove redundant langys from Amiri test font.
...
FontTools removes these when subsetting but harfbuzz does not yet support redundant langsys removal. So this gets the Amiri tests passing for now.
4 years ago
Garret Rieger
9fad540245
[subset] check that sub rules in ContextFormat 1 and 2 intersect the glyphs set before recursing during closure lookups.
4 years ago
Garret Rieger
7b77ce0507
[subset] Add subsetting integration test using Amiri.
...
Demonstrates a failure in subsetting GPOS 8/GSUB 6.
4 years ago
Garret Rieger
7a72b20aa2
[subset] Subset GDEF during layout subsetting tests.
4 years ago
Ebrahim Byagowi
6e32145dc9
[meson] Make compatbile with 0.47.0
4 years ago
Ebrahim Byagowi
5193357832
Revert "Remove autotools build support"
...
This reverts commit 01ac32aab2
.
4 years ago
Ebrahim Byagowi
01ac32aab2
Remove autotools build support
4 years ago
Ebrahim Byagowi
d38d63319b
[tests] minor
4 years ago
Ebrahim Byagowi
322426f8c8
[tests] Use TTFont of fonttools to avoid temp files
4 years ago
Hamidreza Bayat
08fef15818
Use fonttools's python package instead of cli
4 years ago
Ebrahim Byagowi
47a0fbec31
[meson] Mark longer tests with slow
...
So one can skip them easily by `meson test -Cbuild --no-suite slow`
4 years ago
Ebrahim Byagowi
4e7cb7e2c4
minor, fix lists sorting
4 years ago
Qunxin Liu
973c47f6c9
[subset] Move 2 experimental public api methods to be private methods in GSUB/GPOS.
...
2 methods are: hb_ot_layout_closure_lookups and hb_ot_layout_closure_features
4 years ago
Ebrahim Byagowi
6f7048b917
[meson] Update subset tests list from autotools
5 years ago
Ebrahim Byagowi
a9d13463b5
[meson] Categorize tests using `suite: [...]`
...
So one can run a category of interested tests like
meson test -Cbuild --suite aots --suite src --print-errorlogs
Intead issuing particular tests which also is possible like
meson test -Cbuild test-shape --print-errorlogs
5 years ago
Qunxin Liu
3c5bdd9bb8
[subset] GDEF AttachList subsetting support
5 years ago
Ebrahim Byagowi
368ca30641
minor on python scripts
...
* remove not needed imports
* remove semicolons
5 years ago
Ebrahim Byagowi
ad87155fd0
minor, use py3's open(encoding=)
5 years ago
Ebrahim Byagowi
cd5580e2d6
minor, enable printing to stderr in run-tests.py
...
As was originally intended https://github.com/harfbuzz/harfbuzz/blob/3ce6c7b/test/shaping/run-tests.sh
5 years ago