Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-5405

Font Render Failure Under OS X 10.6 with user nobody

    XMLWordPrintable

Details

    • macOS

    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.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            rapier1 Chris Rapier
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes