[PATCH] Printing
Lars Knoll
lars at trolltech.com
Thu May 23 09:29:54 BST 2002
> 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?
Cheers,
Lars
More information about the kfm-devel
mailing list