Behdad Esfahbod
bffdca89f7
[pool] Add funny Copilot comment
2023-04-22 09:32:57 -06:00
Behdad Esfahbod
a960571f24
[glyf] Comments
2023-04-21 16:45:08 -06:00
Behdad Esfahbod
2b042cc5c6
[VarComposite] Implement trim_padding()
2023-04-21 16:43:47 -06:00
Qunxin Liu
591c9460dc
[instancer] compile composite glyphs directly with shifted component
...
points instead of deltas
2023-04-21 15:47:26 -06:00
Behdad Esfahbod
3520f528aa
[CompositeGlyph] Apply gvar deltas with component transform
...
This was being done wrong for one of the scaled_offsets() cases.
2023-04-21 15:46:36 -06:00
Behdad Esfahbod
33972b3bf6
[glyf] Increase CompositeGlyf memory allocation
...
The 50% wasn't justified by logic.
2023-04-21 12:37:51 -06:00
Behdad Esfahbod
290cef39be
[glyf] When instancing, just spew empty VarComposites
...
Before we were dropping the entire glyf table.
2023-04-21 12:22:30 -06:00
Behdad Esfahbod
4353192d05
[aat] Tweak a couple sanitize calls that are never called
2023-04-21 11:59:15 -06:00
Behdad Esfahbod
305012609b
[hdmx] Remove unused unsafe function
2023-04-21 11:42:18 -06:00
Behdad Esfahbod
f74abc307d
[face] Comment
2023-04-21 11:37:37 -06:00
Behdad Esfahbod
d1f49ba6d2
[VarComposites] More ifdef guards
2023-04-20 18:17:14 -06:00
Behdad Esfahbod
1e9a0511f3
[subset] Fix HB_TINY build
2023-04-20 17:47:04 -06:00
Behdad Esfahbod
106a237e40
[subset/glyf] Close over VarComposite glyphs
...
Subsetting VarComposite glyphs works now.
2023-04-20 17:46:07 -06:00
Behdad Esfahbod
f2d21425a3
[VarC/subset] Support subsetting VarComposites
...
By renumbering components.
2023-04-20 17:32:59 -06:00
Behdad Esfahbod
15d0a1dcfd
[glyf] TODO
2023-04-20 17:28:10 -06:00
Behdad Esfahbod
85d0c3b5f1
[glyf] Comment
2023-04-20 17:17:28 -06:00
Behdad Esfahbod
5d74b42b9e
[glyf] Change variable name
2023-04-20 17:15:57 -06:00
Behdad Esfahbod
c997e490c7
Remove unnecessary return
2023-04-20 17:02:38 -06:00
Behdad Esfahbod
781da13e99
[glyf] Comment
2023-04-20 16:59:25 -06:00
Behdad Esfahbod
0e4bcf908c
[hmtx] Add TODO
2023-04-20 16:23:41 -06:00
Behdad Esfahbod
639f45ef9e
[beyond-64k/subset] Implement subsetting of hmtx beyond64k
2023-04-20 16:21:08 -06:00
Behdad Esfahbod
b3da715b9c
Fix HB_TINY build
2023-04-20 16:05:03 -06:00
Behdad Esfahbod
32f145ff9c
Fix build
2023-04-20 15:58:26 -06:00
Behdad Esfahbod
000a3c5dca
[beyond-64k/subset] Fetch lsb from glyph table if not available
...
The beyond-64k hmtx table doesn't encode LSB. If subsetting brings
the glyph under 64k (which currently is the only mode we support),
then we need to encode the LSB, which wasn't available. We need to
fetch xMin from glyf table and set it as LSB.
2023-04-20 15:53:10 -06:00
Behdad Esfahbod
1111c7578e
hb_memset
2023-04-20 15:17:23 -06:00
Behdad Esfahbod
219e739c9f
[beyond-64k/subset] Lower CompositeGlyph GID24's when possible
2023-04-20 15:13:12 -06:00
Behdad Esfahbod
a2e8ecf996
[Glyph] Minor change type of type to enum type
...
Say that thrice.
2023-04-20 14:08:23 -06:00
Behdad Esfahbod
317e3693da
[beyond-64k] Fail hmtx subsetting if subset too large
2023-04-20 11:48:43 -06:00
Behdad Esfahbod
64ecf8720c
[beyond-64k] Fix subsetting of maxp
2023-04-20 11:42:45 -06:00
Behdad Esfahbod
7f629c0df2
[docs] clarify purpose of FreeType integration
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/4200
2023-04-19 13:16:18 -06:00
Garret Rieger
19e1b698c5
[subset] Fix ubsan failure.
2023-04-18 13:21:46 -06:00
Garret Rieger
647b024784
[subset] Fix fuzzer issue https://oss-fuzz.com/testcase-detail/6521393809588224
2023-04-18 13:21:46 -06:00
Garret Rieger
3db6baa20e
[subset] add test for lig glyph fix.
2023-04-17 14:35:27 -06:00
Garret Rieger
8658c257c4
[subset] In LigatureSubst subsetting, check if the ligature glyph is in glyphset.
...
Otherwise coverage will not match the retained ligature sets.
2023-04-17 14:35:27 -06:00
Josef Friedrich
ac4c3b3e85
Fix typos in the source code docs
2023-04-17 12:21:05 -06:00
DeadSix27
ef6adadba9
meson: add an option to disable utilities building
...
Adds the missing utilities option to meson builds for parity with CMake builds
2023-04-17 18:55:38 +02:00
Garret Rieger
90356eb226
[subset] Note --no-layout-closure is only for GSUB.
2023-04-14 15:12:41 -06:00
Garret Rieger
14b9d8d534
[subset] add --no-layout-closure flag.
...
Disables layout glyph closure. Fixes #4192 .
2023-04-14 15:12:41 -06:00
Behdad Esfahbod
9c258936e7
[SECURITY] Update
2023-04-14 11:35:34 -06:00
Pedro Kaj Kjellerup Nacht
feb1f6d39e
Add security policy
...
Signed-off-by: Pedro Kaj Kjellerup Nacht <pnacht@google.com>
2023-04-14 11:34:06 -06:00
Pedro Kaj Kjellerup Nacht
26c719e8cd
Add read-only top-level permissions to cifuzz.yml
...
Signed-off-by: Pedro Kaj Kjellerup Nacht <pnacht@google.com>
2023-04-12 10:23:20 -06:00
Qunxin Liu
96ed20725c
[instancer] update bound metrics for CFF2 instancing
2023-04-05 17:27:11 -06:00
Behdad Esfahbod
04a47932a3
[paint] Remove enum trailing comma in C header
...
Fixes https://github.com/harfbuzz/harfbuzz/discussions/4188
2023-03-31 11:44:08 -06:00
Garret Rieger
2cd81fdfb6
[subset] fix memory leak.
...
Fixes fuzzer issue https://oss-fuzz.com/testcase-detail/6169920089227264
2023-03-30 16:19:41 -06:00
Behdad Esfahbod
453ded0539
[indic] Tighten up base-finding
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/4185
2023-03-28 13:18:03 -06:00
Qunxin Liu
c1acfe9966
[instancer] bug fix in TupleVariationData get_size ()
...
We need to iterate TupleVariationHeader when calculating the total size
2023-03-27 15:37:06 -06:00
Garret Rieger
be87200106
[subset] fix buffer overflow fuzzer reported issue.
2023-03-25 10:11:46 -04:00
Garret Rieger
79ae6b657f
[subset] Fix fuzzer found memory leaks.
2023-03-25 10:11:46 -04:00
Qunxin Liu
ab87d7d225
[instance] add tests for colrv1 full instancing
2023-03-21 11:51:58 -06:00
Qunxin Liu
fe671a5ac8
[instancer] support COLRv1 full instancing
2023-03-21 11:51:58 -06:00