[Webkit-unassigned] [Bug 161493] [FreeType] Incorrect application of glyph positioning in the Y direction

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 28 02:41:35 PST 2018


https://bugs.webkit.org/show_bug.cgi?id=161493

--- Comment #36 from Khaled Hosny <khaledhosny at eglug.org> ---
Created attachment 334733

  --> https://bugs.webkit.org/attachment.cgi?id=334733&action=review

Test patch

Here is a different and simpler batch based on the changed to text layout since the first patch.

It works most of the time except when the first glyph in the run is shifted vertically (e.g. the last character in the Arabic text is a combining mark), then the mark will be drawn at the baseline and the rest of the glyphs will be shifted relative to it (the patch has some debug code to draw a baseline to make spotting this easier).

I’m not sure how to fix this. I tried to offset all the glyphs by the height of the first one, which fixes the case of the last character being a mark, but break when the before last character is a mark. I appreciate any suggestions how to move this forward.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180228/8c89d562/attachment.html>


More information about the webkit-unassigned mailing list