CVS commit: pkgsrc/fonts/harfbuzz

"Thomas Klausner" <[email protected]> Mon, 3 Aug 2026 17:20:06 +0000
Newsgroups gmane.os.netbsd.devel.pkgsrc.cvs
Message-ID <[email protected]>
This is a multi-part message in MIME format.

--_----------=_1785777606196910
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset="UTF-8"

Module Name:	pkgsrc
Committed By:	wiz
Date:		Mon Aug  3 17:20:06 UTC 2026

Modified Files:
	pkgsrc/fonts/harfbuzz: Makefile.common PLIST distinfo
	pkgsrc/fonts/harfbuzz/patches: patch-util_meson.build

Log Message:
harfbuzz: update to 14.3.0.

Overview of changes leading to 14.3.0
Friday, July 31, 2026
=====================================
- Changes affecting shaping output:
  * Lookup order is now respected for mark positioning in the cross-direction
    (y in horizontal text, x in vertical text): marks no longer follow a
    cross-direction shift that a later lookup applies to the base. This
    improves compatibility with DirectWrite and Core Text.
  * Fix mark attachment to ligatures formed from decomposed glyphs.
  * The `calt` feature in Hangul text is now disabled only for the Jamos,
    not the whole buffer.

- Support for partially instancing version of `avar` table, as well as `CFF2`
  table.

- New fill-glyph paint operation and APIs for the common case of filling a
  glyph with a solid color.

- New API to fetch assorted raw values from the `OS/2`, `head`, and `post`
  tables.

- New experimental API to extract a font’s glyph dependency graph, that
  applications can use to compute glyph closures themselves without running the
  subsetter.

- New subset flag to convert the charset of a subsetted CID-keyed `CFF` fonts
  into identity charset, and a matching `hb-subset` option. Useful for
  embedding fonts in PDF.

- Command-line utilities now handle non-ASCII arguments correctly on Windows.

- Various instancing and subsetting fixes.

- Various fixes to the experimental `harfbuzz-vector`, `harfbuzz-raster` and
  `harfbuzz-gpu` libraries.

- Various improvements to the HarfRust integration shaper.

- Various build, CI, portability, and fuzzing fixes.

- New API:
  * OpenType:
    +HB_OT_BITS_TAG_FS_TYPE
    +HB_OT_BITS_TAG_FS_SELECTION
    +HB_OT_BITS_TAG_MAC_STYLE
    +HB_OT_BITS_TAG_IS_FIXED_PITCH
    +HB_OT_BITS_TAG_UNICODE_RANGE_1
    +HB_OT_BITS_TAG_UNICODE_RANGE_2
    +HB_OT_BITS_TAG_UNICODE_RANGE_3
    +HB_OT_BITS_TAG_UNICODE_RANGE_4
    +HB_OT_BITS_TAG_CODE_PAGE_RANGE_1
    +HB_OT_BITS_TAG_CODE_PAGE_RANGE_2
    +HB_OT_NUMBER_TAG_FONT_X_MIN
    +HB_OT_NUMBER_TAG_FONT_Y_MIN
    +HB_OT_NUMBER_TAG_FONT_X_MAX
    +HB_OT_NUMBER_TAG_FONT_Y_MAX
    +hb_ot_bits_tag_t
    +hb_ot_fetch_bits()
    +hb_ot_number_tag_t
    +hb_ot_fetch_number()

  * Paint:
    +hb_paint_fill_glyph_func_t
    +hb_paint_fill_glyph()
    +hb_paint_funcs_set_fill_glyph_func()

  * Subset library:
    +HB_SUBSET_FLAGS_CFF_IDENTITY_CHARSET


To generate a diff of this commit:
cvs rdiff -u -r1.84 -r1.85 pkgsrc/fonts/harfbuzz/Makefile.common
cvs rdiff -u -r1.94 -r1.95 pkgsrc/fonts/harfbuzz/PLIST
cvs rdiff -u -r1.173 -r1.174 pkgsrc/fonts/harfbuzz/distinfo
cvs rdiff -u -r1.1 -r1.2 pkgsrc/fonts/harfbuzz/patches/patch-util_meson.build

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.


--_----------=_1785777606196910
Content-Disposition: inline
Content-Length: 4069
Content-Transfer-Encoding: binary
Content-Type: text/x-diff; charset=us-ascii

Modified files:

Index: pkgsrc/fonts/harfbuzz/Makefile.common
diff -u pkgsrc/fonts/harfbuzz/Makefile.common:1.84 pkgsrc/fonts/harfbuzz/Makefile.common:1.85
--- pkgsrc/fonts/harfbuzz/Makefile.common:1.84	Wed Jun  3 05:15:29 2026
+++ pkgsrc/fonts/harfbuzz/Makefile.common	Mon Aug  3 17:20:06 2026
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile.common,v 1.84 2026/06/03 05:15:29 adam Exp $
+# $NetBSD: Makefile.common,v 1.85 2026/08/03 17:20:06 wiz Exp $
 # used by fonts/harfbuzz-icu/Makefile
 # used by fonts/harfbuzz-docs/Makefile
 
-DISTNAME=	harfbuzz-14.2.1
+DISTNAME=	harfbuzz-14.3.0
 CATEGORIES=	fonts
 MASTER_SITES=	${MASTER_SITE_GITHUB:=harfbuzz/}
 GITHUB_RELEASE=	${PKGVERSION_NOREV}

Index: pkgsrc/fonts/harfbuzz/PLIST
diff -u pkgsrc/fonts/harfbuzz/PLIST:1.94 pkgsrc/fonts/harfbuzz/PLIST:1.95
--- pkgsrc/fonts/harfbuzz/PLIST:1.94	Tue Apr 21 20:53:41 2026
+++ pkgsrc/fonts/harfbuzz/PLIST	Mon Aug  3 17:20:06 2026
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.94 2026/04/21 20:53:41 wiz Exp $
+@comment $NetBSD: PLIST,v 1.95 2026/08/03 17:20:06 wiz Exp $
 ${PLIST.introspection}bin/hb-info
 ${PLIST.introspection}bin/hb-raster
 ${PLIST.introspection}bin/hb-shape
@@ -26,6 +26,7 @@ ${PLIST.graphite2}include/harfbuzz/hb-gr
 include/harfbuzz/hb-map.h
 include/harfbuzz/hb-ot-color.h
 include/harfbuzz/hb-ot-deprecated.h
+include/harfbuzz/hb-ot-fetch.h
 include/harfbuzz/hb-ot-font.h
 include/harfbuzz/hb-ot-layout.h
 include/harfbuzz/hb-ot-math.h
@@ -42,6 +43,7 @@ include/harfbuzz/hb-set.h
 include/harfbuzz/hb-shape-plan.h
 include/harfbuzz/hb-shape.h
 include/harfbuzz/hb-style.h
+include/harfbuzz/hb-subset-depend.h
 include/harfbuzz/hb-subset-serialize.h
 include/harfbuzz/hb-subset.h
 include/harfbuzz/hb-unicode.h

Index: pkgsrc/fonts/harfbuzz/distinfo
diff -u pkgsrc/fonts/harfbuzz/distinfo:1.173 pkgsrc/fonts/harfbuzz/distinfo:1.174
--- pkgsrc/fonts/harfbuzz/distinfo:1.173	Wed Jun  3 05:15:29 2026
+++ pkgsrc/fonts/harfbuzz/distinfo	Mon Aug  3 17:20:06 2026
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.173 2026/06/03 05:15:29 adam Exp $
+$NetBSD: distinfo,v 1.174 2026/08/03 17:20:06 wiz Exp $
 
-BLAKE2s (harfbuzz-14.2.1.tar.xz) = 61880ea4c5717922a6d0ddd045dd6e638c279efffcb704bf3e6cfffffc725b32
-SHA512 (harfbuzz-14.2.1.tar.xz) = 481dca68900e57895d3671baf0595c2d3a26f4f08d0db5662e83089f0d0ff6dc0c28c64c2811eb0f812b0525ed428e90db44f091a88bef47ace2f97d8285b013
-Size (harfbuzz-14.2.1.tar.xz) = 19559952 bytes
+BLAKE2s (harfbuzz-14.3.0.tar.xz) = 7ccf81160502e729baf6ecd456fb70c9981273f542ebb252fdf54e40954f6776
+SHA512 (harfbuzz-14.3.0.tar.xz) = ec65064fae210a0d67e7a48cd3d075919e8e6891adff85a2ae8cf2dbe6b422c6764e236f3251c9f7ea37b4231469e54118bdc8c5be7a6e0aa17b58bd5b427d75
+Size (harfbuzz-14.3.0.tar.xz) = 19819024 bytes
 SHA1 (patch-src_meson.build) = 5b46f9933d5dea1f842fccf63eb92faae1f7c90f
-SHA1 (patch-util_meson.build) = 50c5146c723a734ee42609dcc384de0feb46369e
+SHA1 (patch-util_meson.build) = 22c427472e3e1edd1cb6e3c9da0435da46e31e15

Index: pkgsrc/fonts/harfbuzz/patches/patch-util_meson.build
diff -u pkgsrc/fonts/harfbuzz/patches/patch-util_meson.build:1.1 pkgsrc/fonts/harfbuzz/patches/patch-util_meson.build:1.2
--- pkgsrc/fonts/harfbuzz/patches/patch-util_meson.build:1.1	Sun Apr 13 07:15:55 2025
+++ pkgsrc/fonts/harfbuzz/patches/patch-util_meson.build	Mon Aug  3 17:20:06 2026
@@ -1,13 +1,13 @@
-$NetBSD: patch-util_meson.build,v 1.1 2025/04/13 07:15:55 adam Exp $
+$NetBSD: patch-util_meson.build,v 1.2 2026/08/03 17:20:06 wiz Exp $
 
 Disable help2man as it makes the build crash.
 
---- util/meson.build.orig	2025-04-13 07:13:29.815506976 +0000
+--- util/meson.build.orig	2026-07-31 14:49:40.000000000 +0000
 +++ util/meson.build
-@@ -18,7 +18,7 @@ hb_subset_cli_sources = [
+@@ -29,7 +29,7 @@ if not get_option('docs').disabled() and not meson.is_
  # If found, invoke it on our four binaries to build man pages
  # If not found, just skip this step
- if not get_option('docs').disabled()
+ if not get_option('docs').disabled() and not meson.is_cross_build()
 -  help2man = find_program('help2man', required: false)
 +  help2man = disabler()
  else


--_----------=_1785777606196910--