Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.15.4
-
None
-
-
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
For Gerrit Dashboard: QTBUG-93885 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
375116,2 | Revert "Support family names that end/start with space" | dev | qt/qtbase | Status: MERGED | +2 | 0 |
375580,2 | Revert "Support family names that end/start with space" | 6.1 | qt/qtbase | Status: MERGED | +2 | 0 |
375581,2 | Revert "Support family names that end/start with space" | 6.2 | qt/qtbase | Status: MERGED | +2 | 0 |
375583,2 | Revert "Support family names that end/start with space" | tqtc/lts-5.15 | qt/tqtc-qtbase | Status: MERGED | +2 | 0 |