test


Log

Author Commit Date CI Message
Qunxin Liu 9dc9f038 2021-04-08T11:00:17 [subset] fix for fuzzer testcase: https://oss-fuzz.com/testcase-detail/5858518134554624
Qunxin Liu 4af5dace 2021-04-07T10:56:49 [subset] add fuzzer testcase
Garret Rieger 64122b5a 2021-04-05T12:53:08 [subset] don't visit lookup if covered glyph set has failed. If covered glyph set is in error then the same lookup can be recursed into repeatedly potentially causing a fuzzer timeout. Fixes: https://oss-fuzz.com/testcase-detail/5416421032067072.
Garret Rieger 4ec18c85 2021-04-02T15:33:54 [subset] add subsetting tests with drop hints and layout subsetting enabled.
Garret Rieger 71d6d156 2021-04-05T12:03:17 [subset] clamp distance to prevent shifting outside of the limits of int64. Fixes https://oss-fuzz.com/testcase-detail/4961171477233664.
Garret Rieger 596f4258 2021-04-02T12:41:09 [subset] copy Lookup::markFilteringSet when subseting.
Garret Rieger c35d7863 2021-04-01T14:32:38 [subset] never drop the 'pref' feature. Never ever drop feature 'pref', even if it's empty. Harfbuzz uses it to choose the shaper for Khmer.
Garret Rieger 85b07287 2021-03-25T12:17:18 Add full variable font subsetting test.
Garret Rieger b10741ca 2021-03-25T19:14:48 [subset] when closing glyphs in context lookups don't use a current glyph set if a lookup is already applied.
Garret Rieger 2773d057 2020-11-04T11:11:16 [subset] Add a test case using NotoNastaliqUrdu.
Garret Rieger c5c13006 2021-03-31T11:23:46 [subset] fix memory leaks found in https://oss-fuzz.com/testcase-detail/5179935334465536
Garret Rieger adca4ce0 2021-03-30T13:20:50 [subset] fixes https://oss-fuzz.com/testcase-detail/6173520787800064. Caused by incorrect bounds check in glyph closure for context lookups.
Garret Rieger 752e393a 2021-03-29T17:23:33 [subset] avoid calling clear on null pool set.
Garret Rieger 8741914a 2021-03-29T16:39:44 [subset] fix memory leak when map insert fails.
Garret Rieger 5b6da6d2 2021-03-29T16:19:17 [subset] add fuzzer test case.
Garret Rieger a804a0c9 2021-03-29T14:25:20 [subset] add fuzzer test case.
Qunxin Liu 95230e29 2021-03-18T17:41:25 [subset] support subsetting GSUB8
Garret Rieger 01044099 2021-02-16T11:38:14 Fix repack_tests for distcheck.
Garret Rieger b8b8c58b 2020-11-10T11:56:09 [subset] add tests that check for successful repacking of a real font file.
Qunxin Liu 56ca4357 2021-01-28T15:21:26 [subset] fix for collect_features and remove_redundant_lamngsys previously remove_redundant_sys () is missing in harfbuzz, after redundant langsys removal, some features are removed as well in prune_features() in fonttools. This change is trying to get the same result between harfbuzz and fonttools.
Garret Rieger 69d772e5 2021-03-17T14:11:16 [subset] Fixed test gsub5 test files.
Qunxin Liu 0e1c0fa4 2021-01-12T10:17:14 [subset] optimize glyph closure method: step 5 add testcase and some fixes
Garret Rieger 1b79b8cd 2021-03-16T15:23:11 [subset] update gpos tests to reflect updated behaviour.
Garret Rieger b1b1486d 2021-03-16T13:32:23 [subset] update expected files to not include cmap12 pruning.
Garret Rieger 190b7a98 2020-10-08T14:44:54 [subset] Update PairPosFormat2 subsetting to match fontTools updated subsetting (https://github.com/fonttools/fonttools/pull/2221) - subset class def 1 against the coverage table. - Don't re-use class 0 in class def 2. - Ignore class 0 glyphs for the purposes of determing format 1 vs format 2 encoding for ClassDef. Add an additional test case which demonstrates these issues.
Khaled Hosny 4c34478b 2021-03-16T10:37:49 Merge pull request #2899 from harfbuzz/ci-fix [ci] Don’t install meson from its master branch
Khaled Hosny f2d08578 2021-03-16T00:19:40 [tests] Increase shape-fuzzer timeout
Behdad Esfahbod 15f3ef01 2021-03-15T15:36:47 [test] Fix output format
Khaled Hosny 7686ff85 2021-03-04T23:09:32 [ot] Keep substituted Default_Ignorables (#2886) Don’t replace Default_Ignorables with zero-width space if they are substituted or multiplied, not just when ligated. After this change, HarfBuzz output matches that of Uniscribe and CoreText for the new tests. Fixes https://github.com/harfbuzz/harfbuzz/issues/2883
Behdad Esfahbod fd489433 2021-03-02T16:21:17 [indic] Fix cluster-merging logic with cluster-level=1 Was producing non-monotonic cluster numbers because our faulty logic was not merging clusters if something from before base and after base had switched positions. Fixes https://github.com/harfbuzz/harfbuzz/issues/2272
Behdad Esfahbod 1c693e8c 2021-02-20T18:53:20 [test] Fix unused-var warning
justvanrossum 1551f3d5 2021-02-18T11:57:37 fixing more expected test results
justvanrossum 79e4f436 2021-02-17T10:21:58 Apply rounding correctly when calculating glyph extents for CFF and CFF2; adjust expected test results
justvanrossum d01ebeae 2021-02-17T10:13:54 calculate extents based on scaled then rounded values; undo two of the earlier test result adjustments
justvanrossum 1d02e9c6 2021-02-16T21:39:43 two more adjusted expected extents results (still not convinced this is the right thing, though)
justvanrossum cd0babe6 2021-02-16T21:05:30 adjust expected test result
Behdad Esfahbod d8ea552d 2021-02-18T12:07:46 [aat] Improve unsafe-to-break logic Reduces false-positives. See comments for new logic. Fixes https://github.com/harfbuzz/harfbuzz/issues/2860 Adjusts run-tests.sh to allow unhashed absolute filenames.
Garret Rieger 5ca353a2 2021-02-12T15:16:59 [subset] fix heap buffer overflow found by fuzzer.
David Corbett 751ed68f 2021-02-14T12:47:34 [indic] Fix shaping of U+0B55 ORIYA SIGN OVERLINE Fixes https://github.com/harfbuzz/harfbuzz/issues/2849
Garret Rieger 00d92763 2020-10-14T14:48:11 Add gpos9 expected files to Makefile.am
Garret Rieger 08a4997f 2020-10-06T13:02:12 [subset] Add subset support for Extension lookups (GPOS 9, GSUB 7).
Behdad Esfahbod eb069f39 2021-02-10T19:13:51 [tests] Update expected output of recently-merged gpos5 The merged PR was from before landing this: commit 7a72b20aa2b604053696e731185a17286de73b08 Author: Garret Rieger <grieger@google.com> Date: Thu Sep 24 15:58:48 2020 -0700 [subset] Subset GDEF during layout subsetting tests.
Behdad Esfahbod c7d232ce 2021-02-10T18:13:38 Merge pull request #2701 from googlefonts/Mark-To-Ligature_grieger [subset] GPOS 5 MarkToLigature subsetting support
Khaled Hosny 554aaa0c 2021-02-10T22:25:16 [build] Fix make distcheck A regression from 7b77ce0507e18fb981a9b865f3eaac0c2ae06044. It was caught by the CI build in the PR, but apparently we are now used to CI failures that they are effectively ignored. Also, yay for multiple build systems.
Behdad Esfahbod 6a3fd94f 2021-02-09T20:49:04 Merge pull request #2699 from googlefonts/gpos_8 [subset] Add a more complex layout subsetting test case and fix the issues it exposed.
Behdad Esfahbod 33a0f0b6 2021-02-09T12:55:45 [test] Remove fuzzed test font that triggers virus alert Fixes https://github.com/harfbuzz/harfbuzz/issues/2750
Garret Rieger f94bf9f0 2021-01-25T15:57:42 [set fuzzer] limit the total number of set members in a fuzzing input. Currently the fuzzer can create arbitarily long inputs which once big enough will trigger a timeout.
Garret Rieger a4c3732f 2020-09-16T12:35:09 [ENOMEM] fix set clear() causing corruption if the set is in_error().
David Corbett b2e7bb2a 2020-10-27T19:50:33 Don’t map BCP 47 to coincidentally similar OT tag
David Corbett 17da41bd 2020-11-17T14:29:05 Update language system tag registry to OT 1.8.4
Khaled Hosny c2cdcd49 2020-10-17T21:57:27 [tests] warning: unused variable 'num_glyphs'
David Corbett 0792690b 2020-10-16T22:41:12 [use] Skip WJ and ZWJ when clustering
Khaled Hosny 84dd65a8 2020-10-13T20:21:28 [test] Remove timeout from test runners See https://github.com/harfbuzz/harfbuzz/issues/2707#issuecomment-707744079 This wasn’t inconsistent as well, HB_TEST_SUBSET_FUZZER_TIMEOUT defaulted to 12 in the test runner, but it was overridden to 50 in meson.build, and then meson has its own test timeout.
Khaled Hosny fa771a7f 2020-10-11T22:11:17 [tests] Fix memory leak in test To make valgrind bot happy.
David Corbett 1d53268d 2020-10-10T14:46:36 Fix two-way mapping of "man" and 'MNK '
Behdad Esfahbod 540d2cdd 2020-10-09T18:07:28 [tests/buffer] Revert unintended whitespace changes From 9e5538d6a3d6f1ffbee7fad3c821621f17d61494 Tried squashing into, but too much merge conflict.
Behdad Esfahbod 04658ec4 2020-10-09T17:59:54 [tests/buffer] Update tests for previous commit
Simon Cozens 7c0bc0bb 2020-09-25T21:24:41 Serialize invalid buffer to !! (text) or [] (json) There is no generic deserialize - you have to choose glyphs or unicode - so there is no way to deserialize this buffer.
Simon Cozens 150f3914 2020-09-25T10:04:39 Prohibit mixed glyphs/unicode buffers in deserialization
Simon Cozens 3d3c87e7 2020-09-21T14:35:05 Put the flags back in and serialize clusters. Note that now JSON glyph buffers and Unicode buffers look very similar, except for the g/u property difference.
Simon Cozens 432a05b2 2020-09-18T14:19:39 (Simple) tests for Unicode serialization/deserialization
Garret Rieger be33704c 2020-10-09T16:46:46 Add gpos 5 tests to meson build file.
Qunxin Liu 3a0b05fa 2020-02-06T15:08:26 [subset] GPOS 5 MarkToLigature subsetting support
Garret Rieger 010accb3 2020-09-28T17:39:09 [subset] Add additional test cases for the Amiri tests.
Garret Rieger 3271a7cd 2020-09-28T16:46:15 [subset] Remove redundant langys from Amiri test font. FontTools removes these when subsetting but harfbuzz does not yet support redundant langsys removal. So this gets the Amiri tests passing for now.
Garret Rieger 9fad5402 2020-09-28T13:24:25 [subset] check that sub rules in ContextFormat 1 and 2 intersect the glyphs set before recursing during closure lookups.
Garret Rieger 7b77ce05 2020-09-24T16:35:59 [subset] Add subsetting integration test using Amiri. Demonstrates a failure in subsetting GPOS 8/GSUB 6.
Garret Rieger 7a72b20a 2020-09-24T15:58:48 [subset] Subset GDEF during layout subsetting tests.
ebraminio 1f8b1e7f 2020-09-21T11:39:38 [ENOMEM] Return gracefully if stages isn't initialized correctly (#2639) This happens if calls to 'm.lookups[table_index].push ()' has been silently failed due to lack of memory. This change just returns gracefully instead issuing the assert. Fixes https://crbug.com/oss-fuzz/24494
Garret Rieger bbbcad0d 2020-09-16T11:19:40 Revert "[ENOMEM] don't perform set process operations if the other set is in an error state." This reverts commit f3929abafe3b64f15d0dc2d21ad7b493eeb92dfe.
Garret Rieger f3929aba 2020-09-15T13:06:36 [ENOMEM] don't perform set process operations if the other set is in an error state. Running a process while the other set is in an error state can potentially corrupt this sets map map (for example by overwritting all of the major values with 0).
Simon Cozens 584d3a43 2020-09-16T15:08:50 Merge pull request #2681 from khaledhosny/myanmar-liga [myanmar] Don’t disable liga feature
Khaled Hosny 7d64b097 2020-09-12T21:17:18 [myanmar] Don’t disable liga feature This seems to have been carried over from the Indic shaper, but Uniscribe enables it by default. See https://github.com/harfbuzz/harfbuzz/issues/2213#issuecomment-686062915
Garret Rieger 8c3d4de7 2020-09-09T12:38:34 [subset] Fix integer underflow in ContextFormat2.
David Corbett 91fe20f0 2020-09-04T09:18:19 Disambiguate OT tags when primary tag is not first
David Corbett e3db84a9 2019-05-03T23:29:58 [use] Test CGJ and ZWNJ
Garret Rieger 9825e3dd 2020-08-26T17:31:50 [ENOMEM] fix access to unitialized memory. If the serialize() call fails to write the object then we can't safely read varstore_prime fields. Fixes https://oss-fuzz.com/testcase-detail/5137462782066688.
David Corbett 420a74f7 2020-08-28T14:11:48 [USE] Fix assertion failure for joining scripts
ebraminio 1e48225c 2020-08-13T23:22:14 [ENOMEM] Check whether serialize context isn't in error
Ebrahim Byagowi 6e32145d 2020-08-13T00:13:06 [meson] Make compatbile with 0.47.0
Garret Rieger 9562239f 2020-08-12T13:01:22 [ENOMEM] check for error in lookup visited set.
Garret Rieger 6f754852 2020-08-11T15:40:47 [ENOMEM] skip asserts in to_bias if serializer is in an error state.
Ebrahim Byagowi 057769b1 2020-08-12T02:30:33 [fuzzer] minor
Ebrahim Byagowi 04179380 2020-08-12T02:19:06 [fuzzer] Mark alloc_state as unused It is really unused when failing-alloc isn't on.
Ebrahim Byagowi 51933578 2020-08-11T23:51:59 Revert "Remove autotools build support" This reverts commit 01ac32aab2109681abc58bb2f96a4ef4a7f0c6df.
Ebrahim Byagowi ffe06c8f 2020-08-08T13:17:34 [glyf] Guard all the public APIs against null pool runs Fixes https://crbug.com/oss-fuzz/24575 and https://crbug.com/oss-fuzz/24737
Ebrahim Byagowi 01ac32aa 2020-08-02T11:35:55 Remove autotools build support
Ebrahim Byagowi 679fac87 2020-07-30T15:29:43 Skip hb_shape if buffer object is immutable
Ebrahim Byagowi ec17b624 2020-08-06T20:16:11 [var] Apply variations on empty glyphs It was ignoring empty glyphs for no good reason, this fixes it. Fixes #2618
Garret Rieger 18ab8029 2020-07-31T14:40:49 [ENOMEM] check vector status in cmap subsetting.
Garret Rieger 06dbb6ac 2020-07-31T15:56:14 [ENOMEM] in GSUB ChainContext subsetting check maps for allocation errors.
Garret Rieger fb147779 2020-07-31T14:00:38 [ENOMEM] Check result of vector resize in CBDT subsetting.
Ebrahim Byagowi efd716de 2020-07-31T08:58:53 [cff] Check for scalars array resize result Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=24504
Garret Rieger 040ed094 2020-07-30T15:14:02 [ENOMEM] popragate packed/packed_map errors to the serializer. Will disable further modifications based on a bad state.
Garret Rieger 7f358a55 2020-07-30T13:57:30 [ENOMEM] unchecked resize in CFF2.
Garret Rieger 32f052b0 2020-07-30T13:45:04 [ENOMEM] Fix several instances of not checking resize in CFF.
Garret Rieger 15644ee6 2020-07-29T16:37:39 [ENOMEM] fix memory leak if allocation fails during pop_pack().
Garret Rieger 42237adf 2020-07-29T15:18:25 [ENOMEM] make serializer modification operations no-ops if it's in an error state.
Garret Rieger 4ba8e3c6 2020-07-29T12:33:42 [ENOMEM] Fix failure to check calloc return. Fixes https://oss-fuzz.com/testcase-detail/6246465148813312.
Garret Rieger d307c24a 2020-07-29T12:23:37 [ENOMEM] check resize() return. Fixes https://oss-fuzz.com/testcase-detail/5641892164009984.