On Sun, 6 Jul 2008, Adam Blokus wrote:
The goals I had for this week were:
- adding a separate box structure for printed content - I left it so long
for debugging purposes(to immediately see some results) and its time to
change it :)
It has been done - the duplicated tree is quite strongly "grown" into the
original box tree, to save memory and not duplicate unnecessary data. Works
fine now, and there is no more any flickering, when we print a page.
This is cool. I've not looked in detail at your implementation, but it
sounds like a sane approach, in principle.
- adding clipping and/or resizing images or any other objects influencing
the width of pages
It was a minor change, but its done, and works ok - for example:
http://krym.ovh.org/krym_zdjecia/photos/photo13.php - You can see the big
picture being resized properly.
In some cases, images get split over page boundaries.
http://news.bbc.co.uk is probably a good test of this. Along with
http://www.bbc.co.uk, it shows potential issues with forcing positioned
boxes into static position. I've no sensible ideas here, mind you :)
Also, one of my patches for Haru has been added to its trunk - I hope that one
more will be added this week( I have sent it already), what would allow my
branch of netsurf to run with the latest official haru development version,
and not only the one from my branch.
Good news.
Let me know if you have any comments, requests, etc :)
I'm slightly unsure about the way you're modifying tables to fit the width
constraints. I wonder if it would be better to attempt to reflow the
contents of cells before breaking rows across multiple lines.
Cheers,
John.