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

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]
Patch
Comment 2 Robert Hogan 2010-11-21 05:37:06 PST
Benjamin, does this look correct to you?