<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&#64;webkit.org" title="Martin Robinson &lt;mrobinson&#64;webkit.org&gt;"> <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">&gt; Hi there, it is a bit unclear to me what the status of this bug/patch is.
&gt; I came here from a fairly interesting discussion on
&gt; <a href="https://bugzilla.gnome.org/show_bug.cgi?id=752533">https://bugzilla.gnome.org/show_bug.cgi?id=752533</a>
&gt; 
&gt; The problem is if you have this:  font-family: Arial,Helvetica,sans-serif;
&gt; 
&gt; Epiphany+WebKit goes through that list, and as Arial and Helvetica are not
&gt; found on the system, when it hits &quot;sans-serif&quot; it then asks for GNOME's
&gt; default &quot;sans&quot; font, which happens to be DejaVu Sans Book; the problem with
&gt; that is that on Linux systems, there are often much better matches
&gt; available, such as Liberation Sans (metrically equivalent to Arial, thus
&gt; preserving the page's intended layout). So what I'm suggesting is that when
&gt; you hit the generic &quot;sans-serif&quot; CSS rule, you ask fc-match for the font
&gt; corresponding to the first non-generic font of the list (so, in a way, a
&gt; &quot;second pass&quot;). Is this what this bug report &amp; 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>