Print under windows is scaled down on top of page, very small font
https://bugs.webkit.org/show_bug.cgi?id=143563
Summary Print under windows is scaled down on top of page, very small font
Mikkel Kruse Johnsen
Reported 2015-04-09 07:01:44 PDT
When trying to print on Windows I get Microsoft Visual C++ Runtime Error This is Webkitgtk3 2.2.8 (From Fedora 21 mingw32-webkitgtk3-2.2.8 and with mingw32-gtk-3.14.10)
Attachments
Show size on print (25.68 KB, image/png)
2015-05-21 03:35 PDT, Mikkel Kruse Johnsen
no flags
This patch scales the content so it is correct on Windows. (1017 bytes, patch)
2016-07-19 08:16 PDT, Mikkel Kruse Johnsen
mikkel: review+
This patch scales the content so it is correct on Windows. (999 bytes, patch)
2016-07-19 23:21 PDT, Mikkel Kruse Johnsen
mikkel: review+
mikkel: commit-queue?
Mikkel Kruse Johnsen
Comment 1 2015-04-09 07:08:04 PDT
Mikkel Kruse Johnsen
Comment 2 2015-05-19 02:49:33 PDT
I just read that Webkitgtk 2.8 is not about to come to Windows. So I really need to resolve this bug, so I can print under Windows with 2.2 (2.4), please could someone help.
Mikkel Kruse Johnsen
Comment 3 2015-05-21 03:35:32 PDT
Created attachment 253516 [details] Show size on print Just updated to Gtk 3.16 and that seems to have resolved the problem with Runtime Error, when printing under Windows. My problem is now that the page is scaled down to very small size in the top of the page. See attached screenshot.
Mikkel Kruse Johnsen
Comment 4 2015-05-21 06:32:02 PDT
Just update to Webkitgtk-2.4.9 (Gtk3) on Windows 8.1. It's the same problem.
Mikkel Kruse Johnsen
Comment 5 2016-07-19 08:16:06 PDT
Created attachment 284006 [details] This patch scales the content so it is correct on Windows. I finally found a way to scale the output. I am not 100% sure why I need to divide by 100. But it works.
Mikkel Kruse Johnsen
Comment 6 2016-07-19 09:39:39 PDT
Not complete yet.
Mikkel Kruse Johnsen
Comment 7 2016-07-19 23:21:47 PDT
Created attachment 284087 [details] This patch scales the content so it is correct on Windows. This is the right patch. It needs to scale the page down to the size of the paper. It now makes sense, dividing with 96 which is the standard DPI, but not on windows.
Note You need to log in before you can comment on or make changes to this bug.