Details
-
Bug
-
Resolution: Out of scope
-
P3: Somewhat important
-
4.5.3
-
None
Description
Under OS X 10.6 fonts fail to render if the application is started by user nobody.
For example, i use the application wkhtmltopdf to create PDF snapshots of webpages. The application is called by a php script instantiated by the apache httpd server running as user nobody. Under the current released version the application consumes a large amount of cycles and never completes. The apache error log is filled with the following errors thousands of times:
Tue Oct 27 13:13:01 ice.psc.edu wkhtmltopdf[81106] <Error>: ATSFontGetFileReference failed: error -120.
Qt: internal: -108: Error ATSUMeasureTextImage text/qfontengine_mac.cpp: 556
When the server is started as a privileged user the application completes without throwing off any errors.
When the application is built against the 4.6 Beta1 release and run as user nobody the process takes considerably longer but it does complete. However, while the layout and images are properly placed all textual elements are capital As in a small box. Again, when the process is started as a privileged user the resulting PDF is accurate and all fonts are rendered correctly.
I'm sorry if this bug is incomplete I'm not actually a Qt developer. If you need more information or examples please contact me.