python pdfkit: increase font size -


i transformed html file pdf by:

pdfkit.from_file("cpp.html",'cpp.pdf') 

problem font-size small.

how increase font-size (both of headers , paragraphs) using pdfkit? want headers font remain bigger paragraphs font.

i guess have tweak options, can't find how.

in case manually setting dpi helped.

options = {     'dpi':96, } pdfkit.from_url(url,out_file,options=options) 

Comments