David Corbett
f9d48150e1
Regenerate files using Ragel
2 years ago
Khaled Hosny
9e4ae09fe7
[ci] Fix linux-ci builds
2 years ago
Khaled Hosny
371c88678f
Add few missing since tags
2 years ago
Behdad Esfahbod
84d33a1ed8
[glyf] Fix compiler warning
2 years ago
Behdad Esfahbod
82dc23f2a1
Merge pull request #3759 from googlefonts/update_glyf
...
[instance] update glyf/hmtx/vmtx/OS2/post tables
2 years ago
Qunxin Liu
f887ee0c67
[instance] update post.italicAngle
...
Add tests for instancing glyf/hmtx
2 years ago
Qunxin Liu
4882c717b5
[instance] update OS/2.usWeightClass and OS/2.usWidthClass
2 years ago
Qunxin Liu
ac0e22fa8e
[instance] update glyf/hmtx/vmtx tables
2 years ago
Behdad Esfahbod
23461b7502
[hb-ft] Only apply FT_Face's transform if we created FT_Face
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/3788
https://github.com/harfbuzz/harfbuzz/issues/3790
2 years ago
Behdad Esfahbod
4f59211762
Merge pull request #3787 from harfbuzz/split_mark_base_bos
...
[repacker] Add support for splitting MarkBasePosFormat1 in the packer.
2 years ago
Behdad Esfahbod
2eda2ab3bb
[object] Forward hb_object_create() arguments to constructor
2 years ago
Behdad Esfahbod
df040de9b4
[array] Add a std::forward
2 years ago
Behdad Esfahbod
c606978ee0
[array] Remove unused type pack
2 years ago
Garret Rieger
37d61afd5e
[subset] add destructor to subset plan.
...
This ensures that it's members get destructed before the plan itself is destructed, as hb_object_destroy calls the destructor for plan.
2 years ago
Garret Rieger
a91bfeeda5
[repacker] comment cleanup.
2 years ago
Garret Rieger
015ca5bc3c
[repacker] fix compiler alignment warning.
2 years ago
Behdad Esfahbod
de37b2650d
[object] Only destruct object if it's not trivially-destructible
...
Such that we're legally free to access the object to destruct its
(pointer) fields ourselves afterwards. For things like hb_font_t,
hb_face_t, etc.
2 years ago
Garret Rieger
683c5dd21e
[repacker] further reduce base count.
2 years ago
Garret Rieger
5ddf41fc9c
[repacker] speed up MarkBasePos test case by using a smaller basecount.
2 years ago
Garret Rieger
bf28b84ae8
[repacker] cleanup unused base_array_id.
2 years ago
Garret Rieger
31976bfb50
[repacker] cleanup unused base_array_links.
2 years ago
Garret Rieger
6f5c52b604
[repacker] optimize AnchorMatrix::clone.
...
Previous runtime is O(n^2) reduced to O(n).
2 years ago
Garret Rieger
29e3b2467e
[repacker] optimzie remove_real_links as it's a hot method.
2 years ago
Garret Rieger
46b5dbd7ce
[repacker] optimize index_for_offset.
2 years ago
Garret Rieger
52303638b9
[repacker] correct size calculation for MarkBasePosFormat1.
2 years ago
Garret Rieger
ac1a853abc
[repacker] implement sanitize methods for MarkBasePos.
2 years ago
Garret Rieger
a3ed9f9099
[repacker] fix graph comparison, and mark base pos generation for the tests.
2 years ago
Garret Rieger
19c51ed35c
[repacker] Get mark base pos test working.
2 years ago
Garret Rieger
b46ced9562
[repacker] correct MarkArray size calculation.
2 years ago
Garret Rieger
36c76c27c6
[repacker] when clearing links in MarkArray, also clear parents of the children.
2 years ago
Garret Rieger
8c3db8bdfd
[repacker] more progress on MarkBasePos tests.
2 years ago
Behdad Esfahbod
172cc82032
[BUILD] Minor reword (and reformat)
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/3784
2 years ago
Garret Rieger
1405f96b6f
[repacker] change run_resolve_overflow_test to check for graph equivalence.
...
Replaces a check for an exact match on the final serialized bytes. The previous check enforced equivalent topological sorting between result and expected, but we only really care that the graph's are equivalent and don't overflow.
2 years ago
Garret Rieger
07fd0528c0
[repacker] add graph equality check.
...
Does not compare topological sorting, but looks for equivalence of the two graphs.
2 years ago
Garret Rieger
5cf2a25a60
[repacker] Expose on internal method in the repacker that allows the caller to pass in/out a graph.
...
Will be used in testing so we can compare graphs instead of packed result.
2 years ago
Garret Rieger
c414ef292b
[repacker] Implement MarkArray::shrink.
2 years ago
Behdad Esfahbod
4ab7e579cb
Make HB_BORING_EXPANSION opt-in instead of opt-out
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/3757
2 years ago
Garret Rieger
f8b5520556
[repacker] Add AnchorMatrix::shrink.
2 years ago
Garret Rieger
bbe14417ad
[repacker] Begin implementing MarkBasePosFormat1::shrink.
2 years ago
Garret Rieger
c9ddf0815a
[repacker] Implement AnchorMatrix::clone.
2 years ago
Garret Rieger
5ea3c0be8f
[repacker] Implement MarkArray::clone.
2 years ago
Garret Rieger
0083fd109c
[repacker] add as_table() helper to graph.
2 years ago
Garret Rieger
b00eb77682
[repack] Add add_link helper to graph.
2 years ago
Garret Rieger
1acd2a8bf9
[repacker] implement MarkBasePosFormat1::clone_range.
2 years ago
Garret Rieger
cf817f3d99
[repacker] Hook up MarkBasePos splitting.
2 years ago
Garret Rieger
4418beac93
[repacker] start implmenting MarkBasePos splitting.
2 years ago
Behdad Esfahbod
f4f7d691af
Merge pull request #3779 from harfbuzz/split_pair_pos_2
...
[repacker] Add PairPosFormat2 table splitting in the repacker.
2 years ago
Garret Rieger
fa46dbca9d
[repacker] Make actuate_subtable_split internal.
2 years ago
Garret Rieger
fe15f2559f
[repacker] use position instead of memory address as key in device_tables map.
2 years ago
Garret Rieger
163fbf0be1
[repacker] Check for nullptr's before sanitizing.
2 years ago