Qunxin Liu
defe9b6da0
crash fix : Heap-buffer-overflow READ 2
...
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=18513
5 years ago
Qunxin Liu
b2fcca6e14
fuzzer crash fix
...
https://oss-fuzz.com/testcase-detail/5643107869917184
5 years ago
Ebrahim Byagowi
9815ca0338
[ci] Use custom subset fuzzer timeout for failing sanitizer bots
5 years ago
Garret Rieger
95ab110cd9
Optimize intersects_array to fix fuzzer timeout.
5 years ago
Qunxin Liu
b33a0d628e
fuzzer crash fix: Null-dereference WRITE
...
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=18363
5 years ago
Qunxin Liu
1f0a9d9be9
[subset] GPOS Lookup Type 2: PairPos
5 years ago
Ebrahim Byagowi
e766783152
[fuzz] Add https://crbug.com/oss-fuzz/17898 testcase
5 years ago
Qunxin Liu
b66094ada0
[subset] GSUB Lookup Type 6: ChainContextSubst
5 years ago
Garret Rieger
831daf4c76
Enforce HB_MAX_LANGSYS limit during layout subsetting.
5 years ago
Ebrahim Byagowi
dc45f22521
[ot-metrics] Don't use mixed scaled and not scaled for generating extents
5 years ago
Ebrahim Byagowi
d73cdcf361
[ot-font] Apply font scaling before turning to int
5 years ago
Michiharu Ariza
b9ff43c162
Implement gvar table and variable glyf
...
Split from Ariza's "[subset] TrueType/CFF2 variable font" work on #1594
5 years ago
Qunxin Liu
b0c3eb06b6
[subset] GPOS Lookup Type 3: CursivePos
5 years ago
Ebrahim Byagowi
0665dce116
[fuzzer] Don't process output in debug mode as it causes timeout
6 years ago
Qunxin Liu
bf66d1bf58
[subset] Add integration tests for cmap14
6 years ago
Evgeniy Reizner
7d4da8b862
Remove duplicated tests from test-ot-tag ( #1958 )
6 years ago
Behdad Esfahbod
52d19ba459
Minor
6 years ago
Ebrahim Byagowi
d3b984d379
Revert in-house pow10 ( d80a3ea
) and fix oss-fuzz/16922
...
Probably can be fixed but merging it was wrong so let's revert.
6 years ago
Ebrahim Byagowi
28620310b8
[test] Avoid alloca use as clang complain
...
Fixes https://circleci.com/gh/harfbuzz/harfbuzz/108171 complain
6 years ago
Ebrahim Byagowi
875985cd48
[subset] Don't allow malicious fonts to insert unlimited table headers
...
Fixes https://crbug.com/oss-fuzz/16810
6 years ago
Ebrahim Byagowi
a0b4ac4dce
Turn 8 spaces to tab across the project
...
According to the current code style of the project
6 years ago
Ebrahim Byagowi
269a120f13
[subset] Raise the bar in new vs old table size
...
https://crbug.com/oss-fuzz/16740
This is actually an interesting thing that {h,v}mtx allocates as
much as a font pretends to have glyphs but the solution is not
that obvious as regular fonts can have less than actually containing
metrics in their {h,v}mtx. This change raises the bar to consider this
hmtx 4 byte for every glyph case.
Initially we wanted to just find things allocating crazy amount of
memory but having the assert has led to interesting findings also
so let's don't remove the assert and see what we can find elsewhere.
6 years ago
Ebrahim Byagowi
28aba780c4
[subset] Fix blob leak of _subset2 when returns early
...
Fixes https://crbug.com/oss-fuzz/16639
6 years ago
Behdad Esfahbod
163a66dc73
[test] Add test for aaa85931f3
6 years ago
Ebrahim Byagowi
d59d89b281
[test] Rebase 10.14 trak related test
6 years ago
Khaled Hosny
da5118da77
[ot-shape] Enable abvm/blwm features by default
...
Core Text seems to apply them to Latin text, but Uniscribe doesn’t.
See https://github.com/harfbuzz/harfbuzz/pull/1908#issuecomment-521819343
6 years ago
Khaled Hosny
2164bd6f29
[ot-shape] Enable dist feature by default ( #1908 )
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/1907
6 years ago
Behdad Esfahbod
e56d4ff43b
Rename hb_ot_meta_get_entries() to +hb_ot_meta_get_entry_tags()
6 years ago
Ebrahim Byagowi
b31d627f15
Increase subset fuzzer timeout to 16s
...
To satisfy -valgrind and -tsan bots, very ugly
6 years ago
Qunxin Liu
321d5588d4
[subset] Add subsetting for GPOS Lookup Type 1: Single Adjustment Positioning Subtable
6 years ago
Qunxin Liu
37572882e7
[subset] cmap table to use _subset2 and new iterator frameworks
6 years ago
Ebrahim Byagowi
8c0a2e68ad
[fuzz] Add dummy call of the added APIs ( #1886 )
6 years ago
Ebrahim Byagowi
9f2b4956b4
[base] Add hb_ot_layout_get_baseline API
6 years ago
Ebrahim Byagowi
40a4b6ddbd
[var] Add a new API, hb_font_set_var_named_instance
6 years ago
Ebrahim Byagowi
b6a2281f1a
[meta] Make values match their enum type naming
6 years ago
Ebrahim Byagowi
20072a2eca
[metrics] Make values match their enum type naming
6 years ago
Ebrahim Byagowi
2c2a2b97db
[meta] Rename hb_ot_meta_t to hb_ot_meta_tag_t
6 years ago
Ebrahim Byagowi
e21bdf500d
Increase subset fuzzer timeout to 8s
...
Probably we should just remove timeout when running tsan and vaglrind here, the flaky bots
6 years ago
Ebrahim Byagowi
62932c14bd
[meta] Rename ot-metadata to ot-meta per review
6 years ago
Ebrahim Byagowi
bc65ebbce7
[meta] hb_ot_metadata_get_entries, tags iteration API
6 years ago
Ebrahim Byagowi
3ac03bd67c
[meta] New API, hb_ot_metadata_reference_entry for fetching meta entries
6 years ago
Ebrahim Byagowi
356b68a00a
[metrics] Add a test that actually practices variation ( #1858 )
6 years ago
Ebrahim Byagowi
a51aa951b5
[metrics] Fix _get_variation API to works with actual coord values
6 years ago
Khaled Hosny
c9796d15e1
Fix sbix glyph extents
...
* The ‘height’ needs to be negated since the API returns “distance from
top to bottom side”.
* Similarly, the ‘y_offset‘ needs to be added to the height to get the
‘y_bearing’, since sbix’s offset is “the point in the glyph relative
to its lower-left corner which corresponds to the origin” while
‘y_bearing’ is the “top side of glyph from origin”.
With these changes the sbix glyph metrics return values similar to other
tables, as they were otherwise unusable.
6 years ago
Ebrahim Byagowi
bdfdac0f26
[ci][fuzzer] print valgrind failure if an error happened
6 years ago
Ebrahim Byagowi
87e628436e
Implement a simple API for fetching opentype metrics
...
Fixes https://github.com/harfbuzz/harfbuzz/pull/1432
6 years ago
blueshade7
4cba7bdae9
regenerate Confortaa subset test expected results
6 years ago
Qunxin Liu
1da1b4dc94
[subset] For option "--unicodes", add support for "*" to retain all code points
6 years ago
blueshade7
386a4a64f5
regenerate subset api test result SourceHanSans-Regular.41,4C2E.retaingids.otf
6 years ago
blueshade7
670768e5b9
fix inc-bimap for subsetting VarStore with retain-gids
6 years ago