WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 31294
[Qt] Font selection of generic fonts is broken
https://bugs.webkit.org/show_bug.cgi?id=31294
Summary
[Qt] Font selection of generic fonts is broken
Simon Hausmann
Reported
2009-11-10 08:02:31 PST
The Qt port does not correctly choose the fonts specified in HTML/CSS. This is a placeholder bug that we classify as showstopper for Qt 4.6.
Attachments
Add attachment
proposed patch, testcase, etc.
Tor Arne Vestbø
Comment 1
2009-11-10 08:07:35 PST
In FontCache::getCachedFontPlatformData() we ignore the family argument which contains the resolved real font family from the web settings, and instead we pass on the generic font family to Qt. See also
http://www.w3.org/TR/CSS2/fonts.html#generic-font-families
Quick fix here:
http://gist.github.com/230871
Will try patch against 4.5 first to not mess up the buildbot too much.
Simon Hausmann
Comment 2
2009-11-23 05:31:36 PST
I believe this may be the same as
bug #22896
Jocelyn Turcotte
Comment 3
2009-11-25 06:52:04 PST
***
Bug 22896
has been marked as a duplicate of this bug. ***
Tor Arne Vestbø
Comment 4
2009-12-21 04:24:17 PST
This was fixed in
r51758
Jocelyn Turcotte
Comment 5
2010-01-14 08:06:00 PST
***
Bug 29458
has been marked as a duplicate of this bug. ***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug