|
12df69e5
|
2020-03-11T21:52:43
|
|
Minor, delete not needed cmake testing file
|
|
943bfeda
|
2020-03-11T20:30:41
|
|
[meson] Enable more of the subset tests
|
|
c494d7ab
|
2020-03-11T19:44:13
|
|
Remove cmake testing and add meson build bot
CMake tests are broken anyway as py3 changes so let's get rid of them
|
|
1c3f80ba
|
2020-03-11T19:29:47
|
|
[meson] Minor updates
|
|
04438554
|
2018-11-15T00:25:41
|
|
meson: Update build files after rebase
|
|
d4a72373
|
2018-05-17T16:25:22
|
|
meson: all tests passing on Windows / MSVC
|
|
618584e9
|
2018-11-14T20:19:36
|
|
meson: rename incbase to incconfig
Makes it clearer what it's for: config.h. See #4.
|
|
7ee650b1
|
2018-05-17T23:52:36
|
|
meson: refactor fuzzing test
|
|
920efc0e
|
2018-05-17T01:28:53
|
|
Add Meson build definitions
Fixes #490
http://mesonbuild.com
|
|
f1e5f4a7
|
2018-12-02T00:33:43
|
|
meson: tests: shaping: add aots tests
|
|
84725fb0
|
2018-12-02T00:32:57
|
|
meson: tests: shaping: add missing in-house tests
|
|
8fc66dbf
|
2018-12-01T21:15:33
|
|
meson: tests: subset: no need to check for 'which' command any more
Test runner script now handles that.
|
|
78eabf24
|
2020-03-10T13:34:42
|
|
[test] Enable OT funcs on tests that are working
|
|
0d729b4b
|
2020-03-07T11:53:12
|
|
[avar] Fix out-of-bound read when input is bigger than all the coords
'i' shouldn't become equal to array's length which as the increament
is happened at end of the loop, if the input is bigger than all the
table coords, it will be equal to array's length.
Fixes https://crbug.com/oss-fuzz/21092
|
|
6924e29f
|
2020-03-03T13:11:11
|
|
[var] Fix hb_ot_var_get_axis_infos's offset semantic
The API was adding offset to input's infos buffer index also which is
unusual between our APIs and wrong.
|
|
c05458ec
|
2020-03-02T16:51:19
|
|
update cff & cff2 subsetters
|
|
446d1e3b
|
2020-03-04T23:32:50
|
|
[fuzz] Add more of fixed cases
|
|
99b5b3f1
|
2020-03-04T11:15:46
|
|
[gvar] Make sure TupleVarHeader has the needed size
Fixes https://crbug.com/oss-fuzz/21026
|
|
558f9227
|
2020-03-03T20:27:19
|
|
[fuzz] Avoid empty memcpy and ubsan complain by length checking before memcpy
|
|
6543d166
|
2020-03-03T20:26:46
|
|
[fuzz] Remove the not yet fixed timeout, going to investigate
|
|
2bbf1c86
|
2020-03-03T19:42:38
|
|
[fuzz] Add more of supposed to already be fixed cases from Chromium bug tracker
|
|
f253f06c
|
2020-03-03T18:57:13
|
|
[fuzz] Add another fixed case
https://crbug.com/oss-fuzz/14626
another numerous subtables count which is fixed by d38360397
|
|
d3836039
|
2020-03-02T22:41:08
|
|
Limit OT::Lookup subtables (#2219)
Fixes https://crbug.com/oss-fuzz/13943
|
|
29efd964
|
2020-03-02T14:22:29
|
|
[fuzz] Add cases that marked as wontfix
Let's see if they were really false alarms, if so, let's just have them.
|
|
cb65150f
|
2020-02-29T16:12:54
|
|
[draw] minor
|
|
44169f33
|
2020-02-29T16:04:03
|
|
[draw] Fix invalid rendering of some glyph on Estedad-VF
Basically reverts 11f3fca so I can do the same tested and better later
Fixes #2215
|
|
86c40b3a
|
2020-02-29T14:11:46
|
|
[fuzz/draw] Call _get_glyph_extents
Other render related APIs also may be added also later such
as ot-color and future rendering things.
|
|
5ab50eeb
|
2020-02-29T01:32:29
|
|
collect_unicodes() with clamp, calling add_range()
Use add_range instead an inner loop, clamp its input number by
number of glyphs a face has.
Even the face cmap12 and 13 have 32-bit hb_codepoint_t, which is here
used to make timeout, face's maxp has 16-bit gid limitation at least for now,
using that makes sure we both fix and the timeout and don't need to change
much things here also in order to support 32-bit gids also someday.
Fixes #2204
|
|
410b4881
|
2020-02-28T10:38:27
|
|
[subset] Add fuzzer timeout testcase.
|
|
e57ced5f
|
2020-02-28T23:29:05
|
|
[gvar] Add other possibly fixed fuzzer case
Speculatively should've been fixed by 61208401
https://crbug.com/oss-fuzz/20924 related
|
|
758fda72
|
2020-02-28T23:19:06
|
|
[glyf] Don't accept gids higher than maxp's glyphs number
This specially becomes concerning on sub-components where a gvar table
that is sanitized using maxp's glyphs number overflows when a high gid
accepted here goes to it, maybe an additional check can be put there
also, this however feels to be enough.
Fixes https://crbug.com/oss-fuzz/20944
|
|
e9021386
|
2020-02-28T21:24:27
|
|
Revert "collect_unicodes() to check gid < num_glyphs with cmap 12"
Didn't fix the case actually, making bots to fail.
This reverts commit 15b43a410400c74a32d40f4b89dbea02fa7cd6e1.
|
|
61208401
|
2020-02-28T21:09:07
|
|
[gvar] Use hb_bytes_t.check_range instead having in house one
And use TupleVarHeader calculated size for validity check.
Fixes https://crbug.com/oss-fuzz/20919 and possibly other gvar related issues
|
|
15b43a41
|
2020-02-28T08:45:39
|
|
collect_unicodes() to check gid < num_glyphs with cmap 12
fixes #2204
|
|
868ecf7b
|
2020-02-28T19:50:30
|
|
[draw] Add fuzzer runner
|
|
8eba66c1
|
2020-02-27T15:58:58
|
|
[gvar] Fix invalid memory access by refactoring GlyphVarData fetch logic
Fixes https://crbug.com/oss-fuzz/20906
|
|
5ad761b9
|
2020-02-11T13:05:40
|
|
[subset] GDEF MarkGlyphSets subsetting support
|
|
fcd7f33b
|
2020-02-10T10:36:50
|
|
[subset] GDEF glyphClassDef subsetting support
glyphClassDef uses the same ClassDef format. However, glyphClassDef table
uses predefined class values so we do not remap class values.
|
|
a99134c5
|
2020-02-26T09:58:03
|
|
add oss-fuzz 20886 test file
|
|
1b8b8638
|
2020-02-26T16:36:48
|
|
minor
|
|
132fcfbc
|
2020-02-26T16:15:17
|
|
[fuzz] minor don't abort main.cc when the file was empty or not found
|
|
84163c83
|
2020-02-26T15:58:11
|
|
[draw] Skip commands and paths not contributing anything
They aren't contributing to rendering and making issue for stroking, let's skip them
ourselves as Skia does also https://skia-review.googlesource.com/c/skia/+/268166
They are useful for extracting extents and so which that functionality won't be effected by this change.
|
|
c400cb88
|
2020-02-25T16:06:03
|
|
Re-implement hb_set_t::del_range (#2194)
* optimize hb_set_del_range()
fix issue #2193
* fixed bug & added tests
* coding & comment tweaks
|
|
4081439d
|
2020-02-25T15:03:12
|
|
tweak reflecting review & add test cases
|
|
152000d9
|
2020-02-25T20:07:25
|
|
[fuzz] Practice variations on font object
|
|
036d8689
|
2020-02-24T10:34:51
|
|
[draw] Add a fuzzer
Specially checks correctness of the API semantics:
* no move happens when a path is already opened with move-to.
* no path will be left open and close-path will happen at the end of opened paths.
* no path opens with a move-to and will be closed with no length.
* paths start and ending points matches.
* no line/quadratic/cubic command will be issued when no path is started.
|
|
173b745d
|
2020-02-24T22:56:57
|
|
fixed bug & added tests
|
|
a5012e97
|
2020-02-24T17:09:48
|
|
optimize hb_set_del_range()
fix issue #2193
|
|
96b71e80
|
2020-02-24T23:00:58
|
|
[fuzz] make the custom loader to handle multiple files
Actually this was the way it used to work :)
|
|
1f5a54c7
|
2020-02-24T13:18:24
|
|
[gvar] fix infinite loop introduced by 11f3fca
The attempt on removing end_points had made the code unreadable
and has intrdouced infinite, fixed by making the code clear what
it tries to achieve.
|
|
e17fd0d9
|
2020-02-23T23:58:39
|
|
[tools] More on py3 compatibility
|
|
0cf050a7
|
2020-02-23T23:00:48
|
|
[draw] Merge consequent move-to commands of CFF/CFF2
|
|
86bd5a0b
|
2020-02-23T22:46:26
|
|
[draw] End CFF paths with a line-to
Issue a line-to command when start and end point of a path isn't same, matches freetype also.
|
|
41122542
|
2020-02-20T13:43:06
|
|
Fix glyph closure for alternate substitution.
It was not filtering on the glyphs to be retained.
|
|
8c652f72
|
2020-02-19T16:32:44
|
|
Minor, switch to https links where possible
|
|
8d199077
|
2020-02-19T14:56:55
|
|
Remove python2 support from tests/utils scripts
|
|
493e40ff
|
2020-02-18T13:09:08
|
|
[subset] add one empty byte to glyf table
if it's going to end up empty after subsetting
This will make OTS happy and match what fontTools is doing now.
|
|
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
|
|
a94d1af1
|
2020-02-12T19:25:10
|
|
[fuzz] minor style fixes
|
|
1c015d3e
|
2020-02-12T19:19:37
|
|
[fuzz] minor fuzzer case move, oops
|
|
49341fae
|
2020-02-12T19:15:16
|
|
[fuzz] minor, move two fuzzer cases to their correct place
|
|
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
|
|
7b42403c
|
2020-02-11T12:25:57
|
|
Add explicit values to the set fuzzer enums.
|
|
e8059233
|
2020-02-11T12:20:54
|
|
Add a few basic seeds for the set fuzzer.
|
|
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!
|
|
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).
|
|
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.
|
|
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.
|
|
eb7849a8
|
2020-02-05T15:29:03
|
|
[subset] GPOS6 MarkToMark subsetting support
|
|
82afc758
|
2020-02-04T13:24:37
|
|
[subset] GPOS4 MarkBase subsetting support
|
|
b4d3bf1d
|
2020-02-02T14:32:38
|
|
[draw] Add hb_draw_funcs_is_immutable and hb_draw_funcs_make_immutable
|
|
63b8190d
|
2020-02-06T11:38:11
|
|
[test] minor
Remained from previous naming.
|
|
3a98c7fa
|
2020-02-06T01:11:00
|
|
[glyf] Skip empty contours
As https://savannah.nongnu.org/bugs/index.php?57701
|
|
c31762e9
|
2020-02-05T23:12:37
|
|
[test] minor
don't test first ten glyph, just testing cp just like other API calls is enough
|
|
43253e40
|
2020-02-05T17:45:19
|
|
Merge remote-tracking branch 'upstream/master'
|
|
a7f694d4
|
2020-02-05T16:31:21
|
|
Merge branch 'subset_cblc' into master
|
|
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.
|
|
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.
|
|
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
|
|
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
|
|
7d542a52
|
2020-01-29T10:20:00
|
|
Refactor to two iterators
|
|
49b98e86
|
2020-01-24T15:39:02
|
|
Fix nullptr de-reference failure if both blobs in a subset test are 0 in size
|
|
ed857c46
|
2020-01-24T08:52:23
|
|
[subset] Add COLR support
|
|
d106900b
|
2020-01-28T15:26:13
|
|
[draw][glyf] Implement quadratic to cubic call translation
|
|
74fdcdca
|
2020-01-28T13:45:22
|
|
[draw] Rename conic_to to quadratic_to
|
|
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
|
|
981125aa
|
2020-01-25T21:31:36
|
|
Rename hb_ot_glyph_* to hb_outline_*
|
|
30857089
|
2020-01-27T21:16:57
|
|
[test][glyph] add subcomponent scale test
|
|
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
|
|
1438bae7
|
2020-01-26T23:48:30
|
|
[ot-glyph] Add fontkit non variables fonts tests
|
|
9bb1c79a
|
2020-01-26T22:10:47
|
|
[ot-glyph][test] Avoid sprintf use
|
|
99f8e52d
|
2020-01-26T17:02:11
|
|
[ot-glyph] Add fontkits's variations toSVG tests
|
|
e44982f5
|
2020-01-26T14:30:03
|
|
[ot-glyph] Add ttf-parser's outline_glyph tests
|
|
58976972
|
2020-01-25T00:32:46
|
|
[test] Increase subset timeout
No random timeout please
|
|
d1830437
|
2020-01-25T00:09:47
|
|
[tests] Apply expected results of Mplus1p-Regular subset
Related to #2131
|
|
36a5c042
|
2020-01-21T13:37:28
|
|
[subset] Add "--name-languages" and "--name-legacy" options
Make name table subsetting consistent with fontTools
|
|
0e4b2676
|
2020-01-24T12:16:08
|
|
[subset] sbix fix missed offset is_null() check
|
|
5532374f
|
2020-01-23T20:27:21
|
|
[ot-glyph] Add a test for #2053
|
|
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.
|
|
fd85818b
|
2020-01-21T13:37:28
|
|
[subset] Add "--name-languages" and "--name-legacy" options
Make name table subsetting consistent with fontTools
|