Closed hosiet closed 6 years ago
might not be ideal.
Why not. Whats the point in using the system font if the bundled font is guaranteed to be there?
I think this is not possible atm. Theres no qfontdatabase in QML atm and I dont want to handcraft it.
Bundling a font file within plugin repository (https://github.com/albertlauncher/plugins/blob/master/qmlboxmodel/share/styles/BoxModel/fonts/Roboto-Thin.ttf) might not be ideal.
I'm wondering if there's a mechanism in QML to search system font library for same font before trying to load the font bundled. (Something equivalent to
QFontDatabase
in Qt?)