pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/fonts/harfbuzz Update to 1.8.8



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2d50eceb08c7
branches:  trunk
changeset: 387206:2d50eceb08c7
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Mon Nov 12 03:49:09 2018 +0000

description:
Update to 1.8.8

Changelog:
Overview of changes leading to 2.1.1
Monday, November 5, 2018
====================================
- AAT improvements:
  o Implement 'mort' table.
  o Implement 'kern' subtables Format 1 and Format 3.


Overview of changes leading to 2.1.0
Tuesday, October 30, 2018
====================================
- AAT shaping improvements:
  o Allow user controlling AAT features, for whole buffer only currently.
  o Several 'morx' fixes.
  o Implement tuple-kerns in 'kerx'; Fixes kerning with Apple default
    San Francisco fonts.
- Support for color fonts:
  o COLR/CPAL API to fetch color layers.
  o SVG table to fetch SVG documents.
  o CBDT/sbix API to fetch PNG images.
- New 'name' table API.
- hb-ot-font now uses 'VORG' table to correctly position CFF glyphs
  in vertical layout.
- Various fuzzer-found bug fixes.

Changed API:

A type and a macro added in 2.0.0 were renamed:

hb_name_id_t -> hb_ot_name_id_t
HB_NAME_ID_INVALID -> HB_OT_NAME_ID_INVALID

New API:

+hb_color_t
+HB_COLOR
+hb_color_get_alpha()
+hb_color_get_red()
+hb_color_get_green()
+hb_color_get_blue()
+hb_ot_color_has_palettes()
+hb_ot_color_palette_get_count()
+hb_ot_color_palette_get_name_id()
+hb_ot_color_palette_color_get_name_id()
+hb_ot_color_palette_flags_t
+hb_ot_color_palette_get_flags()
+hb_ot_color_palette_get_colors()
+hb_ot_color_has_layers()
+hb_ot_color_layer_t
+hb_ot_color_glyph_get_layers()
+hb_ot_color_has_svg()
+hb_ot_color_glyph_reference_svg()
+hb_ot_color_has_png()
+hb_ot_color_glyph_reference_png()

+hb_ot_name_id_t
+HB_OT_NAME_ID_INVALID
+HB_OT_NAME_ID_COPYRIGHT
+HB_OT_NAME_ID_FONT_FAMILY
+HB_OT_NAME_ID_FONT_SUBFAMILY
+HB_OT_NAME_ID_UNIQUE_ID
+HB_OT_NAME_ID_FULL_NAME
+HB_OT_NAME_ID_VERSION_STRING
+HB_OT_NAME_ID_POSTSCRIPT_NAME
+HB_OT_NAME_ID_TRADEMARK
+HB_OT_NAME_ID_MANUFACTURER
+HB_OT_NAME_ID_DESIGNER
+HB_OT_NAME_ID_DESCRIPTION
+HB_OT_NAME_ID_VENDOR_URL
+HB_OT_NAME_ID_DESIGNER_URL
+HB_OT_NAME_ID_LICENSE
+HB_OT_NAME_ID_LICENSE_URL
+HB_OT_NAME_ID_TYPOGRAPHIC_FAMILY
+HB_OT_NAME_ID_TYPOGRAPHIC_SUBFAMILY
+HB_OT_NAME_ID_MAC_FULL_NAME
+HB_OT_NAME_ID_SAMPLE_TEXT
+HB_OT_NAME_ID_CID_FINDFONT_NAME
+HB_OT_NAME_ID_WWS_FAMILY
+HB_OT_NAME_ID_WWS_SUBFAMILY
+HB_OT_NAME_ID_LIGHT_BACKGROUND
+HB_OT_NAME_ID_DARK_BACKGROUND
+HB_OT_NAME_ID_VARIATIONS_PS_PREFIX
+hb_ot_name_entry_t
+hb_ot_name_list_names()
+hb_ot_name_get_utf8()
+hb_ot_name_get_utf16()
+hb_ot_name_get_utf32()


Overview of changes leading to 2.0.2
Saturday, October 20, 2018
====================================
- Fix two minor memory access issues in AAT tables.


Overview of changes leading to 2.0.1
Friday, October 19, 2018
====================================
- Fix hb-version.h reported release version that went wrong (1.8.0)
  with previous release.
- Fix extrapolation in 'trak' table.
- Fix hb-font infinite-recursion issue with some font funcs and
  subclassed fonts.
- Implement variation-kerning format in kerx table, although without
  variation.
- Fix return value of hb_map_is_empty().


Overview of changes leading to 2.0.0
Thursday, October 18, 2018
====================================
- Added AAT shaping support (morx/kerx/trak).
  Automatically used if GSUB/GPOS are not available respectively.
  Set HB_OPTIONS=aat env var to have morx/kerx preferred over
  GSUB/GPOS.
- Apply TrueType kern table internally, instead of relying on
  hb_font_t callbacks.
- Khmer shaper significantly rewritten to better match Uniscribe.
- Indic3 tags ('dev3', etc) are passed to USE shaper.
- .dfont Mac font containers implemented.
- Script- and language-mapping revamped to better use BCP 47.
- Misc USE and Indic fixes.
- Misc everything fixes.
- Too many things to list.  Biggest release since 0.9.1, with
  over 500 commits in just over 5 weeks!  Didn't intend it to
  be a big release.  Just happened to become.
- hb-ft now locks underlying FT_Face during use.

API changes:

- Newly-created hb_font_t's now have our internal "hb-ot-font"
  callbacks set on them, so they should work out of the box
  without any callbacks set.  If callbacks are set, everything
  is back to what it was before, the fallback callbacks are
  null.  If you to get the internal implementation modified,
  sub_font it.

- New hb_font_funcs_set_nominal_glyphs_func() allows speeding
  up character to glyph mapping.

New API:
+HB_FEATURE_GLOBAL_START
+HB_FEATURE_GLOBAL_END
+hb_buffer_set_invisible_glyph()
+hb_buffer_get_invisible_glyph()
+hb_font_funcs_set_nominal_glyphs_func()
+hb_ot_layout_table_select_script()
+hb_ot_layout_script_select_language()
+hb_ot_layout_feature_get_name_ids()
+hb_ot_layout_feature_get_characters()
+hb_name_id_t
+HB_NAME_ID_INVALID
+HB_OT_MAX_TAGS_PER_SCRIPT
+hb_ot_tags_from_script_and_language()
+hb_ot_tags_to_script_and_language()

Deprecated API:
-hb_font_funcs_set_glyph_func()
-hb_unicode_eastasian_width_func_t
-hb_unicode_funcs_set_eastasian_width_func()
-hb_unicode_eastasian_width()
-hb_unicode_decompose_compatibility_func_t
-HB_UNICODE_MAX_DECOMPOSITION_LEN
-hb_unicode_funcs_set_decompose_compatibility_func()
-hb_unicode_decompose_compatibility()
-hb_font_funcs_set_glyph_h_kerning_func()
-hb_font_funcs_set_glyph_v_kerning_func()
-hb_font_get_glyph_h_kerning()
-hb_font_get_glyph_v_kerning()
-hb_font_get_glyph_kerning_for_direction()
-hb_ot_layout_table_choose_script()
-hb_ot_layout_script_find_language()
-hb_ot_tags_from_script()
-hb_ot_tag_from_language()


Overview of changes leading to 1.9.0
Monday, September 10, 2018
====================================
- Added 'cmap' API to hb_face_t.
- Face-builder API.
- hb-ot-font re-creation should be much leaner now, as the
  font tables it uses are cached on hb_face_t now.
- Internal source header file name changes:
  hb-*-private.hh is renamed to hb-*.hh.

New API:
+HB_UNICODE_MAX
+hb_face_collect_unicodes()
+hb_face_collect_variation_selectors()
+hb_face_collect_variation_unicodes()
+hb_face_builder_create()
+hb_face_builder_add_table()

diffstat:

 fonts/harfbuzz/Makefile                     |   5 +-
 fonts/harfbuzz/PLIST                        |  53 ++++++++++------------------
 fonts/harfbuzz/buildlink3.mk                |   6 +-
 fonts/harfbuzz/distinfo                     |  11 ++---
 fonts/harfbuzz/patches/patch-src_hb-blob.cc |  27 --------------
 5 files changed, 30 insertions(+), 72 deletions(-)

diffs (196 lines):

diff -r 277e8d51a479 -r 2d50eceb08c7 fonts/harfbuzz/Makefile
--- a/fonts/harfbuzz/Makefile   Sun Nov 11 22:03:32 2018 +0000
+++ b/fonts/harfbuzz/Makefile   Mon Nov 12 03:49:09 2018 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.100 2018/10/30 10:33:36 abs Exp $
+# $NetBSD: Makefile,v 1.101 2018/11/12 03:49:09 ryoon Exp $
 
-DISTNAME=      harfbuzz-1.8.8
-PKGREVISION=   1
+DISTNAME=      harfbuzz-2.1.1
 CATEGORIES=    fonts
 MASTER_SITES=  http://www.freedesktop.org/software/harfbuzz/release/
 EXTRACT_SUFX=  .tar.bz2
diff -r 277e8d51a479 -r 2d50eceb08c7 fonts/harfbuzz/PLIST
--- a/fonts/harfbuzz/PLIST      Sun Nov 11 22:03:32 2018 +0000
+++ b/fonts/harfbuzz/PLIST      Mon Nov 12 03:49:09 2018 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.27 2018/06/17 08:24:41 wiz Exp $
+@comment $NetBSD: PLIST,v 1.28 2018/11/12 03:49:09 ryoon Exp $
 bin/hb-ot-shape-closure
 bin/hb-shape
 bin/hb-subset
@@ -13,19 +13,17 @@
 include/harfbuzz/hb-glib.h
 ${PLIST.icu}include/harfbuzz/hb-icu.h
 include/harfbuzz/hb-map.h
+include/harfbuzz/hb-ot-color.h
 include/harfbuzz/hb-ot-font.h
 include/harfbuzz/hb-ot-layout.h
 include/harfbuzz/hb-ot-math.h
+include/harfbuzz/hb-ot-name.h
 include/harfbuzz/hb-ot-shape.h
-include/harfbuzz/hb-ot-tag.h
 include/harfbuzz/hb-ot-var.h
 include/harfbuzz/hb-ot.h
 include/harfbuzz/hb-set.h
 include/harfbuzz/hb-shape-plan.h
 include/harfbuzz/hb-shape.h
-include/harfbuzz/hb-subset-glyf.hh
-include/harfbuzz/hb-subset-plan.hh
-include/harfbuzz/hb-subset-private.hh
 include/harfbuzz/hb-subset.h
 include/harfbuzz/hb-unicode.h
 include/harfbuzz/hb-version.h
@@ -39,8 +37,6 @@
 lib/pkgconfig/harfbuzz.pc
 share/gtk-doc/html/harfbuzz/HarfBuzz.png
 share/gtk-doc/html/harfbuzz/HarfBuzz.svg
-share/gtk-doc/html/harfbuzz/a-clustering-example-for-levels-0-and-1.html
-share/gtk-doc/html/harfbuzz/adding-text-to-the-buffer.html
 share/gtk-doc/html/harfbuzz/annotation-glossary.html
 share/gtk-doc/html/harfbuzz/api-index-0-9-10.html
 share/gtk-doc/html/harfbuzz/api-index-0-9-11.html
@@ -66,17 +62,21 @@
 share/gtk-doc/html/harfbuzz/api-index-1-4-3.html
 share/gtk-doc/html/harfbuzz/api-index-1-5-0.html
 share/gtk-doc/html/harfbuzz/api-index-1-6-0.html
+share/gtk-doc/html/harfbuzz/api-index-1-7-5.html
+share/gtk-doc/html/harfbuzz/api-index-1-7-7.html
+share/gtk-doc/html/harfbuzz/api-index-1-8-0.html
+share/gtk-doc/html/harfbuzz/api-index-1-8-1.html
+share/gtk-doc/html/harfbuzz/api-index-1-8-5.html
+share/gtk-doc/html/harfbuzz/api-index-1-8-6.html
+share/gtk-doc/html/harfbuzz/api-index-1-9-0.html
+share/gtk-doc/html/harfbuzz/api-index-2-0-0.html
+share/gtk-doc/html/harfbuzz/api-index-2-1-0.html
 share/gtk-doc/html/harfbuzz/api-index-full.html
-share/gtk-doc/html/harfbuzz/buffers-language-script-and-direction.html
-share/gtk-doc/html/harfbuzz/building.html
-share/gtk-doc/html/harfbuzz/ch08.html
-share/gtk-doc/html/harfbuzz/clusters.html
-share/gtk-doc/html/harfbuzz/customizing-unicode-functions.html
+share/gtk-doc/html/harfbuzz/ch01.html
 share/gtk-doc/html/harfbuzz/deprecated-api-index.html
-share/gtk-doc/html/harfbuzz/fonts-and-faces.html
-share/gtk-doc/html/harfbuzz/harfbuzz-Buffers.html
-share/gtk-doc/html/harfbuzz/harfbuzz-Shaping.html
+share/gtk-doc/html/harfbuzz/harfbuzz-.html
 share/gtk-doc/html/harfbuzz/harfbuzz-hb-blob.html
+share/gtk-doc/html/harfbuzz/harfbuzz-hb-buffer.html
 share/gtk-doc/html/harfbuzz/harfbuzz-hb-common.html
 share/gtk-doc/html/harfbuzz/harfbuzz-hb-coretext.html
 share/gtk-doc/html/harfbuzz/harfbuzz-hb-deprecated.html
@@ -87,41 +87,28 @@
 share/gtk-doc/html/harfbuzz/harfbuzz-hb-gobject.html
 share/gtk-doc/html/harfbuzz/harfbuzz-hb-graphite2.html
 share/gtk-doc/html/harfbuzz/harfbuzz-hb-icu.html
+share/gtk-doc/html/harfbuzz/harfbuzz-hb-map.html
+share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot-color.html
 share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot-font.html
 share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot-layout.html
 share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot-math.html
+share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot-name.html
 share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot-shape.html
-share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot-tag.html
-share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot.html
+share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot-var.html
 share/gtk-doc/html/harfbuzz/harfbuzz-hb-set.html
 share/gtk-doc/html/harfbuzz/harfbuzz-hb-shape-plan.html
+share/gtk-doc/html/harfbuzz/harfbuzz-hb-shape.html
 share/gtk-doc/html/harfbuzz/harfbuzz-hb-unicode.html
 share/gtk-doc/html/harfbuzz/harfbuzz-hb-uniscribe.html
 share/gtk-doc/html/harfbuzz/harfbuzz-hb-version.html
-share/gtk-doc/html/harfbuzz/harfbuzz-hb.html
 share/gtk-doc/html/harfbuzz/harfbuzz.devhelp2
-share/gtk-doc/html/harfbuzz/hello-harfbuzz.html
 share/gtk-doc/html/harfbuzz/home.png
 share/gtk-doc/html/harfbuzz/index.html
-share/gtk-doc/html/harfbuzz/install-harfbuzz.html
 share/gtk-doc/html/harfbuzz/left-insensitive.png
 share/gtk-doc/html/harfbuzz/left.png
-share/gtk-doc/html/harfbuzz/level-2.html
 share/gtk-doc/html/harfbuzz/object-tree.html
-share/gtk-doc/html/harfbuzz/plans-and-caching.html
-share/gtk-doc/html/harfbuzz/pt01.html
-share/gtk-doc/html/harfbuzz/pt02.html
-share/gtk-doc/html/harfbuzz/reordering-in-levels-0-and-1.html
 share/gtk-doc/html/harfbuzz/right-insensitive.png
 share/gtk-doc/html/harfbuzz/right.png
-share/gtk-doc/html/harfbuzz/setting-buffer-properties.html
-share/gtk-doc/html/harfbuzz/shaping-and-shape-plans.html
 share/gtk-doc/html/harfbuzz/style.css
-share/gtk-doc/html/harfbuzz/the-distinction-between-levels-0-and-1.html
 share/gtk-doc/html/harfbuzz/up-insensitive.png
 share/gtk-doc/html/harfbuzz/up.png
-share/gtk-doc/html/harfbuzz/using-harfbuzzs-native-opentype-implementation.html
-share/gtk-doc/html/harfbuzz/using-your-own-font-functions.html
-share/gtk-doc/html/harfbuzz/what-about-the-other-scripts.html
-share/gtk-doc/html/harfbuzz/what-is-harfbuzz.html
-share/gtk-doc/html/harfbuzz/why-is-it-called-harfbuzz.html
diff -r 277e8d51a479 -r 2d50eceb08c7 fonts/harfbuzz/buildlink3.mk
--- a/fonts/harfbuzz/buildlink3.mk      Sun Nov 11 22:03:32 2018 +0000
+++ b/fonts/harfbuzz/buildlink3.mk      Mon Nov 12 03:49:09 2018 +0000
@@ -1,12 +1,12 @@
-# $NetBSD: buildlink3.mk,v 1.8 2017/02/12 06:27:04 ryoon Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2018/11/12 03:49:09 ryoon Exp $
 
 BUILDLINK_TREE+=       harfbuzz
 
 .if !defined(HARFBUZZ_BUILDLINK3_MK)
 HARFBUZZ_BUILDLINK3_MK:=
 
-BUILDLINK_API_DEPENDS.harfbuzz+=       harfbuzz>=0.9.4
-BUILDLINK_ABI_DEPENDS.harfbuzz+=       harfbuzz>=1.4.2nb1
+BUILDLINK_API_DEPENDS.harfbuzz+=       harfbuzz>=2.1.1
+BUILDLINK_ABI_DEPENDS.harfbuzz+=       harfbuzz>=2.1.1
 BUILDLINK_PKGSRCDIR.harfbuzz?=         ../../fonts/harfbuzz
 
 .include "../../devel/glib2/buildlink3.mk"
diff -r 277e8d51a479 -r 2d50eceb08c7 fonts/harfbuzz/distinfo
--- a/fonts/harfbuzz/distinfo   Sun Nov 11 22:03:32 2018 +0000
+++ b/fonts/harfbuzz/distinfo   Mon Nov 12 03:49:09 2018 +0000
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.78 2018/10/29 13:55:14 abs Exp $
+$NetBSD: distinfo,v 1.79 2018/11/12 03:49:09 ryoon Exp $
 
-SHA1 (harfbuzz-1.8.8.tar.bz2) = be496408b2bb3dc794891e8b0e977cd75f02d71d
-RMD160 (harfbuzz-1.8.8.tar.bz2) = 3b4a94557770bc0aeb7a0a1d7fb3ac2c92830fc5
-SHA512 (harfbuzz-1.8.8.tar.bz2) = eb96cd710571a96473b20bc9a01dadf2a3c11224497e52c63368e8edec64a8eb7085dd847c78111b798a1e8a6a950f0a04c930209822aabf13cf86d7a53b1f79
-Size (harfbuzz-1.8.8.tar.bz2) = 3862626 bytes
-SHA1 (patch-src_hb-blob.cc) = 9f2858357d2a1fc8bf58c98b02041640557f6593
+SHA1 (harfbuzz-2.1.1.tar.bz2) = 14178b5d53083ea38b420ab860d49189d438393f
+RMD160 (harfbuzz-2.1.1.tar.bz2) = 13937f4ff98d55169cb5a818cd045ed1b8b2789a
+SHA512 (harfbuzz-2.1.1.tar.bz2) = c3fc46eaeb8c02594e2430f853b6eebb762072638e3113e27ff9b5caefce2c06534e8056d57f35d87df6dbb1027cbc0c1a08f914dec7c6a715c3f0abc0a18933
+Size (harfbuzz-2.1.1.tar.bz2) = 4386396 bytes
diff -r 277e8d51a479 -r 2d50eceb08c7 fonts/harfbuzz/patches/patch-src_hb-blob.cc
--- a/fonts/harfbuzz/patches/patch-src_hb-blob.cc       Sun Nov 11 22:03:32 2018 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,27 +0,0 @@
-$NetBSD: patch-src_hb-blob.cc,v 1.1 2018/10/29 13:55:14 abs Exp $
-
-Quoting the URL given in the source:
-
-  The POSIX standard states that a strictly conforming application
-  "for the C programming language, shall define _POSIX_C_SOURCE to
-  be 200112L before any header is included."
-
-Asserting this for only one file out of an application is not defined,
-and the standards also explicitly do not apply to c++.
-
-Its quite possible that some operating systems need _POSIX_C_SOURCE
-set to build this file, but its not a general solution, and lets
-not do it on NetBSD where is interacts badly with at least gcc-6.4
-7.3 and 8.2 on NetBSD-8/amd64
-
---- src/hb-blob.cc.orig        2018-06-05 22:13:36.000000000 +0000
-+++ src/hb-blob.cc
-@@ -26,7 +26,7 @@
-  */
- 
- /* http://www.oracle.com/technetwork/articles/servers-storage-dev/standardheaderfiles-453865.html */
--#ifndef _POSIX_C_SOURCE
-+#if !defined(_POSIX_C_SOURCE) && !defined(__NetBSD__)
- #define _POSIX_C_SOURCE 200809L
- #endif
- 



Home | Main Index | Thread Index | Old Index