test


Log

Author Commit Date CI Message
Ebrahim Byagowi 60f8f384 2020-02-17T10:11:49 [glyf] Switch to ttf-parser's glyf to path algorithm It consumes each point at a time and doesn't need to know contour size before hand
Ebrahim Byagowi a94d1af1 2020-02-12T19:25:10 [fuzz] minor style fixes
Ebrahim Byagowi 1c015d3e 2020-02-12T19:19:37 [fuzz] minor fuzzer case move, oops
Ebrahim Byagowi 49341fae 2020-02-12T19:15:16 [fuzz] minor, move two fuzzer cases to their correct place
Ebrahim Byagowi 97229244 2020-02-12T15:41:22 [fuzzer] Fix hb-set-fuzzer minor overflow issue Size shouldn't be smaller than the struct not its pointer size. Fixes https://crbug.com/oss-fuzz/20655
Garret Rieger 7b42403c 2020-02-11T12:25:57 Add explicit values to the set fuzzer enums.
Garret Rieger e8059233 2020-02-11T12:20:54 Add a few basic seeds for the set fuzzer.
Ebrahim Byagowi ff984ed3 2020-02-11T19:50:51 Use multiplication to avoid undefined behaviour per clang Newer versions of MSVC with /we4146 don't like putting negative sign behind a unsigned number as https://github.com/harfbuzz/harfbuzz/pull/2069 That however have made https://crbug.com/1050424 this complain: src/hb-ot-color-sbix-table.hh:304:28: runtime error: negation of -2147483648 cannot be represented in type 'int'; cast to an unsigned type to negate this value to itself which apparently can be fixed using this change. Let's see if this won't make another ubsan complain!
Garret Rieger bca9bc6b 2020-02-06T13:02:58 Add hb-set-fuzzer. It fuzzes all of the hb_set process methods (intersection, subtraction, union, and symmetric difference).
Ebrahim Byagowi ab2d3ec5 2019-08-14T18:42:51 [var] Implement hb_font_get_var_coords_design Hold design coords and simulate when normalized coords are set directly.
Garret Rieger 2742c816 2020-01-28T13:55:31 Fix page_map corruption in hb_set_t during process(). If a process operation results in less pages then the current set has, it will likely corrupt the page_map since it overwrites page_map entries ahead of where it's processing. This fixes that problem by removing page_map entries that will be dropped. Then dropping orphaned pages and re-indexing retained pages.
Qunxin Liu eb7849a8 2020-02-05T15:29:03 [subset] GPOS6 MarkToMark subsetting support
Qunxin Liu 82afc758 2020-02-04T13:24:37 [subset] GPOS4 MarkBase subsetting support
Ebrahim Byagowi b4d3bf1d 2020-02-02T14:32:38 [draw] Add hb_draw_funcs_is_immutable and hb_draw_funcs_make_immutable
Ebrahim Byagowi 63b8190d 2020-02-06T11:38:11 [test] minor Remained from previous naming.
Ebrahim Byagowi 3a98c7fa 2020-02-06T01:11:00 [glyf] Skip empty contours As https://savannah.nongnu.org/bugs/index.php?57701
Ebrahim Byagowi c31762e9 2020-02-05T23:12:37 [test] minor don't test first ten glyph, just testing cp just like other API calls is enough
Ebrahim Byagowi 43253e40 2020-02-05T17:45:19 Merge remote-tracking branch 'upstream/master'
Ebrahim Byagowi a7f694d4 2020-02-05T16:31:21 Merge branch 'subset_cblc' into master
ckitagawa-work 774725b4 2020-02-05T07:43:10 [subset] Avoid incorrectly dropping cmap for NotoColorEmoji.ttf NotoColorEmoji.ttf uses two cmap subtables Format 14 | Platform ID 0 | Platform Encoding ID 5 Format 12 | Platform ID 3 | Platform Encoding ID 10 This combination results in the cmap table being dropped during subsetting despite being valid/required.
Qunxin Liu 490ef1cc 2020-01-28T15:57:33 [subset] Fix namerecord ordering This will fix inconsistency with fontTools. Also according to the spec, namerecords must be sorted first by platform ID, then by platform-specific ID, then by language ID, and then by name ID.
ckitagawa e128f802 2020-01-21T13:35:43 parent 777ba47b50f6379b9f9abf1d72559316b7116b9e author ckitagawa <ckitagawa@chromium.org> 1579631743 -0500 committer ckitagawa <ckitagawa@chromium.org> 1580506176 -0500 [subset] Add CBLC support
Qunxin Liu b6a8f5e6 2020-01-28T09:30:51 [subset] CMAP table subsetting fix Not all codepoints smaller than 0xFFFF go to cmap4 table. Only subset codepoints existing in each table. This will also make harfbuzz consistent with fontTools' behavior
ckitagawa 7d542a52 2020-01-29T10:20:00 Refactor to two iterators
ckitagawa 49b98e86 2020-01-24T15:39:02 Fix nullptr de-reference failure if both blobs in a subset test are 0 in size
ckitagawa ed857c46 2020-01-24T08:52:23 [subset] Add COLR support
Ebrahim Byagowi d106900b 2020-01-28T15:26:13 [draw][glyf] Implement quadratic to cubic call translation
Ebrahim Byagowi 74fdcdca 2020-01-28T13:45:22 [draw] Rename conic_to to quadratic_to
Ebrahim Byagowi ac81e940 2020-01-28T12:34:47 Rename hb_outline_decompose to hb_font_draw_glyph and hb_outline_decompose_funcs_t to hb_draw_funcs_t
Ebrahim Byagowi 981125aa 2020-01-25T21:31:36 Rename hb_ot_glyph_* to hb_outline_*
Ebrahim Byagowi 30857089 2020-01-27T21:16:57 [test][glyph] add subcomponent scale test
Ebrahim Byagowi d809aca8 2020-01-27T20:52:56 [test] test for not applying morx on horizontal runs if gsub exists https://github.com/harfbuzz/harfbuzz/pull/2130
Ebrahim Byagowi 1438bae7 2020-01-26T23:48:30 [ot-glyph] Add fontkit non variables fonts tests
Ebrahim Byagowi 9bb1c79a 2020-01-26T22:10:47 [ot-glyph][test] Avoid sprintf use
Ebrahim Byagowi 99f8e52d 2020-01-26T17:02:11 [ot-glyph] Add fontkits's variations toSVG tests
Ebrahim Byagowi e44982f5 2020-01-26T14:30:03 [ot-glyph] Add ttf-parser's outline_glyph tests
Ebrahim Byagowi 58976972 2020-01-25T00:32:46 [test] Increase subset timeout No random timeout please
Ebrahim Byagowi d1830437 2020-01-25T00:09:47 [tests] Apply expected results of Mplus1p-Regular subset Related to #2131
Qunxin Liu 36a5c042 2020-01-21T13:37:28 [subset] Add "--name-languages" and "--name-legacy" options Make name table subsetting consistent with fontTools
ckitagawa-work 0e4b2676 2020-01-24T12:16:08 [subset] sbix fix missed offset is_null() check
Ebrahim Byagowi 5532374f 2020-01-23T20:27:21 [ot-glyph] Add a test for #2053
Ebrahim Byagowi e171beeb 2020-01-24T19:51:21 Revert "[subset] Add "--name-languages" and "--name-legacy" options" Causes tests failures, please reapply when tests are fixed, thanks. This reverts commit fd85818b5b85fb0ad2db71c60e94ca0689d38bca.
Qunxin Liu fd85818b 2020-01-21T13:37:28 [subset] Add "--name-languages" and "--name-legacy" options Make name table subsetting consistent with fontTools
Qunxin Liu c370da45 2020-01-22T11:36:15 [subset] Cmap table: remove encodingRecord entry for empty cmap4 subtable
ckitagawa 7dc341fe 2020-01-23T11:09:15 [subset] Fix UBSAN issue in sbix
ariza acb4627e 2020-01-22T12:28:30 add api test
ariza 1ab3924b 2020-01-22T11:20:56 refix PR #2087 subset PairPos1 also added oss-fuzz 20211 data fixed by this
Ebrahim Byagowi 7633b769 2020-01-23T18:51:40 Merge pull request #2016 from ebraminio/glyf Implement glyph outline path API
Ebrahim Byagowi 02f324c9 2020-01-23T15:12:12 [ot-glyph] remove open callback Apparently it wasn't requested actually and can be detected easily as paths are opened usually when move command is issued anyway.
Ebrahim Byagowi 684ff3e0 2020-01-23T14:48:59 [ot-glyph] noop->nil, fix close path
ckitagawa b18cb5b5 2020-01-21T15:43:12 Add second fixed test
ckitagawa 8614a30b 2020-01-21T15:14:03 [subset] Fix sbix fuzz problem
ariza 72cbfb90 2020-01-18T16:35:52 remove empty lookup subtables Added a variant of subset_offset_array which takes an extra arg passed to serialize_subset for this impl. Added a new api test "test-subset-gpos" for this.
Qunxin Liu a3cf4ae0 2020-01-17T13:02:47 [subset] Add more tests for GPOS1 subsetting These tests were left out because of issue: https://github.com/fonttools/fonttools/issues/1709 Now re-adding these tests since the issue is resolved.
Qunxin Liu e565d1f9 2019-11-01T10:21:36 [subset] subset lookup/feature/script lists for GSUB/GPOS
ckitagawa 93376a64 2020-01-15T13:11:40 Add unittests
ckitagawa 6bcf57ea 2020-01-14T14:56:02 Simplify copy and add fuzzing coverage
ckitagawa 78b50a67 2020-01-14T11:01:09 Address initial comments
ckitagawa 43b6c865 2020-01-09T10:44:20 [subset] Support sbix subsetting
Ebrahim Byagowi 79fed9a1 2020-01-14T17:23:30 [ot-glyph] Add open/close callbacks
Ebrahim Byagowi ec1fba13 2020-01-13T19:31:18 [ot-glyph] make hb_ot_glyph_decompose_funcs_t struct opaque
Ebrahim Byagowi d7c3cb18 2020-01-13T17:35:57 [ot-glyph] minor on tests
Ebrahim Byagowi dc03a993 2020-01-12T14:21:29 Fix collect lookups logic of FeatureTableSubstitution (#2097) https://crbug.com/oss-fuzz/20036
Ebrahim Byagowi a32ecc15 2020-01-11T15:37:24 Fix collect lookups logic of FeatureVariationRecord As "Offset to a feature table substitution table, from beginning of the FeatureVariations table." from https://docs.microsoft.com/en-us/typography/opentype/spec/chapter2 the record should match its sanitize logic not the reverse way. Fixes https://crbug.com/oss-fuzz/20021 and https://crbug.com/oss-fuzz/20022
Qunxin Liu 0b39c480 2019-10-22T16:00:43 [subset] closure lookups for GSUB/GPOS
Ebrahim Byagowi 42f4f1ea 2020-01-11T00:00:51 [ot-glyph] Add tests for hb_ot_glyph_decompose
Ebrahim Byagowi 06a1fcb3 2020-01-10T23:12:30 [ot-glyphs] fix the tests
Ebrahim Byagowi fddf79fc 2019-10-21T14:11:27 [glyf] minor
Michiharu Ariza d2ab1ec6 2020-01-09T20:24:16 fixes oss-fuzz 19978: Null-dereference READ (#2091)
Ebrahim Byagowi 257a197a 2020-01-09T22:55:45 Fail serialize when map has incorrect value fixes https://crbug.com/oss-fuzz/19956 am not super happy with the fix, guess we should do some check before the memcpy anyway as @blueshade7 thinks also, so let's have it or revert it when we have a better approach for the case.
Qunxin Liu 1db2c1d0 2020-01-07T11:10:40 fix for cmap4 and OS_2 subsetting: maximum character code allowed is 0xFFFF
Ebrahim Byagowi 8ed46c36 2020-01-07T23:43:53 [fuzz] minor, add another already fixed case https://crbug.com/oss-fuzz/19907
Ebrahim Byagowi 341407f7 2020-01-07T09:10:24 [fuzz] minor, upload another fixed case https://crbug.com/oss-fuzz/19878
Ebrahim Byagowi 7950beec 2020-01-06T21:25:00 [subset] Fix null pointer dereference in hvar/vvar subset (#2085) Rest of the code assumes there is at least one subtable, lets return here if not. * https://crbug.com/oss-fuzz/19827 * https://crbug.com/oss-fuzz/19847
Ebrahim Byagowi 33c3d63a 2019-12-31T13:52:50 Merge pull request #1594 from harfbuzz/var-subset Issue 1558: [subset] TrueType/CFF2 variable font
Evgeniy Reizner b79ceac3 2019-12-15T16:50:01 Prefer UINT_MAX instead of uint overflow. Also, prefer HB_FEATURE_GLOBAL_START and HB_FEATURE_GLOBAL_END.
Ebrahim Byagowi 6f76c325 2019-12-10T21:43:11 [test] Update 10.15 results Turned out only SFNS, which wasn't available in 10.14 anyway, needed an update See https://crbug.com/1005969#c37 also
Ebrahim Byagowi 2241a676 2019-12-10T19:50:34 [test] Add macOS 10.15 related fonts breaks the test and 10.15 bot, will add the fix in next commit, also adds a broken test for f47cbade1
Behdad Esfahbod b1167d19 2019-12-05T15:46:58 Fix!
Behdad Esfahbod 5ff410b4 2019-12-05T15:37:56 Add files, oops
Behdad Esfahbod 2dc20e63 2019-12-05T15:28:42 Implement fallback vertical shaping from Firefox Fixes https://github.com/harfbuzz/harfbuzz/issues/355
blueshade7 ed94e410 2019-11-20T10:42:50 fixed api test test-ot-glyphname
blueshade7 7a4745ba 2019-11-20T10:15:41 added api test test-ot-glyphname
blueshade7 ea8fdfa0 2019-11-22T15:59:09 Merge branch 'master' into var-subset
Ebrahim Byagowi 64a45be5 2019-11-09T12:25:33 [ubsan] Don't decrease pointer if match_glyph_data is null (#2048) Similar to fix on https://github.com/harfbuzz/harfbuzz/pull/2022 Fixes https://crbug.com/1023070
Ebrahim Byagowi 84b86a12 2019-11-06T09:22:34 [fuzz] Remove just added case It didn't fail locally but on bots causing timeout, let remove for now.
Ebrahim Byagowi a8f049c9 2019-11-05T22:26:36 [fuzz] Upload testcase of https://crbug.com/oss-fuzz/18529 Apparently false alarm per last comment and was ok locally also but lets have it here also
Khaled Hosny dd288840 2019-10-29T01:45:49 [cmap] Check GID before adding ranges in format 4 & 12 Fixes https://github.com/harfbuzz/harfbuzz/issues/2031
Qunxin Liu defe9b6d 2019-10-25T10:07:26 crash fix : Heap-buffer-overflow READ 2 https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=18513
Qunxin Liu b2fcca6e 2019-10-24T15:15:26 fuzzer crash fix https://oss-fuzz.com/testcase-detail/5643107869917184
Ebrahim Byagowi 9815ca03 2019-10-24T21:05:38 [ci] Use custom subset fuzzer timeout for failing sanitizer bots
Garret Rieger 95ab110c 2019-10-21T13:15:46 Optimize intersects_array to fix fuzzer timeout.
Qunxin Liu b33a0d62 2019-10-21T13:24:52 fuzzer crash fix: Null-dereference WRITE https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=18363
Qunxin Liu 1f0a9d9b 2019-09-17T11:10:08 [subset] GPOS Lookup Type 2: PairPos
Ebrahim Byagowi e7667831 2019-10-21T22:17:06 [fuzz] Add https://crbug.com/oss-fuzz/17898 testcase
Qunxin Liu b66094ad 2019-09-30T16:19:18 [subset] GSUB Lookup Type 6: ChainContextSubst
Garret Rieger 831daf4c 2019-10-01T17:46:27 Enforce HB_MAX_LANGSYS limit during layout subsetting.
Ebrahim Byagowi 453050ad 2019-10-13T08:38:56 Merge remote-tracking branch 'upstream/master' into var-subset
Ebrahim Byagowi dc45f225 2019-10-08T23:27:37 [ot-metrics] Don't use mixed scaled and not scaled for generating extents
Ebrahim Byagowi d73cdcf3 2019-10-06T18:09:14 [ot-font] Apply font scaling before turning to int