test


Log

Author Commit Date CI Message
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.
Ebrahim Byagowi 48ad7459 2020-07-29T08:09:08 [ENOMEM] Fix buffer's content check logic So now rest of shape fuzzer also can be enabled. Fixes #2571
Ebrahim Byagowi c33e8006 2020-07-14T19:29:58 [fuzz] Implement failing allocator
Ebrahim Byagowi d38d6331 2020-07-27T09:19:29 [tests] minor
Ebrahim Byagowi 322426f8 2020-07-27T09:03:35 [tests] Use TTFont of fonttools to avoid temp files
Hamidreza Bayat 08fef158 2020-07-26T17:16:07 Use fonttools's python package instead of cli
Ebrahim Byagowi 5c46683a 2020-07-22T17:23:22 [fuzz] increase shape fuzzer timeout as https://circleci.com/gh/harfbuzz/harfbuzz/149203
Ebrahim Byagowi 945bcd72 2020-07-15T09:54:32 minor
Ebrahim Byagowi fa0436dd 2020-07-15T09:52:40 [ENOMEM][fuzzer/subset] early return if the result is null I don't see _or_fail APIs idiomatic for the project but since it is there, let's have this
Ebrahim Byagowi 11d583a9 2020-07-14T06:23:06 [aat] Consume glyph insertion from buffer's max_ops (#2223) Glyph insertion is an expensive operation and we like to have it limited based on buffer's input size which is handled by buffer's max_ops. clusterfuzz-testcase-minimized-harfbuzz_fuzzer-5754958982021120: Before the change: 0.67s user 0.00s system 99% cpu 0.674 total After the change: 0.02s user 0.00s system 98% cpu 0.024 total Which takes much longer on valgrind and tsan bots.
Ebrahim Byagowi cd6f62d9 2020-07-12T23:05:11 [meson] Raise timeout value of subset fuzzer testcases happens when tsan is enabled
Ebrahim Byagowi e4f99691 2020-07-08T15:10:25 [ci] migrate to meson two bots, one bot here (distcheck) and one in travis still run autotools and won't be removed till we decide about autotools
Ebrahim Byagowi e04050e3 2020-07-08T01:06:30 [meson] split fuzzer_ldflags before use
Ebrahim Byagowi c5def347 2020-07-06T23:29:56 [meson] don't underscorify fuzzers names
Ebrahim Byagowi d608f2ac 2020-07-06T22:40:51 [meson] Add fuzzer_ldflags As ots, https://github.com/khaledhosny/ots/commit/4d37b9b
Ebrahim Byagowi 694a0c6b 2020-07-06T18:28:31 [meson] Always add icu deps
Ebrahim Byagowi ba810ce8 2020-04-05T22:51:58 [tests] Replace space with colon in batch mode
Ebrahim Byagowi 2013babc 2020-07-06T11:57:45 [tests] Use HAVE_FREETYPE itself instead NO_FT_FUNCS
jfkthame 1e6027e2 2020-07-05T22:44:10 [aat] Correct array indexing when looking up actions in KerxSubTableFormat4 (#2539) * [aat] Correct array indexing when looking up actions in KerxSubTableFormat4. - For action_type 0 and 1, there are 2 values per action record; for action_type 2, there are 4. So we need to account for these factors when indexing into the ankrData array. Fixes https://github.com/harfbuzz/harfbuzz/issues/2531.
Ebrahim Byagowi aa732e45 2020-07-06T00:10:16 [tests] minor, ligcarets is fetched from gdef not gsub
Ebrahim Byagowi 122a2897 2020-07-05T22:45:11 [aat] Remove lcar support Very low use, only two distinct font files, Apple Chancery.ttf and Hoefler Text.ttc have it so it really doesn't worth the size addition and so, but one may argue that whole ligature caret is low use but guess we better to encourage GDEF one anyway.
Ebrahim Byagowi a3b9b94b 2020-07-06T00:05:21 [style] Remove fdsc support (#2541) It isn't exposed yet and low use between Apple fonts, 32 fdsc table vs 767 OS/2 tables, even Apple doesn't support it anymore per Ned.
Ebrahim Byagowi a470b0b2 2020-07-04T23:56:10 Minor, disable strict-aliasing warning in set fuzzer ../test/fuzzing/hb-set-fuzzer.cc: In function ‘int LLVMFuzzerTestOneInput(const uint8_t*, size_t)’: ../test/fuzzing/hb-set-fuzzer.cc:38:82: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 38 | const instructions_t &instructions = reinterpret_cast<const instructions_t &> (data); | And it is already disabled at project level so let's disable it here also.
Ebrahim Byagowi 4db1b4f1 2020-07-04T15:02:19 [tests] rename no_ft_funcs to NO_FT_FUNCS
Ebrahim Byagowi a07672d3 2020-07-04T14:12:55 [py] minor, replace os.environ.get with os.getenv
Ebrahim Byagowi 43e3ab01 2020-07-02T17:34:24 [tests] make tests work when ft isn't present
Ebrahim Byagowi c4b6bad7 2020-07-02T18:07:01 [tests] revert da95a8c and use the shared hb-shape process
Ebrahim Byagowi 831b0900 2020-06-28T14:31:21 rebase draw test as recent roundf changes
Ebrahim Byagowi cb7fb3cf 2020-06-28T13:41:33 Add test for a783840789c93add42e4d70fdb407eb4ad6e062e
Ebrahim Byagowi 47a0fbec 2020-06-21T02:34:59 [meson] Mark longer tests with slow So one can skip them easily by `meson test -Cbuild --no-suite slow`
Ebrahim Byagowi 08816117 2020-06-20T01:02:50 [fuzzer] Make some use for test_font API calls Making some use for result of some of the test_font calls to make sure compilers in fuzzers aren't just optimizing the calls.
Ebrahim Byagowi b4f34539 2020-06-20T00:47:00 [fuzzer] test more of ot-layout APIs