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

Symbian: Do not add linked fonts to the QFontDatabase

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 4.7.4
    • 4.7.4
    • GUI: Font handling
    • Symbian
    • fa344b355d311fce7954e2fd1a22a87a88194783 6cc32482afd610e2808bde42b6a01dd78b79d809

    Description

      Filter out all linked fonts in qfontdatabase_s60.cpp, registerScreenDeviceFont(). That seems to be possible by using CLinkedTypefaceSpecification::FetchLinkedTypefaceSpecificationL and checkiung for KErrNone.

      Reason: Linked fonts add additional cryptic type face names to the QFontDatabase. Also, I suspect them being the reason for issues like QTBUG-19842, because I immagine that the 'cmap' table for a a linked font is not adjusted the linkage, thus is invalid. And according to QT-5098, skipping linked fonts avoids a huge slowdown in application startup.

      Attachments

        1. qfontcombobox.zip
          11 kB
          Alessandro Portale

        Issue Links

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

          Activity

            People

              portale Alessandro Portale
              portale Alessandro Portale
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes