Commit Graph
20650 Commits
Author SHA1 Message Date
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 2663a9b6f9 [wasm] Rename a couple APIs 2023-03-31 17:38:23 -06:00
Behdad Esfahbod d2fb583a5a [wasm-graphite] Fix advance signedness 2023-03-31 17:33:45 -06:00
Behdad Esfahbod f9dd402ef8 [wasm] Fix header 2023-03-31 17:33:45 -06:00
Simon Cozens 85a1fdd93f [wasm] get/set font variation parameters 2023-03-31 17:33:45 -06:00
Simon Cozens 0bfad127c3 [wasm] Make _hb_wasm_module_reader conditional
Or else uharfbuzz doesn't build.
2023-03-31 17:33:45 -06:00
Simon Cozens 3fc48d4ada [wasm] [experimental] wrap hb_face_create and hb_create_font 2023-03-31 17:33:45 -06:00
Simon Cozens 0a16c60b42 [wasm-rust] Derive some friendly traits 2023-03-31 17:33:45 -06:00
Behdad Esfahbod 6ff994f31d [wasm-api-shape] Avoid a couple of crashes 2023-03-31 17:33:45 -06:00
Behdad Esfahbod b6c1814410 [wasm] Comment 2023-03-31 17:33:45 -06:00
Simon Cozens e78d8653ce [wasm-rust] panic if buffer_set_contents fails 2023-03-31 17:33:45 -06:00
Behdad Esfahbod 74a2f338c6 [wasm-shape] Don't crash if font is bad 2023-03-31 17:33:45 -06:00
Behdad Esfahbod 7df9b3dd89 [wasm-api-list] Add TODO 2023-03-31 17:33:45 -06:00
Behdad Esfahbod f5a0bd223b [wasm-shape] Comment re thread-safety 2023-03-31 17:33:45 -06:00
Behdad Esfahbod 7e5064ac1b [wasm-shape] Comment re thread-safety 2023-03-31 17:33:45 -06:00
Behdad Esfahbod 5235ee68ad [wasm-shape] Remove explicit running-mode setting
It does it automatically.
2023-03-31 17:33:45 -06:00
Behdad Esfahbod e89415b5b9 [wasm-shape] Print another error message 2023-03-31 17:33:45 -06:00
Behdad Esfahbod 6aea77c643 [wasm-shape] Add (disabled) module support 2023-03-31 17:33:45 -06:00
Behdad Esfahbod 142ceaf246 [wasm-shape] Print module instantiation error 2023-03-31 17:33:45 -06:00
Simon Cozens 7e397d8695 [wasm-rust] Fix shape parameters 2023-03-31 17:33:45 -06:00
Simon Cozens d942f72c2a [wasm-rust] Fix path 2023-03-31 17:33:45 -06:00
Simon Cozens 52b11546c8 [wasm-rust] Optional kurbo dependency 2023-03-31 17:33:45 -06:00
Simon Cozens 0c90555e59 [wasm] Fix Rust docs 2023-03-31 17:33:45 -06:00