Closed Bug 568438 Opened 12 years ago Closed 12 years ago

Fontsize handling in nsSystemFontsQt.cpp breaks for fonts with pixel size set

Categories

(Core Graveyard :: Widget: Qt, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: steffen.imhof, Assigned: steffen.imhof)

Details

Attachments

(1 file, 1 obsolete file)

The code in nsSystemFontsQt.cpp assumes that the Qt default font has a point size which gets turned into pixels.

But if the default font only has a pixel size, the point size returns -1 and the whole rendering of unstyled elements if totally off.
Attachment #447723 - Flags: review?(dougt)
Assignee: nobody → steffen.imhof
Sorry, the first patch was missing a closing brace.
Attachment #447723 - Attachment is obsolete: true
Attachment #447729 - Flags: review?(dougt)
Attachment #447723 - Flags: review?(dougt)
Attachment #447729 - Flags: review?(dougt) → review+
http://hg.mozilla.org/mozilla-central/rev/19a458b7ab57
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.