I have a Qt5 webkit instance running to make screenshots of webpages on a server. The Qt5 version is replacing a fully functional Qt4 server that leaked memory and had threading issues.
The Qt5 webkit instance works when compiled on Ubuntu 13.04 desktop, however on the same server where the Qt4 version worked, the Qt5 version renders no fonts at all, not even custom css fonts from the webpage being displayed.
Any ideas if this is a compile flag, a Qt setting somewhere, or ubuntu packages I need to install? I am using the same version of Ubuntu’s package-managed Qt5 on both systems.
Here is a screenshot comparing the rendering
http://cl.ly/image/2F3f3b3r1S1I
I’m getting a lot of this message:
QFontDatabase: Cannot find font directory ‘/usr/lib/x86_64-linux-gnu/fonts’ – is Qt installed correctly?
However on ubuntu it shouldn’t be looking there for fonts, but in the system-wide fonts folder.
↧