test


Log

Author Commit Date CI Message
Behdad Esfahbod 4ab7e579 2022-08-12T12:17:37 Make HB_BORING_EXPANSION opt-in instead of opt-out Fixes https://github.com/harfbuzz/harfbuzz/issues/3757
Qunxin Liu 7fde6ab0 2022-08-05T13:33:22 fuzzer fix: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=49790
Khaled Hosny afe6629b 2022-08-03T19:56:29 Fix make dist
Behdad Esfahbod e68e874d 2022-08-03T11:31:04 Update test/fuzzing/README
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.
Garret Rieger f3aff45e 2022-07-29T21:33:11 [repacker] Update call to hb_subset_repack_or_fail in tests.
Behdad Esfahbod bdbb8c29 2022-07-29T12:04:28 Add test for previous commit
Behdad Esfahbod e2cc34e1 2022-07-26T12:31:15 [subset/GPOS] Fix a fuzzer timeout test Fixes https://oss-fuzz.com/testcase-detail/5234369031176192
Behdad Esfahbod 1945b400 2022-07-25T10:45:55 [cpluscplus] Wrap hb-subset types as well Also changes signature of get_user_data of hb.h types to take const object. This is safe.
Behdad Esfahbod 4cb83967 2022-07-23T10:59:42 [subset/ClassDefFormat2] Fix timeout Fixes https://oss-fuzz.com/testcase-detail/5417800474165248
Behdad Esfahbod 32c85b8c 2022-07-23T10:50:26 [avar2] Fix mapping when coords length don't match Ouch. Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=49407
Behdad Esfahbod 9eab3ac7 2022-07-21T12:35:19 [CoverageFormat2] Remove hand-written loop While on a fuzzer-found test case (added) that loop was faster, on real fonts, including NotoNastaliq in our benchmark, it was actually slower, which intuitively I would have expected. Still no idea why on that fuzzer case it's faster though. :(
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
Qunxin Liu f1a69ff1 2022-06-30T16:22:15 [instance] update scripts for testing instancing
Behdad Esfahbod 3c84aa84 2022-07-18T13:57:59 [cff] Add a max work counter Set to 10,000 per interpretation right now. Fixes https://github.com/harfbuzz/harfbuzz/issues/3700 Fixes https://oss-fuzz.com/testcase-detail/5667125715927040
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
Behdad Esfahbod 386e1bba 2022-07-05T12:46:05 Merge pull request #3699 from googlefonts/filter_scripts [subset] Add support for --layout-scripts
Behdad Esfahbod b8c7c0a0 2022-07-01T12:11:15 [fuzzer] In 50% of runs don't fail the allocator
Garret Rieger d6f579e9 2022-06-30T22:22:03 [subset] add tests that exercise script filtering.
Frédéric Wang 32e542d6 2022-06-29T06:45:38 try & fix build errors on the bot
Frédéric Wang 03d23767 2022-06-29T06:21:31 [math] Improve fuzzing coverage Extend testing to cover parts that are missing according to the recent oss-fuzz-coverage report: - Retriving all constants from MathConstants. - Retrieving entries from MathKern, MathGlyphPartRecord and MathGlyphAssembly. - Retrieving italic correction from MathGlyphAssembly. - Choosing between horizontal/vertical offset in MathVariants. https://storage.googleapis.com/oss-fuzz-coverage/harfbuzz/reports/20220627/linux/src/harfbuzz/src/hb-ot-math-table.hh.html https://github.com/harfbuzz/harfbuzz/issues/3688
Behdad Esfahbod 9909d11f 2022-06-28T15:59:40 [indic generator] Fix regression Fixes https://github.com/harfbuzz/harfbuzz/issues/3690
David Corbett 7b0fc0be 2022-06-27T21:18:36 [test] Test the reordering of U+0E33 and U+0EB3
Behdad Esfahbod d3308f47 2022-06-27T11:28:44 [font] Optimize font scaling further
Behdad Esfahbod 556e7078 2022-06-26T17:48:43 [font] Optimize glyph scaling
David Corbett 1555b300 2022-06-24T21:02:26 Add U+25CC to lone Robatic but not after U+17D9
David Corbett e35cfb4b 2022-06-24T20:18:10 Document the subsetter argument of record-test.sh
Behdad Esfahbod 1db6fddb 2022-06-18T14:34:46 [arabic-fallback.hh] Hook up 3-letter ligatures
Behdad Esfahbod 8978a18f 2022-06-18T13:25:46 [arabick-fallback] Apply mark ligatures
Khaled Hosny dfc5e5a2 2022-06-18T14:00:30 [test] Skip glyph positions for test failing on CI We are not interested in glyph positioning for this test, and the FreeType version on some CI machines is giving some different glyph advances here.
Khaled Hosny 189e8c32 2022-06-18T13:28:54 [ft] Remap legacy Arabic PUA codepoints Similar to what ot font finctions does, to support Support legacy pre-OpenType Windows 3.1-era fonts.
Khaled Hosny c3f590bb 2022-06-16T11:04:13 [arabic] Support legacy PUA shaping Support legacy pre-OpenType Windows 3.1-era fonts, by remapping PUA code points in cmap table and letting our fallback shaper build the GSUB table. Uniscribe applies also mset-like substitution, but our fallback mark positioning gives better results, so this is not implemented.
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 311413f1 2022-06-11T01:05:57 [subset] Fix fuzzer issue. Fixes https://oss-fuzz.com/testcase-detail/5693568490012672. new_index should be set from new_index2 when the entry is present in the map.
Behdad Esfahbod 697287fb 2022-06-05T06:53:42 [benchmark-shape,hb-shape-threads] Fix argument parsing order After recent change.
Behdad Esfahbod c03a3141 2022-06-05T02:31:21 [hb-shape-threads] Adjustments similar to benchmark-shape Duplication sighz.
Behdad Esfahbod d7c9cc34 2022-06-05T02:30:11 Fix build
Behdad Esfahbod b39b5f2f 2022-06-03T04:10:28 [name] Implement approximate language matching Very rudimentary. Fixes https://github.com/harfbuzz/harfbuzz/issues/3354
Khaled Hosny 26d8066a 2022-06-03T10:28:02 [test/shape] Remove texts subdirectory These texts were never hooked into the test suite, they however represent a good collection of test texts, but one can always access them from git history. Fixes https://github.com/harfbuzz/harfbuzz/issues/3123
Khaled Hosny cd41557a 2022-06-03T09:46:57 [test/shape] Add PhagsPa tests Adopted from texts/in-house/shaper-arabic/script-phags-pa/misc/misc.txt. Using Noto Sans PhagsPa.
Khaled Hosny 1ab12e31 2022-06-03T09:37:25 [test/shape] Add Malayalam dot-reph tests Adopted from texts/in-house/shaper-indic/script-malayalam/misc/dot-reph.txt. Using Noto Sans Malayalam.
Khaled Hosny 6b2f3b5a 2022-06-03T09:15:24 [test/shape] Add Javanese tests Adopted from texts/in-house/shaper-use/script-javanese/misc.txt. I don’t know what font this was originally tested against, so I used Noto Sans Javanese.
Khaled Hosny c9c47dd8 2022-06-03T08:58:57 [test/shape] Add Hebrew diacritics tests Adopted from 406044986a68676f3050f9350ccc448c615fc685. Using TaameyFrankCLM.ttf from the Mozilla issue.
Khaled Hosny ef5d7feb 2022-06-03T08:46:30 [test/shape] Allow using hb-subset in record-test.sh I think it is about time we use our own subsetter here. FontTools can still be used.
Behdad Esfahbod 7aacdd05 2022-06-03T02:10:06 [cplusplus] Test hashing shared_ptr / unique_ptr
Behdad Esfahbod d7785a6d 2022-06-02T12:42:24 [cplusplus] Add unique_ptr
Behdad Esfahbod e0f3cab2 2022-06-01T11:51:43 [cplusplus] Add hb-cplusplus.hh Fixes https://github.com/harfbuzz/harfbuzz/issues/2152
Garret Rieger 98aaecd3 2022-06-01T21:01:16 [subset] fix data race touching Crap() in cff subsetting.
Garret Rieger d8d96b26 2022-06-01T19:55:02 [threads-test] Add a threads test against hb-subset.
Garret Rieger 858570b1 2022-06-01T18:08:09 [subset] add some additional 32bit var store cases. Test the path where the 32 bit delta is not included.
Garret Rieger 209d6aa2 2022-06-01T18:02:03 [subset] Update make files for 32bit_var_store test.
Garret Rieger 9c41bfe1 2022-06-01T17:53:14 [subset] Add subset test of font with 32 bit delta in a var store.
Behdad Esfahbod 18cd15be 2022-06-01T07:55:59 Rename test
Behdad Esfahbod 62e803b3 2022-06-01T07:38:21 [sbix] Limit glyph extents Fixes https://github.com/harfbuzz/harfbuzz/issues/3557
Behdad Esfahbod 5a058ba1 2022-05-31T05:35:17 [shape-fuzzer] Add commented out more buffer-verify option Those currently fail and I've been unable to debug them. I tried two, passing them to hb-shape doesn't reproduce the failure. :(
Behdad Esfahbod 189f6534 2022-02-13T13:22:08 [fuzz-shape] Verify shape output Let the fuzzers loose on shape verify.
Behdad Esfahbod 33145a4b 2022-05-31T04:59:07 [test/shape] Pass --unsafe-to-concat to hb-shape
Behdad Esfahbod b010962c 2022-05-30T05:34:25 [test/hb-shape-threads] Silence hb_language_get_default() threadysafety issue
Behdad Esfahbod 4e59900f 2022-05-30T05:21:55 [test/hb-shape-threads] Share font amongst threads
Behdad Esfahbod 18b0bd0f 2022-05-30T05:12:12 [test/hb-shape-threads] Verify buffer
Behdad Esfahbod 484cc187 2022-05-30T05:06:43 [test-shape-threads] Set language
Behdad Esfahbod f371789b 2022-05-28T04:02:36 Sprinkle static around
Behdad Esfahbod 4386626e 2022-05-27T17:32:32 [test/threads] Fix dependency
Behdad Esfahbod e0544c48 2022-05-27T17:10:07 [test/threads] Fix distcheck
Behdad Esfahbod e3d5a117 2022-05-27T17:05:23 [hb-shape-threads] Fix tsan race
Behdad Esfahbod 33c990f0 2022-05-27T16:57:00 Include cassert to fix bots
Behdad Esfahbod 049af186 2022-05-27T16:53:25 [threads] Add suite to test
Behdad Esfahbod 87453f63 2022-05-27T16:51:12 [hb-shape-threads] Fix current-work-dir so test passes
Behdad Esfahbod f77faf86 2022-05-27T16:34:28 [hb-shape-threads] Allow overriding test parameters from cmdline
Behdad Esfahbod f0fba599 2022-05-27T16:30:19 [hb-shape-threads] Reduce num-iterations
Behdad Esfahbod e8a24363 2022-05-27T16:29:17 [threads] Add a condition_variable to test for all threads to be ready
Behdad Esfahbod 4d42a94c 2022-05-27T16:23:12 [threads] Add hb-shape-threads test
Garret Rieger 3472f73b 2022-05-25T21:49:12 [subset] also include no subset tables when guessing which tables are present.
Garret Rieger 9564d987 2022-05-25T21:16:37 [subset] fix subsetting of faces created via hb_face_create_for_tables. Fixes #3609.
Garret Rieger 4e11da05 2022-05-20T01:42:34 [repacker] update repacker test golden file. Changed due to removal of Kahn sorting.
Behdad Esfahbod 25393288 2022-05-19T17:19:21 [test] Fix compiler warning
Garret Rieger 52d59bf1 2022-05-10T19:40:37 [perf] Make subset benchmark data driven.
Garret Rieger 8f9f0c49 2022-05-10T17:47:08 [subset] Enforce cmap12 group ordering constraints in collect_mapping. Fixes fuzzer issue: https://oss-fuzz.com/testcase-detail/6365271012540416
Garret Rieger b051f3fa 2022-05-05T23:27:34 [subset] Fix cpal subsetting when there are partial palette overlaps. The existing code doesn't correctly handle the case where palettes partially overlap in the color record array. This changes the subsetting to only share entries in the color record array when palettes have the same first color index. Partially overlapping palettes will be converted to disjoint segments in the color record array. Updates one of the color tests to use multiple palettes. Also fixes fuzzer: https://oss-fuzz.com/testcase-detail/5568200165687296.
Behdad Esfahbod ca8a0f3e 2022-05-06T11:54:38 [gvar] Protect against out-of-range access Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=47281 Fixes https://oss-fuzz.com/testcase-detail/5508865908670464
Behdad Esfahbod 4de5352a 2022-04-28T14:40:33 [test] Add test From https://github.com/harfbuzz/harfbuzz/issues/3545 Dropped the CFF table.
Behdad Esfahbod 4d48fae4 2022-04-20T11:35:19 Enforce Regional_Indicators native direction to LTR And undo the morx direction reversal change introduced in https://github.com/harfbuzz/harfbuzz/pull/3315 23159084b43c1ce429d9e98035bf845919fd8a89 This fixes original bug https://github.com/harfbuzz/harfbuzz/issues/3314 And the reversion in morx code fixes regressions: https://github.com/harfbuzz/harfbuzz/issues/3528 https://github.com/harfbuzz/harfbuzz/issues/3535 Supersedes: https://github.com/harfbuzz/harfbuzz/pull/3529
Khaled Hosny 383c11d7 2022-04-19T16:31:44 Add test for ligature-id allocation Test for the fix in 7bdc20ec810c14056d6362b076aa6717f10f26a0 for the regression from 43be5ba442548528c89ad31c0927cc68515b736e.
David Corbett ecb3e7ec 2022-03-28T19:42:04 Enable indic-feature-order.tests
Behdad Esfahbod 044d7a06 2022-03-28T12:38:56 [indic-like] Add per-lookup per-syllable flag This allows mix-and-matching per-syllable and other lookups. In fact, removes the clear-syllables call completely. Fixes https://github.com/harfbuzz/harfbuzz/issues/3513
Behdad Esfahbod 18c0290c 2022-03-28T13:24:16 Add test for previous commit
Behdad Esfahbod a665e29e 2022-03-23T17:30:25 [use] Avoid O(n^2) in the machine Fixes https://github.com/harfbuzz/harfbuzz/issues/3502
Behdad Esfahbod ccd9161b 2022-03-24T13:10:48 [apply-lookup] Try to fix the logic for contextual lookups Fixes https://github.com/harfbuzz/harfbuzz/issues/1611 Notably, this fixes Myles's AdditionFont: https://litherum.blogspot.com/2019/03/addition-font.html Test with AdditionFont, eg.: $ util/hb-view AdditionFont.otf =1112112+1113134=
Behdad Esfahbod a003fc0d 2022-03-25T09:37:50 Remove accidental files
Andrew John 01829882 2022-03-25T08:36:44 [set] Add call to export set contents to an array. (#3500) [set] Add hb_set_next_many.
Khaled Hosny f76ffa83 2022-03-24T06:23:22 [build] Change how platform shaper tests are enable Run the tests unconditionally and skip if the shaper is not available. This fixes distcheck (https://github.com/harfbuzz/harfbuzz/pull/3504) and shows SKIP for these tests instead of ignoring them.
Chun-wei Fan eb44d64b 2022-03-24T10:52:48 test: Dist the platform shaper test data For builds from release tarballs, the tests fail in the DirectWrite and Uniscribe tests when these platform shapers are enabled, since the data files were not found in the source tree, when building with Meson at least. Fix this by dist'ing the platform shaper test data files.
Behdad Esfahbod 36b8f974 2022-03-21T21:50:04 Update tests for recent changes
Behdad Esfahbod 03085132 2022-03-21T18:06:33 [buffer] Fix out-buffer under memory-alloc failure This was broken in July refactoring of the buffer, and exposed to ReverseChainSingleSubstFormat1 in 3807061d634b60bd6235d6e1d8c47a034377f924 Fixes: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=38800 https://bugs.chromium.org/p/chromium/issues/detail?id=1303552
David Corbett 98b48524 2022-03-21T17:17:39 [indic] Test clearing syllables earlier
Andy John ef588ea9 2022-03-21T13:29:22 Add option to insert a sorted arrays of values to sets.
Qunxin Liu 7cb002cb 2022-03-14T11:40:35 [subset] bug fix in prune_langsys we should not cache visited langsys cause 2 different Record<Langsys> could have different Tag while pointing to the same Langsys, a langsys is redundant in Record<Langsys> A does not mean it's redundant in Record B. Same thing for visited_script. Also adding the number of features in the LangSys's feature list to the visited langsys count so it's more accurate. Plus some improvement in langsys compare()