cloudify / sPDF

Create PDFs from Scala using plain old HTML and CSS. Uses wkhtmltopdf on the back-end which renders HTML using Webkit.
Other
199 stars 52 forks source link

Configure DPI #39

Open jonandersen opened 7 years ago

jonandersen commented 7 years ago

I'm trying to configure the DPI option but can't find any option to do so. Is there a way to add your own parameters by overriding something? Currently PdfConfig.toParameters is hardcoded so I can't change what parameters are used. Maybe adding aval custom: Seq[String] = Seq() that can be overridden in the PdfConfig?

ecamellini commented 6 years ago

For the DPI option, I think you can use the zoom parameter (e.g., zoom := 4)