Ebrahim Byagowi
ca2705f1fb
[tests] Add more tests for _get_ligature_carets
5 years ago
ariza
c05458ec7f
update cff & cff2 subsetters
5 years ago
Ebrahim Byagowi
44169f3396
[draw] Fix invalid rendering of some glyph on Estedad-VF
...
Basically reverts 11f3fca
so I can do the same tested and better later
Fixes #2215
5 years ago
Ebrahim Byagowi
1f5a54c768
[gvar] fix infinite loop introduced by 11f3fca
...
The attempt on removing end_points had made the code unreadable
and has intrdouced infinite, fixed by making the code clear what
it tries to achieve.
5 years ago
Ebrahim Byagowi
0cf050a7b1
[draw] Merge consequent move-to commands of CFF/CFF2
5 years ago
Ebrahim Byagowi
49341faee2
[fuzz] minor, move two fuzzer cases to their correct place
5 years ago
Ebrahim Byagowi
97229244eb
[fuzzer] Fix hb-set-fuzzer minor overflow issue
...
Size shouldn't be smaller than the struct not its pointer size.
Fixes https://crbug.com/oss-fuzz/20655
5 years ago
Ebrahim Byagowi
3a98c7fae1
[glyf] Skip empty contours
...
As https://savannah.nongnu.org/bugs/index.php?57701
5 years ago
ckitagawa-work
774725b43a
[subset] Avoid incorrectly dropping cmap for NotoColorEmoji.ttf
...
NotoColorEmoji.ttf uses two cmap subtables
Format 14 | Platform ID 0 | Platform Encoding ID 5
Format 12 | Platform ID 3 | Platform Encoding ID 10
This combination results in the cmap table being dropped during subsetting despite being valid/required.
5 years ago
ckitagawa
e128f80278
parent 777ba47b50
...
author ckitagawa <ckitagawa@chromium.org> 1579631743 -0500
committer ckitagawa <ckitagawa@chromium.org> 1580506176 -0500
[subset] Add CBLC support
5 years ago
ckitagawa
7d542a5274
Refactor to two iterators
5 years ago
ckitagawa
ed857c4680
[subset] Add COLR support
5 years ago
Ebrahim Byagowi
1438bae7a5
[ot-glyph] Add fontkit non variables fonts tests
5 years ago
Ebrahim Byagowi
99f8e52d5e
[ot-glyph] Add fontkits's variations toSVG tests
5 years ago
Ebrahim Byagowi
e44982f548
[ot-glyph] Add ttf-parser's outline_glyph tests
5 years ago
Ebrahim Byagowi
5532374f61
[ot-glyph] Add a test for #2053
5 years ago
Qunxin Liu
c370da45ff
[subset] Cmap table: remove encodingRecord entry for empty cmap4 subtable
5 years ago
ariza
acb4627eba
add api test
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
ckitagawa
93376a6436
Add unittests
5 years ago
Qunxin Liu
1db2c1d0da
fix for cmap4 and OS_2 subsetting: maximum character code allowed is 0xFFFF
5 years ago
Khaled Hosny
dd288840d6
[cmap] Check GID before adding ranges in format 4 & 12
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/2031
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
37572882e7
[subset] cmap table to use _subset2 and new iterator frameworks
5 years ago
Ebrahim Byagowi
3ac03bd67c
[meta] New API, hb_ot_metadata_reference_entry for fetching meta entries
5 years ago
Ebrahim Byagowi
356b68a00a
[metrics] Add a test that actually practices variation ( #1858 )
5 years ago
blueshade7
386a4a64f5
regenerate subset api test result SourceHanSans-Regular.41,4C2E.retaingids.otf
5 years ago
blueshade7
670768e5b9
fix inc-bimap for subsetting VarStore with retain-gids
5 years ago
Garret Rieger
6555f20958
[subset] Truncate empty gids at the end in retain-gids mode.
6 years ago
Behdad Esfahbod
5ac4ab6868
[subset] fix for name table serializing with new serializer machinery
6 years ago
Qunxin Liu
1ca4b5c770
[subset] Add unit test for str de-dup
...
Also move the implementation of some methods from the .cc to the .hh
6 years ago
Qunxin Liu
6faac8df83
[subset] Subsetting Name Table Step 4
...
Add unit test and integration test
6 years ago
Michiharu Ariza
49fe81fdeb
updated api test results for HVAR/VVAR subset changes
6 years ago
Michiharu Ariza
3e524bf772
fix VarData serialize to remove unused data sets
...
add api test case for that
6 years ago
Michiharu Ariza
ab9d30965d
Add tt var metrics test cases & bug fixes
6 years ago
Michiharu Ariza
0008963b28
add support of anchor point & SCALED/UNSCALED_COMPONENT_OFFSET
...
some code cleanup
6 years ago
Michiharu Ariza
ae3db1f4e3
added api test for subset VVAR & bug fix
...
added a mod copy of SourceSerifVariable-Roman.ttf with VVAR as a test font
6 years ago
Michiharu Ariza
fe5aa8b36c
added TT VF full font test & fixed bugs
...
updated CFF2 VF api test results too
6 years ago
Michiharu Ariza
2bd2e656f9
update CFF2 test results
6 years ago
Michiharu Ariza
dc10a7ef60
add gvar & HVAR retain-gids test cases
6 years ago
Michiharu Ariza
6ee71166b0
add api tests for subset gvar & HVAR; bug fixes
6 years ago
Michiharu Ariza
6e066464f0
replaced tt var api test with a composite glyph
...
for better coverage
6 years ago
Michiharu Ariza
511518c759
add api test for tt var advance widths
...
stripped HVAR from SourceSansVariable-Roman.abc.ttf so glyf gets parsed
6 years ago
Michiharu Ariza
139e87b56c
fix tt var extents & add test
6 years ago
Ebrahim Byagowi
5bbe78a0f3
Allow zero length ranges in sanitization ( #1617 )
...
Fixes fvar table sanitization where there are no named instance
by allowing zero length ranges starting from Null() address.
Fixes #1607
6 years ago
Michiharu Ariza
49f9359632
add support of anchor point & SCALED/UNSCALED_COMPONENT_OFFSET
...
some code cleanup
6 years ago
Michiharu Ariza
d2a0149c29
added api test for subset VVAR & bug fix
...
added a mod copy of SourceSerifVariable-Roman.ttf with VVAR as a test font
6 years ago
Michiharu Ariza
325918172e
added TT VF full font test & fixed bugs
...
updated CFF2 VF api test results too
6 years ago
Michiharu Ariza
92bc740558
update CFF2 test results
6 years ago
Michiharu Ariza
0576253a34
add gvar & HVAR retain-gids test cases
6 years ago