Wkhtmltopdf: Soft hyphens (either as ­ or using the utf-8 codepoint itself) result in unknown glyph squares

Created on 20 May 2015  路  4Comments  路  Source: wkhtmltopdf/wkhtmltopdf

This was already pointed in #1722 but I can't reopen the issue. When using soft hyphens (the provided test uses the utf-8 code point but the issue arises also with ­) the character is replaced by a strange unknown character box (which may or may not be followed by the hyphen itself).

Attached are test files and the resulting output with the packaged wkhtmltopdf 12.2.1 for Centos 7 (wkhtmltopdf 0.12.2.1 (with patched qt)).

InstallationIssue

All 4 comments

Seems I can't upload the files :(
Here are on my own hosting: http://klondike.es/wkhtmltopdf_shy_bug_sample.zip

same problem here, also on 12.2.1 for Centos 7

This normally happens if the character is not present in the font you are specifying. Make sure to have the necessary font packages installed.

Why does a non-displayed ­ (in the middle of a word, ...) need to be displayed? One installation that I had the problem with lately used webfonts.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

monejava picture monejava  路  4Comments

ArthurianX picture ArthurianX  路  4Comments

bparker06 picture bparker06  路  3Comments

marcrib picture marcrib  路  3Comments

alankarglobant picture alankarglobant  路  4Comments