Closed Bug 1754028 Opened 2 years ago Closed 2 years ago

Update HarfBuzz to 3.3.2

Categories

(Core :: Graphics: Text, task, P3)

task

Tracking

()

RESOLVED FIXED
99 Branch
Tracking Status
firefox99 --- fixed

People

(Reporter: RyanVM, Assigned: RyanVM)

References

Details

(Whiteboard: [third-party-lib-audit][gfx-noted])

Attachments

(1 file)

+++ This bug was initially created as a clone of Bug #1743434 +++

Overview of changes leading to 3.3.2
Sunday, February 6, 2022

  • Revert splitting of pair positioning values introduced in 3.3.0 as it proved
    problematic. (Behdad Esfahbod)

Overview of changes leading to 3.3.1
Monday, January 31, 2022

  • Fix heap-use-after-free in harfbuzz-subset introduced in previous release.
    (Garret Rieger)

Overview of changes leading to 3.3.0
Monday, January 31, 2022

  • 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()

Overview of changes leading to 3.2.0
Friday, November 26, 2021

“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.
  • 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)
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 99 Branch
Blocks: 1756664
Regressions: 1763368
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: