khtml printing (Was: Fix for printouts without margins)
bastian at suse.com
Thu Jan 20 09:27:46 GMT 2005
On Tuesday 18 January 2005 23:15, Kurt Pfeifle wrote:
> On Tuesday 18 January 2005 21:46, Waldo Bastian wrote:
> > On Tuesday 18 January 2005 21:54, Kurt Pfeifle wrote:
> > > Cheers,
> > > Kurt [ who thinks it is by far more sucking that he cant control font
> > > sizes from khtml printing. After all, khtml can re-render font
> > > sizes for on-screen layout on the fly -- why not for on-paper
> > > layout. The way khtml determines font sizes is a mystery to me.
> > > It seems to take into account images on the page too, and
> > > scales them plus the text the same amount. Result is more often than
> > > not way to small fonts. Gimme a "Zoom Printed Font" control, please! ]
> > khtml tries to render the page so that it fits the width of the paper, if
> > the minimum width of the page is larger than the paper width, it will
> > render the page using this larger width and then scale the result down to
> > the paper width.
> I'll try to run a few more tests in the next days....
> But I recall to have seen cases (a few weeks ago) where the same page
> printed differently in each consecutive run (where not a single setting
> was changed in the meanwhile). And these were pages which had no table,
> or frame on them -- resizing the konqui window did let the text re-flow
> nicely, with accordingly different linebreaks....
> Try this page f.e. (use print preview to save the paper, or if you dont
> have a printer):
> (no fixed width on the page, text reflows depending on your Konqui
> window resizing).
Ah indeed, it fails to correctly use the width of the paper and uses the width
of the window instead. Fixed in khtml, please update and try.
bastian at kde.org | Free Novell Linux Desktop 9 Evaluation Download
bastian at suse.com | http://www.novell.com/products/desktop/eval.html
More information about the kde-core-devel