While experimenting with kbook.kbookPage.draw I came across two (2) issues with defsked sources.
- parentheses in calculations are missing
Code:
Original output:
rct.x = naturalBounds.x + naturalBounds.width - rct.width / 2;
needs to be
rct.x = naturalBounds.x + (naturalBounds.width - rct.width) / 2;
- arrays needs to be initialized before use
As I'm not into phyton it is way over my head to change anything in
igorsk great scripts, but just want to let you know.