Bug 49879

Summary: [Qt] FontPlatformDataQt: Use pixelsize not pointsize
Product: WebKit Reporter: Robert Hogan <robert>
Component: WebKit QtAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: benjamin
Priority: P2 Keywords: Qt, QtTriaged
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   
Bug Depends on:    
Bug Blocks: 49759    
Attachments:
Description Flags
Patch none

Robert Hogan
Reported 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.
Attachments
Patch (2.72 KB, patch)
2010-11-21 05:04 PST, Robert Hogan
no flags
Robert Hogan
Comment 1 2010-11-21 05:04:02 PST
Robert Hogan
Comment 2 2010-11-21 05:37:06 PST
Benjamin, does this look correct to you?
Note You need to log in before you can comment on or make changes to this bug.