Garret Rieger
a1f034eaac
[repacker] fix fuzzer failure.
...
Fixes: https://oss-fuzz.com/testcase-detail/6490945267564544
2 years ago
Qunxin Liu
dd8d35766b
[instancer] enable partial instancing tests when experimental api is on
2 years ago
Garret Rieger
ca906e8747
[repacker] fix fuzzer timeout.
...
Corrects some mistakes in the handling of incoming_edges_ when memory allocation failures happen.
2 years ago
Qunxin Liu
bea26446d2
[instancer] reference all points for gvar
...
If a point is not referenced and delta is not inferred, set delta to 0
2 years ago
Behdad Esfahbod
0c80aec10b
[COLR] Move cycle-detection to the renderer instead of cairo
...
Alternative fix for https://github.com/harfbuzz/harfbuzz/issues/4375
2 years ago
Behdad Esfahbod
7d7541e35d
[test-paint] Print paint-color-glyph
2 years ago
Behdad Esfahbod
47231bdc70
[COLR/cairo/ft] Fixups to paint-color-glyph and implement for hb-ft
2 years ago
Behdad Esfahbod
58effbcc4f
.
2 years ago
Behdad Esfahbod
483bc0a384
[arabic/stch] Center the stretched group over the digits
...
Mostly relevant when there's one digit only.
https://github.com/harfbuzz/harfbuzz/issues/4369#issuecomment-1670361856
2 years ago
Behdad Esfahbod
9daef6ed4e
[arabic] Add test for previous commit
2 years ago
Qunxin Liu
0aa5dafefd
fix bots.
...
-Also disable partial instancing tests for now, cause the command option
is wrapped by experimental_api
2 years ago
Qunxin Liu
77b158c72d
[instancer] add tests for gvar partial instancing
2 years ago
Behdad Esfahbod
5b337130e2
Add test for previous commit
2 years ago
Behdad Esfahbod
94d4283b12
[graph] Handle a malloc fail
...
Fixes https://oss-fuzz.com/testcase-detail/4579249263345664
2 years ago
Behdad Esfahbod
202888ec3e
Fix mac bot
...
I think the new unsafe-to-concat is correct...
2 years ago
Behdad Esfahbod
f19ca24a8e
Revert "Revert "Require numerator and denominator in auto fraction""
...
This reverts commit 8fe506e153
.
2 years ago
Behdad Esfahbod
8fe506e153
Revert "Require numerator and denominator in auto fraction"
...
This reverts commit f3e86937df
.
2 years ago
David Corbett
f3e86937df
Require numerator and denominator in auto fraction
2 years ago
Behdad Esfahbod
997986ab30
[subset/hvar] Error handling
...
Fixes https://oss-fuzz.com/testcase-detail/5029952234586112
2 years ago
Behdad Esfahbod
c8f6ae1df7
[subset/hvar/retaingids] Synthesize a DeltaSetIndexMap if needed
...
Before we were emitting the entire VarStore rows if advMap
was Null. Instead, synthesize an advMap.
20% speed up in subset_glyphs/SourceHanSans-VF.otf/retaingids benchmark.
2 years ago
Khaled Hosny
afe0910295
[font] Actually deprecate get_glyph_shape()
...
We previously marked it as deprecated in the documentation but didn’t
actually deprecate it in code. Now the only known users have migrated to
draw_glyph(), lets deprecate o=it for good.
2 years ago
Behdad Esfahbod
f60dbd906a
Fix thinko
...
Fixes https://oss-fuzz.com/testcase-detail/4787105656864768
2 years ago
Behdad Esfahbod
25297408de
[COLR] Fix PaintComposite sanitize timeout
...
Was timing out after recent sanitize() change.
Fixes https://oss-fuzz.com/testcase-detail/5692635449524224
2 years ago
Behdad Esfahbod
0cf759b0d4
[Glyph] Don't shift anchored Composite if phantom_only
...
Fixes https://oss-fuzz.com/testcase-detail/5114131137822720
2 years ago
Behdad Esfahbod
cc44b3bce0
[subset/cff1] Handle an error condition
...
Fixes https://oss-fuzz.com/testcase-detail/5191907895279616
2 years ago
Behdad Esfahbod
62f5ed461e
[subset/cff] Fix an infinite loop
...
Fixes https://oss-fuzz.com/testcase-detail/5419002026131456
2 years ago
Behdad Esfahbod
347b944811
[null] Fix getting Crap(hb_bytes_t)
...
Fixes https://oss-fuzz.com/testcase-detail/6187272924692480
2 years ago
Behdad Esfahbod
6c4f975dcb
Add a fuzzer font
2 years ago
David Corbett
d8fba5c6b0
[use] Add FM categories to `POST_BASE_FLAGS64`
2 years ago
Garret Rieger
db700b5670
[subset] fix fuzzer timeout.
...
Fixes: https://oss-fuzz.com/testcase-detail/6681253479579648 . Limits iteration of coverage table during MATH subset to valid glyphs.
2 years ago
Behdad Esfahbod
2e6919d526
[subset/cff2] Error handling
...
Fixes https://oss-fuzz.com/testcase-detail/4916785942757376
2 years ago
Behdad Esfahbod
d08aee5a7e
Add fuzzing test
2 years ago
Behdad Esfahbod
ada1e9a924
[graph/serialize] Handle empty blob
...
Fixes https://oss-fuzz.com/testcase-detail/4877513265119232
2 years ago
Behdad Esfahbod
a92b288e65
[serializer] Handle snapshotting when current is nullptr
...
Happens with memory failure / fuzzing.
Fixes https://oss-fuzz.com/testcase-detail/6292420615340032
2 years ago
Behdad Esfahbod
c2eaedd2cd
[fuzzing] Add a test font
...
From https://oss-fuzz.com/testcase-detail/5855710991482880
2 years ago
Garret Rieger
f3b4d35f36
[subset] Fix fuzzer crash.
...
https://oss-fuzz.com/testcase-detail/6608005089853440
2 years ago
Garret Rieger
20c564bc76
[repacker] Fix fuzzer memory leak.
...
https://oss-fuzz.com/testcase-detail/6419865171525632
2 years ago
Garret Rieger
a652281ed6
[subset] Fix fuzzer timeout.
...
Fixes https://oss-fuzz.com/testcase-detail/5979721620652032 . Timeout was caused by degenerate map insert behaviour due to poor integer hash function. Presize the map to avoid it. Also fixes collect_mapping() for cmap format 13.
2 years ago
Khaled Hosny
0d354e0442
[layout] Add tests for baseline 2 APIs
2 years ago
Behdad Esfahbod
132391ad62
[layout] Add test for font_extents
2 years ago
Garret Rieger
77a8155425
[subset] Add some basic tests for a provided glyph map.
2 years ago
Garret Rieger
db23be642f
[subset] clamp head *Min/*Max values to fit within 16 bit signed int.
...
Fixes fuzzer https://oss-fuzz.com/testcase-detail/4549472192692224 .
2 years ago
Garret Rieger
b3fed4fa64
[repacker] fix fuzzer found memory leak.
...
Fixes https://oss-fuzz.com/testcase-detail/5196242811748352
2 years ago
Garret Rieger
e41f317199
[subset] Update expectation files for full_instance tests.
2 years ago
Garret Rieger
2175f5d050
[subset] Fix inefficient ItemVariationStore subsetting w/ retain_gids.
...
ItemVariationStore is relying on the assumption that the inner_map is populated for all output glyphs, this is not true for subsetting operations with retain gids enabled. Fixes fuzzer timeout: https://oss-fuzz.com/testcase-detail/4575222591520768 .
2 years ago
Garret Rieger
647b024784
[subset] Fix fuzzer issue https://oss-fuzz.com/testcase-detail/6521393809588224
2 years ago
Garret Rieger
3db6baa20e
[subset] add test for lig glyph fix.
2 years ago
Garret Rieger
14b9d8d534
[subset] add --no-layout-closure flag.
...
Disables layout glyph closure. Fixes #4192 .
2 years ago
Qunxin Liu
96ed20725c
[instancer] update bound metrics for CFF2 instancing
2 years ago
Garret Rieger
2cd81fdfb6
[subset] fix memory leak.
...
Fixes fuzzer issue https://oss-fuzz.com/testcase-detail/6169920089227264
2 years ago