Skip to content

Commit e6f59e9

Browse files
committed
harfbuzz: update to 13.2.1.
Overview of changes leading to 13.2.1 Thursday, March 19, 2026 ===================================== - Fix regression in tracing messages from previous release. Overview of changes leading to 13.2.0 Thursday, March 19, 2026 ===================================== - Fix `hb-view` glyph positioning with `--glyphs` input from `hb-shape --ned`. - Various fuzzing fixes for `harfbuzz-subset`, `harfbuzz-raster` and `harfbuzz-vector` libraries. - Various improvements to tracing messages. - Various documentation improvements. - New API: + HB_OT_SHAPE_BUFFER_FORMAT_SERIAL + hb_ot_shape_get_buffer_format_serial() Overview of changes leading to 13.1.1 Friday, March 13, 2026 ===================================== - Support gzip-compressed `SVG` glyphs in `harfbuzz-raster` and `harfbuzz-vector` libraries. This new functionality requires `zlib`, and will not be available if HarfBuzz is built without `zlib`. - Improve handling of `SVG` glyphs in `harfbuzz-raster` and `harfbuzz-vector` libraries. - Further harden application of `stch` feature against malicious fonts. - Various fuzzing fixes. - Various build fixes: * Add missing `chafa` dependency to `hb-raster` utility, and remove accidental `cairo` dependency. * Don’t build raster and vector fuzzers if the library is disabled. * Add meson options for enabling / disabling `libpng` and `zlib`. * Support building `harfbuzz-raster` and `harfbuzz-vector` libraries with CMake. Overview of changes leading to 13.1.0 Wednesday, March 11, 2026 ===================================== - The `harfbuzz-raster` library can now render bitmap color glyph formats (`CBDT` and `sbix`). It now also has an API to serialize / deserialize images to and from PNGs. This new functionality requires `libpng`, and will not be available if HarfBuzz is built without `libpng`. - Install `hb-raster` command line utility. - Fix overflow when applying `stch` feature with malicious fonts. - Fix memory leaks in `harfbuzz-raster` and `harfbuzz-vector` in error conditions, as well as more robust handling of allocation failures. - Various documentation improvements and build fixes. - New API: +hb_raster_image_serialize_to_png_or_fail() +hb_raster_image_deserialize_from_png_or_fail()
1 parent d0ed923 commit e6f59e9

9 files changed

Lines changed: 8 additions & 127 deletions

fonts/harfbuzz/Makefile.common

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
# $NetBSD: Makefile.common,v 1.78 2026/03/10 05:58:05 wiz Exp $
1+
# $NetBSD: Makefile.common,v 1.79 2026/03/26 13:38:03 wiz Exp $
22
# used by fonts/harfbuzz-icu/Makefile
33

4-
DISTNAME= harfbuzz-13.0.1
4+
DISTNAME= harfbuzz-13.2.1
55
CATEGORIES= fonts
66
MASTER_SITES= ${MASTER_SITE_GITHUB:=harfbuzz/}
77
GITHUB_RELEASE= ${PKGVERSION_NOREV}

fonts/harfbuzz/PLIST

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
@comment $NetBSD: PLIST,v 1.88 2026/03/10 05:58:05 wiz Exp $
1+
@comment $NetBSD: PLIST,v 1.89 2026/03/26 13:38:03 wiz Exp $
22
${PLIST.introspection}bin/hb-info
3+
${PLIST.introspection}bin/hb-raster
34
${PLIST.introspection}bin/hb-shape
45
${PLIST.introspection}bin/hb-subset
56
${PLIST.introspection}bin/hb-vector

fonts/harfbuzz/distinfo

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,7 @@
1-
$NetBSD: distinfo,v 1.168 2026/03/10 05:58:05 wiz Exp $
1+
$NetBSD: distinfo,v 1.169 2026/03/26 13:38:03 wiz Exp $
22

3-
BLAKE2s (harfbuzz-13.0.1.tar.xz) = 6cc65ffd1ec2b8feb7f7115828c118dff5d3f38a13cc7e460d2f0f1170ddf4c8
4-
SHA512 (harfbuzz-13.0.1.tar.xz) = edc856198fc7ed49133d9cc978c70de371c5076f67e28a4fa51be2f0651031ef108967deefb29a0116f1de8a9316c6a686f039726d4dbae84d295461a24fdc90
5-
Size (harfbuzz-13.0.1.tar.xz) = 19426688 bytes
6-
SHA1 (patch-src_hb-raster-svg-base.hh) = ebf5e0a71d20713081776641c80bae6090606c9e
7-
SHA1 (patch-src_hb-raster-svg-clip.cc) = 7bd89fc7e88cc48dc50a5331078b982281764524
8-
SHA1 (patch-src_hb-raster-svg-fill.cc) = f413b7f2aedf91873967ee7dd9d4adaaa4b25cc2
9-
SHA1 (patch-src_hb-raster-svg-parse.cc) = a1c734cc665b0ac0e4e88fa65390962a6e04d75e
10-
SHA1 (patch-src_hb-raster-svg-parse.hh) = fa0771ef3c08f853da0de1ccd2c4d8f2575d8cde
11-
SHA1 (patch-src_hb-vector-svg-utils.hh) = 25784ce6de206ce6bee9e22c675e9b982171d09a
3+
BLAKE2s (harfbuzz-13.2.1.tar.xz) = afc8298b75897744332696b88ecab9ef27a1e1f55ea9226ba60241859187602c
4+
SHA512 (harfbuzz-13.2.1.tar.xz) = 3a13ac59813304baebc0fbdbdaf7e7a8af508bb37901d6e1eb2186b1de3d702507e24271286297195719f8d7e3982cc4dcc5c290bc52ef172ebf35b8cfb6a70f
5+
Size (harfbuzz-13.2.1.tar.xz) = 19508960 bytes
126
SHA1 (patch-src_meson.build) = 5b46f9933d5dea1f842fccf63eb92faae1f7c90f
137
SHA1 (patch-util_meson.build) = 50c5146c723a734ee42609dcc384de0feb46369e

fonts/harfbuzz/patches/patch-src_hb-raster-svg-base.hh

Lines changed: 0 additions & 16 deletions
This file was deleted.

fonts/harfbuzz/patches/patch-src_hb-raster-svg-clip.cc

Lines changed: 0 additions & 16 deletions
This file was deleted.

fonts/harfbuzz/patches/patch-src_hb-raster-svg-fill.cc

Lines changed: 0 additions & 34 deletions
This file was deleted.

fonts/harfbuzz/patches/patch-src_hb-raster-svg-parse.cc

Lines changed: 0 additions & 16 deletions
This file was deleted.

fonts/harfbuzz/patches/patch-src_hb-raster-svg-parse.hh

Lines changed: 0 additions & 16 deletions
This file was deleted.

fonts/harfbuzz/patches/patch-src_hb-vector-svg-utils.hh

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)