Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.15.7, 6.2.1
-
08b0a63a0ffd5e3b4aeb0a789663d5200fd217bb (qt/qtbase/dev) 2a36dbce7dc9556d1f7dd273119d458d680a82e0 (qt/qtbase/6.2) 595b0f520455b8671d69d4989109b5fa3fe630fd (qt/tqtc-qtbase/5.15)
Description
addApplicationFontFromData documentation says:
https://doc.qt.io/qt-6/qfontdatabase.html#addApplicationFontFromData
Currently only TrueType fonts and TrueType font collections are supported.
However the code used to load a font is basically identical to addApplicationFont, which does say OpenType is supported:
https://doc.qt.io/qt-6/qfontdatabase.html#addApplicationFont