qt/embedded doesn't ship with a Monospace font (and it won't use system fonts even if they exist). Using 'fixed' instead works fine

This commit is contained in:
Petr Vanek
2013-02-05 11:40:31 +01:00
parent 9afd1444aa
commit 4955656ecc
+2
View File
@@ -44,6 +44,8 @@ int main(int argc, char *argv[])
QFont font = QApplication::font();
#ifdef Q_WS_MAC
font.setFamily("Monaco");
#elif defined(Q_WS_QWS)
font.setFamily("fixed");
#else
font.setFamily("Monospace");
#endif