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.