Bug 75657 - Printing konqueror web pages results in very large fonts
Summary: Printing konqueror web pages results in very large fonts
Status: RESOLVED DUPLICATE of bug 71202
Alias: None
Product: konqueror
Classification: Applications
Component: khtml renderer (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR wishlist
Target Milestone: ---
Assignee: Konqueror Developers
Depends on:
Reported: 2004-02-20 00:10 UTC by Wilbur Pan
Modified: 2005-11-12 02:18 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:

Web page as displayed in konqueror (380.89 KB, image/png)
2004-02-20 00:13 UTC, Wilbur Pan
Print preview of webpage (336.97 KB, image/png)
2004-02-20 00:14 UTC, Wilbur Pan

Note You need to log in before you can comment on or make changes to this bug.
Description Wilbur Pan 2004-02-20 00:10:43 UTC
Version:            (using KDE KDE 3.2.0)
Installed from:    Gentoo Packages
Compiler:          gcc 3.3.2 
OS:          Linux

When I try to print web pages from Konqueror, the fonts that come out of my printer are very large.  This actually has been a problem since KDE 3.1.3 for me, and I was hoping that the 3.2 release would fix this.  Unfortunately, it hasn't.

I will upload some screen shots as well.
Comment 1 Wilbur Pan 2004-02-20 00:13:07 UTC
Created attachment 4782 [details]
Web page as displayed in konqueror

This screenshot shows what a webpage (from my search through the KDE Bugzilla,
actually) looks like on my system.
Comment 2 Wilbur Pan 2004-02-20 00:14:42 UTC
Created attachment 4783 [details]
Print preview of webpage

This screenshot shows the print preview for this webpage.  As you can see, the
fonts are considerably larger.
Comment 3 Liz Young 2004-03-28 19:06:03 UTC
Version:(KDE 3.2.1, (testing/unstable))
Installed From: Debian Sid
Compiler: gcc version 3.3.3 (Debian)
OS: Linux

Confirming, can reproduce this issue in Debian Sid.  Works properly in Testing version (3.1.5), broken in Sid (3.2.1).
Comment 4 Carl Thompson 2004-04-02 19:18:05 UTC
There really ought to be a way to specify the default font size for printing just as there is for displaying on screen.
Comment 5 Philippe Rigault 2004-04-30 21:52:58 UTC
Yes, this is very annoying, because the workaround (temporarily setting smaller font size in Konqueror, print, resetting original font size) is a pain.

I agree with comment#4, and would go even further: there should be a specific 'print font' menu, where the user could specify font family _and_ size for all fonts. The reason is that some fonts print well and render less well on a screen and vice versa.
In terms of presentation, I suggest two tabs (Display Fonts/Printing Fonts), each of them containing the font menu (Standard/Fixed/Serif/Sans serif/Cursive/Fantasy).

In addition, KDE could be smarter for the default behaviour, when no printing fonts are explicitely set. The reason why there is a size discrepancy in the first place is that screen resolution (available in the 'Info Center', or simply with `xdpyinfo | grep resolution`) is different from printing resolution. Printing resolution is, I think, assumed to be 72dpi, and screen resolution is usually higher (for example 101x101 on a 21" 1600x1200 screen).
So the right thing to do by default is to dynamically correct by the ratio screen/print resolution. 

Comment 6 Stephan Kulow 2004-11-12 15:28:44 UTC
I see this as a wishlist. 
BTW: you can do all that described in #5. Set a user style sheet with 
@media print {
  body {
     font-family: monospace;
     font-size: 8pt;
Comment 7 Wilbur Pan 2004-11-12 15:48:42 UTC
The print font menu I can see as being a wishlist, but it still does not address the original issue, which should be a bug.  Any normal person would expect that if you print what you are seeing in a web browser, that the printout would look pretty close to  what you see on the screen.
Comment 8 Carl Thompson 2004-11-12 20:10:25 UTC
I agree with Wilber. Reasonable sized printing is not a feature, but a necessity.
Comment 9 Maksim Orlovich 2005-01-05 22:56:50 UTC

*** This bug has been marked as a duplicate of 71202 ***
Comment 10 yossarian holmberg 2005-11-12 02:18:18 UTC
this continues to be a serious thorn with many people.  mozilla firefox and konqueror, for example, both refuse to print what you see on your browser screen correctly after a text size increase or decrease.  they just totally ignore it.  this is ridiculous.  microsoft's internet explorer has been printing resized text 'correctly' for well over 3 years now.  why is this taking so long?  firefox for win32 exhibits the same behaviour.  attempts at reporting and getting the bug fixed at firefox's bugzilla has usually resulted in being told by developers that it's doing exactly what it should do.  users do not want a headache; they want to print what they see.