Answer the question
In order to leave comments, you need to log in
Is there a normal HTML to PDF converter?
I've tried everything, but I haven't found anything that works.
The main problem is Cyrillic (and unicode in general).
Tried OpenPDF, iText (4th version), jsPDF... It doesn't work.
Or maybe I don't understand something? But has anyone ever converted HTML to PDF with Russian text?
What is surprising - for PHP there are normal libs and fully support Unicode, but neither for JAVA nor for JavaScript - there is nothing like that. :(
If someone converted HTML to PDF with Russian text (+ styles!) and everything worked out - share the secret of how you did it and with what help.
Thank you all!
Answer the question
In order to leave comments, you need to log in
call https://wkhtmltopdf.org/
or there are wrappers
https://github.com/jhonnymertz/java-wkhtmltopdf-wrapper
https://github.com/ztomic/wkhtmltopdf-java
Here I saved the entire HTML source of this question in PDF , in any browser there is this option - print -> save as pdf
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question