Ebrahim Byagowi
f7187e90d2
[cmake] Don't build src/main
...
Closes #2108
5 years ago
Ebrahim Byagowi
1a6d53d3c0
[ci] Increase msan and fedora-O0 bots subset fuzzer timeout
5 years ago
Ebrahim Byagowi
2d14735588
[src/main] separate the places use private API, minor
5 years ago
Ebrahim Byagowi
23277beef9
Fold src/test-ot-glyph and src/test-ot-color into src/main
5 years ago
Ebrahim Byagowi
b72337e57e
[test] Adopt test-ot-color with ot-glyph and remove freetype/cairo dependecy
5 years ago
Ebrahim Byagowi
e171beeb5f
Revert "[subset] Add "--name-languages" and "--name-legacy" options"
...
Causes tests failures, please reapply when tests are fixed, thanks.
This reverts commit fd85818b5b
.
5 years ago
Dominik Röttsches
298c46afbf
Only prefer AAT morx for horizontal layout
...
Fixes #2124 .
5 years ago
Qunxin Liu
fd85818b5b
[subset] Add "--name-languages" and "--name-legacy" options
...
Make name table subsetting consistent with fontTools
5 years ago
Qunxin Liu
c370da45ff
[subset] Cmap table: remove encodingRecord entry for empty cmap4 subtable
5 years ago
ckitagawa
d3fff622b3
Move push call to caller
5 years ago
ckitagawa
7dc341fe74
[subset] Fix UBSAN issue in sbix
5 years ago
ariza
acb4627eba
add api test
5 years ago
ariza
1ab3924b31
refix PR #2087 subset PairPos1
...
also added oss-fuzz 20211 data fixed by this
5 years ago
Ebrahim Byagowi
7633b7695e
Merge pull request #2016 from ebraminio/glyf
...
Implement glyph outline path API
5 years ago
Ebrahim Byagowi
02f324c949
[ot-glyph] remove open callback
...
Apparently it wasn't requested actually and can be detected easily
as paths are opened usually when move command is issued anyway.
5 years ago
Ebrahim Byagowi
684ff3e0cd
[ot-glyph] noop->nil, fix close path
5 years ago
ckitagawa
3747b329b2
Address garretrieger@'s comments
5 years ago
ckitagawa
b18cb5b5ee
Add second fixed test
5 years ago
ckitagawa
af62c1c3b0
Fix style issue
5 years ago
ckitagawa
8614a30bc9
[subset] Fix sbix fuzz problem
5 years ago
ariza
72cbfb9059
remove empty lookup subtables
...
Added a variant of subset_offset_array which takes an extra arg passed to serialize_subset for this impl.
Added a new api test "test-subset-gpos" for this.
5 years ago
Qunxin Liu
a3cf4ae080
[subset] Add more tests for GPOS1 subsetting
...
These tests were left out because of issue: https://github.com/fonttools/fonttools/issues/1709
Now re-adding these tests since the issue is resolved.
5 years ago
Michiharu Ariza
8f49aaa16f
minor: un-include glyf.hh in gvar.hh
5 years ago
Michiharu Ariza
c828d7bf76
[subset] fixed GPOS device table sanitize & serialize ( #2087 )
5 years ago
Qunxin Liu
e565d1f9bc
[subset] subset lookup/feature/script lists for GSUB/GPOS
5 years ago
ckitagawa
93376a6436
Add unittests
5 years ago
ckitagawa
6bcf57eaa3
Simplify copy and add fuzzing coverage
5 years ago
ckitagawa
78b50a67be
Address initial comments
5 years ago
ckitagawa
43b6c865ae
[subset] Support sbix subsetting
5 years ago
Ebrahim Byagowi
79fed9a1e4
[ot-glyph] Add open/close callbacks
5 years ago
Ebrahim Byagowi
ec1fba1388
[ot-glyph] make hb_ot_glyph_decompose_funcs_t struct opaque
5 years ago
Qunxin Liu
8ffc9add22
[subset] layout closure_features and store them in subset-plan
5 years ago
Dominik Röttsches
66dfd605b5
Fix duplicate check in hb_ot_rotate chars
...
Fixes #2099 . Fix indentation in mirroring section as well.
5 years ago
Ebrahim Byagowi
d7c3cb18ee
[ot-glyph] minor on tests
5 years ago
Ebrahim Byagowi
dc03a993d0
Fix collect lookups logic of FeatureTableSubstitution ( #2097 )
...
https://crbug.com/oss-fuzz/20036
5 years ago
Ebrahim Byagowi
a32ecc15ae
Fix collect lookups logic of FeatureVariationRecord
...
As "Offset to a feature table substitution table, from beginning of the FeatureVariations table."
from https://docs.microsoft.com/en-us/typography/opentype/spec/chapter2 the record should
match its sanitize logic not the reverse way.
Fixes https://crbug.com/oss-fuzz/20021 and https://crbug.com/oss-fuzz/20022
5 years ago
Ebrahim Byagowi
1a4c658b43
Use REPLACEME tag
...
So we can use the version we like when we decide what it should be while the next release
and can review the API before the release one other time.
5 years ago
Ebrahim Byagowi
d7454cf07e
[subset] closure lookups for GSUB/GPOS
5 years ago
Qunxin Liu
0b39c48064
[subset] closure lookups for GSUB/GPOS
5 years ago
Ebrahim Byagowi
42f4f1ea50
[ot-glyph] Add tests for hb_ot_glyph_decompose
5 years ago
Ebrahim Byagowi
06a1fcb3b4
[ot-glyphs] fix the tests
5 years ago
Ebrahim Byagowi
084a8182fb
[ot-glyphs] Move CFF glyph decompose logic to their tables
...
Thus making path decompose zero alloc on CFF/CFF2
5 years ago
Ebrahim Byagowi
6118523502
[ot-glyph] move glyph decompose logic of glyf to itself
...
One less vector allocation yet isn't zero alloc yet
which needs more work.
5 years ago
Ebrahim Byagowi
017f606c83
[ot-glyph] rewrite the API
5 years ago
Evgeniy Reizner
9cd76813ab
Fix malformed readme. ( #2093 )
5 years ago
Ebrahim Byagowi
05443e55bc
[ot-glyph] Return empty path for empty faces
5 years ago
Ebrahim Byagowi
6e7602c104
[ot-glyph] Fix leaks
5 years ago
Ebrahim Byagowi
5b08596d60
[gvar] Don't apply anything when no coords is given
5 years ago
Ebrahim Byagowi
742aaa1363
[ot-glyf] Fix leak issue
5 years ago
Ebrahim Byagowi
fddf79fc37
[glyf] minor
5 years ago