Ebrahim Byagowi
6e32145dc9
[meson] Make compatbile with 0.47.0
5 years ago
Ebrahim Byagowi
5193357832
Revert "Remove autotools build support"
...
This reverts commit 01ac32aab2
.
5 years ago
Ebrahim Byagowi
01ac32aab2
Remove autotools build support
5 years ago
Ebrahim Byagowi
d38d63319b
[tests] minor
5 years ago
Ebrahim Byagowi
322426f8c8
[tests] Use TTFont of fonttools to avoid temp files
5 years ago
Hamidreza Bayat
08fef15818
Use fonttools's python package instead of cli
5 years ago
Ebrahim Byagowi
47a0fbec31
[meson] Mark longer tests with slow
...
So one can skip them easily by `meson test -Cbuild --no-suite slow`
5 years ago
Ebrahim Byagowi
4e7cb7e2c4
minor, fix lists sorting
5 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
5 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
Ebrahim Byagowi
1c3f80ba13
[meson] Minor updates
5 years ago
Tim-Philipp Müller
8fc66dbf9f
meson: tests: subset: no need to check for 'which' command any more
...
Test runner script now handles that.
5 years ago
Mathieu Duponchelle
d4a7237327
meson: all tests passing on Windows / MSVC
5 years ago
Mathieu Duponchelle
920efc0ef7
Add Meson build definitions
...
Fixes #490
http://mesonbuild.com
5 years ago
Qunxin Liu
5ad761b943
[subset] GDEF MarkGlyphSets subsetting support
5 years ago
Qunxin Liu
fcd7f33bbb
[subset] GDEF glyphClassDef subsetting support
...
glyphClassDef uses the same ClassDef format. However, glyphClassDef table
uses predefined class values so we do not remap class values.
5 years ago
Garret Rieger
411225426f
Fix glyph closure for alternate substitution.
...
It was not filtering on the glyphs to be retained.
5 years ago
Ebrahim Byagowi
8d19907704
Remove python2 support from tests/utils scripts
5 years ago
Qunxin Liu
493e40ff78
[subset] add one empty byte to glyf table
...
if it's going to end up empty after subsetting
This will make OTS happy and match what fontTools is doing now.
5 years ago
Qunxin Liu
eb7849a806
[subset] GPOS6 MarkToMark subsetting support
5 years ago
Qunxin Liu
82afc75835
[subset] GPOS4 MarkBase subsetting support
5 years ago
ckitagawa-work
774725b43a
[subset] Avoid incorrectly dropping cmap for NotoColorEmoji.ttf
...
NotoColorEmoji.ttf uses two cmap subtables
Format 14 | Platform ID 0 | Platform Encoding ID 5
Format 12 | Platform ID 3 | Platform Encoding ID 10
This combination results in the cmap table being dropped during subsetting despite being valid/required.
5 years ago