[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    HTML printing: funny effects...
From:       Michael Goffioul <goffioul () imec ! be>
Date:       2001-05-23 14:26:14
[Download RAW message or body]

Hi,

I noticed that the html widget changes its behaviour when printing, to adjust
page content to physical page size. After looking at the code, I understood
that the paint device is scaled down by a factor (HTML width)/(physical width).
However this has some funny effects, I report here tests made on KDE home page
with konqueror (CVS from 21/05):
  - font size is also changed, so text looks much smaller (unreadable) when
    printing. The font size should be multiplied by the scale factor
  - it seems the HTML width is the maximum between real HTML content width, and
    HTML widget width. This is has the (funny) side effect that the scale factor
    is dependent on the konqueror window width. This also means that the
    print result is dependent on the window size. I made the test with KDE home
    page: one try with a very small konqueror window, and another try with
    window maximized. In the first case, the HTML width is lower-limited to
    the size of the top image, which result in medium quality result (fonts are
    still scaled). In the second case, as the HTML width is large, so is the
    scale factor, which results in the whole HTML page contained in a small area
    in the upper left corner of my page with completely unreadable tiny text...

Bye.
Michael.

-- 
------------------------------------------------------------------
Michael Goffioul		IMEC-DESICS-MIRA
e-mail: goffioul@imec.be	(Mixed-Signal and RF Applications)
Tel:    +32/16/28-8510		Kapeldreef, 75
Fax:    +32/16/28-1515		3001 HEVERLEE, BELGIUM
------------------------------------------------------------------

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic