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

Qt Distance Field Generator Crash

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.12.5, 5.13.1
    • 5.12.3
    • Other
    • None
    • All
    • fcb96af0215a9ae070face3997cdf84dafc057e5

    Description

      How to reproduce

      • Error happens when font file is loaded
        • End of cmap table reached when parsing subtable format '4'
        • End of cmap, subtable format '4', reached when fetching character '%1' in range [%2, %3]
      • It generates distance field even if the above error happens
      • It crashes at several different points but same function MainWindow::createSfntTable()
        • buffer.write(reinterpret_cast<char *>(&glyphRecord), sizeof(QtdfGlyphRecord));
        • memcpy(outBits, inBits, image.width());
        • QVector<QDistanceField> textures;

      Font for testing: NanumBarunGothic.ttf

      Attachments

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

        Activity

          People

            esabraha Eskil Abrahamsen Blomfeldt
            derek.lee Derek Lee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes