test/api/fonts

Branch


Log

Author Commit Date CI Message
Qunxin Liu 77d07304 2025-09-02T14:40:51 [subset] fix HVAR encoding width (#5523)
Khaled Hosny 2d8e5255 2025-04-06T02:22:43 [test/ot-math] Add a test for the Cambria Math workaround
Khaled Hosny ed558e5d 2025-03-23T01:28:41 [test] Add name table to test/api/fonts/glyphs.ttf Some version of Wine fails to load the font otherwise.
Matthias Clasen 41e14f70 2025-03-07T08:00:34 [test-paint] Use latest test fonts Update the color test fonts from https://github.com/googlefonts/color-fonts/ repository and update the test results.
Khaled Hosny 4d1f6e04 2024-10-06T18:25:24 [COLR] Enable COLRv0 support in get_extents() paint_glyph() supports COLRv0 but this code is never reached because of the early return if version is not 1. This early return seems to be from before COLRv0 extents were supported.
Behdad Esfahbod 0037ee28 2024-05-24T08:10:15 Merge pull request #4578 from harfbuzz/varc-table `VARC` table
David Corbett 0db136b1 2024-05-09T11:49:48 [subset-cff] Shorten output of `encode_num_tp`
Behdad Esfahbod 6129c726 2024-04-22T14:52:58 [varc] Use Condition instead of ConditionSet With more Condition formats. https://github.com/harfbuzz/boring-expansion-spec/commit/df7dcc4618b9dc003740d25c53afe30a8fc03fe2 https://github.com/harfbuzz/boring-expansion-spec/issues/147
Behdad Esfahbod d07d70ae 2024-03-22T11:43:37 [varc] Add test
Christer Sandberg 1ab8822b 2024-02-09T17:24:49 Fixed some errors in STAT table implementation
Garret Rieger 9701b002 2023-11-06T22:14:31 [subset] Always place CFF1/2 char strings at the end of the packed table. Makes the behaviour from HB_SUBSET_FLAGS_IFTB_REQUIREMENTS the default.
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.
Behdad Esfahbod c8f6ae1d 2023-07-08T20:21:49 [subset/hvar/retaingids] Synthesize a DeltaSetIndexMap if needed Before we were emitting the entire VarStore rows if advMap was Null. Instead, synthesize an advMap. 20% speed up in subset_glyphs/SourceHanSans-VF.otf/retaingids benchmark.
Behdad Esfahbod 132391ad 2023-05-19T15:01:49 [layout] Add test for font_extents
Behdad Esfahbod 4a735b30 2023-02-19T19:51:03 [cff2-subset] Update test
Andres Salomon c622c6b8 2023-01-24T23:52:10 [font] update the license url for TestGVAREight.ttf The url in the exif data incorrectly links to a proprietary license. However, permission was granted for distribution under Apache-2 as part of another project, so link to that project's license instead. fixes #4062
Matthias Clasen dd64266e 2023-01-24T19:26:20 Add a test for glyph extents This verifies a recent fix for COLRv1 returning 0,0,-1,1 for extents of non-painting glyphs.
Matthias Clasen cca0ed9b 2023-01-11T06:44:25 test-paint: Add variable font tests These needs freetype master to work.
Garret Rieger 0f01a836 2023-01-10T01:09:44 [subset] add basic test for CFF2 subsetting. FontTools does not yet support CFF2 subsetting so we can't add a comparison test. Instead add a golden file test.
Matthias Clasen 2a515679 2022-12-26T16:50:32 [paint] Add a test for recursion
Matthias Clasen a7a93b85 2022-12-24T14:05:12 Drop accidentally added ttx files
Matthias Clasen d00e97f1 2022-12-24T06:58:44 Add test-paint to the autotools build
Matthias Clasen 47dbebff 2022-12-22T16:06:51 [paint] Add COLRv0 tests
Matthias Clasen 30a6fd04 2022-12-17T18:20:00 [colr] Add some tests
Qunxin Liu 8eadb836 2022-11-10T10:33:26 [subset] Update hb_subset_input_override_name_table API Override the name string for the NameRecord identified by name_id, platform_id, encoding_id and language_ids specified by the user. If a record with specified name_id does not exist, this API will create a new NameRecord with provided info and insert it to the name table.
Qunxin Liu 6314aa7d 2022-10-28T10:44:48 [subset] add an experimental API that can override name strings for specified name_id
Garret Rieger af74ab45 2022-06-16T18:12:09 [repack] always run the sort in repack. This is needed to ensure virtual link ordering constraints are respected when repack is being called from fontTools. For subset usage, repack won't be called if the graph doesn't already overflow so this change doesn't cause any extra work.
Garret Rieger 4e11da05 2022-05-20T01:42:34 [repacker] update repacker test golden file. Changed due to removal of Kahn sorting.
Qunxin Liu a35757c6 2022-02-02T10:30:34 [repacker] expose hb_subset_repack() API, hb_object_t and hb_link_t structs
Matthias Clasen d4cb0772 2022-02-18T18:25:56 Add a missing file The style test is using notosansitalic.ttf now, but I forgot to add it with the test. Fix that.
Matthias Clasen f81578fd 2022-02-13T19:15:36 [ot-layout] Synthesize missing baselines Add a variation of hb_ot_layout_get_baseline that synthesizes missing baselines, using heuristics in part taken from the CSS Inline Layout Module, Level 3. Includes some new tests for synthesized baselines. The base2.ttf is a subset of Noto Sans Bengali that includes just the Bengali Ka. New API: hb_ot_layout_get_baseline_with_fallback
Matthias Clasen 8dc86d07 2021-11-01T19:57:11 Add a test font scale rounding behavior This test verifies the fix for https://github.com/harfbuzz/harfbuzz/issues/3274
Qunxin Liu 8c583db9 2021-10-02T20:32:30 [subset] COLRv1: update subset() method for new strutc ClipList and VarIdxMap Also fix issues in struct PaintTransform definition
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.
Khaled Hosny ecdd8e3f 2021-08-02T19:36:20 [test] More lookup_collect_glyphs() tests
Garret Rieger 0da9158f 2021-06-29T14:23:37 [subset] Remove OffsetTo::serialize(). Convert remaining uses of it to serialize_serialize() which correctly uses the object packer.
Garret Rieger 0989b555 2021-05-18T17:12:50 [subset] Add test for overlaps flag setting.
Qunxin Liu f739e1dc 2021-05-11T11:44:32 [subset] subset both CPAL and COLRv1
Garret Rieger 2b764764 2021-04-30T13:34:16 [subset] update test-subset-gpos expected files.
Garret Rieger 1b79b8cd 2021-03-16T15:23:11 [subset] update gpos tests to reflect updated behaviour.
ebraminio 1f8b1e7f 2020-09-21T11:39:38 [ENOMEM] Return gracefully if stages isn't initialized correctly (#2639) This happens if calls to 'm.lookups[table_index].push ()' has been silently failed due to lack of memory. This change just returns gracefully instead issuing the assert. Fixes https://crbug.com/oss-fuzz/24494
Ebrahim Byagowi 122a2897 2020-07-05T22:45:11 [aat] Remove lcar support Very low use, only two distinct font files, Apple Chancery.ttf and Hoefler Text.ttc have it so it really doesn't worth the size addition and so, but one may argue that whole ligature caret is low use but guess we better to encourage GDEF one anyway.
Ebrahim Byagowi a3b9b94b 2020-07-06T00:05:21 [style] Remove fdsc support (#2541) It isn't exposed yet and low use between Apple fonts, 32 fdsc table vs 767 OS/2 tables, even Apple doesn't support it anymore per Ned.
Ebrahim Byagowi 22037499 2019-08-04T11:31:31 [style] New experimental API, hb_style_get_value Searches variation axes of a hb_font_t object for a specific axis first, if not set, then tries to get default style values from different tables of the font.
Ebrahim Byagowi ca2705f1 2020-05-21T00:05:42 [tests] Add more tests for _get_ligature_carets
ariza c05458ec 2020-03-02T16:51:19 update cff & cff2 subsetters
Ebrahim Byagowi 44169f33 2020-02-29T16:04:03 [draw] Fix invalid rendering of some glyph on Estedad-VF Basically reverts 11f3fca so I can do the same tested and better later Fixes #2215
Ebrahim Byagowi 1f5a54c7 2020-02-24T13:18:24 [gvar] fix infinite loop introduced by 11f3fca The attempt on removing end_points had made the code unreadable and has intrdouced infinite, fixed by making the code clear what it tries to achieve.
Ebrahim Byagowi 0cf050a7 2020-02-23T23:00:48 [draw] Merge consequent move-to commands of CFF/CFF2
Ebrahim Byagowi 49341fae 2020-02-12T19:15:16 [fuzz] minor, move two fuzzer cases to their correct place
Ebrahim Byagowi 97229244 2020-02-12T15:41:22 [fuzzer] Fix hb-set-fuzzer minor overflow issue Size shouldn't be smaller than the struct not its pointer size. Fixes https://crbug.com/oss-fuzz/20655
Ebrahim Byagowi 3a98c7fa 2020-02-06T01:11:00 [glyf] Skip empty contours As https://savannah.nongnu.org/bugs/index.php?57701
Ebrahim Byagowi 43253e40 2020-02-05T17:45:19 Merge remote-tracking branch 'upstream/master'
ckitagawa-work 774725b4 2020-02-05T07:43:10 [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.
ckitagawa e128f802 2020-01-21T13:35:43 parent 777ba47b50f6379b9f9abf1d72559316b7116b9e author ckitagawa <ckitagawa@chromium.org> 1579631743 -0500 committer ckitagawa <ckitagawa@chromium.org> 1580506176 -0500 [subset] Add CBLC support
ckitagawa 7d542a52 2020-01-29T10:20:00 Refactor to two iterators
ckitagawa ed857c46 2020-01-24T08:52:23 [subset] Add COLR support
Ebrahim Byagowi 1438bae7 2020-01-26T23:48:30 [ot-glyph] Add fontkit non variables fonts tests
Ebrahim Byagowi 99f8e52d 2020-01-26T17:02:11 [ot-glyph] Add fontkits's variations toSVG tests
Ebrahim Byagowi e44982f5 2020-01-26T14:30:03 [ot-glyph] Add ttf-parser's outline_glyph tests
Ebrahim Byagowi 5532374f 2020-01-23T20:27:21 [ot-glyph] Add a test for #2053
Qunxin Liu c370da45 2020-01-22T11:36:15 [subset] Cmap table: remove encodingRecord entry for empty cmap4 subtable
ariza acb4627e 2020-01-22T12:28:30 add api test
ariza 72cbfb90 2020-01-18T16:35:52 remove empty lookup subtables Added a variant of subset_offset_array which takes an extra arg passed to serialize_subset for this impl. Added a new api test "test-subset-gpos" for this.
ckitagawa 93376a64 2020-01-15T13:11:40 Add unittests
Qunxin Liu 1db2c1d0 2020-01-07T11:10:40 fix for cmap4 and OS_2 subsetting: maximum character code allowed is 0xFFFF
blueshade7 ea8fdfa0 2019-11-22T15:59:09 Merge branch 'master' into var-subset
Khaled Hosny dd288840 2019-10-29T01:45:49 [cmap] Check GID before adding ranges in format 4 & 12 Fixes https://github.com/harfbuzz/harfbuzz/issues/2031
Michiharu Ariza b9ff43c1 2019-10-01T16:13:40 Implement gvar table and variable glyf Split from Ariza's "[subset] TrueType/CFF2 variable font" work on #1594
Ebrahim Byagowi 9ff32b79 2019-08-29T19:53:18 Merge remote-tracking branch 'upstream/master' into glyf-rebase
Qunxin Liu 37572882 2019-06-25T13:17:30 [subset] cmap table to use _subset2 and new iterator frameworks
blueshade7 6e3bfecf 2019-07-29T12:25:43 Merge branch 'master' into var-subset
Ebrahim Byagowi 3ac03bd6 2019-07-22T23:35:08 [meta] New API, hb_ot_metadata_reference_entry for fetching meta entries
Ebrahim Byagowi 356b68a0 2019-07-25T23:22:00 [metrics] Add a test that actually practices variation (#1858)
blueshade7 386a4a64 2019-07-12T17:05:34 regenerate subset api test result SourceHanSans-Regular.41,4C2E.retaingids.otf
blueshade7 670768e5 2019-07-12T16:14:23 fix inc-bimap for subsetting VarStore with retain-gids
Michiharu Ariza 4ddab6fa 2019-06-05T11:21:27 Merge branch 'master' into var-subset
Garret Rieger 6555f209 2019-05-15T09:42:38 [subset] Truncate empty gids at the end in retain-gids mode.
Behdad Esfahbod 5ac4ab68 2019-05-02T16:29:07 [subset] fix for name table serializing with new serializer machinery
Michiharu Ariza 1223a352 2019-04-29T16:43:48 Merge branch 'master' into var-subset
Qunxin Liu 1ca4b5c7 2019-04-22T11:31:23 [subset] Add unit test for str de-dup Also move the implementation of some methods from the .cc to the .hh
Qunxin Liu 6faac8df 2019-04-10T16:38:35 [subset] Subsetting Name Table Step 4 Add unit test and integration test
Michiharu Ariza 49fe81fd 2019-04-17T11:48:12 updated api test results for HVAR/VVAR subset changes
Michiharu Ariza 3e524bf7 2019-04-12T12:48:48 fix VarData serialize to remove unused data sets add api test case for that
Michiharu Ariza ab9d3096 2019-04-10T17:21:37 Add tt var metrics test cases & bug fixes
Michiharu Ariza 0008963b 2019-03-26T17:10:46 add support of anchor point & SCALED/UNSCALED_COMPONENT_OFFSET some code cleanup
Michiharu Ariza ae3db1f4 2019-03-21T18:09:37 added api test for subset VVAR & bug fix added a mod copy of SourceSerifVariable-Roman.ttf with VVAR as a test font
Michiharu Ariza fe5aa8b3 2019-03-20T15:10:59 added TT VF full font test & fixed bugs updated CFF2 VF api test results too
Michiharu Ariza dc10a7ef 2019-03-19T12:34:03 add gvar & HVAR retain-gids test cases
Michiharu Ariza 2bd2e656 2019-03-19T18:23:14 update CFF2 test results
Michiharu Ariza 6ee71166 2019-03-19T00:41:41 add api tests for subset gvar & HVAR; bug fixes
Michiharu Ariza 6e066464 2019-03-18T18:11:00 replaced tt var api test with a composite glyph for better coverage
Michiharu Ariza 511518c7 2019-03-18T15:39:10 add api test for tt var advance widths stripped HVAR from SourceSansVariable-Roman.abc.ttf so glyf gets parsed
Michiharu Ariza 139e87b5 2019-03-16T00:08:03 fix tt var extents & add test
Ebrahim Byagowi 5bbe78a0 2019-03-14T16:49:42 Allow zero length ranges in sanitization (#1617) Fixes fvar table sanitization where there are no named instance by allowing zero length ranges starting from Null() address. Fixes #1607
Michiharu Ariza 49f93596 2019-03-26T17:10:46 add support of anchor point & SCALED/UNSCALED_COMPONENT_OFFSET some code cleanup
Michiharu Ariza d2a0149c 2019-03-21T18:09:37 added api test for subset VVAR & bug fix added a mod copy of SourceSerifVariable-Roman.ttf with VVAR as a test font
Michiharu Ariza 32591817 2019-03-20T15:10:59 added TT VF full font test & fixed bugs updated CFF2 VF api test results too
Michiharu Ariza 92bc7405 2019-03-19T18:23:14 update CFF2 test results
Michiharu Ariza 0576253a 2019-03-19T12:34:03 add gvar & HVAR retain-gids test cases