Commit Graph

15639 Commits

Author SHA1 Message Date
Behdad Esfahbod f798cf225e [util] Don't require final ']' in --glyphs 2023-01-23 21:00:38 -07:00
Behdad Esfahbod 4268283e54 [buffer-deserialize-text] Accept initial comma 2023-01-23 20:57:56 -07:00
Behdad Esfahbod 2c29b81e7f [buffer-deserialize-text] Separate glyphs / unicodes machines 2023-01-23 20:57:56 -07:00
Behdad Esfahbod d0355eb4bd [buffer-deserialize] Parse whole items at a time
Previous logic would fail if char buffer was partial.
2023-01-23 20:57:56 -07:00
Matthias Clasen f65b04c17c Tweak wording 2023-01-23 19:58:14 -07:00
Matthias Clasen 7e01976bcc [hb-paint] Add some details to the docs 2023-01-23 19:58:14 -07:00
Garret Rieger e4fff64ce3 [repacker] check duplicate() for success.
Fixes fuzzer testcase https://oss-fuzz.com/testcase-detail/5475787333828608.
2023-01-23 18:37:13 -07:00
Behdad Esfahbod 6b72a4ddb0 Revert "[sanitize] Simplify(?) check_range"
This reverts commit af0b1ef8a7.
2023-01-23 18:36:04 -07:00
Behdad Esfahbod 00cf322e23
Merge pull request #4046 from harfbuzz/hb-features-docs
[doc] Try to fix generating hb-features docs
2023-01-23 16:06:26 -07:00
Khaled Hosny 699485b349 [meson] Further simplify generating hb-features.h 2023-01-24 00:15:48 +02:00
Khaled Hosny 2486d6d22f [meson] Reduce repetitions 2023-01-24 00:15:48 +02:00
Khaled Hosny 12f2ecbddb [doc] Generate hb-supported-features.h
See inline comment.
2023-01-24 00:15:48 +02:00
Khaled Hosny 0bbd3360ee [doc] Try to fix generating hb-features docs
Move it to a separate section, since hb-common says include hb.h, while
we want to include hb-features.h here.

This still does not fix generating documentation of undefined macros
(e.g. HB_HAS_GDI since we build docs on Linux).
2023-01-24 00:12:06 +02:00
Behdad Esfahbod af0b1ef8a7 [sanitize] Simplify(?) check_range 2023-01-23 14:31:10 -07:00
Behdad Esfahbod fe94c760e1 [algs] Build fix for clang and __builtin_mul_overflow
Fixes https://github.com/harfbuzz/harfbuzz/issues/4066
2023-01-23 14:05:28 -07:00
Khaled Hosny 1cf61f3053 [meson] Fix build with -Dgobject=disabled 2023-01-23 16:26:35 +02:00
Behdad Esfahbod 2b87af808b [hb-info] Typo 2023-01-22 17:37:51 -07:00
Behdad Esfahbod fe22afe7f9 [hb-info] Simplify 2023-01-22 16:47:50 -07:00
Khaled Hosny eba5762919 Another try 2023-01-22 16:30:34 -07:00
Khaled Hosny 37ab12a372 [util] Try to fix hb-info build 2023-01-22 16:30:34 -07:00
Behdad Esfahbod 5880ab0603 [hb-info] More build fix try 2023-01-22 16:21:43 -07:00
Behdad Esfahbod d76ef46d0a Try to fix autotools build 2023-01-22 16:17:39 -07:00
Behdad Esfahbod 6e58598520 [hb-info] Subfamily 2023-01-22 15:22:30 -07:00
Behdad Esfahbod 4142a460af [hb-info] Add --list-baselines 2023-01-22 15:11:50 -07:00
Behdad Esfahbod 9c62022ded [hb-info] Format 2023-01-22 15:02:21 -07:00
Behdad Esfahbod 0b7d3952ba [hb-info] Add --list-style 2023-01-22 15:00:10 -07:00
Behdad Esfahbod 090a6d0dde [hb-info] Add --get-style 2023-01-22 14:56:25 -07:00
Behdad Esfahbod 5b291d49e8 [hb-info] Rename style to subfamily 2023-01-22 14:51:17 -07:00
Behdad Esfahbod c300bf00f0 [hb-info] Move include around 2023-01-22 14:46:20 -07:00
Behdad Esfahbod b839f53cde [hb-info] Write fallback metrics in --list-metrics 2023-01-22 14:39:26 -07:00
Behdad Esfahbod 7ba3d0c419 [hb-info] Add --list-metrics
Requires hb-gobject
2023-01-22 14:28:13 -07:00
Behdad Esfahbod 4ec3d2e32a [hb-info List enum nicks in --list-names 2023-01-22 14:13:52 -07:00
Behdad Esfahbod def94aa8c5 [features] Add HB_HAS_GOBJECT 2023-01-22 14:01:34 -07:00
Behdad Esfahbod b3006ba9cb Docs 2023-01-22 13:46:35 -07:00
Behdad Esfahbod e3e4d1ecdc [name] Add hb_ot_name_id_predefined_t
Not sure what to do about its docs.
2023-01-22 13:41:43 -07:00
Behdad Esfahbod 3feac1a408 [hb-info] Use tab in --list-palettes 2023-01-22 10:15:14 -07:00
Behdad Esfahbod 752ad51cce [hb-info] Move some initialization to post_parse 2023-01-22 10:12:41 -07:00
Behdad Esfahbod 334f59c955 [hb-info] If name not found, fall back to English 2023-01-22 10:06:05 -07:00
Behdad Esfahbod 7cae553592 [hb-info] Rename --dump-table to --get-table 2023-01-22 09:33:25 -07:00
Behdad Esfahbod 9b499a48bb [hb-info] Add --get-name 2023-01-22 09:27:05 -07:00
Behdad Esfahbod 7a47a369d3 [hmtx] Fix typo 2023-01-22 09:09:45 -07:00
Behdad Esfahbod b987918125
Merge pull request #4052 from googlefonts/instancer_recalc_bounds
[instancer] recalc bounds by default when --instance option is enabled
2023-01-22 09:08:51 -07:00
Behdad Esfahbod e4cdaa1d3f [test] Fix build 2023-01-22 08:36:51 -07:00
Behdad Esfahbod 9ba1e400d6 [test] Remove non-free font and its test
Fixes https://github.com/harfbuzz/harfbuzz/issues/4059
2023-01-22 08:31:39 -07:00
Behdad Esfahbod 749df4ee84 [PairPosFormat1] One more 2023-01-21 16:00:54 -07:00
Behdad Esfahbod b648ceb72f [PairSet] Optimize last commit 2023-01-21 15:58:59 -07:00
Behdad Esfahbod 891623243c [PairSet] Unify get_size() 2023-01-21 15:57:18 -07:00
Behdad Esfahbod b63159e8bf [PairPosFormat1] Fix stride
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=55287
and generally the lookup with MediumTypes.
2023-01-21 15:51:40 -07:00
Behdad Esfahbod be8a87c453 Move TRACE_DISPATCH after may_recurse()
Such that we don't get memory access issues if DEBUG_SANITIZE is
on and may_recurse() returns false.
2023-01-21 15:50:25 -07:00
Behdad Esfahbod 84b9a632ed [debug] Fix printf signness warnings 2023-01-21 14:37:34 -07:00