momijizukamori / bookbinder-js

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

Supporting paper rotation (landscape) & source PDF rotations #37

Closed sithel closed 1 year ago

sithel commented 1 year ago

A heavily paired on PR that implements 2 types of rotations- both paper and (independently) source file. Now you can make extremely wacky looking layouts! 🙌 @Lottie16 & Six

This definitely could use another glance over- mucks with the main flow of existing code. Key changes:

THIS PAGE should let you test out the branch

Source Manipulation

Screen Shot 2023-05-01 at 6 25 55 PM Screen Shot 2023-05-01 at 6 26 10 PM

Paper Rotation

Screen Shot 2023-05-01 at 6 35 50 PM

Getting dangerously close to needing tests that run every time 🙄 I'm not feeling up to tackling that ATM however...

Added a couple screenshot examples to the doc/examples folder to get a sense of src rotation vs page rotation affects on a super-wide aspect ratio src document.

Lottie16 commented 1 year ago

I think this closes #28 ?