Forum

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - BenP

Pages: [1]
1
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
Code: [Select]
/usr/share/fonts/ (e.g.,
Code: [Select]
/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:

Quote
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.

Pages: [1]