Bug 78264 - ability to modify print font size
Summary: ability to modify print font size
Alias: None
Product: konqueror
Classification: Applications
Component: khtml printing (show other bugs)
Version: 3.2.1
Platform: Mandrake RPMs Linux
: NOR wishlist
Target Milestone: ---
Assignee: Konqueror Developers
Depends on:
Reported: 2004-03-23 00:21 UTC by andrea
Modified: 2009-01-21 20:51 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:

Display and printout font difference (5.80 KB, image/png)
2004-05-06 16:30 UTC, Andrey Cherepanov

Note You need to log in before you can comment on or make changes to this bug.
Description andrea 2004-03-23 00:21:23 UTC
Version:           3.1.4 (using KDE KDE 3.1.4)
Installed from:    Mandrake RPMs
OS:          Linux

I can't modify print font size to get the contents fitting in more or less pages:
I have always the same standard font size output when printing:that's not a bad size but I should have the possibility to change the number of pages the printer is going to print.

It should correspond to the current zoom level
Comment 1 Carl Thompson 2004-04-02 19:23:09 UTC
This problem still exists in KDE 3.2.1. The default font seems much too big for me!  I should be able to configure the default printer font and size separately.
Comment 2 Dominic Battre 2004-04-05 16:02:40 UTC
These might be places to attack the problem:
kdelibs/khtml/khtml_printsettings.cpp and
kdelibs/khtml/khtmlview.cpp:KHTMLView::print(bool quick)

I have not tried it because I don't have a working cvs version running here but the problem probably boils down to changing

m_part->xmlDocImpl()->styleSelector()->computeFontSizes(&metrics, 100);

in kdelibs/khtml/khtmlview.cpp:KHTMLView::print(bool quick) to something like

m_part->xmlDocImpl()->styleSelector()->computeFontSizes(&metrics, (int)(100*myZoomFactor));

If that is correct, it should be really simple to implement this wish.
Comment 3 andrea 2004-04-09 00:01:12 UTC
I'm sorry Dominic Battre..I don't understand this
Comment 4 Joseph Reagle 2004-04-27 03:07:36 UTC
I'm using 3.2.2 and can't figure out how to change the fonts/scaling for printouts. (The viewed size doesn't affect printed size.)
Comment 5 Andrey Cherepanov 2004-05-06 16:30:41 UTC
Created attachment 5898 [details]
Display and printout font difference

I have this problem too: base and smallest font set up to 9pt. But in the
printout I get HUGE symbols (~14pt). Turn attention also on too closed to each
other symbols.
Comment 6 amth 2004-06-04 16:24:58 UTC
Could there be a (configurable) "fyzzy scaler" that would scale the printout up/down depending on persentage of fuzziness given by the user?

I mean if user have indicated that he/she could live with +-10% scaling to fit the page to either one page less (in case <10% of the printout would go to the next page) or to scale the printout to the end of the page (if there is <10% free space on the last page)?!?

And of course similar schemas than there is in kwrite? That's very usable thing that have given huge amount of control (so if the end result sucks you can blame yourself only, not kde people ;-) to comfort to the environment/equipment user happen to have...
Comment 7 meldroc 2004-07-18 20:03:53 UTC
As of 7/18/2004, this bug still exists for me in Konqueror 3.2.3

I'm getting problems with font sizes as well when printing web pages from Konqueror.  Frequently, the fonts are way too big, making printouts look like children's coloring books.

Adding an option to specify printed font size would be great.
Comment 8 Liz Young 2004-07-29 18:14:43 UTC
Adding my vote for this option.  I can't use konq to print an html invoice from sql-ledger (accounting program) since 3.2.  Last worked correctly here with 3.1.1.
Comment 9 Tim Gutner 2004-12-31 16:19:34 UTC
Problem still exists in kde 3.3.1(a). Font size about 14-16pt.
Here on Suse 9.0 with newer rpm's.
Why not just re-use the functionality of kmail? There you can easyly adjust printout font and size for the mail-printout.
Comment 10 Maksim Orlovich 2005-01-05 22:55:46 UTC
http://bugs.kde.org/show_bug.cgi?id=75657#c6 shows how you can do it right now.
Comment 11 Tim Gutner 2005-01-05 23:10:40 UTC
Where do i have to set this up?

Additional info:
not even fonts are scaled to large, even images, combo boxes, sliders, _everything_ is about 50% to large. Try to print out this page! :)
Comment 12 Damir Perisa 2005-03-01 23:46:44 UTC
have a look at bug 100604 
Comment 13 Sebastian Reitenbach 2005-10-27 12:09:00 UTC
I experience very small font sizes in printouts of konqueror and kmail. e.g. mails received from expedia.de (travel bookings) include links which are twice the width of the rest of the text. When printing these mails from kmail or from a webmailer from konqueror, the link is not broken into multiple lines or cutted at the edge of the page. The whole link is printed, therefore the font size is rendered very small to be able to print the link in one size. The font are so small that they are nearly unreadable.
An ability to tweak the font size of html printout would be great.
Comment 14 Vito De Tullio 2008-09-22 07:38:14 UTC
Hi all,
just to know, are there any news (from kde3.x and kde4)?