harfbuzz: Update to version 11.4.3

Message ID 20250826184904.6229-14-adolf.belka@ipfire.org
State New
Headers
Series harfbuzz: Update to version 11.4.3 |

Commit Message

Adolf Belka 26 Aug 2025, 6:48 p.m. UTC
- Update from version 11.2.1 to 11.4.3
- Update of rootfile
- Changelog
    11.4.3
	- Make shaping fail much faster for certain malformed fonts (e.g., those that
	  trigger infinite recursion).
	- Fix undefined behaviour introduced in 11.4.2.
	- Fix detection of the “Cambria Math” font when fonts are scaled, so the
	  workaround for the bad `MATH` table constant is applied.
    11.4.2
	- Various performance and memory usage improvements.
	- The `hb-shape` command line tool can now be built with the amalgamated
	  `harfbuzz.cc` source.
	- Fix regression in handling version 2 of `avar` table.
	- Increase various buffer length limits for better handling of fonts that
	  generate huge number of glyphs per codepoint (e.g. Noto Sans Duployan)
	- Improvements to the harfrust shaper for more accurate testing.
    11.4.1
	- Fix clang compiler warnings.
    11.4.0
	- General shaping and subsetting speedups.
	- Fix in Graphite shaping backend when glyph advances became negative.
	- Subsetting improvements, pruning empty mark-attachment lookups.
	- Don't use the macro name `_S`, which is reserved by system liberaries.
	- Build fixes and speedup.
	- Add a `kbts` shaping backend that calls into the `kb_text_shape`
	  single-header shaping library. This is purely for testing and
	  performance evaluation and we do NOT recommend using it for any
	  other purposes.
    11.3.3
	- Fix but in vertical shaping of fonts without the vmtx table.
    11.3.2
	- Fix build with non-compliant C++11 compilers that don't recognize
	  the "and" keyword.
    11.3.1
	- Fix crasher in the glyph_v_origin function introduced in
	  11.3.0.
    11.3.0
	- Speed up handling fonts with very large number of variations:
	  - Drawing by up to 40%.
	  - Calculating glyph extents by up to 15%.
	  - Getting horizontal glyph advances by up to 45%.
	- 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.
	- New API:
	  +hb_font_get_glyph_origins_func_t
	  +hb_font_get_glyph_h_origins_func_t
	  +hb_font_get_glyph_v_origins_func_t
	  +hb_font_funcs_set_glyph_h_origins_func()
	  +hb_font_funcs_set_glyph_v_origins_func()
	  +hb_font_get_glyph_h_origins()
	  +hb_font_get_glyph_v_origins()

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
 config/rootfiles/common/harfbuzz | 8 ++++----
 lfs/harfbuzz                     | 4 ++--
 2 files changed, 6 insertions(+), 6 deletions(-)
  

Patch

diff --git a/config/rootfiles/common/harfbuzz b/config/rootfiles/common/harfbuzz
index 1b129edcf..08603435f 100644
--- a/config/rootfiles/common/harfbuzz
+++ b/config/rootfiles/common/harfbuzz
@@ -47,16 +47,16 @@  usr/include/harfbuzz/hb-script-list.h
 #usr/lib/cmake/harfbuzz/harfbuzz-config.cmake
 #usr/lib/libharfbuzz-cairo.so
 usr/lib/libharfbuzz-cairo.so.0
-usr/lib/libharfbuzz-cairo.so.0.61121.0
+usr/lib/libharfbuzz-cairo.so.0.61143.0
 #usr/lib/libharfbuzz-gobject.so
 usr/lib/libharfbuzz-gobject.so.0
-usr/lib/libharfbuzz-gobject.so.0.61121.0
+usr/lib/libharfbuzz-gobject.so.0.61143.0
 #usr/lib/libharfbuzz-subset.so
 usr/lib/libharfbuzz-subset.so.0
-usr/lib/libharfbuzz-subset.so.0.61121.0
+usr/lib/libharfbuzz-subset.so.0.61143.0
 #usr/lib/libharfbuzz.so
 usr/lib/libharfbuzz.so.0
-usr/lib/libharfbuzz.so.0.61121.0
+usr/lib/libharfbuzz.so.0.61143.0
 #usr/lib/pkgconfig/harfbuzz-cairo.pc
 #usr/lib/pkgconfig/harfbuzz-gobject.pc
 #usr/lib/pkgconfig/harfbuzz-subset.pc
diff --git a/lfs/harfbuzz b/lfs/harfbuzz
index 03ba8b6a5..574b51f15 100644
--- a/lfs/harfbuzz
+++ b/lfs/harfbuzz
@@ -24,7 +24,7 @@ 
 
 include Config
 
-VER        = 11.2.1
+VER        = 11.4.3
 
 THISAPP    = harfbuzz-$(VER)
 DL_FILE    = $(THISAPP).tar.xz
@@ -40,7 +40,7 @@  objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_BLAKE2 = 1c2553a02b4254c06f41a429c498439796e3c307ea2b1325b3ee99a4a87dc817bcc0ceb4ec23f0b1c708e3488249ce5f05913f4ab50fc2a66605b3e238f39d5d
+$(DL_FILE)_BLAKE2 = 88b2e29e28fd604457f40d26b85fc368823a08cdb2060138764534621d25620e0e25018719c9f64fcecca5051dcf4760bbcd05038cf32caa1902e27173ee1232
 
 install : $(TARGET)