[Webkit-unassigned] [Bug 20531] make alternativeFamilyName platform-dependent

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 26 17:53:44 PDT 2008


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


eric at webkit.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #23010|                            |review-
               Flag|                            |




------- Comment #2 from eric at webkit.org  2008-08-26 17:53 PDT -------
(From update of attachment 23010)
Hum... it seems instead of copying this function to each platform, there should
just be a shared function which platforms can choose to call or not?  I assume
part of this is that you're suggesting that some platforms don't want these
mappings?

Or maybe this should just be a case-ignoring HashMap:

HashMap<AtomicString, AtomicString, CaseFoldingHash>

Then the "default" alternateFamilyName hash can be provided by a private
function on FontCache (in FontCache.cpp) and platforms can provide their own
alternateFamilyName implementation which either does a lookup in this provided
HashMap, or modifies the HashMap, or just does their own lookup disregarding
the HashMap.


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