SHA256
1
0
forked from pool/harfbuzz

16 Commits

Author SHA256 Message Date
e8e44964c6 Accepting request 1255573 from GNOME:Factory
New release (forwarded request 1255502 from iznogood)

OBS-URL: https://build.opensuse.org/request/show/1255573
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/harfbuzz?expand=0&rev=119
2025-03-25 21:07:56 +00:00
54d9d23dde Accepting request 1255502 from GNOME:Next
New release

OBS-URL: https://build.opensuse.org/request/show/1255502
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/harfbuzz?expand=0&rev=274
2025-03-24 10:18:50 +00:00
57c89534aa Accepting request 1250245 from GNOME:Factory
OBS-URL: https://build.opensuse.org/request/show/1250245
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/harfbuzz?expand=0&rev=118
2025-03-05 12:39:34 +00:00
36a657e2da New stable rel
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/harfbuzz?expand=0&rev=272
2025-03-04 19:13:05 +00:00
f0f242e365 Accepting request 1248225 from GNOME:Factory
OBS-URL: https://build.opensuse.org/request/show/1248225
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/harfbuzz?expand=0&rev=117
2025-02-27 13:50:07 +00:00
05cbd966a4 New stable release
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/harfbuzz?expand=0&rev=270
2025-02-24 17:59:06 +00:00
4faee9a794 Accepting request 1237898 from GNOME:Factory
OBS-URL: https://build.opensuse.org/request/show/1237898
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/harfbuzz?expand=0&rev=116
2025-01-16 17:31:02 +00:00
2021452794 New stable release
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/harfbuzz?expand=0&rev=268
2025-01-14 17:41:27 +00:00
2a08477bcb Accepting request 1234402 from GNOME:Factory
OBS-URL: https://build.opensuse.org/request/show/1234402
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/harfbuzz?expand=0&rev=115
2025-01-02 18:19:45 +00:00
b57227830a - Add harfbuzz-CVE-2024-56732.patch: guard
hb_cairo_glyphs_from_buffer() against bad UTF-8 (CVE-2024-56732).

OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/harfbuzz?expand=0&rev=266
2025-01-01 17:00:33 +00:00
3b412098fb Accepting request 1221446 from GNOME:Factory
OBS-URL: https://build.opensuse.org/request/show/1221446
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/harfbuzz?expand=0&rev=114
2024-11-06 15:49:46 +00:00
31af68ff56 New release
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/harfbuzz?expand=0&rev=264
2024-11-05 13:38:52 +00:00
866f3db200 Accepting request 1203399 from GNOME:Factory
- Update to version 10.0.1:
  + Relax sanitization checks for “morx” subtables to fix broken
    AAT shaping of macOS 15.0 version of GeezaPro.
- Switch to source service for tarball.

- Update to version 10.0.0:
  + Unicode 16.0.0 support.
  + Various documentation fixes.
  + Various build fixes.
  + Add API to allow HarfBuzz client to set what glyph to use when
    a Unicode Variation Selector is not supported by the font,
    which would allow the client to customize what happens in this
    case, by using a different font for example.
  + Add a callback to for “hb_face_t” for getting the list of table
    tags. This is now used to make calling
    “hb_face_get_table_tags()” work on a faces created by
    “hb_face_create_for_tables()” (e.g. faces returned by
    “hb_subset_or_fail()”).
  + CGJ and Mongolian Variation Selectors are now ignored during
    glyph positioning, previously they would block both glyph
    substitution and positioning across them.
  + Support cairo script as an output format for “hb-view” command
    line tool.
  + Drop an optimization that would cause HarfBuzz not apply pair
    positioning lookup subtables under certain circumstances, for
    compatibility with other implementations that do apply these
    subtables.
  + Subsetting will now fail if source font has no glyphs, so
    feeding the subsetter invalid data will not silently return an
    empty face.

OBS-URL: https://build.opensuse.org/request/show/1203399
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/harfbuzz?expand=0&rev=113
2024-09-25 19:51:42 +00:00
0ff1b1a179 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/harfbuzz?expand=0&rev=262 2024-09-25 09:45:55 +00:00
0e15e4c9df - Update to version 10.0.1:
+ Relax sanitization checks for “morx” subtables to fix broken
    AAT shaping of macOS 15.0 version of GeezaPro.
- Switch to source service for tarball.

OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/harfbuzz?expand=0&rev=261
2024-09-25 08:51:17 +00:00
7046380639 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/harfbuzz?expand=0&rev=260 2024-09-25 07:43:05 +00:00
6 changed files with 237 additions and 7 deletions

18
_service Normal file
View File

@@ -0,0 +1,18 @@
<?xml version="1.0"?>
<services>
<service name="obs_scm" mode="manual">
<param name="scm">git</param>
<param name="url">https://github.com/harfbuzz/harfbuzz.git</param>
<param name="revision">11.0.0</param>
<param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param>
<param name="versionrewrite-pattern">v?(.*)\+0</param>
<param name="versionrewrite-replacement">\1</param>
<!-- <param name="changesgenerate">enable</param> -->
</service>
<service name="tar" mode="buildtime"/>
<service name="recompress" mode="buildtime">
<param name="file">*.tar</param>
<param name="compression">zst</param>
</service>
<service name="set_version" mode="manual" />
</services>

BIN
harfbuzz-11.0.0.obscpio (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a41b272ceeb920c57263ec851604542d9ec85ee3030506d94662067c7b6ab89e
size 17895360

View File

@@ -1,3 +1,210 @@
-------------------------------------------------------------------
Mon Mar 24 06:41:31 UTC 2025 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 11.0.0:
+ 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.
-------------------------------------------------------------------
Sat Mar 1 09:36:20 UTC 2025 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 10.4.0:
+ Drawing glyphs using hb-draw API now avoids any “malloc” calls,
which improves drawing performance by 10+%.
+ Add support new “GVAR” table fonts with more than 65535 glyphs.
Support is currently behind a compilation flag and is disabled
by default.
+ Some hb-directwrite and hb-ft APIs got renamed with more clear
names and the old names are deprecated.
+ Various build and fuzzing fixes.
+ New API:
- +hb_directwrite_face_get_dw_font_face()
- +hb_ft_font_get_ft_face()
+ Deprecated API:
- +hb_directwrite_face_get_font_face()
- +hb_ft_font_get_face()
-------------------------------------------------------------------
Fri Feb 21 10:38:24 UTC 2025 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 10.3.0:
+ Vastly improved “AAT” shaping performance. LucidaGrande
benchmark-shape before: 14.6ms after: 5.9ms.
+ Improved OpenType shaping performance (kerning / ligature), at
the expense of ~1kb per face allocated cache memory.
Roboto-Regular benchmark-shape before: 10.3ms after: 9.4ms.
+ Improved “COLRv1” benchmark-font paint performance. Before:
7.85ms after 4.85ms.
+ Dont apply glyph substitutions in “morx” table of a font with
known broken “morx” table (AALMAGHRIBI.ttf font).
+ Update IANA and OT language registries.
+ Various documentation updates.
+ Various build improvements, and test speed-ups.
+ The “hb_face_reference_blob()” API now works for faces created
with “hb_face_create_for_tables()” if the face sets
“get_table_tags” callback. This constructs a new face blob from
individual table blobs.
+ Various fixes to how “trak” table is handled to bring it closer
to Core Text behaviour. Particularly, the tracking values for
sizes not explicitly set in the table are now properly
interpolated, and the tracking is applied to glyph advances
when they are returned by ot-font functions, instead of
applying them during shaping. The “trak” pseudo OpenType
feature that could be used to disable “trak” table application
have been dropped.
+ Core Text font functions now support non-BMP code points.
+ The drawing algorithm used by hb-draw for “glyf” table now
match the algorithm used by FreeType and Core Text.
+ The “hb_coretext_font_create()” API now copy font variations
from Core Text font to the created HarfBuzz font.
+ Add an API to get the feature tags enabled on a given
shape-plan after executing it, which can be used to
applications to show in the UI what features are applied by
default (which can vary based on the font, the script, the
language, and the direction set on the buffer).
+ Add APIs to created HarfBuzz font from DirectWrite font, and
copy the font variations.
+ New API:
hb_directwrite_font_create()
hb_directwrite_font_get_dw_font()
hb_ot_shape_plan_get_feature_tags()
-------------------------------------------------------------------
Sun Jan 12 13:46:47 UTC 2025 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 10.2.0:
+ Consider Unicode Variation Selectors when subsetting “cmap”
table.
+ Guard hb_cairo_glyphs_from_buffer() against malformed UTF-8
strings.
+ Fix incorrect “COLR” v1 glyph scaling in hb-cairo.
+ Use locale-independent parsing of double numbers is “hb-subset”
command line tool.
+ Fix incorrect zeroing of advance width of base glyphs in
various “Courier New” font versions due to incorrect “GDEF”
glyph classes.
+ Fix handling of long language codes with “HB_LEAN”
configuration.
+ Update OpenType language system registry.
+ Allow all Myanmar tone marks (including visarga) in any order.
+ Dont insert U+25CC DOTTED CIRCLE before superscript/subscript
digits.
+ Handle Garay script as right to left script.
+ New API for serializing font tables and potentially repacking
them in optimal way.
+ New API for converting font variation setting from and to
strings.
+ Various build fixes.
+ Various subsetter and instancer fixes.
+ New API:
- +hb_subset_serialize_link_t
- +hb_subset_serialize_object_t
- +hb_subset_serialize_or_fail()
- +hb_subset_axis_range_from_string()
- +hb_subset_axis_range_to_string()
- Drop harfbuzz-CVE-2024-56732.patch: Fixed upstream.
-------------------------------------------------------------------
Tue Dec 31 19:05:26 UTC 2024 - Michael Gorse <mgorse@suse.com>
- Add harfbuzz-CVE-2024-56732.patch: guard
hb_cairo_glyphs_from_buffer() against bad UTF-8 (CVE-2024-56732).
-------------------------------------------------------------------
Tue Nov 5 08:44:15 UTC 2024 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 10.1.0:
+ Fix the sign of fallback vertical glyph advance (used when font
has no vertical advance data).
+ Increase maximum “CFF” operands limit 20 times to support more
complex fonts.
+ Add “--face-loader” option to command line utilities.
+ Support “COLR” v0 table in hb_font_get_glyph_extents().
+ Add support for font functions that use Core Text APIs, similar
to FreeType font functions. This allows, for example, using
drawing fonts that use the new (and undocumented) “hvgl” table.
+ Update IANA and OT language registries, as well ase USE data
files.
+ Fix build with ICU 76.
+ Various compiler warnings and build fixes.
+ Various subsetter fixes.
-------------------------------------------------------------------
Wed Sep 25 08:26:48 UTC 2024 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 10.0.1:
+ Relax sanitization checks for “morx” subtables to fix broken
AAT shaping of macOS 15.0 version of GeezaPro.
- Switch to source service for tarball.
-------------------------------------------------------------------
Mon Sep 23 20:10:33 UTC 2024 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 10.0.0:
+ Unicode 16.0.0 support.
+ Various documentation fixes.
+ Various build fixes.
+ Add API to allow HarfBuzz client to set what glyph to use when
a Unicode Variation Selector is not supported by the font,
which would allow the client to customize what happens in this
case, by using a different font for example.
+ Add a callback to for “hb_face_t” for getting the list of table
tags. This is now used to make calling
“hb_face_get_table_tags()” work on a faces created by
“hb_face_create_for_tables()” (e.g. faces returned by
“hb_subset_or_fail()”).
+ CGJ and Mongolian Variation Selectors are now ignored during
glyph positioning, previously they would block both glyph
substitution and positioning across them.
+ Support cairo script as an output format for “hb-view” command
line tool.
+ Drop an optimization that would cause HarfBuzz not apply pair
positioning lookup subtables under certain circumstances, for
compatibility with other implementations that do apply these
subtables.
+ Subsetting will now fail if source font has no glyphs, so
feeding the subsetter invalid data will not silently return an
empty face.
+ If after partially instancing a font no variation data is left
(the instance is fully static), dont consider this a failure.
+ Workaround a Firefox bug in displaying SVGs generated be
“hb-view” command line tool under certain circumstances.
+ Fix bug in macroman mapping for “cmap” table.
+ Fix difference shaping output when HarfBuzz is built with with
“HB_NO_OT_RULESETS_FAST_PATH” enabled.
+ Various subsetting and instancing fixes.
+ Various fuzzing fixes.
+ Add “with_libstdcxx” meson build option.
-------------------------------------------------------------------
Sun Jul 7 11:23:55 UTC 2024 - Andreas Stieger <andreas.stieger@gmx.de>

4
harfbuzz.obsinfo Normal file
View File

@@ -0,0 +1,4 @@
name: harfbuzz
version: 11.0.0
mtime: 1742769233
commit: ea6a172f84f2cbcfed803b5ae71064c7afb6b5c2

View File

@@ -1,7 +1,7 @@
#
# spec file for package harfbuzz
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2024 Andreas Stieger <Andreas.Stieger@gmx.de>
#
# All modifications and additions to the file contributed by third parties
@@ -18,13 +18,14 @@
Name: harfbuzz
Version: 9.0.0
Version: 11.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
Source0: %{name}-%{version}.tar.zst
Source99: baselibs.conf
BuildRequires: c++_compiler
BuildRequires: c_compiler
BuildRequires: meson
@@ -165,7 +166,7 @@ export CXXFLAGS="%optflags -std=c++17"
%files devel
%license COPYING
%doc AUTHORS README THANKS
%doc AUTHORS README.md THANKS
%{_includedir}/harfbuzz/
%{_libdir}/*.so
%{_libdir}/pkgconfig/harfbuzz.pc