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+
Martin Robinson
Comment 1 2011-02-11 16:35:41 PST
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
Note You need to log in before you can comment on or make changes to this bug.