[Webkit-unassigned] [Bug 50147] [Qt] 4 fast/text tests fail with Qt 4.7.1

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 31 11:15:41 PDT 2011


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





--- Comment #4 from Joe Wild <joseph.wild at nokia.com>  2011-03-31 11:15:41 PST ---

I no longer think this is a font issue.  I think it was introduced
in the middle of 2010 with Qt 4.7.  floatWidthForSimpleText was
introduced in r61002.

If I change the call to width() in floatWidthForSimpleText to be
similar to the complex path (floatWidthForComplexText), then this
seems to work.  I would also assume taking the complex path would work
since the 2 routines are almost identical other than the call to
width().

#if 0
    int w = QFontMetrics(font()).width(string, -1, Qt::TextBypassShaping);
#else
    int w  = QFontMetrics(font()).width(string);
#endif

Do you have any advice on how to best correct?  Should we be taking the
complex path for zero-width chars?  Or is there something deeper wrong?

-- 
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