[Webkit-unassigned] [Bug 147057] New: [Freetype] Always allow font matching for strong aliases

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jul 17 16:27:41 PDT 2015


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

            Bug ID: 147057
           Summary: [Freetype] Always allow font matching for strong
                    aliases
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Text
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mcatanzaro at igalia.com

Currently in FontCache::createFontPlatformData we allow font family substitution only during the configuration step but not during the matching step. This results in us missing obvious metric-compatible font matches, resulting in subpar font selection. E.g. headings on slashdot.com use font-family: Arial, serif, (an obvious bug), so we render them in serif, but we should use Liberation Sans instead because of this strong ("same") binding in 30-metric-aliases.conf:

    <!-- Microsoft -->
    <alias binding="same">
      <family>Arial</family>
      <accept>
        <family>Arimo</family>
        <family>Liberation Sans</family>
        <family>Albany</family>
        <family>Albany AMT</family>
      </accept>
    </alias>

We should continue to disallow font substitution except for strong bindings.

-- 
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/20150717/56a7fe87/attachment.html>


More information about the webkit-unassigned mailing list