[Webkit-unassigned] [Bug 225912] New: [GTK] Regression after bug #218450

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue May 18 02:55:51 PDT 2021


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

            Bug ID: 225912
           Summary: [GTK] Regression after bug #218450
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKitGTK
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mcrha at redhat.com
                CC: bugs-noreply at webkitgtk.org

The changes for bug #218450 removes default font size recalculations for higher DPI, which means the DPI scaling is applied twice to some fonts. This is visible on the named font sizes, like the `medium` and others, which are derived from the default font size. The webkit_settings_font_size_to_pixels() applies the DPI scaling and the scaling is applied again after the change for the bug #218450. To make it work properly the default font sizes can be calculated for 96 DPI only, but it's not what the WebKitSettings properties are meant to be, because they expect raw pixel size.

This had been reported downstream as:
https://gitlab.gnome.org/GNOME/evolution/-/issues/1485

-- 
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/20210518/28c9822f/attachment-0001.htm>


More information about the webkit-unassigned mailing list