I am generating a PDF file from an HTML page using the jspdf addHTML plugin. This works, but the displayed text / font is really blurry, the original HTML page is not. Image rendering is in order, the problem is only in the text (see. Attached images).
original_image: http://111900.test-my-website.de/stackoverflow/orig.jpg
blurry_image: http://111900.test-my-website.de/stackoverflow/blurry.jpg
I read all the Google results for the last three days - maybe I'm the only person in the world, I have exactly this problem?!?! : /
I have added the following scripts to my code:
- spdf.js
- jspdf.plugin.from_html.js
- jspdf.plugin.split_text_to_size.js
- jspdf.plugin.standard_fonts_metrics.js
PDF generation code: pdf.addHTML(document.getElementById("container"),10,15,function() { var string = pdf.save(filename); });
jspdf , ? ?
,
user3972828