forked from pool/harfbuzz
Compare commits
16 Commits
Author | SHA256 | Date | |
---|---|---|---|
e8e44964c6 | |||
54d9d23dde | |||
57c89534aa | |||
36a657e2da | |||
f0f242e365 | |||
05cbd966a4 | |||
4faee9a794 | |||
2021452794 | |||
2a08477bcb | |||
b57227830a | |||
3b412098fb | |||
31af68ff56 | |||
866f3db200 | |||
0ff1b1a179 | |||
0e15e4c9df | |||
7046380639 |
18
_service
Normal file
18
_service
Normal 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
BIN
harfbuzz-11.0.0.obscpio
(Stored with Git LFS)
Normal file
Binary file not shown.
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a41b272ceeb920c57263ec851604542d9ec85ee3030506d94662067c7b6ab89e
|
||||
size 17895360
|
207
harfbuzz.changes
207
harfbuzz.changes
@@ -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.
|
||||
+ Don’t 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.
|
||||
+ Don’t 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), don’t 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
4
harfbuzz.obsinfo
Normal file
@@ -0,0 +1,4 @@
|
||||
name: harfbuzz
|
||||
version: 11.0.0
|
||||
mtime: 1742769233
|
||||
commit: ea6a172f84f2cbcfed803b5ae71064c7afb6b5c2
|
@@ -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
|
||||
|
Reference in New Issue
Block a user