Hi,
I'm having the same issue where my report is exported with only black squares instead of text. I'm working on a CentOS 7.4 Linux machine with fonts in a number of sub-directories under
/usr/share/fonts/
(e.g.,
/usr/share/fonts/open-sans
I've tried setting the QT_QPA_FONTDIR variable to point to one of these sub-directories but I get the same results everytime. Is there a specific font package that Agisoft requires (like Times, Courier, Helvetica)?
After setting the variable to the font directory I no longer get the error:
QFontDatabase: Cannot find font directory - is Qt installed correctly?
So I guess the problem is with the font packages?
Thanks,
Ben
EDIT: It works now for some reason. I just need to point QT_QPA_FONTDIR to any of the available font folders (e.g., export QT_QPA_FONTDIR=/usr/share/fonts/open-sans) before running my python scripts.