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

ASSERT failure in void __cdecl QtFontFamily::ensurePopulated(void) on system registed font

    XMLWordPrintable

Details

    • Windows
    • 4d47b18c81f74ae6855e16197a12b69a6bcfe68a (qt/qtbase/dev) e45db3ddeb5f0457146746cb131d0f138f8beeae (qt/qtbase/6.1) fbaf6d0bdf232d598afd651883d8cb8d9065f21c (qt/qtbase/6.2) 4c1a95efa9706d3e8a6a43aa5455a96c57dbe61a (qt/tqtc-qtbase/5.15)

    Description

      Since 5.15.4, font names are trimmed in qfontdatabase.cpp

      In my system I've a font that is registered with a space at the end.

      I probably can't and never did use it but still, it makes Qt 5.15.4+ applications crash on first font fallback lookup.

      I would suggest to simply not populate such fonts in populateFontFamilies.

       

       

       

      Attachments

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

        Activity

          People

            esabraha Eskil Abrahamsen Blomfeldt
            vrouille Vincent Rouillé
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes