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:           Wed Jul 19 15:48:31 UTC 2023

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

Log Message:
harfbuzz: update to 8.0.1.

Overview of changes leading to 8.0.1
Wednesday, July 12, 2023
====================================
- Build fix on 32-bit arm.

- More speed optimizations:
  - 60% speedup in retaingids subsetting SourceHanSans-VF.
  - 38% speed up in subsetting (beyond-64k) mega-merged Noto.
  - 16% speed up in retain-gid (used for IFT) subsetting of NotoSansCJKkr.

Overview of changes leading to 8.0.0
Sunday, July 9, 2023
====================================
- New, experimental, WebAssembly (WASM) shaper, that provides greater
  flexibility over OpenType/AAT/Graphite shaping, using WebAssembly embedded
  inside the font file. Currently WASM shaper is disabled by default and needs
  to be enabled at build time. For details, see:

    https://github.com/harfbuzz/harfbuzz/blob/main/docs/wasm-shaper.md

  For example fonts making use of the WASM shaper, see:

    https://github.com/simoncozens/wasm-examples

- Improvements to Experimental features introduced in earlier releases:
  - Support for subsetting beyond-64k and VarComposites fonts.
  - Support for instancing variable fonts with cubic “glyf” table.

- Many big speed optimizations:
  - Up to 89% speedup loading variable fonts for shaping.
  - Up to 88% speedup in small subsets of large (eg. CJK) fonts (both TTF and
    OTF), essential for Incremental Font Transfer (IFT).
  - Over 50% speedup in loading Roboto font for shaping.
  - Up to 40% speed up in loading (sanitizing) complex fonts.
  - 30% speed up in shaping Gulzar font.
  - Over 25% speedup in glyph loading Roboto font.
  - 10% speed up loading glyph shapes in VarComposite Hangul font.
  - hb-hashmap optimizations & hashing improvements.

- New macro HB_ALWAYS_INLINE. HarfBuzz now inlines functions more aggressively,
  which results in some speedup at the expense of bigger code size. To disable
  this feature define the macro to just inline.

- New API:
+HB_CODEPOINT_INVALID
+hb_ot_layout_get_baseline2()
+hb_ot_layout_get_baseline_with_fallback2()
+hb_ot_layout_get_font_extents()
+hb_ot_layout_get_font_extents2()
+hb_subset_input_set_axis_range()


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 pkgsrc/fonts/harfbuzz/Makefile.common
cvs rdiff -u -r1.70 -r1.71 pkgsrc/fonts/harfbuzz/PLIST
cvs rdiff -u -r1.130 -r1.131 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.34 pkgsrc/fonts/harfbuzz/Makefile.common:1.35
--- pkgsrc/fonts/harfbuzz/Makefile.common:1.34  Tue Jul 18 18:07:57 2023
+++ pkgsrc/fonts/harfbuzz/Makefile.common       Wed Jul 19 15:48:31 2023
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile.common,v 1.34 2023/07/18 18:07:57 nia Exp $
+# $NetBSD: Makefile.common,v 1.35 2023/07/19 15:48:31 wiz Exp $
 # used by fonts/harfbuzz-icu/Makefile
 
-DISTNAME=      harfbuzz-7.3.0
+DISTNAME=      harfbuzz-8.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.70 pkgsrc/fonts/harfbuzz/PLIST:1.71
--- pkgsrc/fonts/harfbuzz/PLIST:1.70    Wed May 17 20:08:56 2023
+++ pkgsrc/fonts/harfbuzz/PLIST Wed Jul 19 15:48:31 2023
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.70 2023/05/17 20:08:56 adam Exp $
+@comment $NetBSD: PLIST,v 1.71 2023/07/19 15:48:31 wiz Exp $
 bin/hb-info
 bin/hb-ot-shape-closure
 bin/hb-shape
@@ -130,6 +130,7 @@ ${PLIST.doc}share/gtk-doc/html/harfbuzz/
 ${PLIST.doc}share/gtk-doc/html/harfbuzz/api-index-7-0-0.html
 ${PLIST.doc}share/gtk-doc/html/harfbuzz/api-index-7-1-0.html
 ${PLIST.doc}share/gtk-doc/html/harfbuzz/api-index-7-3-0.html
+${PLIST.doc}share/gtk-doc/html/harfbuzz/api-index-8-0-0.html
 ${PLIST.doc}share/gtk-doc/html/harfbuzz/api-index-full.html
 ${PLIST.doc}share/gtk-doc/html/harfbuzz/apple-advanced-typography-api.html
 ${PLIST.doc}share/gtk-doc/html/harfbuzz/buffers-language-script-and-direction.html

Index: pkgsrc/fonts/harfbuzz/distinfo
diff -u pkgsrc/fonts/harfbuzz/distinfo:1.130 pkgsrc/fonts/harfbuzz/distinfo:1.131
--- pkgsrc/fonts/harfbuzz/distinfo:1.130        Wed May 17 20:08:56 2023
+++ pkgsrc/fonts/harfbuzz/distinfo      Wed Jul 19 15:48:31 2023
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.130 2023/05/17 20:08:56 adam Exp $
+$NetBSD: distinfo,v 1.131 2023/07/19 15:48:31 wiz Exp $
 
-BLAKE2s (harfbuzz-7.3.0.tar.xz) = f28cbf56e44c9f0955170d099faa3b13a6a1a79fea7e3a308dfe684ac92d578e
-SHA512 (harfbuzz-7.3.0.tar.xz) = e1fb484e4117cedc72bd473ee91b2f6143533fb467ec9a64361f0c7ffd8b5a44ad2ea42daa948a2d5d85297ace4b640fcd24a8291b0d75a1d4ee468c629febe9
-Size (harfbuzz-7.3.0.tar.xz) = 18867940 bytes
+BLAKE2s (harfbuzz-8.0.1.tar.xz) = a8925d392f90c2b21d3e50789a7e5bb95fa443294644d9a0a8d297c725f1e826
+SHA512 (harfbuzz-8.0.1.tar.xz) = e1292f059b07a5aa2f3fbf345b893209cac895c461b4abf30b8b76bcd03c79dd09f911450293403070e1a0bb08496a7f37693ba5a62a9d423dd6ba55e744444d
+Size (harfbuzz-8.0.1.tar.xz) = 18792332 bytes
 SHA1 (patch-meson.build) = ad46bbe61df28b71e7619847920935a398e16fd1



Home | Main Index | Thread Index | Old Index