Closed
Bug 1395926
Opened 7 years ago
Closed 7 years ago
GPOS doesn't work for vertical text with upright orientation
Categories
(Core :: Graphics: Text, enhancement, P3)
Core
Graphics: Text
Tracking
()
RESOLVED
FIXED
mozilla58
People
(Reporter: jfkthame, Assigned: jfkthame)
References
(Depends on 1 open bug, )
Details
(Whiteboard: gfx-noted)
Attachments
(2 files)
4.11 KB,
patch
|
jrmuizel
:
review+
|
Details | Diff | Splinter Review |
9.64 KB,
patch
|
jrmuizel
:
review+
|
Details | Diff | Splinter Review |
The vertical-writing-mode rendering of attachment 8610505 [details] from bug 1148660 was fixed by the patch there, but subsequently broken again by bug 729993. (Unfortunately, we didn't have a reftest in place to detect this immediately.)
See also bug 1395774, although fixing this issue is not sufficient by itself to render the bopomofo example properly.
Updated•7 years ago
|
Priority: -- → P3
Whiteboard: gfx-noted
Assignee | ||
Comment 1•7 years ago
|
||
Here's a reftest based on the testcase from bug 1148660, which currently fails on trunk -- many of the diacritics are misplaced to the left. (The GPOS-related fix we landed in bug 1376231 at least got the diacritics to the proper vertical positions, but we also handle the horizontal offsets incorrectly.) If we'd had this test in the tree already when we originally fixed bug 1148660, we wouldn't have promptly re-broken it in the next release (or at least, we'd have been aware that we did so...) :\
Attachment #8922881 -
Flags: review?(jmuizelaar)
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → jfkthame
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•7 years ago
|
||
And this fixes the rendering (again), so that the test passes. With this in place, and covered by reftests, we can then consider revising how the glyph offsets are stored, so as to remove the vertical-shaping swap from the DrawGlyphs loop as per bug 1408612 comment 21; I'll file a fresh bug for that.
Attachment #8922882 -
Flags: review?(jmuizelaar)
Updated•7 years ago
|
Attachment #8922881 -
Flags: review?(jmuizelaar) → review+
Updated•7 years ago
|
Attachment #8922882 -
Flags: review?(jmuizelaar) → review+
Pushed by jkew@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/2182bb31daa6
Reftest for GPOS glyph positioning adjustments in vertical-upright mode. r=jrmuizel
https://hg.mozilla.org/integration/mozilla-inbound/rev/f31841220317
Fix up handling of glyph offsets for text shaped in vertical mode. r=jrmuizel
Comment 4•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/2182bb31daa6
https://hg.mozilla.org/mozilla-central/rev/f31841220317
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox58:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla58
Updated•7 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•