diff options
author | Lubomir I. Ivanov <neolit123@gmail.com> | 2013-07-12 14:08:25 +0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-07-18 12:00:12 -0700 |
commit | b722bf6931da3162b8c5c2608f477d9e9c4b5148 (patch) | |
tree | 63835cde0605d732d31c0822bfa26240a10d490c /info.h | |
parent | 2bfda14c0b39eb7594ee50b5511c51903845d983 (diff) | |
download | subsurface-b722bf6931da3162b8c5c2608f477d9e9c4b5148.tar.gz |
Print: improve new page detection in table print
There is a potential issue when placing a heading on a new
page. If the height of a data row is larger of that of
a heading, a new heading can end up at the bottom of a page
leaving that page with two headings.
To solve that we add line breaks (<br>) until the new
page is reached and add the heading there. Algorithm
assumes that the height of a heading is larger than
a line break. Also it is now obviously even slower.
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Diffstat (limited to 'info.h')
0 files changed, 0 insertions, 0 deletions