Behdad Esfahbod
bfd7548e24
[aat] Optimize feature-range application
2 years ago
Behdad Esfahbod
dd42939e31
[aat] Reduce unsafe_to_concat calls
2 years ago
Behdad Esfahbod
fecce62a45
[ft] Docs
2 years ago
Behdad Esfahbod
cb509d9c89
[face] Docs
2 years ago
Behdad Esfahbod
8a2efbd8a1
[upem] More docs
2 years ago
Behdad Esfahbod
ccffce58cc
[scale] More docs
2 years ago
Behdad Esfahbod
c4580d8670
[scale] More docs
2 years ago
Behdad Esfahbod
f0e695a3a9
[scale] Comment
2 years ago
Behdad Esfahbod
8c47580ac8
[scale] Document
2 years ago
Behdad Esfahbod
8b17c6ca30
[aat] Comment
2 years ago
Behdad Esfahbod
0e11d317ee
[aat] Optimize feature application
2 years ago
Behdad Esfahbod
4ee6094114
[aat] Add test for feature range
2 years ago
Behdad Esfahbod
a70543daf3
[aat] Always unsafe-to-concat in state machine
2 years ago
Behdad Esfahbod
62383315fa
[aat] Try fix leak on memory allocation failure
2 years ago
Behdad Esfahbod
e122fe2acf
[aat] Adjust last range
...
Otherwise a user cluster value of -1 would have tripped us.
2 years ago
Behdad Esfahbod
e28c158c35
[aat] Run subtable across ranges if flags match
2 years ago
Behdad Esfahbod
2c9c49fd32
[aat] Support ranges in NonContextual subtable as well
2 years ago
Behdad Esfahbod
c08308a83c
[aat] Always generate a feature range
2 years ago
Behdad Esfahbod
db4c874758
Revert "Revert "[aat] Support feature ranges""
...
This reverts commit 6a7a38521f
.
2 years ago
Behdad Esfahbod
0728098e45
[Coverage] Speed up subset for too-large Coverage tables
...
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=54980
2 years ago
Khaled Hosny
8460909e0c
[build] Fix make dist
2 years ago
Behdad Esfahbod
6a7a38521f
Revert "[aat] Support feature ranges"
...
This reverts commit 1b7994cb3a
.
Broke Zapfino with partial ligature disabling. Debugging.
2 years ago
Behdad Esfahbod
adfd5dd7a9
Fix TINY build
2 years ago
Behdad Esfahbod
1b7994cb3a
[aat] Support feature ranges
...
The hard way...
A bit uglier than I liked it to be, but is proper at least.
Fixes https://github.com/harfbuzz/harfbuzz/issues/4020
2 years ago
Behdad Esfahbod
622a686952
Revert "Revert "Revert "[aat] Allow disable feature ranges"""
...
This reverts commit 5202053c2c
.
2 years ago
Garret Rieger
0f01a83622
[subset] add basic test for CFF2 subsetting.
...
FontTools does not yet support CFF2 subsetting so we can't add a comparison test. Instead add a golden file test.
2 years ago
Behdad Esfahbod
5202053c2c
Revert "Revert "[aat] Allow disable feature ranges""
...
This reverts commit 82b3e8af69
.
Another try.
Fixes https://github.com/harfbuzz/harfbuzz/issues/4020
2 years ago
Behdad Esfahbod
82b3e8af69
Revert "[aat] Allow disable feature ranges"
...
This reverts commit 24a4d397ba
.
This was broken.
2 years ago
Behdad Esfahbod
24a4d397ba
[aat] Allow disable feature ranges
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/4020
This is a hack.
To implement this properly we need to treat runs with different features
as independent runs for running the state machine, as the subtable flags
might be different. That would be a significant change to our internal
implementation.
2 years ago
Matthias Clasen
b20871322f
test-paint: Fix use of g_test_skip
2 years ago
Behdad Esfahbod
3ff713ab80
[coretext] Remove unused variable
2 years ago
Behdad Esfahbod
4148487556
[ft] Comment
2 years ago
Behdad Esfahbod
d2aa2397ba
Optimize non-slant extents code
2 years ago
Behdad Esfahbod
73dab7f784
[ft] Fix slanting code
2 years ago
Matthias Clasen
eb0f0279d2
test-paint: Avoid g_test_skip_printf
...
This is relatively recent api we don't need.
2 years ago
Matthias Clasen
e61c2be41c
test-paint: Skip tests if ft COLRv1 is missing
2 years ago
Matthias Clasen
1d662632d9
test-paint: More output for failures
2 years ago
Matthias Clasen
64e3f53fc2
Merge pull request #4015 from harfbuzz/more-paint-tests
...
Add more paint tests
2 years ago
Matthias Clasen
d0108d31a2
Add more paint tests
...
These tests compare the output of the ft and ot
implementations for all the glyphs in the test_glyphs
font.
2 years ago
Behdad Esfahbod
0275151490
[paint] Align deptch/edge count conditions across two backends
2 years ago
Matthias Clasen
5f976d86a7
test-paint: Use %.3g for results
...
This produces more readable output.
2 years ago
Matthias Clasen
ec78a486bf
Run paint tests at upem scale
...
This avoids problems with rouding.
2 years ago
Behdad Esfahbod
839f4b6494
[ft] Fix slanting clip box
2 years ago
Behdad Esfahbod
30adbc22d9
hb-font: Fix scale_glyph_extents() again
...
And better fix this time.
2 years ago
Behdad Esfahbod
6c1a4bed4a
Better rounding clip boxes
2 years ago
Matthias Clasen
a085efa699
test-paint: Fix font setup for ft
...
We must call hb_ft_font_set_funcs after
setting the font scale.
2 years ago
Matthias Clasen
26f713a7f5
paint-test: Use larger scales
...
A scale of 20 is noise, so use 1000.
2 years ago
Behdad Esfahbod
e886b6b8a6
[test-draw] Use a larger scale
...
A scale of 20 is in the noise category for us. Using a larger
scale makes the test pass.
2 years ago
Matthias Clasen
347910fd4c
Add a draw test
...
This test compares output between ft and ot
font funcs.
2 years ago
Behdad Esfahbod
f46dcf147b
[paint/COLR] Fix clip transform
...
Sigh. So complicated.
2 years ago