I transformed an HTML file into a pdf simply by:
pdfkit.from_file("cpp.html",'cpp.pdf')
Problem is that the font-size is very small.
How to increase the font-size (both of headers and paragraphs) using pdfkit? Obviously I want the headers font to remain bigger than the paragraphs font.
I guess I have to tweak the options, but I can't find how.
header-font-size
parameter you could pass. – Colonialismheader-font-size
anywhere :/ Anyways, what's the unit of measure I have to use? Because I've tried px and em but they don't work – Reprimand