This is the old Issue #72 from Google Code, first reported in 2009. It still occurs with the dev branch of 0.12.0, tested with commit d6541fe .
What steps will reproduce the problem?
-
Generate PDF from any HTML input with wkhtmltopdf via e.g.
./wkhtmltopdf test.html test.pdf
-
View it. Tested with Evince, Xpdf and Chrome's built-in PDF reader with similar results.
What is the expected output? What do you see instead?
Expected: A PDF rendering similar to the one seen of the HTML document in a browser, specifically concerning the letter-spacing.
Result: The kerning is way off. Sometimes too expanded, sometimes too condensed. See attached sample rendering of (from left to right):
- an HTML document rendered by a browser (Chrome)
- the resulting PDF rendered by Chrome's built-in PDF reader
- the resulting PDF rendered by Evince
What version of the product are you using? On what operating system?
Dev branch of 0.12.0, tested with commit d6541fe . Debian Sid, i386. Using the binary that resulted after building the Git revision with:
./build_linux.sh linux-i386
I have tested earlier versions of Wkhtmlpdf on Fedora (amd64) with identical results.
Please provide any additional information below.
I include the sample document and rendering below, but it happens with everything I throw to Wkhtmltopdf, so I don't think there are any specific "clues" in the minimal HTML code.
This is the old Issue #72 from Google Code, first reported in 2009. It still occurs with the dev branch of 0.12.0, tested with commit d6541fe .
What steps will reproduce the problem?
Generate PDF from any HTML input with wkhtmltopdf via e.g.
View it. Tested with Evince, Xpdf and Chrome's built-in PDF reader with similar results.
What is the expected output? What do you see instead?
Expected: A PDF rendering similar to the one seen of the HTML document in a browser, specifically concerning the letter-spacing.
Result: The kerning is way off. Sometimes too expanded, sometimes too condensed. See attached sample rendering of (from left to right):
What version of the product are you using? On what operating system?
Dev branch of 0.12.0, tested with commit d6541fe . Debian Sid, i386. Using the binary that resulted after building the Git revision with:
I have tested earlier versions of Wkhtmlpdf on Fedora (amd64) with identical results.
Please provide any additional information below.
I include the sample document and rendering below, but it happens with everything I throw to Wkhtmltopdf, so I don't think there are any specific "clues" in the minimal HTML code.
straceoutputgrep:ed for file I/O