Jspdf: Clearer guidance for generating from HTML

Created on 25 May 2017  路  5Comments  路  Source: MrRio/jsPDF

I'm interested in learning what my best options are for generating PDFs from HTML using jsPDF.

It seems like with the blurry text issues being reported as well as the deprecated API, things are in a slight state of limbo.

Is there currently a clear way forward for generating from HTML with perhaps some good clean examples, or is this something you guys are moving away from?

All 5 comments

Well right now it seems that @MrRio is rewriting the whole jspdf to a new version 2 with utf-8 support. Utf-8 support will be a huge step for jspdf. Never forget, that nobody stops you to write your own html to pdf renderer. An out of the box solution can be but doesnt have to be perfect for all use cases.

@arasabbasi What is your basis for that @MrRio is rewriting jspdf to utf-8? Sounds awesome if true!

@simonbengtsson
He wrote it somewhere. Can't find the reference now...

@atrauzzi did you find some solution to generate PDF with HTML in jsPDF?

I ended up just using wkhtmltopdf.

Was this page helpful?
0 / 5 - 0 ratings