This comment has been minimized.

If you get squares in place of actual characters, it is probably because you didn't build-dep the libqt4-gui, libqt4-network, and libqt4-webkit libraries. Without those, it won't render the fonts properly, even if you have the fonts installed on your system.

If you get squares in place of actual characters, it is probably because you didn't build-dep the libqt4-gui, libqt4-network, and libqt4-webkit libraries. Without those, it won't render the fonts properly, even if you have the fonts installed on your system.

This comment has been minimized.

UPDATE: If this happens, double check you ran the sudo apt-get build-dep -y libqt4-gui libqt4-network libqt4-webkit; command. I ran it before and kept getting this error, but after I ran it again, it installed more packages and seemed to fix the issue.

When you run the ./configure command on the custom QT build, if you get a configuration like this:

The FontConfig support ..... yes is probably one of the most important parts. I'm still research why this fails occasionally. Sometimes I can run it a second time and it works beautifully. Be aware of this when configuring.

If you need to reconfigure, run make confclean in the wkhtmltopdf-qt directory to clean out the old configuration options and start fresh.

UPDATE: If this happens, double check you ran the sudo apt-get build-dep -y libqt4-gui libqt4-network libqt4-webkit; command. I ran it before and kept getting this error, but after I ran it again, it installed more packages and seemed to fix the issue.

When you run the ./configure command on the custom QT build, if you get a configuration like this:

The FontConfig support ..... yes is probably one of the most important parts. I'm still research why this fails occasionally. Sometimes I can run it a second time and it works beautifully. Be aware of this when configuring.

If you need to reconfigure, run make confclean in the wkhtmltopdf-qt directory to clean out the old configuration options and start fresh.