Wkhtmltopdf: TOC font-size

Created on 13 Jun 2018  路  3Comments  路  Source: wkhtmltopdf/wkhtmltopdf

Hi, I need change font-size in TOC
Global styling not working

* {
  font-size:8px !important;
}
NeedInfo

Most helpful comment

@marcrib a global styling does only work if you specify it in your custom xsl. to start, you can wkhtmltopdf --dump-default-toc-xsl > default.xsl then set your styling in the xsl and after that, call wkhtmltopdf with your xsl specified: wkhtmltopdf toc --xsl-style-sheet default.xsl

All 3 comments

what os? what version? is it a patched qt version?

@marcrib a global styling does only work if you specify it in your custom xsl. to start, you can wkhtmltopdf --dump-default-toc-xsl > default.xsl then set your styling in the xsl and after that, call wkhtmltopdf with your xsl specified: wkhtmltopdf toc --xsl-style-sheet default.xsl

Thanks @halkosajtarevic

Was this page helpful?
0 / 5 - 0 ratings

Related issues

klondi picture klondi  路  4Comments

jrm2k6 picture jrm2k6  路  4Comments

Dingo64 picture Dingo64  路  3Comments

nixilb picture nixilb  路  3Comments

caleywoods picture caleywoods  路  4Comments