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 54323
[Freetype] Better map CSS font weight to Fontconfig font weight
https://bugs.webkit.org/show_bug.cgi?id=54323
Summary
[Freetype] Better map CSS font weight to Fontconfig font weight
Martin Robinson
Reported
2011-02-11 16:28:55 PST
Right now we only make a distinction between bold and regular when mapping CSS font weight to Fontconfig font weight. This means that we don't always select the best font. We should be more discerning when asking Fontconfig for the appropriate font.
Attachments
Patch
(30.96 KB, patch)
2011-02-11 16:35 PST
,
Martin Robinson
xan.lopez
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Martin Robinson
Comment 1
2011-02-11 16:35:41 PST
Created
attachment 82206
[details]
Patch
Xan Lopez
Comment 2
2011-02-11 16:40:02 PST
Comment on
attachment 82206
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=82206&action=review
OK.
> Source/WebCore/platform/graphics/freetype/FontCacheFreeType.cpp:165 > + return FC_WEIGHT_ULTRABLACK;
ULTRA BLACK
Martin Robinson
Comment 3
2011-02-15 14:16:46 PST
Committed
r78614
: <
http://trac.webkit.org/changeset/78614
>
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