[Webkit-unassigned] [Bug 258962] New: [GTK] Fonts are not rendered metrically equivalent vs other browsers (Firefox / Chrome) at normal font scaling, leading to broken page layouts

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jul 6 21:59:44 PDT 2023


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

            Bug ID: 258962
           Summary: [GTK] Fonts are not rendered metrically equivalent vs
                    other browsers (Firefox / Chrome) at normal font
                    scaling, leading to broken page layouts
           Product: WebKit
           Version: WebKit Local Build
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKitGTK
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: nekohayo at gmail.com
                CC: bugs-noreply at webkitgtk.org

Created attachment 466965

  --> https://bugs.webkit.org/attachment.cgi?id=466965&action=review

Offline HTML page sample test case

This may sound like bug #250987 / bug #250138, but it's not the exact same thing, because of one key difference: it manifests at normal (1.00) font scaling. It's more subtle / a potentially more rare occurrence though, so it was harder to spot compared to the other two bug reports.

The test case is the front page of https://themes.tiki.org

That website demonstrates that Epiphany 44.3 / WebKitGTK 2.40.3 renders fonts in an incompatible way that breaks layouts compared to Firefox 115 and Chromium 114, with default font scaling at 1.00x.

Since that website might change in the future, I'm attaching not only screenshots, but also an offline HTML version saved using Firefox; Epiphany seems able to open it.

As you can see in the attached screenshots, Epiphany renders all the fonts consistently fatter/bigger than other browsers. Firefox and Chromium render the font metrically identically among themselves, WebKitGTK is the outlier, and a ton of website layouts break in various ways when browsed with Epiphany. I was unable to find out why it renders differently in Epiphany vs the rest, given that my font settings are at the defaults. Enlarging the window width or shrinking the zoom level does nothing to improve results with the test case above.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230707/8d7e3db7/attachment.htm>


More information about the webkit-unassigned mailing list