[Webkit-unassigned] [Bug 97261] New: [Chromium] Incorrect punctuation position/orientation in vertical CJK text using fonts without vhea and VORG table

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Sep 20 14:22:52 PDT 2012


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

           Summary: [Chromium] Incorrect punctuation position/orientation
                    in vertical CJK text using fonts without vhea and VORG
                    table
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: wangxianzhu at chromium.org
                CC: hyatt at apple.com, tkent at chromium.org,
                    peter at chromium.org, koansin.tan at gmail.com


Created an attachment (id=164980)
 --> (https://bugs.webkit.org/attachment.cgi?id=164980&action=review)
test case

On platforms using Source/WebCore/platform/graphics/skia/SimpleFontDataSkia.cpp and GlyphPageTreeNodeSkia.cpp, when vertical CJK text is displayed using a font without vhea and VORG tables, the punctuations are not displayed in correct position and/or orientation.

It occurs at least in the following scenarios:

- Layout test of chromium-linux. For example, the puctuations are not in correct position/orientation in the current *-expected.png of the following tests:
  fast/writing-mode/Kusa-Makura-background-canvas.html
  fast/writing-mode/japanese-lr-selection.html
  fast/writing-mode/japanese-lr-text.html
  fast/writing-mode/japanese-rl-selection.html
  fast/writing-mode/japanese-rl-text.html

- On chromium-android

I tried to comment out the checking of vhea and VORG tables in SimpleFontDataSkia.cpp, and both chromium-linux layout tests and chromium-android can display the test case correctly. I checked the font on chromium-android, and it has 'vert', but neither vhea nor VORG table has a non-zero length. I'm wondering if we can just remove the checking of vhea and VORG tables.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list