mirror of
https://github.com/rive-app/rive-flutter.git
synced 2025-08-06 00:21:17 +08:00
Fix diacritics
The big churn is from bumping us to Harfbuzz 6.0.0 (we were on a master from June 2022, 6.0.0 was released December 2022) as it fixes some diacritic positioning with Arabic text. The main fix, however, comes from marshaling the glyph offsets to Dart (and storing them in C++ which we weren't doing). This is a translation offset within the local space (baseline and advance) of the glyph. It was causing our Arabic diacritics (the "accents" if you will) to be positioned incorrectly. Prior to the fix:  Post fix:  Same word displayed in Google Fonts (confirming correctness, also confirmed by an Arabic reader on our Discord):  Diffs= a8c1e3e75 Fix diacritics (#5200) c7ecbe025 Run clang-format on .glsl files (#5180) 9945a7d2d Merge sbs_render_and_advance into master (#5181) 542e320d2 Discard empty verbs from RawPath (#5166)
This commit is contained in:
@ -173,18 +173,18 @@ do
|
||||
harfbuzz .. '/src/hb-ot-meta.cc',
|
||||
harfbuzz .. '/src/hb-ot-metrics.cc',
|
||||
harfbuzz .. '/src/hb-ot-name.cc',
|
||||
harfbuzz .. '/src/hb-ot-shape-complex-arabic.cc',
|
||||
harfbuzz .. '/src/hb-ot-shape-complex-default.cc',
|
||||
harfbuzz .. '/src/hb-ot-shape-complex-hangul.cc',
|
||||
harfbuzz .. '/src/hb-ot-shape-complex-hebrew.cc',
|
||||
harfbuzz .. '/src/hb-ot-shape-complex-indic-table.cc',
|
||||
harfbuzz .. '/src/hb-ot-shape-complex-indic.cc',
|
||||
harfbuzz .. '/src/hb-ot-shape-complex-khmer.cc',
|
||||
harfbuzz .. '/src/hb-ot-shape-complex-myanmar.cc',
|
||||
harfbuzz .. '/src/hb-ot-shape-complex-syllabic.cc',
|
||||
harfbuzz .. '/src/hb-ot-shape-complex-thai.cc',
|
||||
harfbuzz .. '/src/hb-ot-shape-complex-use.cc',
|
||||
harfbuzz .. '/src/hb-ot-shape-complex-vowel-constraints.cc',
|
||||
harfbuzz .. '/src/hb-ot-shaper-arabic.cc',
|
||||
harfbuzz .. '/src/hb-ot-shaper-default.cc',
|
||||
harfbuzz .. '/src/hb-ot-shaper-hangul.cc',
|
||||
harfbuzz .. '/src/hb-ot-shaper-hebrew.cc',
|
||||
harfbuzz .. '/src/hb-ot-shaper-indic-table.cc',
|
||||
harfbuzz .. '/src/hb-ot-shaper-indic.cc',
|
||||
harfbuzz .. '/src/hb-ot-shaper-khmer.cc',
|
||||
harfbuzz .. '/src/hb-ot-shaper-myanmar.cc',
|
||||
harfbuzz .. '/src/hb-ot-shaper-syllabic.cc',
|
||||
harfbuzz .. '/src/hb-ot-shaper-thai.cc',
|
||||
harfbuzz .. '/src/hb-ot-shaper-use.cc',
|
||||
harfbuzz .. '/src/hb-ot-shaper-vowel-constraints.cc',
|
||||
harfbuzz .. '/src/hb-ot-shape-fallback.cc',
|
||||
harfbuzz .. '/src/hb-ot-shape-normalize.cc',
|
||||
harfbuzz .. '/src/hb-ot-shape.cc',
|
||||
|
Reference in New Issue
Block a user