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

alankarglobant picture alankarglobant  路  4Comments

mikereape picture mikereape  路  3Comments

pyTex picture pyTex  路  3Comments

dhughesbc picture dhughesbc  路  4Comments

prasadsurase picture prasadsurase  路  4Comments