[Webkit-unassigned] [Bug 262037] New: [GTK] Print should always use scale 1.0, not the screen scale

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 25 07:06:07 PDT 2023


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

            Bug ID: 262037
           Summary: [GTK] Print should always use scale 1.0, not the
                    screen scale
           Product: WebKit
           Version: Other
          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

Moving this from a downstream bug report:
https://gitlab.gnome.org/GNOME/evolution/-/issues/2525

When printing a page with system-set scaling other than 1.0 (I managed to reproduce at least under GNOME with gnome-tweaks->Fonts->Scaling factor set to 2.00, but I guess the screen scale for hiDPI might work similarly), then this scale factor should be ignored when sending the page to the printer, to save space and paper and toner and electricity.

This is with webkit2gtk4.1-2.42.0-1.fc38.x86_64

Steps:
a) verify the gnome-tweaks->Font->Scaling factor is 1.00
b) run from a terminal:
   /usr/libexec/webkit2gtk-4.1/MiniBrowser https://www.webkitgtk.org
c) once the page loads, use the menu button->Print
d) Choose "Print to File" and select the file, then confirm the print
e) quit the Minibrowser
f) set the gnome-tweaks->Font->Scaling factor to 2.00
g) repeat steps b), c), d), just save to a different file

I'd expect the files from d) and g) will be the same, but the g) file has larger font.

-- 
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/20230925/7e5f096e/attachment.htm>


More information about the webkit-unassigned mailing list