Summary: | [Qt] editing/selection/rtl-move-selection-right-left.html fails | ||
---|---|---|---|
Product: | WebKit | Reporter: | Csaba Osztrogonác <ossy> |
Component: | Tools / Tests | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | kadam, ossy, yael |
Priority: | P2 | Keywords: | Qt, QtTriaged |
Version: | 528+ (Nightly build) | ||
Hardware: | All | ||
OS: | All | ||
Bug Depends on: | |||
Bug Blocks: | 49511, 87008 |
Description
Csaba Osztrogonác
2011-01-21 04:11:38 PST
Added to the skipped list: http://trac.webkit.org/changeset/76343 Looks like QFontMetrics::width() is not returning the right size for Hebrew characters. It returns 4 as the size of each glyph, which is obviously wrong. (In reply to comment #2) > Looks like QFontMetrics::width() is not returning the right size for Hebrew characters. It returns 4 as the size of each glyph, which is obviously wrong. And this is happening only with DumpRenderTree. In QtTestBrowser, the width is correct. Both of them use font family "Times" for the Hebrew text. I removed the function DumpRenderTree::initializeFonts() from DumpRenderTreeQt.cpp, and this test passes. it is now clear to me that this is a font issue. Now this test is working on Qt. I'm going to removed from the Qt Test Expectations. I skipped it: http://trac.webkit.org/changeset/130385 Closing bug. |