[Webkit-unassigned] [Bug 12324] User needs to be able to set Lucida Grande "italic"

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 22 16:26:04 PDT 2010


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


Darin Adler <darin at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|InRadar                     |NeedsRadar




--- Comment #16 from Darin Adler <darin at apple.com>  2010-09-22 16:26:04 PST ---
(In reply to comment #14)
> (In reply to comment #10)
> > As to the bug itself: WebKit’s API follows AppKit in only allowing you to use real typefaces and not synthesized ones. This is similar to how if you select some text in Lucida Grande in TextEdit, then Format > Font > Italic is disabled.
> 
> Do you know where we're deciding this?  I've been looking through WebCore / WebKit but I can't find the place where we update the menu item status.

This is a complicated topic. I’m not surprised you couldn’t find the code in WebKit because WebKit doesn’t get consulted.

The menu in question has the selector addFontTrait: and points to the NSFontManager object. The NSFontManager’s validateMenuItem: and validateUserInterfaceItem: methods decide whether the menu item should be enabled or not by looking at the available fonts directly and does not consult WebKit.

Influencing the AppKit behavior in cases like this where we don’t like it may require some tricky Mac-specific work and possibly even changes to AppKit.

-- 
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