Open barryparkin opened 9 years ago
Hi I'm having similar issues with page breaks. iOS-htmltopdf seems to create a large amount of whitespace after the page break. Any ideas how to fix this? @iclems
Sorry, I don't have any specific info about this. If you do figure out a fix, please let us know
It seems that using break-after
instead of page-break-after
is doing the job. page-break-before
is also working for me but is inserting a white page "before" the breaking...
Unfortunately I have got the same problem: page-break-before is also working for me but is inserting a white page "before" the breaking... But break-after doesn't do anything at all. I doesn't any breaking. @Drusy: how exactly did you use break-after?
What am I to do? Thanks for any reply
CSS rule page-break-after seems to cause
[self prepareForDrawingPages: NSMakeRange(0, self.numberOfPages)];
to get caught in a loop until memory exhaustion.CSS rule page-break-before works perfectly.
Might be worth a note in the readme explaining this.