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

QFontEngineMulti::stringToCMap() repeatedly creates and destroys font engines.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P1: Critical P1: Critical
    • 5.0.0
    • 5.0.0
    • GUI: Font handling
    • None
    • Ubuntu 10.04 xcb
    • 9f13a7d020749e936dfe0b4c0a1d46f4dbee810f

      Seen in the qtdeclarative textalignment example (examples/qtquick/righttoleft/textalignment/textalignment.qml

      The example has bidi text with an italic font. The default font doesn't have italic glyphs for the characters and so additional font engines are being loaded to find one that does, for every character it appears which is increasing the time the example takes to load significantly.

      Caching all font engines once loaded isn't the answer but maybe there's a way limit the number tried and/or shortcut to one already loaded for repeated misses.

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

            esabraha Eskil Abrahamsen Blomfeldt
            denexter Andrew den Exter (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes