Make Droid Sans Mono available as fixed font for all Android styles
Fixes: QTBUG-87405 Change-Id: I54ebc06c82c32acd0383ea5fedf78acce4e11977 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>bb10
parent
40e2bf3495
commit
d456102962
|
|
@ -227,6 +227,11 @@ static std::shared_ptr<AndroidStyle> loadAndroidStyle(QPalette *defaultPalette)
|
|||
if (style->m_styleData.isEmpty())
|
||||
return std::shared_ptr<AndroidStyle>();
|
||||
|
||||
{
|
||||
QFont font(QLatin1String("Droid Sans Mono"), 14.0 * 100 / 72);
|
||||
style->m_fonts.insert(QPlatformTheme::FixedFont, font);
|
||||
}
|
||||
|
||||
for (QJsonObject::const_iterator objectIterator = style->m_styleData.constBegin();
|
||||
objectIterator != style->m_styleData.constEnd();
|
||||
++objectIterator) {
|
||||
|
|
|
|||
|
|
@ -1,5 +1,2 @@
|
|||
[systemFixedFont] # QTBUG-54623
|
||||
b2qt
|
||||
# QTBUG-87405
|
||||
[systemFixedFont]
|
||||
android
|
||||
|
|
|
|||
Loading…
Reference in New Issue