Ebrahim Byagowi
1c015d3e9f
[fuzz] minor fuzzer case move, oops
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
ab2d3ec542
[var] Implement hb_font_get_var_coords_design
...
Hold design coords and simulate when normalized coords are set directly.
5 years ago
Garret Rieger
2742c81624
Fix page_map corruption in hb_set_t during process().
...
If a process operation results in less pages then the current set has, it will likely corrupt the page_map since it overwrites page_map entries ahead of where it's processing. This fixes that problem by removing page_map entries that will be dropped. Then dropping orphaned pages and re-indexing retained pages.
5 years ago
Ebrahim Byagowi
b4d3bf1d8a
[draw] Add hb_draw_funcs_is_immutable and hb_draw_funcs_make_immutable
5 years ago
Ebrahim Byagowi
63b8190db8
[test] minor
...
Remained from previous naming.
5 years ago
Ebrahim Byagowi
3a98c7fae1
[glyf] Skip empty contours
...
As https://savannah.nongnu.org/bugs/index.php?57701
5 years ago
Ebrahim Byagowi
c31762e9e8
[test] minor
...
don't test first ten glyph, just testing cp just like other API calls is enough
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
49b98e8650
Fix nullptr de-reference failure if both blobs in a subset test are 0 in size
5 years ago
ckitagawa
ed857c4680
[subset] Add COLR support
5 years ago
Ebrahim Byagowi
d106900bfd
[draw][glyf] Implement quadratic to cubic call translation
5 years ago
Ebrahim Byagowi
74fdcdcac8
[draw] Rename conic_to to quadratic_to
5 years ago
Ebrahim Byagowi
ac81e94016
Rename hb_outline_decompose to hb_font_draw_glyph and hb_outline_decompose_funcs_t to hb_draw_funcs_t
5 years ago
Ebrahim Byagowi
981125aa2a
Rename hb_ot_glyph_* to hb_outline_*
5 years ago
Ebrahim Byagowi
30857089a5
[test][glyph] add subcomponent scale test
5 years ago
Ebrahim Byagowi
1438bae7a5
[ot-glyph] Add fontkit non variables fonts tests
5 years ago
Ebrahim Byagowi
9bb1c79a2c
[ot-glyph][test] Avoid sprintf use
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
Qunxin Liu
36a5c042d7
[subset] Add "--name-languages" and "--name-legacy" options
...
Make name table subsetting consistent with fontTools
5 years ago
Ebrahim Byagowi
5532374f61
[ot-glyph] Add a test for #2053
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
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
ariza
acb4627eba
add api test
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
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
e565d1f9bc
[subset] subset lookup/feature/script lists for GSUB/GPOS
5 years ago
ckitagawa
93376a6436
Add unittests
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
Ebrahim Byagowi
d7c3cb18ee
[ot-glyph] minor on tests
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
fddf79fc37
[glyf] minor
5 years ago
Qunxin Liu
1db2c1d0da
fix for cmap4 and OS_2 subsetting: maximum character code allowed is 0xFFFF
5 years ago
blueshade7
ed94e41065
fixed api test test-ot-glyphname
5 years ago
blueshade7
7a4745ba8d
added api test test-ot-glyphname
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
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
Evgeniy Reizner
7d4da8b862
Remove duplicated tests from test-ot-tag ( #1958 )
5 years ago
Ebrahim Byagowi
28620310b8
[test] Avoid alloca use as clang complain
...
Fixes https://circleci.com/gh/harfbuzz/harfbuzz/108171 complain
5 years ago