Details
-
Suggestion
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
None
-
None
-
99e94f103 (dev)
Description
The new QFontDatabase::setApplicationFallbackFontFamilies is a great addition, I have a font file which contains mostly icons, and want them to be applied to any script.
The only way to achieve this is to apply setApplicationFallbackFontFamilies on each script.
I would like to be able to use the default system font for and use my custom font on top of it, for any script.
If I do:
QFontDatabase::setApplicationFallbackFontFamilies(QChar::Script_Common, families);
I see in the console:
qt.text.font.db: Invalid script passed to setApplicationFallbackFontFamilies: 2