[Webkit-unassigned] [Bug 35583] if font-family lists several generic families, the last one takes precedence
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Mar 3 11:40:14 PST 2010
https://bugs.webkit.org/show_bug.cgi?id=35583
--- Comment #9 from mitz at webkit.org 2010-03-03 11:40:14 PST ---
So I noticed that
platform/graphics/chromium/FontCacheChromiumWin.cpp
platform/graphics/chromium/FontCacheLinux.cpp
platform/graphics/gtk/FontPlatformDataGtk.cpp
platform/graphics/gtk/FontPlatformDataPango.cpp
platform/graphics/wx/FontPlatformDataWx.cpp
are the only files in platform/graphics that refer to the generic family in the
font description. The Mac, Windows and Qt implementations don’t do this. I
think this is the problem. The mapping from generic family to concrete family
happes through the -webkit-* family names (e.g. -webkit-serif) and the Settings
object in CSSFontSelector. I don’t know why the aforementioned ports don’t take
advantage of that and do platform-level mapping.
--
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