Hi everyone :) 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. > - adding font measuring function support - now, we are measuring one font, > while using another Done, too. I think there might be a better solution for passing the font measuring functions than the one that I use right now (saving a link to the struct in content.data.html) , but the general mechanism is completed and works. Also, it needs a little "calibration", as still edges of text lines can be seen cropped. > - taking into consideration some more text style passed to pdf plotting - > now its just scaled and plotted with the default font It works for the most important: generic font families and italic/bold style. We are using the default pdf fonts now. > - 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.
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. I also experimented a little with the gtk printing dialog, and hope to be able to add it soon. I consulted rjek and it seems to be a question of handling the dialog and creating one more plotter for gtk printing - similar to the already used gtk_plotters. During the following week I would like to add some basic support for the gtk printing dialog, calibrate and clean up the code from this week and start working again with haru - it is crashing to often (for example when handling some png images ) and no one finished the unicode support that was once started as a discussion on their mailing list. Let me know if you have any comments, requests, etc :) Adam
