harfbuzz: Update to version 3.4.0

Message ID 20220228210956.2803231-1-adolf.belka@ipfire.org
State Accepted
Commit 4e52721aa2fee4fe6c2ca0239761a64cf39a3265
Headers
Series harfbuzz: Update to version 3.4.0 |

Commit Message

Adolf Belka Feb. 28, 2022, 9:09 p.m. UTC
  - Update from 3.1.2 to 3.4.0
- Update of rootfile
- Changelog
	3.4.0
	    Perform sanity checks on shaping results is now part of “harfbuzz” library and can be enabled by setting the buffer flag HB_BUFFER_FLAG_VERIFY. (Behdad Esfahbod)
	    Arabic Mark Transient Reordering Algorithm have been updated to revision 6. (Khaled Hosny)
	    ISO 15924 code for mathematical notation, ‘Zmth’, now maps to the OpenType ‘math’ tag. (Alexis King)
	    It is now possible to get at once all math kerning values for a given glyph at a given corner. (Alexis King)
	    Fix locale_t portability issues on systems the typedef’s it to a void pointer. (Behdad Esfahbod)
	  New API:
	    +HB_BUFFER_FLAG_VERIFY
	    +HB_OT_TAG_MATH_SCRIPT
	    +HB_SCRIPT_MATH
	    +hb_ot_math_kern_entry_t
	    +hb_ot_math_get_glyph_kernings
	  Deprecated API
	    +HB_OT_MATH_SCRIPT
	3.3.2
	  Revert splitting of pair positioning values introduced in 3.3.0 as it proved problematic. (Behdad Esfahbod)
	3.3.1
	  Fix heap-use-after-free in harfbuzz-subset introduced in previous release. (Garret Rieger)
	3.3.0
	    Improved documentation. (Matthias Clasen)
	    Internal code cleanup, using C++ standard library more. (Behdad Esfahbod)
	    The low 16-bits of face index will be used by hb_face_create() to select a face inside a font collection file format, while the high 16-bits will be used by hb_font_create() to load the named instance. (Behdad Esfahbod)
	    Glyph positions and other font metrics now apply synthetic slant set by hb_font_set_synthetic_slant(), for improved positioning for synthetically slanted fonts. (Behdad Esfahbod)
	    Fixed unintentional locale dependency in hb_variation_to_string() for decimal point representation. (Matthias Clasen)
	    When applying pair positioning (kerning) the positioning value is split between the two sides of the pair for improved cursor positioning between such pairs. (Behdad Esfahbod)
	    Introduced new HB_GLYPH_FLAG_UNSAFE_TO_CONCAT, to be used in conjunction with HB_GLYPH_FLAG_UNSAFE_TO_BREAK for optimizing re-shaping during line breaking. Check the documentation for further details. (Behdad Esfahbod)
	    Improved handling of macrolanguages when mapping BCP 47 codes to OpenType tags. (David Corbett)
	    New API:
	    +HB_GLYPH_FLAG_UNSAFE_TO_CONCAT
	    +hb_segment_properties_overlay()
	    +hb_buffer_create_similar()
	    +hb_font_set_synthetic_slant()
	    +hb_font_get_synthetic_slant()
	    +hb_font_get_var_coords_design()
	3.2.0
	  harfbuzz library improvements:
	    Fixed shaping of Apple Color Emoji flags in right-to-left context. (Behdad Esfahbod)
	    Fixed positioning of CFF fonts in HB_TINY profile. (Behdad Esfahbod)
	    OpenType 1.9 language tags update. (David Corbett)
	    Add HB_NO_VERTICAL config option. (Behdad Esfahbod)
	    Add HB_CONFIG_OVERRIDE_H for easier configuration. (Behdad Esfahbod)
	  harfbuzz-subset library improvements:
	    Improved packing of cmap, loca, and Ligature tables. (Garret Rieger)
	    Significantly improved overflow-resolution strategy in the repacker. (Garret Rieger)

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

Comments

Peter Müller March 3, 2022, 8:45 a.m. UTC | #1
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>

> - Update from 3.1.2 to 3.4.0
> - Update of rootfile
> - Changelog
> 	3.4.0
> 	    Perform sanity checks on shaping results is now part of “harfbuzz” library and can be enabled by setting the buffer flag HB_BUFFER_FLAG_VERIFY. (Behdad Esfahbod)
> 	    Arabic Mark Transient Reordering Algorithm have been updated to revision 6. (Khaled Hosny)
> 	    ISO 15924 code for mathematical notation, ‘Zmth’, now maps to the OpenType ‘math’ tag. (Alexis King)
> 	    It is now possible to get at once all math kerning values for a given glyph at a given corner. (Alexis King)
> 	    Fix locale_t portability issues on systems the typedef’s it to a void pointer. (Behdad Esfahbod)
> 	  New API:
> 	    +HB_BUFFER_FLAG_VERIFY
> 	    +HB_OT_TAG_MATH_SCRIPT
> 	    +HB_SCRIPT_MATH
> 	    +hb_ot_math_kern_entry_t
> 	    +hb_ot_math_get_glyph_kernings
> 	  Deprecated API
> 	    +HB_OT_MATH_SCRIPT
> 	3.3.2
> 	  Revert splitting of pair positioning values introduced in 3.3.0 as it proved problematic. (Behdad Esfahbod)
> 	3.3.1
> 	  Fix heap-use-after-free in harfbuzz-subset introduced in previous release. (Garret Rieger)
> 	3.3.0
> 	    Improved documentation. (Matthias Clasen)
> 	    Internal code cleanup, using C++ standard library more. (Behdad Esfahbod)
> 	    The low 16-bits of face index will be used by hb_face_create() to select a face inside a font collection file format, while the high 16-bits will be used by hb_font_create() to load the named instance. (Behdad Esfahbod)
> 	    Glyph positions and other font metrics now apply synthetic slant set by hb_font_set_synthetic_slant(), for improved positioning for synthetically slanted fonts. (Behdad Esfahbod)
> 	    Fixed unintentional locale dependency in hb_variation_to_string() for decimal point representation. (Matthias Clasen)
> 	    When applying pair positioning (kerning) the positioning value is split between the two sides of the pair for improved cursor positioning between such pairs. (Behdad Esfahbod)
> 	    Introduced new HB_GLYPH_FLAG_UNSAFE_TO_CONCAT, to be used in conjunction with HB_GLYPH_FLAG_UNSAFE_TO_BREAK for optimizing re-shaping during line breaking. Check the documentation for further details. (Behdad Esfahbod)
> 	    Improved handling of macrolanguages when mapping BCP 47 codes to OpenType tags. (David Corbett)
> 	    New API:
> 	    +HB_GLYPH_FLAG_UNSAFE_TO_CONCAT
> 	    +hb_segment_properties_overlay()
> 	    +hb_buffer_create_similar()
> 	    +hb_font_set_synthetic_slant()
> 	    +hb_font_get_synthetic_slant()
> 	    +hb_font_get_var_coords_design()
> 	3.2.0
> 	  harfbuzz library improvements:
> 	    Fixed shaping of Apple Color Emoji flags in right-to-left context. (Behdad Esfahbod)
> 	    Fixed positioning of CFF fonts in HB_TINY profile. (Behdad Esfahbod)
> 	    OpenType 1.9 language tags update. (David Corbett)
> 	    Add HB_NO_VERTICAL config option. (Behdad Esfahbod)
> 	    Add HB_CONFIG_OVERRIDE_H for easier configuration. (Behdad Esfahbod)
> 	  harfbuzz-subset library improvements:
> 	    Improved packing of cmap, loca, and Ligature tables. (Garret Rieger)
> 	    Significantly improved overflow-resolution strategy in the repacker. (Garret Rieger)
> 
> Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
> ---
>  config/rootfiles/common/harfbuzz | 5 +++--
>  lfs/harfbuzz                     | 4 ++--
>  2 files changed, 5 insertions(+), 4 deletions(-)
> 
> diff --git a/config/rootfiles/common/harfbuzz b/config/rootfiles/common/harfbuzz
> index d45cba44b..0bf04184c 100644
> --- a/config/rootfiles/common/harfbuzz
> +++ b/config/rootfiles/common/harfbuzz
> @@ -39,11 +39,11 @@
>  #usr/lib/libharfbuzz-subset.la
>  #usr/lib/libharfbuzz-subset.so
>  usr/lib/libharfbuzz-subset.so.0
> -usr/lib/libharfbuzz-subset.so.0.30302.0
> +usr/lib/libharfbuzz-subset.so.0.30400.0
>  #usr/lib/libharfbuzz.la
>  #usr/lib/libharfbuzz.so
>  usr/lib/libharfbuzz.so.0
> -usr/lib/libharfbuzz.so.0.30302.0
> +usr/lib/libharfbuzz.so.0.30400.0
>  #usr/lib/pkgconfig/harfbuzz-subset.pc
>  #usr/lib/pkgconfig/harfbuzz.pc
>  #usr/share/gtk-doc/html/harfbuzz
> @@ -108,6 +108,7 @@ usr/lib/libharfbuzz.so.0.30302.0
>  #usr/share/gtk-doc/html/harfbuzz/api-index-3-0-0.html
>  #usr/share/gtk-doc/html/harfbuzz/api-index-3-1-0.html
>  #usr/share/gtk-doc/html/harfbuzz/api-index-3-3-0.html
> +#usr/share/gtk-doc/html/harfbuzz/api-index-3-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
> diff --git a/lfs/harfbuzz b/lfs/harfbuzz
> index b9f700fdb..a87a4f393 100644
> --- a/lfs/harfbuzz
> +++ b/lfs/harfbuzz
> @@ -24,7 +24,7 @@
>  
>  include Config
>  
> -VER        = 3.3.2
> +VER        = 3.4.0
>  
>  THISAPP    = harfbuzz-$(VER)
>  DL_FILE    = $(THISAPP).tar.xz
> @@ -40,7 +40,7 @@ objects = $(DL_FILE)
>  
>  $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
>  
> -$(DL_FILE)_MD5 = 1574bb4cabb49c71eb1260a6ef310599
> +$(DL_FILE)_MD5 = 40a7243ef08d5490a3a09d5d94ce6d40
>  
>  install : $(TARGET)
>
  

Patch

diff --git a/config/rootfiles/common/harfbuzz b/config/rootfiles/common/harfbuzz
index d45cba44b..0bf04184c 100644
--- a/config/rootfiles/common/harfbuzz
+++ b/config/rootfiles/common/harfbuzz
@@ -39,11 +39,11 @@ 
 #usr/lib/libharfbuzz-subset.la
 #usr/lib/libharfbuzz-subset.so
 usr/lib/libharfbuzz-subset.so.0
-usr/lib/libharfbuzz-subset.so.0.30302.0
+usr/lib/libharfbuzz-subset.so.0.30400.0
 #usr/lib/libharfbuzz.la
 #usr/lib/libharfbuzz.so
 usr/lib/libharfbuzz.so.0
-usr/lib/libharfbuzz.so.0.30302.0
+usr/lib/libharfbuzz.so.0.30400.0
 #usr/lib/pkgconfig/harfbuzz-subset.pc
 #usr/lib/pkgconfig/harfbuzz.pc
 #usr/share/gtk-doc/html/harfbuzz
@@ -108,6 +108,7 @@  usr/lib/libharfbuzz.so.0.30302.0
 #usr/share/gtk-doc/html/harfbuzz/api-index-3-0-0.html
 #usr/share/gtk-doc/html/harfbuzz/api-index-3-1-0.html
 #usr/share/gtk-doc/html/harfbuzz/api-index-3-3-0.html
+#usr/share/gtk-doc/html/harfbuzz/api-index-3-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
diff --git a/lfs/harfbuzz b/lfs/harfbuzz
index b9f700fdb..a87a4f393 100644
--- a/lfs/harfbuzz
+++ b/lfs/harfbuzz
@@ -24,7 +24,7 @@ 
 
 include Config
 
-VER        = 3.3.2
+VER        = 3.4.0
 
 THISAPP    = harfbuzz-$(VER)
 DL_FILE    = $(THISAPP).tar.xz
@@ -40,7 +40,7 @@  objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_MD5 = 1574bb4cabb49c71eb1260a6ef310599
+$(DL_FILE)_MD5 = 40a7243ef08d5490a3a09d5d94ce6d40
 
 install : $(TARGET)