|
c2ee1fdd
|
2021-08-04T16:42:49
|
|
[subset] remove unsed table_entry struct.
|
|
dea0fe57
|
2021-08-04T16:36:20
|
|
[subset] discard extra copies of a table in face builder.
Fixes #2361. Stores tables in the builder in a hashmap so you end up with at most one copy of each table. Table serialization order is now based on tag sort order instead of order of insertion into the builder.
|
|
2c024dc3
|
2021-08-04T11:38:38
|
|
[subset] prune redundant cmap12 subtables.
If the post subset cmap12 table is equivalent to another cmap subtable don't include the 12 table in the final subset. Matches change https://github.com/fonttools/fonttools/pull/2146 from fontTools.
|
|
7ccc52b0
|
2021-08-04T03:57:18
|
|
[test] Compare sha256 hash before TTX dumps
Most of time the files are identical, so instead of comparing the TTX
dump we can check sha256 hashes of the files first and if they match, we
don’t have to check the TTX dumps at all, making the subset tests orders
of magnitude faster.
time meson test --suite=subset down from:
real 0m19.418s
user 0m38.171s
sys 0m3.587s
to:
real 0m3.102s
user 0m8.622s
sys 0m1.701s
The expected files have been replaced by hb-subset output so they are
bit-identical where FontTools output might not.
The generate-expected-outputs.py now compares the hb-subset output with
fontttols subset and errors of they don’t match.
|
|
770fbd5a
|
2021-08-04T00:07:23
|
|
Revert "[test] Speed-up subset tests by saving TTX dump"
This reverts commit 278f44dcee34cea25403e42e06668f0afe2328c1.
|
|
278f44dc
|
2021-07-29T23:43:56
|
|
[test] Speed-up subset tests by saving TTX dump
Speed-up subset tests by saving TTX dump of expected output instead of
generating it each time the tests are run.
Cuts down meson test --suite=subset on my system from:
real 0m38.977s
user 1m12.024s
sys 0m10.547s
to:
real 0m22.291s
user 0m44.548s
sys 0m9.221s
Part of https://github.com/harfbuzz/harfbuzz/issues/3089
|
|
6fddc2bb
|
2021-04-01T15:34:17
|
|
[subset] subset layout tables (G*) by default.
|
|
b2a965df
|
2020-04-22T15:58:41
|
|
[subset] Add support for "--gids" option
cmap subsetting now retains entries associated with any glyph ids explicitly requested
|
|
e53c44e3
|
2020-04-24T14:06:13
|
|
[subset] temporarily revert previous cmap commit
Required in https://github.com/harfbuzz/harfbuzz/issues/2356
|
|
fcd7f33b
|
2020-02-10T10:36:50
|
|
[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.
|
|
490ef1cc
|
2020-01-28T15:57:33
|
|
[subset] Fix namerecord ordering
This will fix inconsistency with fontTools.
Also according to the spec, namerecords must be sorted
first by platform ID, then by platform-specific ID,
then by language ID, and then by name ID.
|
|
d1830437
|
2020-01-25T00:09:47
|
|
[tests] Apply expected results of Mplus1p-Regular subset
Related to #2131
|
|
36a5c042
|
2020-01-21T13:37:28
|
|
[subset] Add "--name-languages" and "--name-legacy" options
Make name table subsetting consistent with fontTools
|
|
e171beeb
|
2020-01-24T19:51:21
|
|
Revert "[subset] Add "--name-languages" and "--name-legacy" options"
Causes tests failures, please reapply when tests are fixed, thanks.
This reverts commit fd85818b5b85fb0ad2db71c60e94ca0689d38bca.
|
|
fd85818b
|
2020-01-21T13:37:28
|
|
[subset] Add "--name-languages" and "--name-legacy" options
Make name table subsetting consistent with fontTools
|
|
c370da45
|
2020-01-22T11:36:15
|
|
[subset] Cmap table: remove encodingRecord entry for empty cmap4 subtable
|
|
1db2c1d0
|
2020-01-07T11:10:40
|
|
fix for cmap4 and OS_2 subsetting: maximum character code allowed is 0xFFFF
|
|
993d81b9
|
2019-05-14T13:55:11
|
|
[subset] Add one ttf file with fvar/STAT tables to integration test
Ignore gvar/MVAR/HVAR table
add support for --nameIDs=* option
|
|
9328354a
|
2019-02-04T11:28:15
|
|
separate CFF from TrueType in full font tests
|
|
c1286265
|
2019-02-01T14:50:01
|
|
added desubroutinize & retain-gids full test cases with CFF fonts
and CFF retain-gids fixes
|
|
d8fadec0
|
2018-11-04T13:12:20
|
|
added desubroutinize full font test profiles & expected fonts
modified subset_test_suite.py to apply desubroutinize profiles to CFF only (not to TT)
|
|
1377adc8
|
2018-09-19T17:00:10
|
|
Added SourceHanSans-Regular for CFF subset test
Disabled FDSelect serialization to format 0 for compatibility with fonttools
|
|
b0d7971b
|
2018-05-03T11:22:51
|
|
[subset] Updated expected files for japanese subset integration tests to include cmap4.
|
|
c7d814ea
|
2018-03-01T18:20:00
|
|
[subset] Add japanese font file to subset integration tests.
|
|
8548fa15
|
2018-03-07T12:37:03
|
|
[subset] Drop cmap 12, platform 0 tables from Mplus1p expected files.
|