Pedro Kaj Kjellerup Nacht
26c719e8cd
Add read-only top-level permissions to cifuzz.yml
...
Signed-off-by: Pedro Kaj Kjellerup Nacht <pnacht@google.com>
2 years ago
Qunxin Liu
96ed20725c
[instancer] update bound metrics for CFF2 instancing
2 years ago
Behdad Esfahbod
04a47932a3
[paint] Remove enum trailing comma in C header
...
Fixes https://github.com/harfbuzz/harfbuzz/discussions/4188
2 years ago
Garret Rieger
2cd81fdfb6
[subset] fix memory leak.
...
Fixes fuzzer issue https://oss-fuzz.com/testcase-detail/6169920089227264
2 years ago
Behdad Esfahbod
453ded0539
[indic] Tighten up base-finding
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/4185
2 years ago
Qunxin Liu
c1acfe9966
[instancer] bug fix in TupleVariationData get_size ()
...
We need to iterate TupleVariationHeader when calculating the total size
2 years ago
Garret Rieger
be87200106
[subset] fix buffer overflow fuzzer reported issue.
2 years ago
Garret Rieger
79ae6b657f
[subset] Fix fuzzer found memory leaks.
2 years ago
Qunxin Liu
ab87d7d225
[instance] add tests for colrv1 full instancing
2 years ago
Qunxin Liu
fe671a5ac8
[instancer] support COLRv1 full instancing
2 years ago
Garret Rieger
f0f7f22525
[subset] fix fuzzer found null deref.
...
https://oss-fuzz.com/testcase-detail/5844352760152064
2 years ago
Garret Rieger
79233a1492
[subset] fix incorrectly specified lock.
...
Lock variable must have a name or it will immediately destruct.
2 years ago
Garret Rieger
8d8bcde8cf
[set] don't allow -1 (HB_SET_VALUE_INVALID) to be inserted into a hb_set_t.
...
Add tests that check all of the addition methods.
2 years ago
Garret Rieger
a84cae424d
[subset] Don't add invalid gids (-1) to the glyphset when loading glyph map from the accelerator.
2 years ago
Behdad Esfahbod
09a2662361
Merge pull request #4168 from googlefonts/subset_name_collect
...
[subset] name_id closure
2 years ago
Behdad Esfahbod
75e6498d9a
Don't use M_PI
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/4166
Happy Pi Day!
2 years ago
Qunxin Liu
204e155acb
[subset] Add tests for collecting name_ids from STAT and FeatureParams
2 years ago
Jason Simmons
32c889f1d6
Remove extra blank line in hb-outline.cc
2 years ago
Qunxin Liu
0d65738633
[subset] collect elidedFallbackNameID in STAT table
2 years ago
Qunxin Liu
125450d2f2
[subset] collect name_ids for FeratureParams
2 years ago
Garret Rieger
663ecc01d8
[subset] don't free glyphs by range.
...
The iterator in this loop is a map iterator so glyphs are not necessarily traveresed in order.
2 years ago
Garret Rieger
3d05b96181
[subset] track which glyphs have allocated memory so we can clean up correctly.
...
Fixes https://oss-fuzz.com/testcase-detail/5388270411579392
2 years ago
Garret Rieger
7a87b17742
Check for failed subset input creation in the fuzzer.
2 years ago
Qunxin Liu
de6533d885
[subset] collect name_ids from CPAL table
2 years ago
Qunxin Liu
7b77cd198c
[subset] fix bug in CPAL V1tail serialization
...
We should serialize nameIDs rather than retained color index
2 years ago
Behdad Esfahbod
6d2705a719
[justify-demo] Help message
2 years ago
Simon Cozens
2d8634624c
Add Tifinagh to list of both-directions scripts
2 years ago
Jean-Michaël Celerier
905eeee4a4
harfbuzz-config.cmake: support static library build
2 years ago
Garret Rieger
28b05e1cb6
[subset] Fix memory leak in glyf subset.
...
Fixes fuzzer issue: https://oss-fuzz.com/testcase-detail/6525813890875392 .
2 years ago
Garret Rieger
9286e12525
Don't subset a glyf table with an unknown format.
...
Fixes fuzzer issue: https://oss-fuzz.com/testcase-detail/4875306193518592
2 years ago
Behdad Esfahbod
cfa9541daa
[glyf] "Support" glyf version 1
2 years ago
Behdad Esfahbod
552290f604
[gvar] Fix out-of-memory access issue
...
Fixes https://oss-fuzz.com/testcase-detail/5953342850596864
2 years ago
Behdad Esfahbod
7327006d68
[GSUB] Support SingleSubst in get_glyph_alternates
...
Fixes https://github.com/harfbuzz/harfbuzz/discussions/4146
2 years ago
Behdad Esfahbod
69183217df
Add test-gsub-get-alternates.cc
2 years ago
Behdad Esfahbod
ea17c7a81a
[beyond-64k] Implement gvar support
...
https://github.com/harfbuzz/boring-expansion-spec/issues/85
2 years ago
Behdad Esfahbod
f325aba561
[VarComposites] Minor rename
2 years ago
Khaled Hosny
b4b089c427
[docs] Disable gtdoc-check by default
...
It slows build as it causes documentation to be always rebuilt. We now
disable it by default and enable it on relevant CI jobs.
2 years ago
Behdad Esfahbod
d165afec1d
[justify-demo] Create new fonts all the time
...
The hb.shape_justify() call modifies the font. This was messing
up justification. Create new fonts all the time.
2 years ago
Khaled Hosny
690145fa00
[justify-demo] Rewrite in a simpler way
...
No need to overthink it, append text words to the line and reshape, no
need to shape the whole text first and do complicated glyph/input
mapping. Much simpler code and as fast.
2 years ago
Behdad Esfahbod
e9d6f23b5d
[justify-demo] Fix for LTR typesetting
2 years ago
Behdad Esfahbod
5cf54aedde
[justify-demo] Guess segment properties
2 years ago
Behdad Esfahbod
5c334b9686
[justify-demo] Fix crash if font has no variation axis
2 years ago
Behdad Esfahbod
ab249fd24b
[justify] Fix shrink/expand conditions
2 years ago
Khaled Hosny
039ea9adda
[justify] Add demo GTK app
2 years ago
Behdad Esfahbod
be47182d48
[hb-cairo] Add Black Foundry copyright
2 years ago
Behdad Esfahbod
ab4c321180
[justify] Set out params in more cases
2 years ago
Khaled Hosny
e57defc07c
[justify] Set var_value when expanding/shrinking to max
...
When expanding/shrinking the buffer to max (and still not fitting), we
need to also set var_value to the axis max/min otherwise client not have
the correct axis value to draw with.
2 years ago
Behdad Esfahbod
a2efa5b489
[map] Another try at fixing old Mac build
...
https://github.com/harfbuzz/harfbuzz/issues/4138
2 years ago
Khaled Hosny
bfab56d3b5
[font] Typo
2 years ago
Khaled Hosny
60841e2618
7.1.0
2 years ago