Closed Bug 1776802 Opened 2 years ago Closed 2 years ago

Update HarfBuzz to 4.4.1

Categories

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

task

Tracking

()

RESOLVED FIXED
104 Branch
Tracking Status
firefox104 --- fixed

People

(Reporter: RyanVM, Assigned: RyanVM)

References

Details

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

Attachments

(2 files)

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

Overview of changes leading to 4.4.0
Monday, June 27, 2022

  • 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.4.1
Wednesday, June 29, 2022

  • Fix test failure with some compilers.
  • Fix Telugu and Kannada kerning regression.
Summary: Update HarfBuzz to 4.4.0 → Update HarfBuzz to 4.4.1
Attachment #9283149 - Attachment description: Bug 1776802 - Update HarfBuzz to 4.4.0. r=jfkthame → Bug 1776802 - Update HarfBuzz to 4.4.1. r=jfkthame
Pushed by rvandermeulen@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/f5c945969d95
Update HarfBuzz to 4.4.1. r=jfkthame
https://hg.mozilla.org/integration/autoland/rev/900a74d4a5ce
Remove obsolete lines from harfbuzz moz.build and enable warnings-as-errors. r=jfkthame
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 104 Branch
Regressions: 1779200
Regressions: 1780461
Blocks: 1781558
Regressions: 1787117
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: