Summary: | [chromium] Bottom part of non-square glyphs in upright are cut off in vertical flow | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Koji Ishii <kojii> | ||||||
Component: | Layout and Rendering | Assignee: | takao | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | dominicc, efidler, syoichi, takao, xz911jp | ||||||
Priority: | P2 | ||||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | PC | ||||||||
OS: | Windows 7 | ||||||||
Attachments: |
|
Description
Koji Ishii
2012-12-23 11:09:54 PST
Created attachment 182510 [details]
Test flie: the bottom part is cut off in some glyphs in vertical flow
Created attachment 182511 [details]
Test file current result
As I created a test file, I found the issue assessment was incorrect. The issue is, when non-square glyphs are drawn, the bottom part of glyphs are cut off in certain size. Please see the attached test file and the current result image. As far as I tested, this issue occurs with MS PGothic 12pt and 14pt. Setting to different size, or using MS Gothic (which all of its glyphs are square) solve the issue. The bad part is that, MS PGothic is the default Japanese font, Chromium automatically choose it for sans-serif, and 12pt and 14pt are pretty common use cases. Another test example is at http://epub.nomaki.jp/121217/test-006.html I will work for fixing this bug. Could you assign to me? I found out what's wrong is skia, not WebKit. The bug can be fixed by modifying skia code, should I report detail to skia group rather than here? I reported to skia group: Issue 1138 - skia - Some TTF embedded bitmaps are drawn incompletely https://code.google.com/p/skia/issues/detail?id=1138 (In reply to comment #4) > Another test example is at http://epub.nomaki.jp/121217/test-006.html It does not seems same as the original matter. Should be managed on new report. skia has been fixed in r8069. https://code.google.com/p/skia/source/detail?r=8069 Chromium DEPS will be updated shortly. |