[Webkit-unassigned] [Bug 185675] New: Canvas text with middle baseline alignment does not match vertically centered table cell text in certain languages

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 16 01:11:10 PDT 2018


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

            Bug ID: 185675
           Summary: Canvas text with middle baseline alignment does not
                    match vertically centered table cell text in certain
                    languages
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Canvas
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: jonlee at apple.com
                CC: dino at apple.com

Created attachment 340475

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

Test

See test page.

For each section I have a table cell that covers the full colored div. In the cell is vertically centered text.

On top of the cell is a canvas that covers the full colored div. I render the same text with textAlign center and textBaseline middle. The text animates side to side to show alignment.

For English, Cyrillic, Chinese, Japanese, Hebrew and Tamil, the alignment is pretty spot on.

For Korean and Tamil, the alignment is off by at most one point.

For Arabic, the alignment is off by more than one point.

-- 
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/20180516/2e2a2bcd/attachment.html>


More information about the webkit-unassigned mailing list