harfbuzz: Update to version 4.4.1

Message ID 20220708205442.2972655-1-adolf.belka@ipfire.org
State Accepted
Commit 592c50724884294356b9ceda8a852926d2b4ae1c
Headers
Series harfbuzz: Update to version 4.4.1 |

Commit Message

Adolf Belka July 8, 2022, 8:54 p.m. UTC
  - Update from version 4.2.0 to 4.4.1
- Update of rootfile
- Changelog
   Overview of changes leading to 4.4.1
	- Fix test failure with some compilers.
	- Fix Telugu and Kannada kerning regression.
   Overview of changes leading to 4.4.0
	- Caching of variable fonts shaping, in particular when using HarfBuzz’s own
	  font loading functions (ot). Bringing performance of variable shaping in par
	  with non-variable fonts shaping. (Behdad Esfahbod)
	- Caching of format 2 “Contextual Substitution” and “Chained Contexts
	  Substitution” lookups. Resulting in up to 20% speedup of lookup-heavy fonts
	  like Gulzar or Noto Nastaliq Urdu. (Behdad Esfahbod)
	- Improved ANSI output from hb-view. (Behdad Esfahbod)
	- Support for shaping legacy, pre-OpenType Windows 3.1-era, Arabic fonts that
	  relied on a fixed PUA encoding. (Khaled Hosny, Behdad Esfahbod)
	- Sinhala script is now shaped by the USE shaper instead of “indic” one.
	  (Behdad Esfahbod, David Corbett)
	- Thai shaper improvements. (David Corbett)
	- hb-ot-name API supports approximate BCP-47 language matching, for example
	  asking for “en_US” in a font that has only “en” names will return them.
	  (Behdad Esfahbod)
	- Optimized TrueType glyph shape loading. (Behdad Esfahbod)
	- Fix subsetting of HarfBuzz faces created via hb_face_create_for_tables().
	  (Garret Rieger)
	- Add 32 bit var store support to the subsetter. (Garret Rieger)
	- New API
	   +HB_BUFFER_FLAG_DEFINED
	   +HB_BUFFER_SERIALIZE_FLAG_DEFINED
	   +hb_font_changed()
	   +hb_font_get_serial()
	   +hb_ft_hb_font_changed()
	   +hb_set_hash()
	   +hb_map_copy()
	   +hb_map_hash()
   Overview of changes leading to 4.3.0
	- Major speed up in loading and subsetting fonts, especially in
	  handling CFF table. Subsetting some fonts is now 3 times faster.
	  (Behdad Esfahbod, Garret Rieger)
	- Speed up blending CFF2 table. (Behdad Esfahbod)
	- Speed up hb_ot_tags_from_language(). (Behdad Esfahbod, David Corbett)
	- Fix USE classification of U+10A38 to fix multiple marks on single Kharoshthi
	  base. (David Corbett)
	- Fix parsing of empty CFF Index. (Behdad Esfahbod)
	- Fix subsetting CPAL table with partial palette overlaps. (Garret Rieger)
	- New API
	   +hb_map_is_equal() (Behdad Esfahbod)
   Overview of changes leading to 4.2.1
	- Make sure hb_blob_create_from_file_or_fail() always returns nullptr in case
	  of failure and not empty blob sometimes. (Khaled Hosny)
	- Add --passthrough-tables option to hb-subset. (Cosimo Lupo)
	- Reinstate a pause after basic features in Khmer shaper, fixing a regression
	  introduced in previous release. (Behdad Esfahbod)
	- Better handling of Regional_Indicator when shaped with RTL-native scripts,
	  reverting earlier fix that caused regressions in AAT shaping. (Behdad Esfahbod)

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

Comments

Peter Müller July 9, 2022, 9:04 a.m. UTC | #1
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>

> - Update from version 4.2.0 to 4.4.1
> - Update of rootfile
> - Changelog
>    Overview of changes leading to 4.4.1
> 	- Fix test failure with some compilers.
> 	- Fix Telugu and Kannada kerning regression.
>    Overview of changes leading to 4.4.0
> 	- Caching of variable fonts shaping, in particular when using HarfBuzz’s own
> 	  font loading functions (ot). Bringing performance of variable shaping in par
> 	  with non-variable fonts shaping. (Behdad Esfahbod)
> 	- Caching of format 2 “Contextual Substitution” and “Chained Contexts
> 	  Substitution” lookups. Resulting in up to 20% speedup of lookup-heavy fonts
> 	  like Gulzar or Noto Nastaliq Urdu. (Behdad Esfahbod)
> 	- Improved ANSI output from hb-view. (Behdad Esfahbod)
> 	- Support for shaping legacy, pre-OpenType Windows 3.1-era, Arabic fonts that
> 	  relied on a fixed PUA encoding. (Khaled Hosny, Behdad Esfahbod)
> 	- Sinhala script is now shaped by the USE shaper instead of “indic” one.
> 	  (Behdad Esfahbod, David Corbett)
> 	- Thai shaper improvements. (David Corbett)
> 	- hb-ot-name API supports approximate BCP-47 language matching, for example
> 	  asking for “en_US” in a font that has only “en” names will return them.
> 	  (Behdad Esfahbod)
> 	- Optimized TrueType glyph shape loading. (Behdad Esfahbod)
> 	- Fix subsetting of HarfBuzz faces created via hb_face_create_for_tables().
> 	  (Garret Rieger)
> 	- Add 32 bit var store support to the subsetter. (Garret Rieger)
> 	- New API
> 	   +HB_BUFFER_FLAG_DEFINED
> 	   +HB_BUFFER_SERIALIZE_FLAG_DEFINED
> 	   +hb_font_changed()
> 	   +hb_font_get_serial()
> 	   +hb_ft_hb_font_changed()
> 	   +hb_set_hash()
> 	   +hb_map_copy()
> 	   +hb_map_hash()
>    Overview of changes leading to 4.3.0
> 	- Major speed up in loading and subsetting fonts, especially in
> 	  handling CFF table. Subsetting some fonts is now 3 times faster.
> 	  (Behdad Esfahbod, Garret Rieger)
> 	- Speed up blending CFF2 table. (Behdad Esfahbod)
> 	- Speed up hb_ot_tags_from_language(). (Behdad Esfahbod, David Corbett)
> 	- Fix USE classification of U+10A38 to fix multiple marks on single Kharoshthi
> 	  base. (David Corbett)
> 	- Fix parsing of empty CFF Index. (Behdad Esfahbod)
> 	- Fix subsetting CPAL table with partial palette overlaps. (Garret Rieger)
> 	- New API
> 	   +hb_map_is_equal() (Behdad Esfahbod)
>    Overview of changes leading to 4.2.1
> 	- Make sure hb_blob_create_from_file_or_fail() always returns nullptr in case
> 	  of failure and not empty blob sometimes. (Khaled Hosny)
> 	- Add --passthrough-tables option to hb-subset. (Cosimo Lupo)
> 	- Reinstate a pause after basic features in Khmer shaper, fixing a regression
> 	  introduced in previous release. (Behdad Esfahbod)
> 	- Better handling of Regional_Indicator when shaped with RTL-native scripts,
> 	  reverting earlier fix that caused regressions in AAT shaping. (Behdad Esfahbod)
> 
> Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
> ---
>  config/rootfiles/common/harfbuzz | 10 +++++++---
>  lfs/harfbuzz                     |  4 ++--
>  2 files changed, 9 insertions(+), 5 deletions(-)
> 
> diff --git a/config/rootfiles/common/harfbuzz b/config/rootfiles/common/harfbuzz
> index 68269bae0..bb4bb2ee9 100644
> --- a/config/rootfiles/common/harfbuzz
> +++ b/config/rootfiles/common/harfbuzz
> @@ -8,6 +8,7 @@
>  #usr/include/harfbuzz/hb-blob.h
>  #usr/include/harfbuzz/hb-buffer.h
>  #usr/include/harfbuzz/hb-common.h
> +#usr/include/harfbuzz/hb-cplusplus.hh
>  #usr/include/harfbuzz/hb-deprecated.h
>  #usr/include/harfbuzz/hb-draw.h
>  #usr/include/harfbuzz/hb-face.h
> @@ -40,11 +41,11 @@
>  #usr/lib/libharfbuzz-subset.la
>  #usr/lib/libharfbuzz-subset.so
>  usr/lib/libharfbuzz-subset.so.0
> -usr/lib/libharfbuzz-subset.so.0.40200.0
> +usr/lib/libharfbuzz-subset.so.0.40401.0
>  #usr/lib/libharfbuzz.la
>  #usr/lib/libharfbuzz.so
>  usr/lib/libharfbuzz.so.0
> -usr/lib/libharfbuzz.so.0.40200.0
> +usr/lib/libharfbuzz.so.0.40401.0
>  #usr/lib/pkgconfig/harfbuzz-subset.pc
>  #usr/lib/pkgconfig/harfbuzz.pc
>  #usr/share/gtk-doc/html/harfbuzz
> @@ -112,12 +113,13 @@ usr/lib/libharfbuzz.so.0.40200.0
>  #usr/share/gtk-doc/html/harfbuzz/api-index-4-0-0.html
>  #usr/share/gtk-doc/html/harfbuzz/api-index-4-1-0.html
>  #usr/share/gtk-doc/html/harfbuzz/api-index-4-2-0.html
> +#usr/share/gtk-doc/html/harfbuzz/api-index-4-3-0.html
> +#usr/share/gtk-doc/html/harfbuzz/api-index-4-4-0.html
>  #usr/share/gtk-doc/html/harfbuzz/api-index-full.html
>  #usr/share/gtk-doc/html/harfbuzz/apple-advanced-typography-api.html
>  #usr/share/gtk-doc/html/harfbuzz/buffers-language-script-and-direction.html
>  #usr/share/gtk-doc/html/harfbuzz/building.html
>  #usr/share/gtk-doc/html/harfbuzz/clusters.html
> -#usr/share/gtk-doc/html/harfbuzz/complex-scripts.html
>  #usr/share/gtk-doc/html/harfbuzz/core-api.html
>  #usr/share/gtk-doc/html/harfbuzz/customizing-unicode-functions.html
>  #usr/share/gtk-doc/html/harfbuzz/deprecated-api-index.html
> @@ -185,6 +187,7 @@ usr/lib/libharfbuzz.so.0.40200.0
>  #usr/share/gtk-doc/html/harfbuzz/reordering-in-levels-0-and-1.html
>  #usr/share/gtk-doc/html/harfbuzz/right-insensitive.png
>  #usr/share/gtk-doc/html/harfbuzz/right.png
> +#usr/share/gtk-doc/html/harfbuzz/script-specific-shaping.html
>  #usr/share/gtk-doc/html/harfbuzz/setting-buffer-properties.html
>  #usr/share/gtk-doc/html/harfbuzz/shaping-and-shape-plans.html
>  #usr/share/gtk-doc/html/harfbuzz/shaping-concepts.html
> @@ -210,3 +213,4 @@ usr/lib/libharfbuzz.so.0.40200.0
>  #usr/share/gtk-doc/html/harfbuzz/why-do-i-need-a-shaping-engine.html
>  #usr/share/gtk-doc/html/harfbuzz/why-is-it-called-harfbuzz.html
>  #usr/share/gtk-doc/html/harfbuzz/working-with-harfbuzz-clusters.html
> +
> diff --git a/lfs/harfbuzz b/lfs/harfbuzz
> index 8fe4c9026..558c794de 100644
> --- a/lfs/harfbuzz
> +++ b/lfs/harfbuzz
> @@ -24,7 +24,7 @@
>  
>  include Config
>  
> -VER        = 4.2.0
> +VER        = 4.4.1
>  
>  THISAPP    = harfbuzz-$(VER)
>  DL_FILE    = $(THISAPP).tar.xz
> @@ -40,7 +40,7 @@ objects = $(DL_FILE)
>  
>  $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
>  
> -$(DL_FILE)_BLAKE2 = 90c9ef62780cefd8bb7b79ad31b17db5a0b8b56bee436a69191c8d26f0e9d36ecbf59656dc0846bfa19cb6dc741eac3507d3fe6b0f79df283af60e1b0220611b
> +$(DL_FILE)_BLAKE2 = a1c87e48228312b24bfa41a323fb4a4f6e2cb125c4a86df2a536a8c09f9e76bbaf18cb9b8b46452b949a9c01e31756925187c8c619fb9fb11f8ae29f36a250f0
>  
>  install : $(TARGET)
>
  

Patch

diff --git a/config/rootfiles/common/harfbuzz b/config/rootfiles/common/harfbuzz
index 68269bae0..bb4bb2ee9 100644
--- a/config/rootfiles/common/harfbuzz
+++ b/config/rootfiles/common/harfbuzz
@@ -8,6 +8,7 @@ 
 #usr/include/harfbuzz/hb-blob.h
 #usr/include/harfbuzz/hb-buffer.h
 #usr/include/harfbuzz/hb-common.h
+#usr/include/harfbuzz/hb-cplusplus.hh
 #usr/include/harfbuzz/hb-deprecated.h
 #usr/include/harfbuzz/hb-draw.h
 #usr/include/harfbuzz/hb-face.h
@@ -40,11 +41,11 @@ 
 #usr/lib/libharfbuzz-subset.la
 #usr/lib/libharfbuzz-subset.so
 usr/lib/libharfbuzz-subset.so.0
-usr/lib/libharfbuzz-subset.so.0.40200.0
+usr/lib/libharfbuzz-subset.so.0.40401.0
 #usr/lib/libharfbuzz.la
 #usr/lib/libharfbuzz.so
 usr/lib/libharfbuzz.so.0
-usr/lib/libharfbuzz.so.0.40200.0
+usr/lib/libharfbuzz.so.0.40401.0
 #usr/lib/pkgconfig/harfbuzz-subset.pc
 #usr/lib/pkgconfig/harfbuzz.pc
 #usr/share/gtk-doc/html/harfbuzz
@@ -112,12 +113,13 @@  usr/lib/libharfbuzz.so.0.40200.0
 #usr/share/gtk-doc/html/harfbuzz/api-index-4-0-0.html
 #usr/share/gtk-doc/html/harfbuzz/api-index-4-1-0.html
 #usr/share/gtk-doc/html/harfbuzz/api-index-4-2-0.html
+#usr/share/gtk-doc/html/harfbuzz/api-index-4-3-0.html
+#usr/share/gtk-doc/html/harfbuzz/api-index-4-4-0.html
 #usr/share/gtk-doc/html/harfbuzz/api-index-full.html
 #usr/share/gtk-doc/html/harfbuzz/apple-advanced-typography-api.html
 #usr/share/gtk-doc/html/harfbuzz/buffers-language-script-and-direction.html
 #usr/share/gtk-doc/html/harfbuzz/building.html
 #usr/share/gtk-doc/html/harfbuzz/clusters.html
-#usr/share/gtk-doc/html/harfbuzz/complex-scripts.html
 #usr/share/gtk-doc/html/harfbuzz/core-api.html
 #usr/share/gtk-doc/html/harfbuzz/customizing-unicode-functions.html
 #usr/share/gtk-doc/html/harfbuzz/deprecated-api-index.html
@@ -185,6 +187,7 @@  usr/lib/libharfbuzz.so.0.40200.0
 #usr/share/gtk-doc/html/harfbuzz/reordering-in-levels-0-and-1.html
 #usr/share/gtk-doc/html/harfbuzz/right-insensitive.png
 #usr/share/gtk-doc/html/harfbuzz/right.png
+#usr/share/gtk-doc/html/harfbuzz/script-specific-shaping.html
 #usr/share/gtk-doc/html/harfbuzz/setting-buffer-properties.html
 #usr/share/gtk-doc/html/harfbuzz/shaping-and-shape-plans.html
 #usr/share/gtk-doc/html/harfbuzz/shaping-concepts.html
@@ -210,3 +213,4 @@  usr/lib/libharfbuzz.so.0.40200.0
 #usr/share/gtk-doc/html/harfbuzz/why-do-i-need-a-shaping-engine.html
 #usr/share/gtk-doc/html/harfbuzz/why-is-it-called-harfbuzz.html
 #usr/share/gtk-doc/html/harfbuzz/working-with-harfbuzz-clusters.html
+
diff --git a/lfs/harfbuzz b/lfs/harfbuzz
index 8fe4c9026..558c794de 100644
--- a/lfs/harfbuzz
+++ b/lfs/harfbuzz
@@ -24,7 +24,7 @@ 
 
 include Config
 
-VER        = 4.2.0
+VER        = 4.4.1
 
 THISAPP    = harfbuzz-$(VER)
 DL_FILE    = $(THISAPP).tar.xz
@@ -40,7 +40,7 @@  objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_BLAKE2 = 90c9ef62780cefd8bb7b79ad31b17db5a0b8b56bee436a69191c8d26f0e9d36ecbf59656dc0846bfa19cb6dc741eac3507d3fe6b0f79df283af60e1b0220611b
+$(DL_FILE)_BLAKE2 = a1c87e48228312b24bfa41a323fb4a4f6e2cb125c4a86df2a536a8c09f9e76bbaf18cb9b8b46452b949a9c01e31756925187c8c619fb9fb11f8ae29f36a250f0
 
 install : $(TARGET)