From f3fe9b1f799dc7adbf5f2db60775b976c2b07eb97ce4d990547add29a52a39d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Lie?= Date: Tue, 15 Feb 2022 11:07:09 +0000 Subject: [PATCH 1/2] Accepting request 954044 from home:AndreasStieger:branches:GNOME:Factory harfbuzz 3.4.0 OBS-URL: https://build.opensuse.org/request/show/954044 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/harfbuzz?expand=0&rev=202 --- harfbuzz-3.3.2.tar.xz | 3 --- harfbuzz-3.4.0.tar.xz | 3 +++ harfbuzz.changes | 16 ++++++++++++++++ harfbuzz.spec | 2 +- 4 files changed, 20 insertions(+), 4 deletions(-) delete mode 100644 harfbuzz-3.3.2.tar.xz create mode 100644 harfbuzz-3.4.0.tar.xz diff --git a/harfbuzz-3.3.2.tar.xz b/harfbuzz-3.3.2.tar.xz deleted file mode 100644 index ce31d5f..0000000 --- a/harfbuzz-3.3.2.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1c13bca136c4f66658059853e2c1253f34c88f4b5c5aba6050aba7b5e0ce2503 -size 14928456 diff --git a/harfbuzz-3.4.0.tar.xz b/harfbuzz-3.4.0.tar.xz new file mode 100644 index 0000000..08d666b --- /dev/null +++ b/harfbuzz-3.4.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7158a87c4db82521fc506711f0c8864115f0292d95f7136c8812c11811cdf952 +size 14937008 diff --git a/harfbuzz.changes b/harfbuzz.changes index 158f385..51dfc8e 100644 --- a/harfbuzz.changes +++ b/harfbuzz.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Sun Feb 13 07:57:21 UTC 2022 - Andreas Stieger + +- update to 3.4.0: + + Perform sanity checks on shaping results is now part of + “harfbuzz” library and can be enabled by setting the buffer + flag HB_BUFFER_FLAG_VERIFY + + Arabic Mark Transient Reordering Algorithm have been updated + to revision 6 + + ISO 15924 code for mathematical notation, ‘Zmth’, now maps to + the OpenType ‘math’ tag + + It is now possible to get at once all math kerning values for a + given glyph at a given corner + + Fix locale_t portability issues on systems the typedef’s it to + a void pointer + ------------------------------------------------------------------- Mon Feb 7 06:06:38 UTC 2022 - Andreas Stieger diff --git a/harfbuzz.spec b/harfbuzz.spec index aedeb94..dfb38f9 100644 --- a/harfbuzz.spec +++ b/harfbuzz.spec @@ -17,7 +17,7 @@ Name: harfbuzz -Version: 3.3.2 +Version: 3.4.0 Release: 0 Summary: An OpenType text shaping engine License: MIT From 516c9dcbfe29a0657f3cd09799c7c3c45f4c206c8968b899e3bd8e45d6fd218b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Lie?= Date: Thu, 3 Mar 2022 08:20:35 +0000 Subject: [PATCH 2/2] Accepting request 958522 from GNOME:Next New stable branch OBS-URL: https://build.opensuse.org/request/show/958522 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/harfbuzz?expand=0&rev=203 --- harfbuzz-3.4.0.tar.xz | 3 -- harfbuzz-4.0.0.tar.xz | 3 ++ harfbuzz.changes | 91 +++++++++++++++++++++++++++++++++++++++++++ harfbuzz.spec | 18 ++++----- 4 files changed, 102 insertions(+), 13 deletions(-) delete mode 100644 harfbuzz-3.4.0.tar.xz create mode 100644 harfbuzz-4.0.0.tar.xz diff --git a/harfbuzz-3.4.0.tar.xz b/harfbuzz-3.4.0.tar.xz deleted file mode 100644 index 08d666b..0000000 --- a/harfbuzz-3.4.0.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7158a87c4db82521fc506711f0c8864115f0292d95f7136c8812c11811cdf952 -size 14937008 diff --git a/harfbuzz-4.0.0.tar.xz b/harfbuzz-4.0.0.tar.xz new file mode 100644 index 0000000..7d9d960 --- /dev/null +++ b/harfbuzz-4.0.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ab61d4e3fc0c30072e98b46aa7727fc3eed36a85d2b6b9274cec7eaadea97cb7 +size 14955148 diff --git a/harfbuzz.changes b/harfbuzz.changes index 51dfc8e..043d19b 100644 --- a/harfbuzz.changes +++ b/harfbuzz.changes @@ -1,3 +1,88 @@ +------------------------------------------------------------------- +Wed Mar 2 19:18:03 UTC 2022 - Bjørn Lie + +- Update to version 4.0.0: + + New public API to create subset plan and gather information on + things like glyph mappings in the final subset. The plan can + then be passed on to perform the subsetting operation. + + Draw API for extracting glyph shapes have been extended and + finalized and is no longer an experimental API. The draw API + supports glyf, CFF and CFF2 glyph outlines tables, and applies + variation settings set on the font as well as synthetic slant. + The new public API is not backward compatible with the + previous, non-public, experimental API. + + The hb-view tool will use HarfBuzz draw API to render the + glyphs instead of cairo-ft when compiled with Cairo 1.17.5 or + newer, setting HB_DRAW environment variable to 1 or 0 will + force using or not use the draw API, respectively. + + The hb-shape and hb-view tools now default to using HarfBuzz’s + own font loading functions (ot) instead of FreeType ones (ft). + They also have a new option, --font-slant, to apply synthetic + slant to the font. + + HarfBuzz now supports more than 65535 (the OpenType limit) + glyph shapes and metrics. See be-fonts/boring-expansion-spec#6 + and be-fonts/boring-expansion-spec#7 for details. + + New API to get the dominant horizontal baseline tag for a given + script. + + New API to get the baseline positions from the font, and + synthesize missing ones. As well as new API to get font metrics + and synthesize missing ones. + + Improvements to finding dependencies on Windows when building + with Visual Studio. + + New buffer flag, HB_BUFFER_FLAG_PRODUCE_UNSAFE_TO_CONCAT, that + must be set during shaping for HB_GLYPH_FLAG_UNSAFE_TO_CONCAT + flag to be reliably produced. This is to limit the performance + hit of producing this flag to when it is actually needed. + + Documentation improvements. + + New API: + - General: + . HB_BUFFER_FLAG_PRODUCE_UNSAFE_TO_CONCAT + . hb_var_num_t + - Draw: + . hb_draw_funcs_t + . hb_draw_funcs_create() + . hb_draw_funcs_reference() + . hb_draw_funcs_destroy() + . hb_draw_funcs_is_immutable() + . hb_draw_funcs_make_immutable() + . hb_draw_move_to_func_t + . hb_draw_funcs_set_move_to_func() + . hb_draw_line_to_func_t + . hb_draw_funcs_set_line_to_func() + . hb_draw_quadratic_to_func_t + . hb_draw_funcs_set_quadratic_to_func() + . hb_draw_cubic_to_func_t + . hb_draw_funcs_set_cubic_to_func() + . hb_draw_close_path_func_t + . hb_draw_funcs_set_close_path_func() + . hb_draw_state_t + . HB_DRAW_STATE_DEFAULT + . hb_draw_move_to() + . hb_draw_line_to() + . hb_draw_quadratic_to() + . hb_draw_cubic_to() + . hb_draw_close_path() + . hb_font_get_glyph_shape_func_t + . hb_font_funcs_set_glyph_shape_func() + . hb_font_get_glyph_shape() + - OpenType layout: + . HB_OT_LAYOUT_BASELINE_TAG_IDEO_FACE_CENTRAL + . HB_OT_LAYOUT_BASELINE_TAG_IDEO_EMBOX_CENTRAL + . hb_ot_layout_get_horizontal_baseline_tag_for_script() + . hb_ot_layout_get_baseline_with_fallback() + - Metrics: hb_ot_metrics_get_position_with_fallback() + - Subset: + . hb_subset_plan_t + . hb_subset_plan_create_or_fail() + . hb_subset_plan_reference() + . hb_subset_plan_destroy() + . hb_subset_plan_set_user_data() + . hb_subset_plan_get_user_data() + . hb_subset_plan_execute_or_fail() + . hb_subset_plan_unicode_to_old_glyph_mapping() + . hb_subset_plan_new_to_old_glyph_mapping() + . hb_subset_plan_old_to_new_glyph_mapping() + ------------------------------------------------------------------- Sun Feb 13 07:57:21 UTC 2022 - Andreas Stieger @@ -44,6 +129,12 @@ Mon Feb 7 06:06:38 UTC 2022 - Andreas Stieger + Improved handling of macrolanguages when mapping BCP 47 codes to OpenType tags +------------------------------------------------------------------- +Fri Dec 17 22:07:57 UTC 2021 - Bjørn Lie + +- Use ldconfig_scriptlets macro for post(un) handling. +- Add generic c_compiler BuildRequires for completeness. + ------------------------------------------------------------------- Fri Dec 17 18:39:54 UTC 2021 - Andreas Stieger diff --git a/harfbuzz.spec b/harfbuzz.spec index dfb38f9..757ac3e 100644 --- a/harfbuzz.spec +++ b/harfbuzz.spec @@ -17,14 +17,16 @@ Name: harfbuzz -Version: 3.4.0 +Version: 4.0.0 Release: 0 Summary: An OpenType text shaping engine License: MIT URL: https://www.freedesktop.org/wiki/Software/HarfBuzz Source0: https://github.com/harfbuzz/harfbuzz/releases/download/%{version}/%{name}-%{version}.tar.xz Source99: baselibs.conf + BuildRequires: c++_compiler +BuildRequires: c_compiler BuildRequires: meson BuildRequires: pkgconfig >= 0.28 BuildRequires: pkgconfig(cairo) >= 1.8.0 @@ -102,7 +104,7 @@ This package contains the development files. %meson \ -Ddocs=disabled \ -Dgraphite=enabled \ - -Dchafa=disabled \ + -Dchafa=disabled \ %{nil} %meson_build @@ -112,14 +114,10 @@ This package contains the development files. %install %meson_install -%post -n libharfbuzz0 -p /sbin/ldconfig -%postun -n libharfbuzz0 -p /sbin/ldconfig -%post -n libharfbuzz-icu0 -p /sbin/ldconfig -%postun -n libharfbuzz-icu0 -p /sbin/ldconfig -%post -n libharfbuzz-gobject0 -p /sbin/ldconfig -%postun -n libharfbuzz-gobject0 -p /sbin/ldconfig -%post -n libharfbuzz-subset0 -p /sbin/ldconfig -%postun -n libharfbuzz-subset0 -p /sbin/ldconfig +%ldconfig_scriptlets -n libharfbuzz0 +%ldconfig_scriptlets -n libharfbuzz-icu0 +%ldconfig_scriptlets -n libharfbuzz-gobject0 +%ldconfig_scriptlets -n libharfbuzz-subset0 %files -n libharfbuzz0 %license COPYING