pkgsrc-Changes archive

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

CVS commit: pkgsrc/fonts



Module Name:    pkgsrc
Committed By:   ryoon
Date:           Fri Feb 10 14:41:50 UTC 2023

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

Log Message:
harfbuzz, harfbuzz-icu: Update to 6.0.0

Changelog:
  * A new API have been added to pre-process the face and speed up future
    subsetting operations on that face. Provides up to a 95% reduction in
    subsetting times when the same face is subset more than once.

    For more details and benchmarks, see:
    https://github.com/harfbuzz/harfbuzz/blob/main/docs/subset-preprocessing.md

    (Garret Rieger, Behdad Esfahbod)

  * Shaping have been speedup by skipping entire lookups when the buffer
    contents don't intersect with the lookup. Shows up to a 10% speedup in
    shaping some fonts. (Behdad Esfahbod)

  * A new experimental feature, Variable Composites (enabled by passing
    -Dexperimental_api=true to meson), is also featured in this release. This
    technology enables drastic compression of fonts in the Chinese, Japanese,
    Korean, and other writing systems, by reusing the OpenType Font Variations
    technology for encoding ??smart components?? into the font.

    The specification for these extensions to the font format can be found in:
    https://github.com/harfbuzz/boring-expansion-spec/blob/glyf1/glyf1.md

    A test variable font with ~7160 Hangul syllables derived from the
    NotoSerifKR-VF font has been built, with existing OpenType technology, as
    well as with the new Variable Composites (VarComposites) technology. The
    VarComposites font is over 90% smaller than the OpenType version of the
    font!

    Both fonts can be obtained from the ??smarties?? repository:
    https://github.com/behdad/smarties/tree/3.0/fonts/hangul/serif

    When building HarfBuzz with experimental features enabled, you can test the
    ??smarties?? font with a sample character like this:

    $ hb-view butchered-hangul-serif-smarties-variable.ttf -u AE01 --variations=wght=700

    (Behdad Esfahbod)

  * The HarfBuzz subsetter can now drop axes by pinning them to specific values
    (also referred to as instancing). There are a couple of restrictions
    currently:

      + Only works with TrueType (glyf) based fonts. CFF2 fonts are not yet
        supported.
      + Only supports the case where all axes in a font are pinned.

    (Garret Rieger, Qunxin Liu)

  * Miscellaneous fixes and improvements.

    (Behdad Esfahbod, Christoph Reiter, David Corbett, Eli Schwartz, Garret
    Rieger, Joel Auterson, Jordan Petridis, Khaled Hosny, Lorenz Wildberg,
    Marco Rebhan, Martin Storsj?, Matthias Clasen, Qunxin Liu, Satadru
    Pramanik)

  * New API
    +hb_subset_input_pin_axis_location()
    +hb_subset_input_pin_axis_to_default()
    +hb_subset_preprocess()


To generate a diff of this commit:
cvs rdiff -u -r1.145 -r1.146 pkgsrc/fonts/harfbuzz/Makefile
cvs rdiff -u -r1.28 -r1.29 pkgsrc/fonts/harfbuzz/Makefile.common
cvs rdiff -u -r1.65 -r1.66 pkgsrc/fonts/harfbuzz/PLIST
cvs rdiff -u -r1.124 -r1.125 pkgsrc/fonts/harfbuzz/distinfo
cvs rdiff -u -r1.13 -r1.14 pkgsrc/fonts/harfbuzz-icu/Makefile

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
diff -u pkgsrc/fonts/harfbuzz/Makefile:1.145 pkgsrc/fonts/harfbuzz/Makefile:1.146
--- pkgsrc/fonts/harfbuzz/Makefile:1.145        Sun Jan 29 21:14:35 2023
+++ pkgsrc/fonts/harfbuzz/Makefile      Fri Feb 10 14:41:50 2023
@@ -1,6 +1,5 @@
-# $NetBSD: Makefile,v 1.145 2023/01/29 21:14:35 ryoon Exp $
+# $NetBSD: Makefile,v 1.146 2023/02/10 14:41:50 ryoon Exp $
 
-PKGREVISION= 1
 .include "Makefile.common"
 
 COMMENT=       OpenType text shaping engine

Index: pkgsrc/fonts/harfbuzz/Makefile.common
diff -u pkgsrc/fonts/harfbuzz/Makefile.common:1.28 pkgsrc/fonts/harfbuzz/Makefile.common:1.29
--- pkgsrc/fonts/harfbuzz/Makefile.common:1.28  Wed Nov 23 11:39:27 2022
+++ pkgsrc/fonts/harfbuzz/Makefile.common       Fri Feb 10 14:41:50 2023
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile.common,v 1.28 2022/11/23 11:39:27 adam Exp $
+# $NetBSD: Makefile.common,v 1.29 2023/02/10 14:41:50 ryoon Exp $
 # used by fonts/harfbuzz-icu/Makefile
 
-DISTNAME=      harfbuzz-5.3.1
+DISTNAME=      harfbuzz-6.0.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.65 pkgsrc/fonts/harfbuzz/PLIST:1.66
--- pkgsrc/fonts/harfbuzz/PLIST:1.65    Wed Nov 23 11:39:27 2022
+++ pkgsrc/fonts/harfbuzz/PLIST Fri Feb 10 14:41:50 2023
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.65 2022/11/23 11:39:27 adam Exp $
+@comment $NetBSD: PLIST,v 1.66 2023/02/10 14:41:50 ryoon Exp $
 bin/hb-ot-shape-closure
 bin/hb-shape
 bin/hb-subset
@@ -12,6 +12,7 @@ include/harfbuzz/hb-cplusplus.hh
 include/harfbuzz/hb-deprecated.h
 include/harfbuzz/hb-draw.h
 include/harfbuzz/hb-face.h
+include/harfbuzz/hb-features.h
 include/harfbuzz/hb-font.h
 include/harfbuzz/hb-ft.h
 include/harfbuzz/hb-glib.h
@@ -123,6 +124,7 @@ ${PLIST.doc}share/gtk-doc/html/harfbuzz/
 ${PLIST.doc}share/gtk-doc/html/harfbuzz/api-index-4-4-0.html
 ${PLIST.doc}share/gtk-doc/html/harfbuzz/api-index-5-0-0.html
 ${PLIST.doc}share/gtk-doc/html/harfbuzz/api-index-5-3-0.html
+${PLIST.doc}share/gtk-doc/html/harfbuzz/api-index-6-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.124 pkgsrc/fonts/harfbuzz/distinfo:1.125
--- pkgsrc/fonts/harfbuzz/distinfo:1.124        Wed Nov 23 11:39:27 2022
+++ pkgsrc/fonts/harfbuzz/distinfo      Fri Feb 10 14:41:50 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.124 2022/11/23 11:39:27 adam Exp $
+$NetBSD: distinfo,v 1.125 2023/02/10 14:41:50 ryoon Exp $
 
-BLAKE2s (harfbuzz-5.3.1.tar.xz) = be07d5dc0e7f935fbdfe61c6ef523b644da3e0a8410c65014137503fa63a52e2
-SHA512 (harfbuzz-5.3.1.tar.xz) = 6b0aef2b7445f4a71c324b545414114507d8077dc186366f25140dcd3bedeee67868cfc65c0eef59ed950381a4c101a541900be4995f645377c11754b027b501
-Size (harfbuzz-5.3.1.tar.xz) = 17874260 bytes
+BLAKE2s (harfbuzz-6.0.0.tar.xz) = 11346ca0b28f72a6c34e4a1cb584a61981848e9a5153b84dd2096d13607707e1
+SHA512 (harfbuzz-6.0.0.tar.xz) = 66f8484586b1b334479d739df1d1107172715ce1d2a3c0105375174fa3e201fd69ceb1543c10d6db49b012912e823befc701f00621f7b5f68036eced80d36f65
+Size (harfbuzz-6.0.0.tar.xz) = 18952524 bytes

Index: pkgsrc/fonts/harfbuzz-icu/Makefile
diff -u pkgsrc/fonts/harfbuzz-icu/Makefile:1.13 pkgsrc/fonts/harfbuzz-icu/Makefile:1.14
--- pkgsrc/fonts/harfbuzz-icu/Makefile:1.13     Sun Jan 29 21:14:35 2023
+++ pkgsrc/fonts/harfbuzz-icu/Makefile  Fri Feb 10 14:41:50 2023
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.13 2023/01/29 21:14:35 ryoon Exp $
+# $NetBSD: Makefile,v 1.14 2023/02/10 14:41:50 ryoon Exp $
 
 # XXX: hack to override meson installation
 INSTALL_DIRS=
 
-PKGREVISION= 1
 .include "../../fonts/harfbuzz/Makefile.common"
 
 PKGNAME=       ${DISTNAME:S/^harfbuzz-/harfbuzz-icu-/1}



Home | Main Index | Thread Index | Old Index