[Webkit-unassigned] [Bug 77437] freetype port: font fallback mechanism can try harder

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jul 19 09:12:37 PDT 2015


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

Jeff Fortin <nekohayo at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nekohayo at gmail.com

--- Comment #10 from Jeff Fortin <nekohayo at gmail.com> ---
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 https://bugzilla.gnome.org/show_bug.cgi?id=752533

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?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150719/00f023dc/attachment.html>


More information about the webkit-unassigned mailing list