[PATCH] Printing

Vadim Plessky lucy-ples at mtu-net.ru
Thu May 23 14:00:01 BST 2002


On Thursday 23 May 2002 12:29, Lars Knoll wrote:
|  > The following patch fixes the "problem" with a small part of the text
|  > being repeated at the top of the next page.
|
|  Hmmm... that's a lot easier than doing real paged layout, but will solve
| the printing problem. Great idea :)
|
|  The patch looks almost good. One point:
|
|  Your lineheight calculation is to high (doesn't really matter as it'll
| only cut off to early in that case, but I think
|
|  int lh = lineHeight( false ) + paddingBottom() + borderBottom();
|
|  would be more correct. This will give you the correct lower edge of what
| gets painted for the line.
|
|  Maybe we should also backport this to the 3.0 branch?

Yes, please! :-)
|
|  Cheers,
|  Lars

-- 

Vadim Plessky
http://kde2.newmail.ru  (English)
33 Window Decorations and 6 Widget Styles for KDE
http://kde2.newmail.ru/kde_themes.html
KDE mini-Themes
http://kde2.newmail.ru/themes/





More information about the kfm-devel mailing list