[Webkit-unassigned] [Bug 67598] [Gtk] Some sites fall back to monospace fonts, when they should be using variable width

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Sep 30 07:20:42 PDT 2011


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





--- Comment #7 from Martin Robinson <mrobinson at webkit.org>  2011-09-30 07:20:42 PST ---
(In reply to comment #6)
> Requested Fonts on delicious.com: arial,helvetica,clean,sans-serif
> Requested Fonts on yahoo.com: arial,helvetica,clean,sans-serif
> (Maybe i used the inspector in the wrong way or they have really both the same fonts in this order)
> Installed TTF Fonts -> see attached file. 
> My configuration for using system fonts:
> Sans serif font: DejaVu Sans Book Size: 14
> Serif font: DejaVu Sans Book Size: 10
> Monospace font: DejaVu Sans Mono Book Size: 10
> 
> This is nearly the same configuration as i use in Firefox.
> 
> 
> Webkitgtk+ Version: 1.4.2-1

Sorry for the late response. I have a theory about what's happening here. I think that you are falling back all the way to sans-serif and the first sans-serif font that Fontconfig is giving us is monospace. Instead we should iterate through the list of fallback fonts until we find one that matches our request or add some other Fontconfig to the request pattern.

I just need a few pieces of information to confirm this theory. Can you please paste the output of the following command?

fc-match Arial
fc-match Helvetica
fc-match Clean
fc-match -a sans-serif

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