pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/fonts/harfbuzz



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sat Apr 12 07:06:55 UTC 2025

Modified Files:
        pkgsrc/fonts/harfbuzz: Makefile.common PLIST distinfo

Log Message:
harfbuzz*: update to 11.0.1

Overview of changes leading to 11.0.1
Friday, April 4, 2025
====================================
- The change in version 10.3.0 to apply “trak” table tracking values to glyph
  advances directly has been reverted as it required every font functions
  implementation to handle it, which breaks existing custom font functions.
  Tracking is instead back to being applied during shaping.
- When `directwrite` integration is enabled, we now link to `dwrite.dll`
  instead of dynamically loading it.
- A new experimental APIs for getting raw “CFF” and “CFF2” CharStrings.
- We now provide manpages for the various command line utilities. Building
  manpages requires “help2man” and will be skipped if it is not present.
- The command line utilities now set different return value for different kinds
  of failures. Details are provided in the manpages.
- Various fixes and improvements to `fontations` font functions.
- All shaping operations using the `ot` shaper have become memory
  allocation-free.
- Glyph extents returned by `hb-ot` and `hb-ft` font functions are now rounded
  in stead of flooring/ceiling them, which also matches what other font
  libraries do.
- Fix “AAT” deleted glyph marks interfering with fallback mark positioning.
- Glyph outlines emboldening have been moved out of `hb-ot` and `hb-ft` font
  functions to the HarfBuzz font layer, so that it works with any font
  functions implementation.
- Fix our fallback C++11 atomics integration, which seems to not be widely
  used.
- Various testing fixes and improvements.
- Various subsetting fixes and improvements.
- Various other fixes and improvements.

Overview of changes leading to 11.0.0
Monday, March 24, 2025
====================================
- There are three new font-functions implementations (integrations) in this
  release:
  * `hb-coretext` has gained one, calling into the CoreText library,
  * `hb-directwrite` has gained one, calling into the DirectWrite library.
  * `hb-fontations` has gained one, calling into the Skrifa Rust library.
  All three are mostly useful for performance and correctness testing, but some
  clients might find them useful.
  An API is added to use them from a single API by providing a backend name
  string:
  * `hb_font_set_funcs_using()`
- Several new APIs are added, to load a font-face using different
  "face-loaders", and a single entry point to them all using a loader name
  string:
  * `hb_ft_face_create_from_file_or_fail()` and
    `hb_ft_face_create_from_blob_or_fail()`
  * `hb_coretext_face_create_from_file_or_fail()` and
    `hb_coretext_face_create_from_blob_or_fail()`
  * `hb_directwrite_face_create_from_file_or_fail()` and
    `hb_directwrite_face_create_from_blob_or_fail()`
  * `hb_face_create_from_file_or_fail_using()`
- All drawing and painting operations using the default, `hb-ot` functions have
  become memory allocation-free.
- Several performance optimizations have been implemented.
- Application of the `trak` table during shaping has been improved.
- The `directwrite` shaper now supports font variations, and correctly applies
  user features.
- The `hb-directwrite` API and shaper has graduated from experimental.
- Various bug fixes and other improvements.

- New API:
+hb_malloc
+hb_calloc
+hb_realloc
+hb_free
+hb_face_list_loaders
+hb_face_create_or_fail_using
+hb_face_create_from_file_or_fail_using
+hb_font_list_funcs
+hb_font_set_funcs_using
+hb_coretext_face_create_from_blob_or_fail
+hb_directwrite_face_create_from_file_or_fail
+hb_directwrite_face_create_from_blob_or_fail
+hb_directwrite_font_create
+hb_directwrite_font_get_dw_font_face
+hb_directwrite_font_set_funcs
+hb_fontations_font_set_funcs
+hb_ft_face_create_from_blob_or_fail
+hb_paint_push_font_transform
+hb_paint_push_inverse_font_transform
+HB_BUFFER_CLUSTER_LEVEL_GRAPHEMES
+HB_BUFFER_CLUSTER_LEVEL_IS_MONOTONE
+HB_BUFFER_CLUSTER_LEVEL_IS_GRAPHEMES
+HB_BUFFER_CLUSTER_LEVEL_IS_CHARACTERS

- Deprecated API:
+hb_directwrite_font_get_dw_font


To generate a diff of this commit:
cvs rdiff -u -r1.56 -r1.57 pkgsrc/fonts/harfbuzz/Makefile.common
cvs rdiff -u -r1.82 -r1.83 pkgsrc/fonts/harfbuzz/PLIST
cvs rdiff -u -r1.145 -r1.146 pkgsrc/fonts/harfbuzz/distinfo

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

Modified files:

Index: pkgsrc/fonts/harfbuzz/Makefile.common
diff -u pkgsrc/fonts/harfbuzz/Makefile.common:1.56 pkgsrc/fonts/harfbuzz/Makefile.common:1.57
--- pkgsrc/fonts/harfbuzz/Makefile.common:1.56  Sun Mar 30 21:10:43 2025
+++ pkgsrc/fonts/harfbuzz/Makefile.common       Sat Apr 12 07:06:55 2025
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile.common,v 1.56 2025/03/30 21:10:43 wiz Exp $
+# $NetBSD: Makefile.common,v 1.57 2025/04/12 07:06:55 wiz Exp $
 # used by fonts/harfbuzz-icu/Makefile
 
-DISTNAME=      harfbuzz-10.4.0
+DISTNAME=      harfbuzz-11.0.1
 CATEGORIES=    fonts
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=harfbuzz/}
 GITHUB_RELEASE=        ${PKGVERSION_NOREV}

Index: pkgsrc/fonts/harfbuzz/PLIST
diff -u pkgsrc/fonts/harfbuzz/PLIST:1.82 pkgsrc/fonts/harfbuzz/PLIST:1.83
--- pkgsrc/fonts/harfbuzz/PLIST:1.82    Sun Mar  2 20:11:27 2025
+++ pkgsrc/fonts/harfbuzz/PLIST Sat Apr 12 07:06:55 2025
@@ -1,6 +1,5 @@
-@comment $NetBSD: PLIST,v 1.82 2025/03/02 20:11:27 wiz Exp $
+@comment $NetBSD: PLIST,v 1.83 2025/04/12 07:06:55 wiz Exp $
 ${PLIST.introspection}bin/hb-info
-${PLIST.introspection}bin/hb-ot-shape-closure
 ${PLIST.introspection}bin/hb-shape
 ${PLIST.introspection}bin/hb-subset
 include/harfbuzz/hb-aat-layout.h
@@ -106,6 +105,7 @@ ${PLIST.doc}share/gtk-doc/html/harfbuzz/
 ${PLIST.doc}share/gtk-doc/html/harfbuzz/api-index-10-2-0.html
 ${PLIST.doc}share/gtk-doc/html/harfbuzz/api-index-10-3-0.html
 ${PLIST.doc}share/gtk-doc/html/harfbuzz/api-index-10-4-0.html
+${PLIST.doc}share/gtk-doc/html/harfbuzz/api-index-11-0-0.html
 ${PLIST.doc}share/gtk-doc/html/harfbuzz/api-index-2-0-0.html
 ${PLIST.doc}share/gtk-doc/html/harfbuzz/api-index-2-1-0.html
 ${PLIST.doc}share/gtk-doc/html/harfbuzz/api-index-2-2-0.html
@@ -168,6 +168,7 @@ ${PLIST.doc}share/gtk-doc/html/harfbuzz/
 ${PLIST.doc}share/gtk-doc/html/harfbuzz/harfbuzz-hb-face.html
 ${PLIST.doc}share/gtk-doc/html/harfbuzz/harfbuzz-hb-features.html
 ${PLIST.doc}share/gtk-doc/html/harfbuzz/harfbuzz-hb-font.html
+${PLIST.doc}share/gtk-doc/html/harfbuzz/harfbuzz-hb-fontations.html
 ${PLIST.doc}share/gtk-doc/html/harfbuzz/harfbuzz-hb-ft.html
 ${PLIST.doc}share/gtk-doc/html/harfbuzz/harfbuzz-hb-gdi.html
 ${PLIST.doc}share/gtk-doc/html/harfbuzz/harfbuzz-hb-glib.html

Index: pkgsrc/fonts/harfbuzz/distinfo
diff -u pkgsrc/fonts/harfbuzz/distinfo:1.145 pkgsrc/fonts/harfbuzz/distinfo:1.146
--- pkgsrc/fonts/harfbuzz/distinfo:1.145        Sun Mar  2 20:11:27 2025
+++ pkgsrc/fonts/harfbuzz/distinfo      Sat Apr 12 07:06:55 2025
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.145 2025/03/02 20:11:27 wiz Exp $
+$NetBSD: distinfo,v 1.146 2025/04/12 07:06:55 wiz Exp $
 
-BLAKE2s (harfbuzz-10.4.0.tar.xz) = b7d74cd336f6d966eac59a3e794c41fff0d0a83203d5eda4b6f076f02f3e7e3f
-SHA512 (harfbuzz-10.4.0.tar.xz) = 73e202225aeef6174ebd3b8b226ad9d5afb48c40ecdc1bc26d1bc5f0cf1d832a8ffc2fe5b7ae3b7c8f848552dd57116d407f44120c6813b59dbe9faed0c346dc
-Size (harfbuzz-10.4.0.tar.xz) = 18120656 bytes
+BLAKE2s (harfbuzz-11.0.1.tar.xz) = 1e81da5eba2a31174100ebbcffdeaeb5dd48778b7761147340d3e3efe11f7852
+SHA512 (harfbuzz-11.0.1.tar.xz) = 0eca477c9c2225fdfa2c571a302606aa5026ba809ca1b61b9edd7397b601c57fc1f7919068e9e193cc49b6ea643a8918934aa7cab1ac59947358e06fb1ad645d
+Size (harfbuzz-11.0.1.tar.xz) = 18158636 bytes
 SHA1 (patch-src_meson.build) = 5b46f9933d5dea1f842fccf63eb92faae1f7c90f



Home | Main Index | Thread Index | Old Index