Skip to content

Add scale option for page break pad height#252

Closed
timup wants to merge 1 commit intoeKoopmans:masterfrom
timup:master
Closed

Add scale option for page break pad height#252
timup wants to merge 1 commit intoeKoopmans:masterfrom
timup:master

Conversation

@timup
Copy link
Copy Markdown

@timup timup commented Sep 10, 2019

This adds an option to the opt parameter, scale. Scale is intended as a multiplier for the page break pad height. In my use case, I am creating a canvas twice as wide as the eventual pdf, so that charts render in their full width, however this influences the page break feature - the page height is only 1/2 the height needed, when I have doubled the width.

Screen Shot 2019-09-10 at 9 52 50 AM (2)

The screenshot shows the result- where the page break pad is only 1/2 the height that it needs to be. I'm sure there's a better way to name this, or a more universal way to work this in, so I am open to any suggestions and can rework this as needed.

@timup
Copy link
Copy Markdown
Author

timup commented Sep 10, 2019

It looks like #170 handles this same issue... perhaps in a better way.

@timup
Copy link
Copy Markdown
Author

timup commented Sep 10, 2019

Yes - #170 handles this, but without the need for an additional option.

@timup timup closed this Sep 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant