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
Garret Rieger
f0f7f22525
[subset] fix fuzzer found null deref.
...
https://oss-fuzz.com/testcase-detail/5844352760152064
2023-03-21 11:41:09 -06:00
Garret Rieger
79233a1492
[subset] fix incorrectly specified lock.
...
Lock variable must have a name or it will immediately destruct.
2023-03-16 20:30:39 -06:00
Garret Rieger
8d8bcde8cf
[set] don't allow -1 (HB_SET_VALUE_INVALID) to be inserted into a hb_set_t.
...
Add tests that check all of the addition methods.
2023-03-15 12:10:18 -06:00
Garret Rieger
a84cae424d
[subset] Don't add invalid gids (-1) to the glyphset when loading glyph map from the accelerator.
2023-03-15 12:10:18 -06:00
Behdad Esfahbod
09a2662361
Merge pull request #4168 from googlefonts/subset_name_collect
...
[subset] name_id closure
2023-03-14 12:48:12 -06:00
Behdad Esfahbod
75e6498d9a
Don't use M_PI
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/4166
Happy Pi Day!
2023-03-14 12:41:46 -06:00
Qunxin Liu
204e155acb
[subset] Add tests for collecting name_ids from STAT and FeatureParams
2023-03-14 10:25:31 -07:00
Jason Simmons
32c889f1d6
Remove extra blank line in hb-outline.cc
2023-03-13 20:35:59 -06:00