[Webkit-unassigned] [Bug 29430] [Qt] QWebView font size formatting through CSS does not match Qt's native font sizes

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jan 11 11:01:09 PST 2011


kasthuri <kasthuri.n-s at nokia.com> changed:

           What    |Removed                     |Added
                 CC|                            |kasthuri.n-s at nokia.com

--- Comment #5 from kasthuri <kasthuri.n-s at nokia.com>  2011-01-11 11:01:09 PST ---
The problem seems to be with the test case.  QFont constructor assumes font size to be in terms of number of points.  But the CSS part in the test case is setting the font-size in terms of number of pixels.  That's why we are seeing the difference in displayed text size.

So if we set the CSS font-size to be "40pt" or set the QFont size in terms of pixels explicitly,

QFont fnt("Arial");

then the displayed texts have the same size.

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