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
Ebrahim Byagowi
7554f618ec
minor, use sys.exit print shorthand
5 years ago
Qunxin Liu
593e58c842
[subset] ChainContext subsetting fix: add lookup index remapping
5 years ago
Qunxin Liu
d7c012a08e
[subset] GDEF Variation Store: step 2
...
do subset based on variation indices collected in step 1
5 years ago
Ebrahim Byagowi
cc53fd158c
[meson] Normalize options names
...
As https://github.com/harfbuzz/harfbuzz/pull/2412#discussion_r426275027
5 years ago
Ebrahim Byagowi
f7562672f9
[meson] Use / instead join_paths
...
We need some of the very recent features of meson, let's use the new features also
5 years ago
Ebrahim Byagowi
4b12b8466f
[meson] Increase timeout in hope to resolve Actions' bot timeout
5 years ago
Ebrahim Byagowi
1c4dd79cfb
[ci] Increase timeout as gh bot issue isn't resolved by serial test
5 years ago
Ebrahim Byagowi
8667df552c
[meson] Unbreak the build, oops
5 years ago
Ebrahim Byagowi
37f9cccc21
[meson] Don't run subset tests in parallel
...
Hopefully resolves https://github.com/harfbuzz/harfbuzz/runs/695051808#step:6:700 for now
5 years ago
Qunxin Liu
8b5d3ebd96
[subset] GSUB5/GPOS7 Contextual Subst/Pos Subtbale Subsetting support
5 years ago
Ebrahim Byagowi
0722889a6e
[meson] increase subset tests timeout
...
https://github.com/harfbuzz/harfbuzz/runs/676665822#step:6:570
fails because meson runs the tests in parallel, correct fix will be making the tests smaller
5 years ago
Qunxin Liu
b2a965df5e
[subset] Add support for "--gids" option
...
cmap subsetting now retains entries associated with any glyph ids explicitly requested
5 years ago
Qunxin Liu
e53c44e326
[subset] temporarily revert previous cmap commit
...
Required in https://github.com/harfbuzz/harfbuzz/issues/2356
5 years ago
Ebrahim Byagowi
750bb73e32
[meson] Add an experimental-api option
5 years ago
Ebrahim Byagowi
0181f03019
[test] Workaround Windows pipe issue by storing ttx in a file
5 years ago
Christoph Reiter
2354a90008
tests: fix subset/run-tests.py under Windows
...
It assumed that stdout of a subprocess in binary mode was using
utf-8 which isn't the case. Instead open stdout of the subprocess
in text mode and let Python handle the decoding.
5 years ago
Ebrahim Byagowi
29c903223b
Move hb_ot_layout_closure_{features,lookups} behind EXPERIMENTAL flag
5 years ago
Qunxin Liu
c8cc1e378d
fix issues in ClassDefFormat1 serialize:
...
glyph ids in Iterator may be non-consecutive,
so the number in classValue might be larger than length of the Iterator
5 years ago
Ebrahim Byagowi
78622231ac
[meson] More comment on tests are causing timeout failure
5 years ago
Ebrahim Byagowi
b5526a09ff
[tools] Remove in-house 'which' now that we have py3
5 years ago
Ebrahim Byagowi
12df69e59c
Minor, delete not needed cmake testing file
5 years ago
Ebrahim Byagowi
943bfeda53
[meson] Enable more of the subset tests
5 years ago
Ebrahim Byagowi
c494d7abcd
Remove cmake testing and add meson build bot
...
CMake tests are broken anyway as py3 changes so let's get rid of them
5 years ago