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

Segmentation fault in QFontMetrics::width()

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 4.7.0
    • 4.6.1
    • GUI: Font handling
    • None
    • Debian lenny
      fontconfig uses also bitmap fonts (Config file .fonts.conf is in attachment!)
    • ef8cd7f2e68d6d34d70c3a12e82a67ed16b92b72

    Description

      I get segmentation fault in QFontMetrics::width() function if:

      • fontconfig is used
      • bitmap font is used (eg. Adobe Helvetica) with small size (eg. 7 pixel)
      • GUI is not enabled in the application

      Please compile the attached small example. If size is set with setPixelSize(8), the function work properly, but it fails when 7 pixel is set.

      Attachments

        Issue Links

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

          Activity

            People

              esabraha Eskil Abrahamsen Blomfeldt
              rajnaim Mark Rajnai
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes