[Webkit-unassigned] [Bug 48234] Size of text in popup menu doesn't match size of text in <select> itself in WebKit2
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Feb 27 00:06:40 PST 2011
https://bugs.webkit.org/show_bug.cgi?id=48234
mitz at webkit.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #83960|review? |review-
Flag| |
--- Comment #4 from mitz at webkit.org 2011-02-27 00:06:40 PST ---
(From update of attachment 83960)
View in context: https://bugs.webkit.org/attachment.cgi?id=83960&action=review
r- since this breaks Qt and Windows. But please also consider my previous comments and the next one.
> Source/WebKit2/WebProcess/WebCoreSupport/mac/WebPopupMenuMac.mm:53
> + data.fontInfo.fontAttributeDictionary = fontDescriptorAttributes;
> + data.fontInfo.fontOverrideSize = frame->pageScaleFactor() == 1 ? 0 : ([[font fontDescriptor] pointSize] * frame->pageScaleFactor());
The “override” concept seems unnecessarily cumbersome. Why not simply make a mutable copy of the dictionary and change the font size attribute? Alternatively, since the UI process knows the page scale factor, why not leave this multiplication exercise up to it
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list