SHA256
1
0
forked from pool/harfbuzz

26 Commits

Author SHA256 Message Date
72578bc9c9 Accepting request 1296652 from GNOME:Factory
- Update to version 11.3.3:
  + Fix bug in vertical shaping of fonts without the vmtx table. (forwarded request 1296051 from iznogood)

OBS-URL: https://build.opensuse.org/request/show/1296652
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/harfbuzz?expand=0&rev=124
2025-07-31 15:45:10 +00:00
845461c812 - Update to version 11.3.3:
+ Fix bug in vertical shaping of fonts without the vmtx table.

OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/harfbuzz?expand=0&rev=284
2025-07-30 18:30:42 +00:00
0f3a27a03e Accepting request 1294977 from GNOME:Factory
OBS-URL: https://build.opensuse.org/request/show/1294977
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/harfbuzz?expand=0&rev=123
2025-07-23 14:32:08 +00:00
71fffdcc5a - Update to version 11.3.2:
+ Fix build with non-compliant C++11 compilers that don't
    recognize the "and" keyword.
- Changes from version 11.3.1:
  + Fix crasher in the glyph_v_origin function introduced in
    11.3.0.
- Changes from version 11.3.0:
  + Speed up handling fonts with very large number of variations.
  + Speed up getting horizontal and vertical glyph advances by up
    to 24%.
  + Significantly speed up vertical text shaping.
  + Various documentation improvements.
  + Various build improvements.
  + Various subsetting improvements.
  + Various improvements to Rust font functions (fontations
    integration) and shaper (HarfRust integration).
  + Rename harfruzz option and shaper to harfrust following
    upstream rename.
  + Implement hb_face_reference_blob() for DirectWrite font
    functions.

OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/harfbuzz?expand=0&rev=282
2025-07-22 07:45:29 +00:00
fc41d4f0cf Accepting request 1277946 from GNOME:Factory
- Update to version 11.2.1:
  + Various build improvements.
  + Fix build with HB_NO_DRAW and HB_NO_PAINT.
  + Add an optional harfruzz shaper that uses HarfRuzz; an ongoing
    Rust port of HarfBuzz shaping. This shaper is mainly used for
    testing the output of the Rust implementation.
  + Fix regression that caused applying unsafe_to_break() to the
    whole buffer to be ignored.
  + Update USE data files.
  + Fix getting advances of out-of-rage glyph indices in
    DirectWrite font functions.
- Changes from version 11.2.0:
  + Painting of COLRv1 fonts without clip boxes is now about 10
    times faster.
  + Synthetic bold/slant of a sub font is now respected, instead of
    using the parent’s.
  + Glyph extents for fonts synthetic bold/slant are now accurately
    calculated.
  + Various build fixes. (forwarded request 1276943 from iznogood)

OBS-URL: https://build.opensuse.org/request/show/1277946
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/harfbuzz?expand=0&rev=122
2025-05-23 12:27:53 +00:00
f193203bbb Accepting request 1276943 from GNOME:Next
- Update to version 11.2.1:
  + Various build improvements.
  + Fix build with HB_NO_DRAW and HB_NO_PAINT.
  + Add an optional harfruzz shaper that uses HarfRuzz; an ongoing
    Rust port of HarfBuzz shaping. This shaper is mainly used for
    testing the output of the Rust implementation.
  + Fix regression that caused applying unsafe_to_break() to the
    whole buffer to be ignored.
  + Update USE data files.
  + Fix getting advances of out-of-rage glyph indices in
    DirectWrite font functions.
- Changes from version 11.2.0:
  + Painting of COLRv1 fonts without clip boxes is now about 10
    times faster.
  + Synthetic bold/slant of a sub font is now respected, instead of
    using the parent’s.
  + Glyph extents for fonts synthetic bold/slant are now accurately
    calculated.
  + Various build fixes.

OBS-URL: https://build.opensuse.org/request/show/1276943
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/harfbuzz?expand=0&rev=280
2025-05-16 06:28:02 +00:00
b4e2561d5c Accepting request 1270274 from GNOME:Factory
- Update to version 11.1.0:
  + Include bidi mirroring variants of the requested codepoints
    when subsetting. The new HB_SUBSET_FLAGS_NO_BIDI_CLOSURE can be
    used to disable this behaviour.
  + Various bug fixes.
  + Various build fixes and improvements.
  + Various test suite improvements. (forwarded request 1270193 from iznogood)

OBS-URL: https://build.opensuse.org/request/show/1270274
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/harfbuzz?expand=0&rev=121
2025-04-18 14:14:44 +00:00
145a00d9c2 - Update to version 11.1.0:
+ Include bidi mirroring variants of the requested codepoints
    when subsetting. The new HB_SUBSET_FLAGS_NO_BIDI_CLOSURE can be
    used to disable this behaviour.
  + Various bug fixes.
  + Various build fixes and improvements.
  + Various test suite improvements.

OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/harfbuzz?expand=0&rev=278
2025-04-17 10:59:21 +00:00
362890903b Accepting request 1267614 from GNOME:Factory
- Update to version 11.0.1:
  + The change in version 10.3.0 to apply “trak” table tracking
    values to glyph advances directly has been reverted as it
    required every font functions implementation to handle it,
    which breaks existing custom font functions. Tracking is
    instead back to being applied during shaping.
  + When directwrite integration is enabled, we now link to
    dwrite.dll instead of dynamically loading it.
  + A new experimental APIs for getting raw “CFF” and “CFF2”
    CharStrings.
  + We now provide manpages for the various command line utilities.
    Building manpages requires “help2man” and will be skipped if it
    is not present.
  + The command line utilities now set different return value for
    different kinds of failures. Details are provided in the
    manpages.
  + Various fixes and improvements to fontations font functions.
  + All shaping operations using the ot shaper have become memory
    allocation-free.
  + Glyph extents returned by hb-ot and hb-ft font functions are
    now rounded in stead of flooring/ceiling them, which also
    matches what other font libraries do.
  + Fix “AAT” deleted glyph marks interfering with fallback mark
    positioning.
  + Glyph outlines emboldening have been moved out of hb-ot and
    hb-ft font functions to the HarfBuzz font layer, so that it
    works with any font functions implementation.
  + Fix our fallback C++11 atomics integration, which seems to not
    be widely used.
  + Various testing fixes and improvements. (forwarded request 1267275 from iznogood)

OBS-URL: https://build.opensuse.org/request/show/1267614
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/harfbuzz?expand=0&rev=120
2025-04-08 15:50:49 +00:00
e5495e41b9 - Update to version 11.0.1:
+ The change in version 10.3.0 to apply “trak” table tracking
    values to glyph advances directly has been reverted as it
    required every font functions implementation to handle it,
    which breaks existing custom font functions. Tracking is
    instead back to being applied during shaping.
  + When directwrite integration is enabled, we now link to
    dwrite.dll instead of dynamically loading it.
  + A new experimental APIs for getting raw “CFF” and “CFF2”
    CharStrings.
  + We now provide manpages for the various command line utilities.
    Building manpages requires “help2man” and will be skipped if it
    is not present.
  + The command line utilities now set different return value for
    different kinds of failures. Details are provided in the
    manpages.
  + Various fixes and improvements to fontations font functions.
  + All shaping operations using the ot shaper have become memory
    allocation-free.
  + Glyph extents returned by hb-ot and hb-ft font functions are
    now rounded in stead of flooring/ceiling them, which also
    matches what other font libraries do.
  + Fix “AAT” deleted glyph marks interfering with fallback mark
    positioning.
  + Glyph outlines emboldening have been moved out of hb-ot and
    hb-ft font functions to the HarfBuzz font layer, so that it
    works with any font functions implementation.
  + Fix our fallback C++11 atomics integration, which seems to not
    be widely used.
  + Various testing fixes and improvements.

OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/harfbuzz?expand=0&rev=276
2025-04-07 10:33:16 +00:00
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 337 additions and 8 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.3.3</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>

3
harfbuzz-11.3.3.obscpio Normal file
View File

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

View File

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

View File

@@ -1,3 +1,310 @@
-------------------------------------------------------------------
Mon Jul 28 08:14:56 UTC 2025 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 11.3.3:
+ Fix bug in vertical shaping of fonts without the vmtx table.
-------------------------------------------------------------------
Mon Jul 21 07:38:41 UTC 2025 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 11.3.2:
+ Fix build with non-compliant C++11 compilers that don't
recognize the "and" keyword.
- Changes from version 11.3.1:
+ Fix crasher in the glyph_v_origin function introduced in
11.3.0.
- Changes from version 11.3.0:
+ Speed up handling fonts with very large number of variations.
+ Speed up getting horizontal and vertical glyph advances by up
to 24%.
+ Significantly speed up vertical text shaping.
+ Various documentation improvements.
+ Various build improvements.
+ Various subsetting improvements.
+ Various improvements to Rust font functions (fontations
integration) and shaper (HarfRust integration).
+ Rename harfruzz option and shaper to harfrust following
upstream rename.
+ Implement hb_face_reference_blob() for DirectWrite font
functions.
-------------------------------------------------------------------
Mon May 12 17:22:45 UTC 2025 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 11.2.1:
+ Various build improvements.
+ Fix build with HB_NO_DRAW and HB_NO_PAINT.
+ Add an optional harfruzz shaper that uses HarfRuzz; an ongoing
Rust port of HarfBuzz shaping. This shaper is mainly used for
testing the output of the Rust implementation.
+ Fix regression that caused applying unsafe_to_break() to the
whole buffer to be ignored.
+ Update USE data files.
+ Fix getting advances of out-of-rage glyph indices in
DirectWrite font functions.
- Changes from version 11.2.0:
+ Painting of COLRv1 fonts without clip boxes is now about 10
times faster.
+ Synthetic bold/slant of a sub font is now respected, instead of
using the parents.
+ Glyph extents for fonts synthetic bold/slant are now accurately
calculated.
+ Various build fixes.
-------------------------------------------------------------------
Thu Apr 17 07:03:28 UTC 2025 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 11.1.0:
+ Include bidi mirroring variants of the requested codepoints
when subsetting. The new HB_SUBSET_FLAGS_NO_BIDI_CLOSURE can be
used to disable this behaviour.
+ Various bug fixes.
+ Various build fixes and improvements.
+ Various test suite improvements.
-------------------------------------------------------------------
Sat Apr 5 08:19:12 UTC 2025 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 11.0.1:
+ The change in version 10.3.0 to apply “trak” table tracking
values to glyph advances directly has been reverted as it
required every font functions implementation to handle it,
which breaks existing custom font functions. Tracking is
instead back to being applied during shaping.
+ When directwrite integration is enabled, we now link to
dwrite.dll instead of dynamically loading it.
+ A new experimental APIs for getting raw “CFF” and “CFF2”
CharStrings.
+ We now provide manpages for the various command line utilities.
Building manpages requires “help2man” and will be skipped if it
is not present.
+ The command line utilities now set different return value for
different kinds of failures. Details are provided in the
manpages.
+ Various fixes and improvements to fontations font functions.
+ All shaping operations using the ot shaper have become memory
allocation-free.
+ Glyph extents returned by hb-ot and hb-ft font functions are
now rounded in stead of flooring/ceiling them, which also
matches what other font libraries do.
+ Fix “AAT” deleted glyph marks interfering with fallback mark
positioning.
+ Glyph outlines emboldening have been moved out of hb-ot and
hb-ft font functions to the HarfBuzz font layer, so that it
works with any font functions implementation.
+ Fix our fallback C++11 atomics integration, which seems to not
be widely used.
+ Various testing fixes and improvements.
+ Various subsetting fixes and improvements.
+ Various other fixes and improvements.
-------------------------------------------------------------------
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.3.3
mtime: 1753560032
commit: c3fcbffa651cea70400552f2a8bd695ad11023c1

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.3.3
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
@@ -158,14 +159,13 @@ export CXXFLAGS="%optflags -std=c++17"
%files tools
%license COPYING
%{_bindir}/hb-info
%{_bindir}/hb-ot-shape-closure
%{_bindir}/hb-shape
%{_bindir}/hb-subset
%{_bindir}/hb-view
%files devel
%license COPYING
%doc AUTHORS README THANKS
%doc AUTHORS README.md THANKS
%{_includedir}/harfbuzz/
%{_libdir}/*.so
%{_libdir}/pkgconfig/harfbuzz.pc