0

The manual only shows how to set the header and footer font size. How do I set the body font size? http://wkhtmltopdf.org/usage/wkhtmltopdf.txt

3
  • 1
    header and footer are generated by wkhtmltopdf, so you can adjust their font size, body is converted from HTML to pdf with original settings, I don't think you can change its font size in the tool. – Máté Juhász Mar 31 '16 at 14:09
  • Yes, I just found I can set it with css in the html. Should I delete the question? – giorgio79 Mar 31 '16 at 14:21
  • @giorgio79 it's better to answer your question so others can use it as a source imo – conquistador Mar 31 '16 at 14:45
1

Just found meanwhile that wkhtmltopdf respects css font sizes and families set for classes, ids, etc.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.