Behdad Esfahbod
a4ce5caeea
Add handwriting fuzzer text trailers
2026-03-10 01:38:06 -03:00
Behdad Esfahbod
6add360dbf
Fix check libraries ( #5812 )
...
* Centralize check library lists
* Hide internal raster helper symbols
2026-03-09 22:37:07 -06:00
Behdad Esfahbod
405eceb79a
Merge pull request #5809 from harfbuzz/fuzz-image
...
Add raster and vector fuzzers
2026-03-09 22:34:29 -06:00
Behdad Esfahbod
9058176117
Harden raster PNG error handling
2026-03-10 01:20:37 -03:00
Behdad Esfahbod
eaf002624d
Factor custom object destroy helpers
2026-03-10 01:04:11 -03:00
Behdad Esfahbod
79646aae36
Fix raster and vector destroy ordering
2026-03-10 01:00:31 -03:00
Behdad Esfahbod
a940e06ff4
Use push_or_fail in raster SVG paths
2026-03-09 23:09:41 -03:00
Behdad Esfahbod
2329724c1e
Fix hb_vector push failure checks
2026-03-09 23:08:02 -03:00
Behdad Esfahbod
acdf518d42
[fuzzing] Add noto handwriting color fonts
...
From https://github.com/googlefonts/color-fonts
2026-03-09 23:00:03 -03:00
Behdad Esfahbod
9ffd6815b0
Harden raster paint stack allocation failures
2026-03-09 22:46:38 -03:00
Behdad Esfahbod
31b23afc9c
Fix raster paint surface cache leak
2026-03-09 22:33:04 -03:00
Behdad Esfahbod
b18092024a
Add raster and vector fuzzers
2026-03-09 22:13:03 -03:00
Behdad Esfahbod
bec407b6ab
util: prefer PNG as the default image format
2026-03-09 21:35:30 -03:00
Behdad Esfahbod
a4ddc4c35c
util: composite hb-raster PNG output against background
2026-03-09 21:27:08 -03:00
Behdad Esfahbod
7623e5524c
util: add terminal output modes to hb-raster
2026-03-09 23:37:36 +02:00
Behdad Esfahbod
2609adb6f9
util: share terminal image output helpers
2026-03-09 23:37:36 +02:00
Behdad Esfahbod
24a703b51f
util: show default in output format help
2026-03-09 23:37:36 +02:00
Behdad Esfahbod
e36b7a3f5d
util: add PNG output support to hb-raster
2026-03-09 23:37:36 +02:00
Behdad Esfahbod
dfc64f02c0
raster: add PNG serialization API for images
2026-03-09 23:37:36 +02:00
7b7d54e33b
[arabic] Improve stch measurement pass ( #5808 )
...
Use checked arithmetic when calculating the number of extra glyphs
needed during stch processing. Includes a new hb_unsigned_add_overflows
helper in hb-algs.hh.
Co-authored-by: Codex (AI assistant)
Co-authored-by: Gemini (AI assistant)
2026-03-09 15:02:38 -06:00
Behdad Esfahbod
fc6eaa5400
[svg] Use std::isfinite
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/5806
2026-03-09 15:11:23 -03:00
Khaled Hosny
37efe6cc09
[meson] Show PNG is summary and re-order sections a bit
2026-03-09 18:18:52 +02:00
Behdad Esfahbod
6f198a9e39
[raster] Change image reconstruction from box to bilinear
...
https://github.com/harfbuzz/harfbuzz/pull/5798#issuecomment-4023007382
2026-03-09 18:18:52 +02:00
Behdad Esfahbod
9c6f4c201f
raster: add PNG paint_image support via libpng
2026-03-09 18:18:52 +02:00
dependabot[bot]
544864caa7
Bump github/codeql-action from 4.32.4 to 4.32.6
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 4.32.4 to 4.32.6.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/github/codeql-action/compare/89a39a4e59826350b863aa6b6252a07ad50cf83e...0d579ffd059c29b07949a3cce3983f0780820c98 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-version: 4.32.6
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-03-09 13:26:15 +02:00
Khaled Hosny
0faf041ef7
[man] Add hb-raster, and hb-vector to “See also” section
2026-03-08 00:03:57 +02:00
Khaled Hosny
f5190a73aa
[usermanual] Document hb-info, hb-raster, and hb-vector
2026-03-08 00:03:57 +02:00
Khaled Hosny
5408e599f6
[usermanual] Move code blocks inside list item
2026-03-08 00:03:57 +02:00
Khaled Hosny
c27ef57976
[usermanual] Improve program listings
...
Content inside <programlisting> tags is sensitive to white space, and the
extra indentation appear in the output.
2026-03-08 00:03:57 +02:00
Khaled Hosny
0e35bd4896
[docs] Improve code blocks
...
GTK-Doc does not seem to support mark down code blocks markup. Use the
other way, and mark the language as plain text because code coloring
looks a bit ugly.
2026-03-08 00:03:57 +02:00
Khaled Hosny
c4eafe606c
[docs] Move hb-raster and hb-vector to their own section
2026-03-08 00:03:57 +02:00
Khaled Hosny
1ccd8e5395
[util] Install hb-raster
2026-03-07 22:19:06 +02:00
Khaled Hosny
c298b921d6
13.0.1
13.0.1
2026-03-07 20:25:13 +02:00
Behdad Esfahbod
176d374b47
Raster packed ( #5795 )
...
* raster: use hb_packed_t for unaligned BGRA32 access
* algs: support encapsulated hb_packed_t and fix raster callsites
2026-03-07 09:59:47 -07:00
Behdad Esfahbod
2c29ee0483
Merge pull request #5793 from harfbuzz/raster-fixes
...
Raster fixes
2026-03-07 08:37:04 -07:00
Behdad Esfahbod
20f8e7d61c
Merge branch 'main' into raster-fixes
2026-03-06 19:07:55 -07:00
Behdad Esfahbod
ef8f53fd64
vector: gate localeconv_l and fall back to localeconv
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/5791
2026-03-06 19:07:29 -07:00
Behdad Esfahbod
f1098701e1
raster-paint: clear stale surfaces on render failure
2026-03-06 23:05:31 -03:00
Behdad Esfahbod
c6108e9633
raster-paint: handle reflected transforms in rectangle clip test
2026-03-06 23:05:16 -03:00
Behdad Esfahbod
1b744652fe
raster-paint: guard BGRA image dimensions and blob size math
2026-03-06 23:04:58 -03:00
Behdad Esfahbod
0109116383
vector: gate localeconv_l and fall back to localeconv
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/5791
2026-03-06 22:47:52 -03:00
Behdad Esfahbod
31af2b94a0
raster: avoid unsigned wrap in clip-space sampling coords
2026-03-06 22:42:18 -03:00
Behdad Esfahbod
8db165abf6
raster: advance radial sample coords on skipped pixels
2026-03-06 22:39:04 -03:00
Ze Sheng
3db272507d
[fuzzer] Fix hb-set-fuzzer reading pointer address instead of input data ( #5786 )
...
reinterpret_cast<const instructions_t &>(data) reads the bytes of the
pointer variable itself (stack address, determined by ASLR), not the
fuzzer input buffer. This makes operation and first_set_size effectively
uncontrollable by the fuzzer.
Fix by dereferencing: reinterpret_cast<const instructions_t &>(*data)
This also removes the #pragma suppressing -Wstrict-aliasing, which was
warning about exactly this problem.
Coverage comparison (10-min libFuzzer run):
- Original: 15 lines (0.05%), 2 functions
- Fixed: 486 lines (1.47%), 144 functions (29x improvement)
2026-03-05 07:49:51 -07:00
Behdad Esfahbod
4191cf20c0
Fix -Wdouble-promotion warnings
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/5785
2026-03-05 01:24:29 -03:00
Khaled Hosny
381b5d7cd4
Typo [ci skip]
2026-03-04 22:40:59 +02:00
Khaled Hosny
a0fc099681
13.0.0
13.0.0
2026-03-04 22:28:50 +02:00
Behdad Esfahbod
451f32c88e
test/fuzzing: rename record-shape script
2026-03-04 17:11:12 -03:00
Behdad Esfahbod
19f54f2cfd
Merge pull request #5784 from harfbuzz/downgrade-cff-hintmask
...
[subset] Fix CFF2->CFF1 specializer hintmask encoding
2026-03-04 12:55:54 -07:00
Khaled Hosny
1cd38d1c56
[meson] Add thread_dep to harfbuzz-subset as well
...
Adapted patch from:
https://git.libreoffice.org/core/+/8f6d4fb1a4bbb689ca748dd033ceaa87d94a1a3d%5E%21
2026-03-04 19:58:32 +02:00