Page MenuHomeSolus

Update harfbuzz to 1.5.1
ClosedPublic

Authored by kyrios123 on Jul 11 2017, 12:54 PM.
Referenced Files
F11051308: D587.id2832.diff
Thu, Aug 10, 7:56 PM
F11051307: D587.id1725.diff
Thu, Aug 10, 7:56 PM
F11051306: D587.id2109.diff
Thu, Aug 10, 7:56 PM
F11051305: D587.id1421.diff
Thu, Aug 10, 7:56 PM
F11051304: D587.id.diff
Thu, Aug 10, 7:56 PM
F11051303: D587.id1922.diff
Thu, Aug 10, 7:56 PM
F11051302: D587.id1264.diff
Thu, Aug 10, 7:56 PM
F11051301: D587.id1422.diff
Thu, Aug 10, 7:56 PM
Subscribers
None

Details

Summary
  • Fix "unsafe-to-break" in fallback shaping and other corner cases. All our tests pass with --verify now, meaning unsafe-to-break API works as expected.
  • Add --unicodes to hb-view / hb-shape.
  • [indic] Treat Consonant_With_Stacker as consonant. This will need further tweaking.
  • hb_buffer_diff() tweaks.
  • Misc new API, for appending a buffer to another, and for comparing contents of two buffers for types of differences.
  • New "unsafe-to-break" API. Can be used to speed up reshaping in line-breaking situations. Essentially, after shaping, it returns positions in the input string (some of the cluster boundaries) that are "safe to break" in that if the text is segmented at that position and two sides reshaped and concatenated, the shaping result is exactly the same as shaping the text in one piece.
  • hb-view and hb-shape and hb-shape now take --verify, which verifies the above property.
  • Major fix to avar table handling.
  • Rename hb-shape --show-message to --trace.
  • Build fixes.
  • Multiple Indic, Tibetan, and Cham fixes.
  • CoreText: Allow disabling kerning.
  • Adjust Arabic feature order again.
  • Misc build fixes.
  • Graphite2: Fix RTL positioning issue.
  • Backlist GDEF of more versions of Padauk and Tahoma.
  • New, experimental, cmake alternative build system.

Full release notes available here

Packaging:

  • add: make check

Signed-off-by: Pierre-Yves <pyu@riseup.net>

Test Plan
  • Successfully executed the following command:

hb-shape --font-file=DejaSerif.ttf --text-file=/tmp/test.txt --output-format=json --output-file=/tmp/glyphs.txt --shapers=ot

  • Successfully build freetype2 against this

Diff Detail

Repository
R1134 harfbuzz
Branch
master
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

kyrios123 retitled this revision from Update harfbuzz to 1.4.6 to Update harfbuzz to 1.4.7.
kyrios123 edited the summary of this revision. (Show Details)
kyrios123 edited the test plan for this revision. (Show Details)

Update to 1.4.7

kyrios123 retitled this revision from Update harfbuzz to 1.4.7 to Update harfbuzz to 1.4.8.
kyrios123 edited the summary of this revision. (Show Details)

bump to 1.4.8 for:

  • Major fix to avar table handling.
kyrios123 retitled this revision from Update harfbuzz to 1.4.8 to Update harfbuzz to 1.5.0.
kyrios123 edited the summary of this revision. (Show Details)

Update to 1.5.0

  • Misc new API, for appending a buffer to another, and for comparing contents of two buffers for types of differences.
  • New "unsafe-to-break" API. Can be used to speed up reshaping in line-breaking situations. Essentially, after shaping, it returns positions in the input string (some of the cluster boundaries) that are "safe to break" in that if the text is segmented at that position and two sides reshaped and concatenated, the shaping result is exactly the same as shaping the text in one piece.
  • hb-view and hb-shape and hb-shape now take --verify, which verifies the above property.
kyrios123 retitled this revision from Update harfbuzz to 1.5.0 to Update harfbuzz to 1.5.1.
kyrios123 edited the summary of this revision. (Show Details)

bump to 1.5.1

This revision is now accepted and ready to land.Oct 7 2017, 3:25 PM
This revision was automatically updated to reflect the committed changes.