test

Branch


Log

Author Commit Date CI Message
Behdad Esfahbod f159600c 2025-10-17T21:49:40 Fix a draw fuzzer uninitialized-memory issue (#5615) Fixes https://oss-fuzz.com/testcase-detail/5714890590584832
Harry Dalton 780b9866 2025-10-15T10:28:41 [shape] Test fallback to `kern` table under different shapers More specifically, this asserts that the `kern` table is avoided for certain shapers, and that we avoid double-spacing in the presence of `dist` for the same.
Khaled Hosny 189358e3 2025-10-15T05:06:26 [test] Add test for harfrust#278 (#5610) Add test case for https://github.com/harfbuzz/harfrust/pull/278
Qunxin Liu 0952bc0a 2025-09-26T09:10:28 [subset] de-duplicate features (#5494)
Garret Rieger 54ab8f0d 2025-09-15T18:20:59 [repacker] make repacker object ids stable. Prior to this change the object id for a vertex in the repacker graph is it's position in the topological ordering. As a result after each sorting the object ids change. This decouples the topological sorting from the object id assignments. A separate ordering list is retained. This simplifies handling around object ids which no longer needs to account for them shifting, and improves performance by eliminating the step of reassigned link object ids after each sort.
Behdad Esfahbod d6343fa3 2025-09-13T13:38:47 [instancer/varstore] Update test expectations
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.
Behdad Esfahbod c9480db9 2025-09-12T12:22:17 [instancer/varstore] Add a heuristic to speed up optimization
Garret Rieger 6dadd846 2025-09-12T18:37:30 Re-disable fonttools comparison for update_def_wght.tests
Behdad Esfahbod 0f1dab0f 2025-09-12T11:43:21 [instancer/varstore] More gain_from_merging optimization (#5543) * [instancer/varstore] More gain_from_merging optimization * [tests] Re-enable a test that was disabled until an issue fixed See comment.
David Corbett bc2c60e4 2025-09-10T11:43:01 [Unicode 17] Add tests
David Corbett e189b34e 2025-09-10T11:19:14 [Unicode 17] Update the emoji table & cluster test
Qunxin Liu 77d07304 2025-09-02T14:40:51 [subset] fix HVAR encoding width (#5523)
Behdad Esfahbod a89c36e0 2025-09-02T13:05:11 [GPOS/kerx] Support attaching marks to bases after them (#5520) See comments. Fuzzer found. I'm surprised this was not discovered before though. I hope I have not missed anything. Fixes https://oss-fuzz.com/testcase-detail/6399443634290688
Khaled Hosny b7c55efe 2025-08-26T00:28:12 [subset] Fix shaping behaviour when pruning empty mark sets See https://github.com/harfbuzz/harfbuzz/issues/5499
Behdad Esfahbod 2c22a65f 2025-08-08T15:14:16 [test] Add test for would_apply with multiple subtables From HarfRust issue: https://github.com/harfbuzz/harfrust/issues/118
Qunxin Liu cd49b14b 2025-07-29T14:32:26 [subset] add more aggressive pruning for MarkLigPos and MarkMarkPos (#5434) Remove lig/mark glyphs without defined anchor points after subsetting
Behdad Esfahbod 3416fd28 2025-07-26T12:56:16 [tests/vertical] Add test for previous commit
Behdad Esfahbod 4f8193ce 2025-07-26T12:56:16 [tests/vertical] Add test for previous commit
Qunxin Liu 879c4ac7 2025-07-24T14:13:16 [subset] MarkBasePos: remove base glyphs with empty base record BaseRecord could become empty if all anchor offsets for retained mark classes are null
Garret Rieger 04d60de6 2025-07-23T18:55:56 [CFF2] Fix fuzzer failure in CFF2. Fixes https://oss-fuzz.com/testcase-detail/5291661985120256
Khaled Hosny 16fe5422 2025-07-23T16:03:18 [kbts] Add some tests
Behdad Esfahbod d47a319b 2025-07-15T12:08:00 [rust] Roll deps forward Adjust tests. See: https://github.com/harfbuzz/harfbuzz/issues/5388
Khaled Hosny af1b9acc 2025-07-02T16:55:48 [glib] Drop fallback code for versions we don’t support We require Glib 2.30.0, so drop checks for older versions.
Behdad Esfahbod 7278f8a2 2025-06-14T11:02:37 [test/shape] Clean up meson Fixes https://github.com/harfbuzz/harfbuzz/issues/5366
Behdad Esfahbod 6eb4ed6a 2025-06-14T09:23:41 [meson] Disable some tests under -Dutilities=disabled Fixes https://github.com/harfbuzz/harfbuzz/issues/5365
Behdad Esfahbod 1ea3279e 2025-06-14T09:23:41 [meson] Disable some tests under -Dutilities=disabled Fixes https://github.com/harfbuzz/harfbuzz/issues/5365
Behdad Esfahbod 47089fe7 2025-05-28T17:10:22 Big misc changes - Make geometry types into templates taking float or double. - Changes to paint() transform elimination. - Add font->has_nonzero_coords and use it across. - Extensions to avar processing for otherwise invalid mappings.
Behdad Esfahbod cc884606 2025-06-06T21:39:03 [test/shape] --safe-to-insert-tatweel At some point we should switch to --show-flags. For now, tests all pass regardless of this switch.
Behdad Esfahbod 7908e86e 2025-06-06T20:19:06 [util/test-shape] Only output one line per test If a shape call was failing, perhaps because of --verify failing, hb-shape was producing multiple lines possibly, making the test runner get out of sync and fail all following tests. https://github.com/harfbuzz/harfruzz/issues/60
Behdad Esfahbod 8eb2f07c 2025-05-26T13:21:25 Merge branch 'main' into HVF
Behdad Esfahbod 7e353d37 2025-05-23T14:31:35 [test] Remove u8 prefix from strings No idea how/why this got in there to begin with.
Garret Rieger fac64e58 2025-05-23T18:15:41 [instancer] add a test which checks calculation of vmtx tsb during CFF2 instancing.
Behdad Esfahbod a13fd9ae 2025-05-21T12:23:19 Merge branch 'main' into HVF
Behdad Esfahbod eeabc29c 2025-05-17T11:24:51 [test/subset] Fix test-runner when ots is present
Garret Rieger 3e122d9d 2025-05-16T17:32:45 Disable OTS on the cmap4 overflow test case. The test file has been stripped of most tables to avoid checking in a very large font (since it has a high number of codepoints), which causes OTS to fail on missing required tables.
Garret Rieger 4e767271 2025-05-14T23:17:54 Add a test checks we can recover from cmap4 overflow.
Behdad Esfahbod 60405605 2025-05-09T23:17:35 [test/shape] Move LucidaGrande test to macos.tests
Behdad Esfahbod 19a5d1aa 2025-05-07T16:57:19 [test/shape] Only do unsafe-to-concat check for `ot` shaper For now, to get harfRuzz testing going better.
Behdad Esfahbod de974288 2025-05-07T16:42:06 Merge branch 'main' into HVF
Behdad Esfahbod 2f7fbeee 2025-05-07T13:42:56 [test/shape] Allow specifying shaper / face-loader as env-vars
Behdad Esfahbod 21a67df4 2025-05-06T15:41:12 [run-tests.py] Clean up file descriptors
Behdad Esfahbod b3e6bd20 2025-05-06T10:37:40 Merge branch 'main' into HVF
Behdad Esfahbod fcedcf81 2025-04-25T19:04:37 [coretext] Another old-system build fix Fixes https://github.com/harfbuzz/harfbuzz/issues/5300#issuecomment-2831684725
Behdad Esfahbod d92106df 2025-04-24T21:42:20 Merge branch 'main' into HVF
Behdad Esfahbod 38db1fac 2025-04-23T18:02:06 [paint] Change back return type of paint_glyph() to void Add new "_or_fail" variants of draw_glyph and paint_glyph New API: +hb_font_draw_glyph_or_fail_func_t +hb_font_paint_glyph_or_fail_func_t +hb_font_funcs_set_draw_glyph_or_fail_func() +hb_font_funcs_set_paint_glyph_or_fail_func() +hb_font_draw_glyph_or_fail() +hb_font_paint_glyph_or_fail() Deprecated API: -hb_font_draw_glyph_func_t -hb_font_paint_glyph_func_t -hb_font_funcs_set_draw_glyph_func() -hb_font_funcs_set_paint_glyph_func()
Behdad Esfahbod e78310bf 2025-04-23T00:58:08 [paint] Change return type to bool, and return false for outline glyphs It was impossible to get synthetic bold/slant correctly with the previous API. This is a minor API break, but one I'm willing to take.
Behdad Esfahbod 9445778e 2025-04-22T21:33:15 [test-paint] Update expectations for recent slant changes
Behdad Esfahbod 66b357b9 2025-04-20T05:11:17 Merge branch 'main' into HVF
Behdad Esfahbod 8aa88aa4 2025-04-20T04:08:41 [COLRv1:ot/ft] Use paint-bounded instead of paint-extents Faster. Note that this also means that if there is no clip-box, we don't compute the bounds and emit an initial clip anymore. That was totally unnecessary and against the COLRv1 rendering algorithm. This makes painting of COLRv1 fonts without clipboxes *much* faster, as previously we were computing bounds using all subglyph outlines. Not anymore. Before: BM_Font/paint_glyph/Nupuram-Color.colrv1.ttf/ot 1.78 ms After: BM_Font/paint_glyph/Nupuram-Color.colrv1.ttf/ot 0.155 ms
Behdad Esfahbod aef3df50 2025-04-20T00:37:24 Merge branch 'main' into HVF
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.
Behdad Esfahbod 204cc5bc 2025-04-07T14:11:11 Merge branch 'main' into HVF
Behdad Esfahbod e31721b5 2025-04-06T21:40:43 [test/shape] Write cmdline as test description
Behdad Esfahbod a3d626b4 2025-04-06T19:16:43 [test-object] Hopefully last ubsan fix API change: - hb_face_is_immutable() now takes `hb_face_t *` instead of previous `const hb_face_t *`. This should not pose any problem for any clients in our belief.
Behdad Esfahbod b99382e2 2025-04-06T18:53:53 [test-unicode] Try disabling one test under ubsan
Behdad Esfahbod ba4a92c5 2025-04-06T18:48:39 [test-object] Fix ubsan issues
Behdad Esfahbod 8a1ba4d1 2025-04-06T18:12:22 [test-object] See if this helps make ubsan happy
Behdad Esfahbod fb04a306 2025-04-06T17:41:18 [test/api] Fix a few ubsan issues
Behdad Esfahbod b4390115 2025-04-06T17:28:03 [test-draw] Make ubsan happy
Behdad Esfahbod f09c4d6d 2025-04-06T15:54:21 [test/subset] Fix a regular expression
Behdad Esfahbod 1f055939 2025-04-06T15:39:19 [test/subset] Massage more
Behdad Esfahbod d8f00171 2025-04-06T15:33:25 [test/subset] black
Behdad Esfahbod cc065cf2 2025-04-06T15:33:08 [test/subset] Better report passed tests
Behdad Esfahbod c60067c6 2025-04-06T15:25:58 [test/subset] See if this fixes CI
Behdad Esfahbod 6b2563ff 2025-04-06T15:05:25 Merge branch 'main' into HVF
Behdad Esfahbod 8456c33a 2025-04-06T14:33:44 [test/shape] Respect @face-loaders directive
Behdad Esfahbod 1f1cbb64 2025-04-06T14:30:07 Merge pull request #5260 from harfbuzz/tap Use TAP protocol for tests
Behdad Esfahbod aa6a37de 2025-04-06T14:13:18 [test/subset] Port to TAP
Behdad Esfahbod ba309a18 2025-04-06T13:54:47 [test/fuzzing] Port all to TAP
Behdad Esfahbod 58d7ab2d 2025-04-06T13:42:13 [meson] Remove unneeded dependencies
Behdad Esfahbod 03f42301 2025-04-06T13:31:17 [mac] Add tests for --face-loader https://github.com/harfbuzz/harfbuzz/issues/5142
Behdad Esfahbod 5a468728 2025-04-06T13:05:43 Add test for https://github.com/harfbuzz/harfbuzz/issues/5232
Behdad Esfahbod 2b5ae9de 2025-04-06T12:46:43 [meson] Use a glob.py instead of ls / dir
Behdad Esfahbod 155e1e63 2025-04-06T03:49:15 [test/api] Use g_assert_true instead of g_assert The latter terminates the program. The former marks the test as failing.
Behdad Esfahbod 5efdb884 2025-04-06T03:21:15 [run-tests] Fix remaining bot fails, fingers crossed
Behdad Esfahbod 8132a660 2025-04-06T03:12:38 [shape/run-tests] Don't return non-zero TAP protocol.
Behdad Esfahbod b2179dcf 2025-04-06T02:56:20 [meson.build] Another try
Behdad Esfahbod a777a9c5 2025-04-06T02:47:06 [meson.build] Try fix using of `find`
Behdad Esfahbod e3327777 2025-04-06T02:30:09 [fuzzing/subset] Make TAP protocol
Behdad Esfahbod 740a103b 2025-04-06T02:26:17 [meson] See if this fixes bots
Behdad Esfahbod a530672f 2025-04-06T02:20:41 [meson.build] Don't use str.replace() method Too recent.
Behdad Esfahbod fbda749b 2025-04-06T02:01:28 [meson.build] Try to bring down required version range() not found
Behdad Esfahbod da5a9fb8 2025-04-06T01:50:01 [meson.build] Remove unused fs module
Behdad Esfahbod b01cea95 2025-04-06T01:48:35 [meson] Cosmetic
Behdad Esfahbod 1db93d2f 2025-04-06T01:46:23 [test/fuzzing/subset] Run chunks in parallel
Behdad Esfahbod ee50fad6 2025-04-06T01:08:28 [run-tests] black
Behdad Esfahbod db953a43 2025-04-06T01:06:25 [meson.build] Cosmetic
Behdad Esfahbod 69fd9490 2025-04-06T00:33:44 [test/shape] Run using TAP protocol Run all tests for a suite in one process. Saves runtime from 3s to 2s.
Behdad Esfahbod 2834900d 2025-04-06T00:15:12 [test/shape] Run each test suite in one process
Behdad Esfahbod e4e4d665 2025-04-06T00:12:22 [test/api] Test remaining tests to TAP
Behdad Esfahbod c523f9ac 2025-04-05T23:41:51 [test/shape] Use TAP Checkpoint.
Behdad Esfahbod f69ecc94 2025-04-05T22:37:34 [test/api] Set protocol:tap
Behdad Esfahbod bee08cf2 2025-04-05T23:07:25 [hb-test] Don't convert _ in test names to / Slash is used for grouping...
Behdad Esfahbod 3cf48234 2025-04-05T23:04:14 [hb-test.h] Remove unsed functions
Behdad Esfahbod 112b5998 2025-04-05T22:37:10 [test] Minor use hb_test_init
Behdad Esfahbod 6c98519c 2025-04-05T21:26:00 [test/api] Simplify deps
Khaled Hosny a24c40df 2025-04-06T03:03:43 [test/ot-math] Do away with global variables
Khaled Hosny d74606bb 2025-04-06T02:40:39 [test/ot-math] Port to use hb_test_open_font_file() Avoids the unnecessary dependency on FreeType.
Khaled Hosny 2d8e5255 2025-04-06T02:22:43 [test/ot-math] Add a test for the Cambria Math workaround