Bug 49879 - [Qt] FontPlatformDataQt: Use pixelsize not pointsize
Summary: [Qt] FontPlatformDataQt: Use pixelsize not pointsize
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Qt (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC OS X 10.5
: P2 Normal
Assignee: Nobody
Keywords: 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?