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

giorgio79
  • 1,081
  • 5
  • 14
  • 21
  • 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 Answers1

1

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

giorgio79
  • 1,081
  • 5
  • 14
  • 21