Wkhtmltopdf font size increased after update

I just updated wkhtmltopdf from 0.9.9 to 0.11.0 rc1 (I downloaded the binary and just went to / usr / bin / wkhtmltopdf -new, which has one of the repositories in / usr / bin / wkhtmltopdf)

If I run / usr / bin / wkhtmltopdf -new, I get very large fonts as the results / If I run / usr / bin / wkhtmltopdf, I get normal results.

An example of using the same HTML code This is a document from 0.9.9 http://dl.dropbox.com/u/1990697/0.9.9.pdf The same document from 0.11.0 rc1 http: //dl.dropbox. com / u / 1990697 / 0.11.0.pdf

I want to achieve the result that I had with 0.9.9

Any ideas?

Greeting...

+5
source share
1 answer

-, QT, , .

OTF.

@font-face {
    font-family: 'mysans';
    src: url(/path/to/myfont.otf);
}

, - TTF OTF.

, : TTF, OTF , .

, HTML PDF. , - WOFF , - OTF wkhtmltopdf.

, OTF, , PDF, QT , OTF PDF.

+7

All Articles