test


Log

Author Commit Date CI Message
Behdad Esfahbod 527823cc 2022-11-19T15:19:08 [unicode] Destroy user_data in set_funcs fail paths This is what the font_funcs / draw_funcs do.
Qunxin Liu 6314aa7d 2022-10-28T10:44:48 [subset] add an experimental API that can override name strings for specified name_id
Behdad Esfahbod f53ef69d 2022-11-04T16:00:34 [indic] Order left-matras inside-out Fixes https://github.com/harfbuzz/harfbuzz/issues/3863
Garret Rieger 2822b589 2022-11-03T19:49:49 [subset] Include instancing tests in distribution. Automatically enable them when the experimental api is enabled.
Qunxin Liu 8a552483 2022-10-27T09:43:07 [instance] update OS2/.usWeightClass and .usWidthClass when no-prune-unicode-ranges option is enabled
Behdad Esfahbod e854739b 2022-10-26T13:12:56 [fuzzing] Add test font for previous commit
Garret Rieger db22bfb3 2022-10-17T18:37:07 [subset] Remove Franklin from the tests which is not an open source font.
Garret Rieger 3394ec70 2022-10-13T23:02:54 [subset] use subset accelerator in tests. This ensures it produces equivalent subsets as without the accelerator.
Qunxin Liu d5fc4a73 2022-09-14T14:43:20 [instance] add tests for featureVariations Also updated the script that is used to generate tests.With fonttools, we now do instancing first and then subsetting. With different order of subsetting and instancing operations on the same VF file, fonttools seems to generate 2 different font files with different glyph set. 1. do subsetting and then instancing: this seems result in a larger glyph set in the font file. Lookups are collected from both retained features and all possible alternate featurevariations, this leads to a larger glyph set after glyph closurei. And instancer doesn't redo glyph closure, it does lookups pruning only. 2. do instancing and then subsetting: lookups are collected from features that are replaced already and possible alternate feature variations
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
Qunxin Liu 47094490 2022-08-31T12:01:32 [instance] add benchmarks for instancing
Qunxin Liu 88c02e00 2022-08-26T08:34:12 [instance] add tests for full instancing Also update previous tests with GDEF/GPOS tables
David Corbett e93c2d13 2022-08-27T16:10:10 [Unicode 15] Update the emoji table & cluster test
David Corbett ade87e15 2022-08-27T18:34:28 [Unicode 15] Add tests
David Corbett d0c32c5a 2022-08-27T15:54:27 [Unicode 15] Update the UCD table
Qunxin Liu f887ee0c 2022-07-27T13:18:21 [instance] update post.italicAngle Add tests for instancing glyf/hmtx
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