You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1. create a PDF with addCell long enough to span two pages
What is the expected output? What do you see instead?
The page should break before the bottom margin. Instead it goes to the end
of the page height.
Please provide any additional information below.
Two lines of code should change:
line 404 should read:
private function setAutoPageBreak( auto:Boolean,margin:Number,t:Number=0 ):void
currently margin is set to int in this method which is not consistent with
margin elsewhere in the script.
line 245 should read:
setAutoPageBreak (true, margin * 2 );
The multiplier of 2 is consistent with the approach taken in FPDF and
produced the correct result in my testing (unlike the bitwise operator).
Thanks for a great library! - Kevin
Original issue reported on code.google.com by heythere...@gmail.com on 28 Jan 2008 at 8:33
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
heythere...@gmail.com
on 28 Jan 2008 at 8:33The text was updated successfully, but these errors were encountered: