added fallback font

This commit is contained in:
Martchus 2015-09-10 20:07:45 +02:00
parent 0cc5855f90
commit f647e12694
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ QString mkFontStyle(const QFont &font)
} else {
size = QStringLiteral("%1pt").arg(font.pointSize());
}
return QStringLiteral("font-family: \"%1\";"
return QStringLiteral("font-family: \"%1\" sans-serif;"
"font-style: %2;"
"font-weight: %3;"
"font-size: %4;").arg(