danfickle / danfickle/openhtmltopdf

How to auto scale PDF to fit A4 page

Open
#578 7 comments 0 reactions 1 assignee Claimed by @danfickle View on GitHub
Dominant language
Java
Stars
2.2k
Forks
423
PR merge metrics
No merged PRs in 30d

Description

I'm using `Open HTML to PDF` to generate PDF reports from simple html tables.

Sometimes, tables contain a big number of columns which overflows the right margin of the page.

I don't want to use [cut-off](https://github.com/danfickle/openhtmltopdf/wiki/Cut-off-page-support) solution. Instead, I'm trying to scale/resize the page content down to fit an A4 page size.

How can I dynamically scale down the content width to fit the page width?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.