test/api/fonts


Log

Author Commit Date CI Message
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 2bd2e656 2019-03-19T18:23:14 update CFF2 test results
Michiharu Ariza dc10a7ef 2019-03-19T12:34:03 add gvar & HVAR retain-gids test cases
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
Michiharu Ariza 2e6038a2 2019-03-19T00:41:41 add api tests for subset gvar & HVAR; bug fixes
Michiharu Ariza aeddb30f 2019-03-18T18:11:00 replaced tt var api test with a composite glyph for better coverage
Michiharu Ariza 9d3a2520 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 434ea068 2019-03-16T00:08:03 fix tt var extents & add test
Ebrahim Byagowi 8aaab78e 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 e2856c2d 2019-02-07T15:32:32 retain FDSelect & FDArray with --retain-gids so in sync with fonttools behavior
Michiharu Ariza c1286265 2019-02-01T14:50:01 added desubroutinize & retain-gids full test cases with CFF fonts and CFF retain-gids fixes
Michiharu Ariza f2908b4d 2019-01-31T14:16:37 Implement subset --regain-gids option with CFF1/2 along with api tests & expected results
Garret Rieger ccc59dc6 2019-01-18T17:36:32 [subset] Add unit test for glyf subsetting and retain gids.
Ebrahim Byagowi 01f628cf 2018-12-03T22:04:48 [aat] Expose hb_aat_layout_has_tracking API
Michiharu Ariza 32d291ae 2018-11-28T16:27:45 Merge branch 'master' into cff-subset
Ebrahim Byagowi b791bbba 2018-11-01T15:15:56 [feat] Apply @jfkthame reviews
Michiharu Ariza b67a7c73 2018-11-16T12:28:24 drop dotsection as hint along with test case
Michiharu Ariza 072c7aba 2018-11-15T15:41:46 use 2-byte offset instead of 4-byte for local subrs more than enough since local subrs immediately follow its corresponding private dict, as the result 2-byte redunction for each font dict with local subrs updated api test expected subset fonts accordingly
Michiharu Ariza 3787c078 2018-11-14T13:38:03 Implemented seac for extents & subset along with API tests
Michiharu Ariza fb2a037f 2018-11-10T16:23:11 Merge branch 'master' into cff-subset
Ebrahim Byagowi b986fead 2018-11-05T12:31:58 Hook AAT's lcar to _get_ligature_carets
Michiharu Ariza 0996c0ff 2018-11-07T14:48:37 implented no-desubroutinize with CFF2 along with API test replaced AdobeVFPrototype.abc.otf with a hinted (maually) & subroutinized copy replaced expected results as well
Michiharu Ariza 1682d1bb 2018-11-04T13:25:41 Merge branch 'master' into cff-subset
Ebrahim Byagowi b8a78ce2 2018-11-03T22:28:30 [BASE] Improvements (#1347)
Michiharu Ariza 34b06d99 2018-11-02T16:40:20 fixed FDSelect size calcluation
Michiharu Ariza 481fdfdc 2018-11-02T15:28:09 Merge branch 'cff-subset' of https://github.com/harfbuzz/harfbuzz into cff-subset
Michiharu Ariza 1bc710a8 2018-11-02T15:28:01 added CFF1 desubr api test cases & bug fixes
Michiharu Ariza e600e544 2018-11-01T16:13:56 Merge branch 'master' into cff-subset
Ebrahim Byagowi 143ffe65 2018-10-26T12:14:30 [fuzz] Add a new testcase