Bug 49879 - [Qt] FontPlatformDataQt: Use pixelsize not pointsize
: [Qt] FontPlatformDataQt: Use pixelsize not pointsize
Product: WebKit
Classification: Unclassified
Component: WebKit Qt
: 528+ (Nightly build)
: PC OS X 10.5
: P2 Normal
Assigned To: Nobody
: Qt, QtTriaged
Depends on:
Blocks: 49759
  Show dependency treegraph
Reported: 2010-11-21 05:01 PST by Robert Hogan
Modified: 2010-11-22 14:08 PST (History)
1 user (show)

See Also:

Patch (2.72 KB, patch)
2010-11-21 05:04 PST, Robert Hogan
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Hogan 2010-11-21 05:01:27 PST
QFont::pointSizeF always returns -1 if you use setPixelSize() like FontPlatformDataQt. So use pixelSize rather than pointSizeF elsewhere in the class.
Comment 1 Robert Hogan 2010-11-21 05:04:02 PST
Created attachment 74499 [details]
Comment 2 Robert Hogan 2010-11-21 05:37:06 PST
Benjamin, does this look correct to you?