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

8176135 picture 8176135  路  3Comments

lanlan-yang picture lanlan-yang  路  4Comments

charlieegan3 picture charlieegan3  路  3Comments

jrm2k6 picture jrm2k6  路  4Comments

dhughesbc picture dhughesbc  路  4Comments