[Webkit-unassigned] [Bug 22827] RenderThemeWin buttons have weird heavy text

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Dec 12 14:15:03 PST 2008


https://bugs.webkit.org/show_bug.cgi?id=22827





------- Comment #2 from hyatt at apple.com  2008-12-12 14:15 PDT -------
This is wrong IMO.

-    fontDescription.setSpecifiedSize(abs(logFont.lfHeight));
+    fontDescription.setSpecifiedSize(fontSize);

Just pass in the size you want instead.  It's an argument to
fillFontDescription, so i don't see why you'd ignore the argument.

The rest of it looks good.  Eyeballing Mozilla's code they do indeed use the
stock DEFAULT_GUI_FONT for buttons.


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list