I am trying to convert a web page with @ font-face fonts to pdf using wkhtmltopdf. The software gives me the following error when trying to do this conversion (when you do not use @ font-face, it works fine):
wkhtmltopdf-i386: undefined character: FcFreeTypeQueryFace
I found someone else with the same problem on the Internet and apparently he fixed the problem:
Knowing that the problem is related to libfontconfig, I went to update This. I downloaded the source for version 2.4.2 (only FcFreeTypeQueryFace is required) from http://fontconfig.org/release/ .
I did a./configure and make, and the libfontconfig.so.1.2.0 file was created in SRC / .libs /.
I copied this file to / usr / lib / and pointed to the existing libfontconfig.so to the new one.
Source: http://code.google.com/p/wkhtmltopdf/issues/detail?id=352&q=FCfreetypequeryface
So far, I have been able to fulfill. / configure and get the desired file from src / .libs /. Now I'm stuck trying to point existing libfontconfig.so files to a new one, some of them will be appreciated.
source
share