added fallback font
This commit is contained in:
parent
0cc5855f90
commit
f647e12694
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue