Bug 49879 - [Qt] FontPlatformDataQt: Use pixelsize not pointsize
: [Qt] FontPlatformDataQt: Use pixelsize not pointsize
Status: RESOLVED INVALID
: WebKit
WebKit Qt
: 528+ (Nightly build)
: PC Mac OS X 10.5
: P2 Normal
Assigned To:
:
: Qt, QtTriaged
:
: 49759
  Show dependency treegraph
 
Reported: 2010-11-21 05:01 PST by
Modified: 2010-11-22 14:08 PST (History)


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


Note

You need to log in before you can comment on or make changes to this bug.


Description From 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 From 2010-11-21 05:04:02 PST -------
Created an attachment (id=74499) [details]
Patch
------- Comment #2 From 2010-11-21 05:37:06 PST -------
Benjamin, does this look correct to you?