test


Log

Author Commit Date CI Message
Qunxin Liu f1ac36ba 2023-11-15T11:38:41 [instancer] update hhea vertical metrics with OS/2 ones
Qunxin Liu 2d001a0a 2023-11-08T11:11:51 [subset] OTS doesn't allow ligature attachment offset to be 0
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.
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.
Qunxin Liu d550e16a 2023-11-06T10:31:05 [instancer] Recalc avgcharwidth after instancing
Qunxin Liu 6baf791e 2023-11-03T11:06:07 [instancer] add tests
Qunxin Liu 31b5b2b1 2023-11-02T09:08:36 [instancer] add tests for valueformat
Qunxin Liu 413af0a9 2023-11-02T11:14:48 [instancer] When partial instancing, subset LigCaretList after VarStore instantiation
Qunxin Liu f6f35f73 2023-10-27T09:31:07 [instancer] add tests for feature variations partial instancing
Qunxin Liu e595fe75 2023-10-18T16:00:06 fix bots partial instancing tests are wrapped by experimenal_api, do not enable them in Makefile
Qunxin Liu ce466989 2023-10-18T15:49:57 [subset] update tests to reflect changes in GDEF.MarkGlyphSetsDef and Lookup.MarkFilteringSet
Qunxin Liu bde6fb83 2023-10-18T10:21:02 add missing file for test empty_region_vardata
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.
Behdad Esfahbod fc563bb4 2023-10-05T11:07:17 Merge pull request #4421 from googlefonts/GDEF_GPOS [instancer] support GDEF/GPOS tables
Khaled Hosny 6e06a193 2023-09-30T01:12:16 Add some tests for hb_feature_[from|to]_string()
Garret Rieger 333946b0 2023-09-28T19:02:37 [subset] Fix fuzzer timeout. Fixes https://oss-fuzz.com/testcase-detail/5458896606855168. Limit iteration over coverage in MarkLigPosFormat1 subsetting to the number of glyphs in the liga array.
Qunxin Liu 9ceb800a 2023-09-28T10:37:48 fuzzer fix https://oss-fuzz.com/testcase-detail/5842152921628672 Access TupleVariationData through blob, because we don't sanitize var_data
Qunxin Liu 2415d5f2 2023-09-27T13:33:09 [instancer] update tests to include GDEF/GPOS tables
Qunxin Liu ef4ff1d6 2023-09-20T11:35:33 [instancer] make varstore items sorting method match fonttool's Also update expected tests
Qunxin Liu 2d2818c0 2023-09-20T10:30:47 [instancer] update expected tests to include HVAR/VVAR tables
Qunxin Liu 6e49128a 2023-09-01T10:27:40 [instancer] always check and update default wght/width/slnt if necessary Sometimes default values in original file are incorrect, and if default value for an axis is not changed, then these values won't be updated
Qunxin Liu 7b5daff5 2023-08-31T17:50:34 [instancer] add tests for mvar partial instancing
David Corbett c459b8a5 2023-09-16T10:27:07 [Unicode 15.1] Add tests
David Corbett c03e4c10 2023-09-16T10:06:24 [Unicode 15.1] Update emoji table and cluster test
Qunxin Liu fd3eb2c6 2023-08-24T08:59:18 fuzzer fix: https://oss-fuzz.com/testcase-detail/6032126569742336
Garret Rieger a1f034ea 2023-08-28T21:10:16 [repacker] fix fuzzer failure. Fixes: https://oss-fuzz.com/testcase-detail/6490945267564544
Behdad Esfahbod 2023384b 2023-08-22T13:09:26 Merge pull request #4368 from googlefonts/support_gvar Initial implementation for gvar partial instancing
Qunxin Liu dd8d3576 2023-08-22T12:54:50 [instancer] enable partial instancing tests when experimental api is on
Garret Rieger ca906e87 2023-08-16T23:37:03 [repacker] fix fuzzer timeout. Corrects some mistakes in the handling of incoming_edges_ when memory allocation failures happen.
Qunxin Liu bea26446 2023-08-15T14:20:54 [instancer] reference all points for gvar If a point is not referenced and delta is not inferred, set delta to 0
Behdad Esfahbod 0c80aec1 2023-08-15T10:30:38 [COLR] Move cycle-detection to the renderer instead of cairo Alternative fix for https://github.com/harfbuzz/harfbuzz/issues/4375
Behdad Esfahbod 7d7541e3 2023-08-14T17:55:09 [test-paint] Print paint-color-glyph
Behdad Esfahbod 47231bdc 2023-08-14T16:52:44 [COLR/cairo/ft] Fixups to paint-color-glyph and implement for hb-ft
Behdad Esfahbod 58effbcc 2023-08-14T16:47:01 .
Behdad Esfahbod 483bc0a3 2023-08-08T15:58:20 [arabic/stch] Center the stretched group over the digits Mostly relevant when there's one digit only. https://github.com/harfbuzz/harfbuzz/issues/4369#issuecomment-1670361856
Behdad Esfahbod 9daef6ed 2023-08-08T13:33:11 [arabic] Add test for previous commit
Qunxin Liu 0aa5dafe 2023-08-08T08:33:11 fix bots. -Also disable partial instancing tests for now, cause the command option is wrapped by experimental_api
Qunxin Liu 77b158c7 2023-08-07T16:02:02 [instancer] add tests for gvar partial instancing
Behdad Esfahbod 5b337130 2023-08-01T20:02:21 Add test for previous commit
Behdad Esfahbod 94d4283b 2023-08-01T15:05:17 [graph] Handle a malloc fail Fixes https://oss-fuzz.com/testcase-detail/4579249263345664
Behdad Esfahbod 202888ec 2023-07-30T11:49:08 Fix mac bot I think the new unsafe-to-concat is correct...
Behdad Esfahbod f19ca24a 2023-07-30T11:26:11 Revert "Revert "Require numerator and denominator in auto fraction"" This reverts commit 8fe506e153c530affd529e7175e813c3a878faed.
Behdad Esfahbod 8fe506e1 2023-07-30T10:43:28 Revert "Require numerator and denominator in auto fraction" This reverts commit f3e86937df345d7709de879af1d1a1502e84e1e9.
David Corbett f3e86937 2023-07-30T08:28:23 Require numerator and denominator in auto fraction
Behdad Esfahbod 997986ab 2023-07-09T15:15:33 [subset/hvar] Error handling Fixes https://oss-fuzz.com/testcase-detail/5029952234586112
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.
Khaled Hosny afe09102 2023-07-09T02:45:52 [font] Actually deprecate get_glyph_shape() We previously marked it as deprecated in the documentation but didn’t actually deprecate it in code. Now the only known users have migrated to draw_glyph(), lets deprecate o=it for good.
Behdad Esfahbod f60dbd90 2023-07-08T16:21:24 Fix thinko Fixes https://oss-fuzz.com/testcase-detail/4787105656864768
Behdad Esfahbod 25297408 2023-07-03T10:34:26 [COLR] Fix PaintComposite sanitize timeout Was timing out after recent sanitize() change. Fixes https://oss-fuzz.com/testcase-detail/5692635449524224
Behdad Esfahbod 0cf759b0 2023-07-02T12:15:43 [Glyph] Don't shift anchored Composite if phantom_only Fixes https://oss-fuzz.com/testcase-detail/5114131137822720
Behdad Esfahbod cc44b3bc 2023-06-29T16:12:10 [subset/cff1] Handle an error condition Fixes https://oss-fuzz.com/testcase-detail/5191907895279616
Behdad Esfahbod 62f5ed46 2023-06-28T12:02:52 [subset/cff] Fix an infinite loop Fixes https://oss-fuzz.com/testcase-detail/5419002026131456
Behdad Esfahbod 347b9448 2023-06-26T18:09:40 [null] Fix getting Crap(hb_bytes_t) Fixes https://oss-fuzz.com/testcase-detail/6187272924692480
Behdad Esfahbod 6c4f975d 2023-06-25T23:37:08 Add a fuzzer font
David Corbett d8fba5c6 2023-06-22T19:25:54 [use] Add FM categories to `POST_BASE_FLAGS64`
Garret Rieger db700b56 2023-06-12T23:38:26 [subset] fix fuzzer timeout. Fixes: https://oss-fuzz.com/testcase-detail/6681253479579648. Limits iteration of coverage table during MATH subset to valid glyphs.
Behdad Esfahbod 2e6919d5 2023-06-10T10:08:56 [subset/cff2] Error handling Fixes https://oss-fuzz.com/testcase-detail/4916785942757376
Behdad Esfahbod d08aee5a 2023-06-08T13:20:28 Add fuzzing test
Behdad Esfahbod ada1e9a9 2023-06-06T14:46:06 [graph/serialize] Handle empty blob Fixes https://oss-fuzz.com/testcase-detail/4877513265119232
Behdad Esfahbod a92b288e 2023-06-06T14:32:25 [serializer] Handle snapshotting when current is nullptr Happens with memory failure / fuzzing. Fixes https://oss-fuzz.com/testcase-detail/6292420615340032
Behdad Esfahbod c2eaedd2 2023-06-04T09:25:07 [fuzzing] Add a test font From https://oss-fuzz.com/testcase-detail/5855710991482880
Garret Rieger f3b4d35f 2023-05-29T22:38:40 [subset] Fix fuzzer crash. https://oss-fuzz.com/testcase-detail/6608005089853440
Garret Rieger 20c564bc 2023-05-26T23:04:25 [repacker] Fix fuzzer memory leak. https://oss-fuzz.com/testcase-detail/6419865171525632
Garret Rieger a652281e 2023-05-26T19:47:50 [subset] Fix fuzzer timeout. Fixes https://oss-fuzz.com/testcase-detail/5979721620652032. Timeout was caused by degenerate map insert behaviour due to poor integer hash function. Presize the map to avoid it. Also fixes collect_mapping() for cmap format 13.
Khaled Hosny 0d354e04 2023-05-21T19:01:04 [layout] Add tests for baseline 2 APIs
Behdad Esfahbod 132391ad 2023-05-19T15:01:49 [layout] Add test for font_extents
Garret Rieger 77a81554 2023-05-04T23:01:56 [subset] Add some basic tests for a provided glyph map.
Garret Rieger db23be64 2023-05-02T00:06:08 [subset] clamp head *Min/*Max values to fit within 16 bit signed int. Fixes fuzzer https://oss-fuzz.com/testcase-detail/4549472192692224.
Garret Rieger b3fed4fa 2023-04-27T22:13:30 [repacker] fix fuzzer found memory leak. Fixes https://oss-fuzz.com/testcase-detail/5196242811748352
Behdad Esfahbod 1d31da91 2023-04-25T15:34:06 Merge pull request #4205 from harfbuzz/gvar-optimize Gvar optimize
Garret Rieger e41f3171 2023-04-25T20:54:27 [subset] Update expectation files for full_instance tests.
Garret Rieger 2175f5d0 2023-04-24T21:13:18 [subset] Fix inefficient ItemVariationStore subsetting w/ retain_gids. ItemVariationStore is relying on the assumption that the inner_map is populated for all output glyphs, this is not true for subsetting operations with retain gids enabled. Fixes fuzzer timeout: https://oss-fuzz.com/testcase-detail/4575222591520768.
Garret Rieger 647b0247 2023-04-17T22:47:47 [subset] Fix fuzzer issue https://oss-fuzz.com/testcase-detail/6521393809588224
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.
Qunxin Liu 96ed2072 2023-04-04T10:33:58 [instancer] update bound metrics for CFF2 instancing
Garret Rieger 2cd81fdf 2023-03-30T22:11:43 [subset] fix memory leak. Fixes fuzzer issue https://oss-fuzz.com/testcase-detail/6169920089227264
Qunxin Liu c1acfe99 2023-03-22T19:06:58 [instancer] bug fix in TupleVariationData get_size () We need to iterate TupleVariationHeader when calculating the total size
Garret Rieger be872001 2023-03-24T17:30:53 [subset] fix buffer overflow fuzzer reported issue.
Garret Rieger 79ae6b65 2023-03-24T17:14:55 [subset] Fix fuzzer found memory leaks.
Qunxin Liu ab87d7d2 2023-03-20T12:24:22 [instance] add tests for colrv1 full instancing
Garret Rieger f0f7f225 2023-03-20T18:39:49 [subset] fix fuzzer found null deref. https://oss-fuzz.com/testcase-detail/5844352760152064
Garret Rieger a84cae42 2023-03-15T02:39:57 [subset] Don't add invalid gids (-1) to the glyphset when loading glyph map from the accelerator.
Behdad Esfahbod 09a26623 2023-03-14T12:48:12 Merge pull request #4168 from googlefonts/subset_name_collect [subset] name_id closure
Qunxin Liu 204e155a 2023-03-14T10:25:31 [subset] Add tests for collecting name_ids from STAT and FeatureParams
Garret Rieger 3d05b961 2023-03-13T21:34:26 [subset] track which glyphs have allocated memory so we can clean up correctly. Fixes https://oss-fuzz.com/testcase-detail/5388270411579392
Garret Rieger 7a87b177 2023-03-13T19:50:28 Check for failed subset input creation in the fuzzer.
Garret Rieger 28b05e1c 2023-03-08T23:59:04 [subset] Fix memory leak in glyf subset. Fixes fuzzer issue: https://oss-fuzz.com/testcase-detail/6525813890875392.
Garret Rieger 9286e125 2023-03-08T20:02:26 Don't subset a glyf table with an unknown format. Fixes fuzzer issue: https://oss-fuzz.com/testcase-detail/4875306193518592
Behdad Esfahbod 2d33a6b4 2023-02-28T15:31:45 [subset-fuzzer] Protect against overflow Fixes https://github.com/harfbuzz/harfbuzz/issues/4137#issuecomment-1448994447
Qunxin Liu a975ec48 2023-02-14T13:26:59 [instancer] apply cvar deltas
Garret Rieger c0fac016 2023-02-22T20:54:20 [subset] update the subset fuzzer to be able to reach instancing code.
Qunxin Liu 605aed05 2023-02-24T10:17:32 [instancer] bug fix in post table applying mvar deltas
Garret Rieger 918193eb 2023-02-22T23:11:29 [subset] fix a class of fuzzer timeouts caused by large shared coverage tables. More acurately estimates the op count for CoverageFormat2 tables as the population size instead of the size in bytes.
Garret Rieger ddd0f7f4 2023-02-22T20:23:34 [subset] Add a test for CFF2 instancing. Adds option to disable the fonttools comparison check in the test. This is needed since CFF2 instancing is not yet supported in fonttools.
Behdad Esfahbod 4a735b30 2023-02-19T19:51:03 [cff2-subset] Update test
Qunxin Liu af1e605b 2023-02-10T11:08:05 [instancer] bug fix It's possible that length of all_points equals to 4 for non-empty glyphs: a composite glyph which contains only one child glyph that is empty.
Jens Kutilek 219e2f12 2023-02-10T17:23:31 Clarify that those two test fonts are CC0-licensed
Behdad Esfahbod 64fa5cd4 2023-02-07T15:50:36 [GPOS] Fix assert fail introduced recently Was introduced in 8708b9e081192786c027bb7f5f23d76dbe5c19e8. If these lookups are recursed to from (Chain)Context out-of-order, it was possible that last_base > buffer->idx, in which case we were attaching marks to a base after them... and an assertion was failing fortunately. Fixes https://oss-fuzz.com/testcase-detail/6377756666757120