momijizukamori / bookbinder-js

A JS application to format PDFs for bookbinding.
Mozilla Public License 2.0
139 stars 31 forks source link

Fix Alternate Rotation issue (only with Folio) #68

Open sithel opened 9 months ago

sithel commented 9 months ago

possibly related to https://github.com/momijizukamori/bookbinder-js/issues/39

Screen Shot 2024-01-03 at 6 52 33 PM

as debugged on call! yaaaaaaaay! Thanks @ReachBlueDot & @momijizukamori

My suggestion is hack at calculate_dimensions() -- look around let layout = this.page_layout; and corner case the fuck out of folio duplex to add in page rotations

Maybe then also look at the page ordering over in BOOKLET_LAYOUTS (in constants.js)