Ebrahim Byagowi
eaa2402a79
[cbdt] Merge hb-ot-color-cbdt-table.cc into its header file
...
Not needed as far as can be said.
5 years ago
Ebrahim Byagowi
a7f694d4b0
Merge branch 'subset_cblc' into master
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
Ebrahim Byagowi
43016715e1
[subset] minor on _subset
5 years ago
Ebrahim Byagowi
dcb5dfc970
[subset] minor on tables iteration
5 years ago
Ebrahim Byagowi
a8593339e2
[subset] minor on switch statements
5 years ago
Ebrahim Byagowi
b1f63109c6
[subset] Optimize _is_table_present
...
One call for most of the fonts and no malloc
5 years ago
Ebrahim Byagowi
25707e37e3
[cff] minor
5 years ago
ckitagawa
0d61926ca7
[subset] Keep head when no glyf table
5 years ago
Ebrahim Byagowi
7f9b2228a6
[glyf] minor
...
Improve using https://developer.blender.org/diffusion/B/browse/master/source/blender/blenlib/intern/freetypefont.c$572
5 years ago
Ebrahim Byagowi
5b43603385
[subset] Rename _subset2 to _subset
5 years ago
ariza
2792fb8ba1
first rewrite of cff/cff2 _subset with _subset2
5 years ago
ckitagawa
b114b26a56
Add guard to copy_glyph_at_idx
5 years ago
Ebrahim Byagowi
b2a68ed587
[name] Minor, use subtraction instead ternary operator
...
Guess ternary was a bit more legible, apparently however we agreed to use subtraction,
https://github.com/harfbuzz/harfbuzz/pull/2139#discussion_r372582005
5 years ago
Qunxin Liu
490ef1cc23
[subset] Fix namerecord ordering
...
This will fix inconsistency with fontTools.
Also according to the spec, namerecords must be sorted
first by platform ID, then by platform-specific ID,
then by language ID, and then by name ID.
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
Evgeniy Reizner
b4377afd28
Minor hb_ot_layout documentation fixes.
5 years ago
Qunxin Liu
0216a96b0f
[subset] Fix simple glyph trim_padding in glyf table
...
Detail: when numOfContours = 1 and flag = 0x31
xCoordinates and yCoordinates would be empty
5 years ago
Qunxin Liu
b6a8f5e63c
[subset] CMAP table subsetting fix
...
Not all codepoints smaller than 0xFFFF go to cmap4 table.
Only subset codepoints existing in each table.
This will also make harfbuzz consistent with fontTools' behavior
5 years ago
Ebrahim Byagowi
777ba47b50
Merge pull request #2132 from ckitagawa-work/subset_colr
...
[subset] Add COLR support
5 years ago
Ebrahim Byagowi
5b069c3612
[draw][docs] update to new terminology
5 years ago
Ebrahim Byagowi
920dca4550
[draw][docs] update to new terminlogy
5 years ago
Ebrahim Byagowi
1632726c1f
[draw] minor
5 years ago
ckitagawa
92f43a99c6
[subset] COLR, simplify logic and use add_array
5 years ago
ckitagawa
fba5128a9e
Fix build
5 years ago
ckitagawa
7d542a5274
Refactor to two iterators
5 years ago
ckitagawa
0aed54dca6
Use one-liner methods
5 years ago
ckitagawa
81c469eb62
Try to fix Wrange-loop-analysis
5 years ago
ckitagawa
0d1ba94ac7
Minor style fixes
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
cf5f946756
[outline] use hb_object_is_immutable instead comparing to Null
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
d809aca8d0
[test] test for not applying morx on horizontal runs if gsub exists
...
https://github.com/harfbuzz/harfbuzz/pull/2130
5 years ago
Evgeniy Reizner
cd7b46ca15
Use correct return type in _unsafe_to_break_find_min_cluster.
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
Ebrahim Byagowi
5440313924
Update COPYING
...
2020 update and add my name for years had more or less considerable contributions
5 years ago
Ebrahim Byagowi
cd266e4f3d
minor
5 years ago
Ebrahim Byagowi
f9070cfef8
Run morx if run is horizontal or GSUB doesn't exist
5 years ago
Ebrahim Byagowi
5897697250
[test] Increase subset timeout
...
No random timeout please
5 years ago
Ebrahim Byagowi
d1830437c9
[tests] Apply expected results of Mplus1p-Regular subset
...
Related to #2131
5 years ago
Ebrahim Byagowi
8e0898080f
[sbix] minor style fixes
5 years ago
Qunxin Liu
36a5c042d7
[subset] Add "--name-languages" and "--name-legacy" options
...
Make name table subsetting consistent with fontTools
5 years ago