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

TTF Font File Causing Segmentation Fault

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P1: Critical P1: Critical
    • 4.7.2
    • 4.7.1
    • None
    • Linux Centos 5.2, cross-compiling for arm CPU - GCC4.1.1. arm-linux-g++.FreeType Library - libfreetype.so.6.3.16

      Previous version Qt4.4.1 commercial edition was working using attached font file (pl_PL.ttf). Now on Qt4.7.1 this font file causes a segmentation fault. My currently released application (QT4.41) uses this font no problem, when the user changes language I add the font to the QFontDataBase and use the new font.I would like to continue using the same fonts after upgrading to Qt4.7.1 since my product is released already. I attached an example that causes this. In the Attachment the ko_KR.ttf works, the pl_PL.ttf does not. Here is the debug output from the program.

        • DEBUG START **
          THIS IS THE FONT THAT WAS ADDED "/usr/local/resources/fonts/pl_PL.ttf" "Sansation"
          event QEvent(0xbe804984, type = 36)
          event QFontChangeEvent(0xbe8043dc)
          event QEvent(0xbe804898, type = 203)
          Segmentation fault
          **DEBUG END **

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

            esabraha Eskil Abrahamsen Blomfeldt
            qbelcort Cory Bellamy
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes