test/subset/data/profiles

Branch


Log

Author Commit Date CI Message
Garret Rieger aa58b43d 2025-09-12T14:24:41 [subset] Introduce HB_SUBSET_FLAGS_RETAIN_NUM_GLYPHS. (#5547) Used in conjunction with retain gids, when set the num glyphs from the input font will be preserved. Empty glyphs will be inserted as necessary to maintain the num glyphs value. Put under experimental for now.
Garret Rieger 4e767271 2025-05-14T23:17:54 Add a test checks we can recover from cmap4 overflow.
Garret Rieger efcb7d3d 2025-04-11T23:34:06 [subset] close unicodes over bidi mirror variants during subsetting. Fixes #5281. Does the closure by default, but I've introduced a new flag and option to disable this behaviour since some users may want to get the minimal set if they know they don't need the mirrored variants.
Qunxin Liu 634778ef 2024-08-20T14:34:09 [subset] bug fix in post table insert retain-gid holes when retain-gids is enabled
Qunxin Liu cfbb6a68 2024-03-14T17:33:34 [subset] support BASE table subsetting (#4618) * [subset] support BASE table * [subset] add tests for BASE table subsetting
Garret Rieger c6884377 2023-11-06T20:21:46 [subset] Add HB_SUBSET_FLAGS_IFTB_REQUIREMENTS flag. When enabled the output subset conforms to the requirements for a base font to be patched by IFTB patches. IFTB is a proposed incremental font transfer patch. This new flag is set as experimental. Currently, setting this flag causes the output subset to also use long offsets for outline data in loca/glyf, gvar, CFF, and CFF2. This change is a version of https://github.com/skef/harfbuzz/commit/3ae2fe2084d96f61d8ad1bbe42a6ef4e62ec830a rebased onto head w/ tests added.
Qunxin Liu 57dac23d 2023-10-17T17:11:13 [instancer] add tests Also update tests to gei rid of no-tables-with-item-variations profile
Garret Rieger bbd53fcf 2023-10-10T21:41:42 Remove glyph_map test that uses retain gids. We no longer allow the use of glyph map + retain gids (see: https://github.com/harfbuzz/harfbuzz/blob/main/src/hb-subset-plan.cc#L817). Also add the test to the meson file so it will be run by default.
Qunxin Liu 2415d5f2 2023-09-27T13:33:09 [instancer] update tests to include GDEF/GPOS tables
Qunxin Liu 2d2818c0 2023-09-20T10:30:47 [instancer] update expected tests to include HVAR/VVAR tables
Qunxin Liu 7b5daff5 2023-08-31T17:50:34 [instancer] add tests for mvar partial instancing
Qunxin Liu 77b158c7 2023-08-07T16:02:02 [instancer] add tests for gvar partial instancing
Garret Rieger 77a81554 2023-05-04T23:01:56 [subset] Add some basic tests for a provided glyph map.
Garret Rieger 3db6baa2 2023-04-17T20:01:17 [subset] add test for lig glyph fix.
Garret Rieger 14b9d8d5 2023-04-14T20:44:15 [subset] add --no-layout-closure flag. Disables layout glyph closure. Fixes #4192.
Garret Rieger c324d999 2023-01-12T18:15:07 [instancing] Add tests for MVAR instancing.
Garret Rieger d6f579e9 2022-06-30T22:22:03 [subset] add tests that exercise script filtering.
Garret Rieger 44802c8e 2021-08-12T11:11:51 [subset] use layout-features=* for layout subsetting tests w/ synthetic test fonts.
Garret Rieger 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.
Qunxin Liu 71b5509c 2021-07-20T20:05:35 [subset] support option --glyph-names
Qunxin Liu eee7b459 2021-06-24T10:17:46 [subset] add option --no-prune-unicode-ranges
Qunxin Liu d07f789a 2021-06-09T15:36:40 [subset] support option "--notdef-outline"
Qunxin Liu cb5a6b5a 2021-05-19T17:33:46 [subset] support option --layout-features
Garret Rieger 6fddc2bb 2021-04-01T15:34:17 [subset] subset layout tables (G*) by default.
Garret Rieger 4ec18c85 2021-04-02T15:33:54 [subset] add subsetting tests with drop hints and layout subsetting enabled.
Garret Rieger 7a72b20a 2020-09-24T15:58:48 [subset] Subset GDEF during layout subsetting tests.
Qunxin Liu b2a965df 2020-04-22T15:58:41 [subset] Add support for "--gids" option cmap subsetting now retains entries associated with any glyph ids explicitly requested
Qunxin Liu c8cc1e37 2020-04-02T16:57:01 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
Qunxin Liu 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.
Qunxin Liu 36a5c042 2020-01-21T13:37:28 [subset] Add "--name-languages" and "--name-legacy" options Make name table subsetting consistent with fontTools
Ebrahim Byagowi 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.
Qunxin Liu fd85818b 2020-01-21T13:37:28 [subset] Add "--name-languages" and "--name-legacy" options Make name table subsetting consistent with fontTools
Garret Rieger c740c863 2019-05-16T10:57:33 [subset] Add integration tests for SingleSubst.
Qunxin Liu 6faac8df 2019-04-10T16:38:35 [subset] Subsetting Name Table Step 4 Add unit test and integration test
Michiharu Ariza c1286265 2019-02-01T14:50:01 added desubroutinize & retain-gids full test cases with CFF fonts and CFF retain-gids fixes
Garret Rieger e6ffcc59 2019-01-28T18:12:19 [subset] Add expected files for retain-gids integration tests.
Garret Rieger a903f9c2 2019-01-28T17:43:11 [subset] Add some subsetting integration tests covering retain gids.
Michiharu Ariza 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)
Garret Rieger 70a1049b 2018-02-27T14:28:50 [subset] Add a drop hints profile to basics.tests
Garret Rieger 4cdae914 2018-01-26T13:57:48 Add basic directory structure for subsetter integration tests. Plus a utility for generating expected output files.