<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - freetype port: font fallback mechanism can try harder"
href="https://bugs.webkit.org/show_bug.cgi?id=77437#c11">Comment # 11</a>
on <a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - freetype port: font fallback mechanism can try harder"
href="https://bugs.webkit.org/show_bug.cgi?id=77437">bug 77437</a>
from <span class="vcard"><a class="email" href="mailto:mrobinson@webkit.org" title="Martin Robinson <mrobinson@webkit.org>"> <span class="fn">Martin Robinson</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=77437#c10">comment #10</a>)
<span class="quote">> Hi there, it is a bit unclear to me what the status of this bug/patch is.
> I came here from a fairly interesting discussion on
> <a href="https://bugzilla.gnome.org/show_bug.cgi?id=752533">https://bugzilla.gnome.org/show_bug.cgi?id=752533</a>
>
> The problem is if you have this: font-family: Arial,Helvetica,sans-serif;
>
> Epiphany+WebKit goes through that list, and as Arial and Helvetica are not
> found on the system, when it hits "sans-serif" it then asks for GNOME's
> default "sans" font, which happens to be DejaVu Sans Book; the problem with
> that is that on Linux systems, there are often much better matches
> available, such as Liberation Sans (metrically equivalent to Arial, thus
> preserving the page's intended layout). So what I'm suggesting is that when
> you hit the generic "sans-serif" CSS rule, you ask fc-match for the font
> corresponding to the first non-generic font of the list (so, in a way, a
> "second pass"). Is this what this bug report & patch is about? </span >
I believe it doesn't ask for GNOME's default first, but WebKit's default. This can be configured using the API for GTK+ <a href="http://webkitgtk.org/reference/webkit2gtk/stable/WebKitSettings.html#webkit-settings-get-sans-serif-font-family">http://webkitgtk.org/reference/webkit2gtk/stable/WebKitSettings.html#webkit-settings-get-sans-serif-font-family</a> and there is also a setting in Epiphany. I think that if WebKit isn't using the font from the API settings than that is a bug.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>