fixed for patched qt wkhtmltopdf