wkhtmltopdf 0.12.5 (with patched qt) First page always Bold

26/07/2018


Here my config.
1. D7 7.59
2. Print module : 7.x-2.0
3. Ubuntu 16.4
4. wkhtmltopdf 0.12.5

print module config.
unclick > “Keep the current theme CSS, all config”

So. use std print.css file Only, with additional code below
*{font-family: “Lato”,”sans-serif” !important;
font-style: normal !important;
font-weight: 400 !important;
}

under print.tpl.php
add line

wkhtmltopdf arg:
–dpi 300 –page-size A4 –margin-left 15mm –margin-right 10mm –disable-external-links –footer-right ‘[page] / [topage]’

All work fine, except first page always in bold, i tried
print different pages
try various fonts insides system, or even google fonts.
and hv checked the pdf file poperties, fonts type iscorrect.

If i preview under Firefox, Chrome, IE 11, perfect !!

However, whatever i Save to pdf, first page whole page in bold, keep google
few days, andy idea ?

thanks
rgds.

قالب وردپرس