test/shape


Log

Author Commit Date CI Message
Behdad Esfahbod c523f9ac 2025-04-05T23:41:51 [test/shape] Use TAP Checkpoint.
Behdad Esfahbod 91fd40ac 2025-04-01T03:57:47 [shape] Skip hidden / ignorables during fallback mark positioning Fixes https://github.com/harfbuzz/harfbuzz/issues/5232
Behdad Esfahbod 4954edb2 2025-03-28T19:19:57 [test/vertical] Add more tests
Behdad Esfahbod 67314b20 2025-03-28T16:41:01 [test/vertical] Enable some on fontations
Behdad Esfahbod c260550a 2025-03-28T16:34:12 [test/shape] Improve run-tests output on failure
Behdad Esfahbod 18ced8db 2025-03-28T16:31:46 [test/vertical] Add more tests
Behdad Esfahbod cb44134c 2025-03-28T15:56:13 [test/vertical] Test more font-funcs
Behdad Esfahbod 7ba03682 2025-03-27T17:12:08 [test] Enable aat-trak on all font funcs now
Behdad Esfahbod e16a9857 2025-03-25T15:14:30 [test/shape/aots] Add directive to run with ot shaper only
Behdad Esfahbod 851d3e33 2025-03-25T15:06:24 [aots] Fix compile error Also requires https://github.com/adobe-type-tools/aots/pull/5 to be merged. Or if that repo is inactive, we can switch to my fork.
Behdad Esfahbod eec91084 2025-03-25T13:56:12 [test/shape] Adjust uniscribe test
Khaled Hosny 61401394 2025-03-25T17:11:51 [test/shape] Update comment
Khaled Hosny 190ad35f 2025-03-25T16:34:19 [test/shape] Don’t skip test if `hb-shape --list-*` fails This can happen with Wine when, e.g., `WINEPATH` is not set, and we would silently skip the tests because lists of supported shapers etc. are empty.
Khaled Hosny 6cf308c8 2025-03-25T10:34:43 [test/shape] Remove @font-funcs-=directwrite from directwrite test The directwrite font functions support variations now, so this is no longer needed.
Khaled Hosny 1402ecfe 2025-03-25T10:33:38 [test/shape] Use @shapers directive in uniscribe test
Behdad Esfahbod 46a30fe3 2025-03-24T18:23:34 [test/shape] Respect @shapers directive
Behdad Esfahbod 4cc66435 2025-03-23T12:06:54 Merge pull request #5188 from harfbuzz/text-rendering-tests-fontations Text rendering tests fontations
Behdad Esfahbod 74c82b3a 2025-03-23T11:52:45 Blacken
Behdad Esfahbod f0e260ad 2025-03-23T11:51:58 [text-rendering-tests] Run against ot,ft only See https://github.com/harfbuzz/harfbuzz/pull/5188
Behdad Esfahbod 55743b23 2025-03-22T19:56:00 [test/shape] Skip uniscribe/directwrite shapers under Wine
Behdad Esfahbod e0aee581 2025-03-22T13:07:10 [test] Respect MESON_EXE_WRAPPER in more test runners It's not working for me though. Meson doesn't seem to set WINEPATH during testing.
Behdad Esfahbod 8ae92d0d 2025-03-22T13:21:54 [text-rendering-tests] Run against all font-funcs One test is failing with fontations, and a few with directwrite.
Behdad Esfahbod 51a5618c 2025-03-22T13:20:16 [test] Update text-rendering-tests
Khaled Hosny 12e31ab7 2025-03-21T02:24:00 [test] Allow running test suite under wine Set exe_wrapper in the Windows cross files, which will cause unit tests to be run with wine. When we call the binary ourselves, e.g. in shape run-tests.py, we need to check for MESON_EXE_WRAPPER env var (which meson sets automatically if exe_wrapper is set) and use it.
Khaled Hosny 14c07dcf 2025-03-21T01:53:32 [test] Make context-matching test pass with coretext font functions Remove the CBDT/CBLC tables not needed for the test and a glyf/loca tables with blank glyphs to make Core Text load the font.
Khaled Hosny 686503e2 2025-03-19T16:37:56 [directwrite] Copy font variations when shaping
Behdad Esfahbod 0349359c 2025-03-18T14:59:26 [tests] Fix one test
Behdad Esfahbod 696b4a26 2025-03-17T20:24:28 [coretext] Blocklist one more shape test
Behdad Esfahbod ad9c4737 2025-03-17T19:39:57 [test/shape] Make output less verbose
Behdad Esfahbod 630bc9b4 2025-03-17T19:23:49 [coretext] Disable variation-selectors test :-(
Behdad Esfahbod 719dafda 2025-03-17T18:06:14 [test/shape] Allow comments in directives Also adjust tests for directwrite font-funcs.
Behdad Esfahbod 27bb37c5 2025-03-17T17:54:06 [test/shape] Fix reporting
Behdad Esfahbod 9a0802db 2025-03-17T17:36:20 [test/shape] Comments
Behdad Esfahbod ee34711d 2025-03-17T17:10:17 [test/shape] Allow directives to instruct what backends to test
Behdad Esfahbod 220a8b94 2025-03-17T16:52:24 [test/shape] Massage script some more
Behdad Esfahbod 7c248ccc 2025-03-17T16:00:10 [test/shape] Var rename
Behdad Esfahbod 3e137c8e 2025-03-17T14:54:09 [test/shape] Minor massage the runner
Behdad Esfahbod cf1772a4 2025-03-17T13:29:54 [test/shape] Compare results without glyph names if needed Enable fontations font-funcs, which mostly passes now.
Behdad Esfahbod a37fb2fb 2025-03-17T13:25:05 [test/shape] Rename a couple of variables
Behdad Esfahbod 24f9fd46 2025-03-17T13:23:29 [test/shape] Restart hb-shape --batch process if killed
Behdad Esfahbod 5b3bf25b 2025-03-17T00:46:49 [test/shape] Test all font-funcs backends if none specified Disable fontations as it doesn't implement glyph names currently.
Behdad Esfahbod f16196a0 2025-03-16T21:38:20 [test-shape] Assume ot shaper is default
Behdad Esfahbod 0d5795c0 2025-03-16T21:35:25 [test/shape] Report shaper, face-loader, font-funcs
Behdad Esfahbod aacc667e 2025-03-16T21:27:45 [test/shape/run-tests] Streamline testing other backends
Behdad Esfahbod d8a774c0 2025-03-10T01:04:35 [test] Add test for new grapheme cluster level
Behdad Esfahbod ff76244e 2025-03-09T17:23:18 [aat/morx] Delete deleted glyphs again But also check for default-ignorable bit this time.
Behdad Esfahbod c6972ac6 2025-03-07T15:29:48 [aat] Towards removing special deleting of 0xFFFF See https://github.com/harfbuzz/harfbuzz/discussions/5118 Remove the removal. Depend on the default_ignorable flag to hide them later. Test output adjusted.
Behdad Esfahbod 2a878b1b 2025-03-07T17:23:17 [font-funcs] Add two new API + hb_font_set_funcs_using() + hb_font_list_funcs() Part of https://github.com/harfbuzz/harfbuzz/issues/5117
Khaled Hosny a3566030 2025-03-07T14:07:13 [directwrite/test] Add test that actually works Apparently DirectWrite does not allow disabling calt in Arabic, so test liga in Latin and ss01 in Arabic.
Khaled Hosny 9abaf193 2025-03-07T02:53:43 [directwrite] Fix applying features to directwrite shaper The range_features was ending up with random data because hb_ms_make_feature_ranges() keeps pointers to data allocated in feature_records and range_records, but that data was getting freed before range_features was used. Change the variable scope to avoid freeing the data too early. Fixes https://github.com/harfbuzz/harfbuzz/issues/5113
Behdad Esfahbod be287eab 2025-02-09T04:18:31 [trak] Don't shift glyphs That's what CoreText does and fonts are designed for. Who are we to improve on...
Behdad Esfahbod 1150d4bf 2025-02-09T04:16:57 [trak] Remove support for disabling using pseudo-font-feature Fixes https://github.com/harfbuzz/harfbuzz/issues/5052
Behdad Esfahbod 1bf0a5bc 2025-02-09T02:43:09 [trak] Streamline a bit Also use float math.
Behdad Esfahbod b1677e76 2025-02-09T01:56:03 [trak] Handle "out-of-range" values better If requested size < min-size, use the value for min-size. If requested size > max-size, use the value for max-size. This is the only way that makes sense. Extrapolating as we were doing, is just wrong... This also seems to match what CoreText does. Adjacent to fixing https://github.com/harfbuzz/harfbuzz/issues/5054
Behdad Esfahbod f394206b 2025-02-06T19:48:56 [ot-shape] Only apply trak'ing if STAT table present
Behdad Esfahbod 9ef009f5 2025-01-24T16:37:12 [test] Fix test Broken by previous commit. https://github.com/harfbuzz/harfbuzz/issues/5020#issuecomment-2613597379
David Corbett 57569baa 2025-01-02T21:14:25 Don’t insert U+25CC before super/subscript digits
David Corbett edb3b208 2024-12-15T12:01:33 Make hb_test_tools.py work in Python 3.13
David Corbett f887096a 2024-12-15T10:53:09 [myanmar] Allow all tones (& visarga) in any order
Khaled Hosny 773fe850 2024-11-20T17:20:49 [layout] Blocklist the GDEF table of various Courier New versions These files have incorrectly give several base glyphs GDEF mark glyph class leading in zeroing there advance widths. Fixes https://github.com/harfbuzz/harfbuzz/issues/4936
Behdad Esfahbod 2dc63341 2024-10-13T20:03:16 [tests] Remove invalid tests from collections.tests Previously we silently returned the empty face if face_index was out of range. With util/ now using the new API hb_font_face_create_from_file_or_fail(), that returns a nullptr face now. So, adjust tests.
David Corbett b6196986 2024-10-03T15:56:04 [USE] Update the data files This uses the data files from <https://github.com/microsoft/font-tools/tree/e00698c07a0444647db84a7f8bf03d1081bd53b3/USE>.
Behdad Esfahbod 867366cc 2024-09-24T09:17:12 [test] Add GeezaPro tests for MacOS 15.0
Behdad Esfahbod 7aace3d3 2024-09-23T07:47:24 Ignore CGJ and Mongolian Variation Selectors during GPOS Fixes https://github.com/harfbuzz/harfbuzz/issues/4869
Behdad Esfahbod 5e5cd10e 2024-09-22T12:36:51 Don't make variation-selectors default-ignorable if not-found set https://github.com/harfbuzz/harfbuzz/pull/4863#issuecomment-2366908261
Behdad Esfahbod b94a39d7 2024-09-22T08:23:34 Follow up to variation-selector-not-found glyph Addresses https://github.com/harfbuzz/harfbuzz/pull/4529#discussion_r1769638033 I'm not sure if this is an improvement. By leaving the var-selector as default-ignorable, ligatures can form around it, and the resulting cluster won't make it clear *which* base+var-selector could not be resolved... That doesn't quite help font fallback the way we want. Putting up for review.
Behdad Esfahbod 287046f7 2023-12-15T10:24:03 [buffer] Hook up not-found-variation-selector-glyph Fixes https://github.com/harfbuzz/harfbuzz/issues/4398
David Corbett 554658e3 2024-09-14T11:08:37 [Unicode 16] Update the emoji table & cluster test
Behdad Esfahbod 98353ece 2024-09-11T11:35:15 [test] Run shape tests with C locale as well https://github.com/harfbuzz/harfbuzz/pull/4857
Behdad Esfahbod 788b469a 2024-07-25T14:50:01 [ChainContext] Fix fast-path deviation from slow path See comments. The input skippy was hitting the U+200D and NOT seeing it skippable, whereas the context skippy would had. Fixes https://github.com/harfbuzz/harfbuzz/issues/4813
Khaled Hosny a38f853e 2024-06-27T15:35:01 Drop unused Makefile.sources files
Khaled Hosny cf1fdf16 2024-06-27T06:54:02 Drop autotools build Fixes https://github.com/harfbuzz/harfbuzz/issues/4720
David Corbett c03e4c10 2023-09-16T10:06:24 [Unicode 15.1] Update emoji table and cluster test
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
Behdad Esfahbod 5b337130 2023-08-01T20:02:21 Add test for previous commit
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
David Corbett d8fba5c6 2023-06-22T19:25:54 [use] Add FM categories to `POST_BASE_FLAGS64`
Jens Kutilek 219e2f12 2023-02-10T17:23:31 Clarify that those two test fonts are CC0-licensed
Khaled Hosny 6c46da77 2023-01-27T10:34:50 [test] Fix shell script quoting
Andres Salomon 0bbc9d52 2023-01-25T00:44:38 [fonts] move OFL-1.1 license to a higher directory There's a bunch of font directories inside of test/ for which the vast majority of fonts are licensed under the SIL open font license. We currently have a COPYING file in test/shape/data/in-house/COPYING that says that most of the fonts are OFL-1.1, but that doesn't apply to the fonts in, say, test/api/fonts/ or test/fuzzing/fonts/. Since there are so many OFL-1.1 fonts all over test, let's move the COPYING file to the top-level test/ directory.
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
Behdad Esfahbod e4cdaa1d 2023-01-22T08:36:51 [test] Fix build
Behdad Esfahbod 9ba1e400 2023-01-22T08:31:39 [test] Remove non-free font and its test Fixes https://github.com/harfbuzz/harfbuzz/issues/4059
Behdad Esfahbod 4ee60941 2023-01-10T11:52:12 [aat] Add test for feature range
David Corbett 260df1fa 2022-12-04T12:25:22 [indic] Support <U+0A02, U+0A40>
Behdad Esfahbod f53ef69d 2022-11-04T16:00:34 [indic] Order left-matras inside-out Fixes https://github.com/harfbuzz/harfbuzz/issues/3863
Jonathan Kew 21b0e594 2022-09-20T12:03:08 [aat] Add test for rlig-to-aat feature mapping in Geeza Pro.
David Corbett 09b9a1ff 2022-09-01T20:20:44 [USE] Allow ZWNJ at the end of a cluster
David Corbett e93c2d13 2022-08-27T16:10:10 [Unicode 15] Update the emoji table & cluster test
David Corbett d0c32c5a 2022-08-27T15:54:27 [Unicode 15] Update the UCD table
Behdad Esfahbod fc9e6ae8 2022-07-30T12:02:36 [run-tests.py] Write out the failing test
Behdad Esfahbod 56a5bc3b 2022-07-30T00:08:44 [emoji] Regenerate test data Fix generator.
Behdad Esfahbod 7050021f 2022-07-20T11:27:12 [cursive-positioning.tests] Fix test specification Still failing. Figuring out.
Behdad Esfahbod 42f1d779 2022-07-20T11:13:16 Add tests for multiple cursive positioning From https://github.com/harfbuzz/harfbuzz/issues/2469
Behdad Esfahbod a5dad500 2022-07-17T21:39:24 [aat/morx] Add test for previous commit https://github.com/harfbuzz/harfbuzz/issues/1373
Behdad Esfahbod a2f07231 2022-07-13T16:02:39 [GPOS] Adjust mark attachment on multiple substitution some more Fixes https://github.com/harfbuzz/harfbuzz/issues/1545