From 4955656ecccff39192c2a1c8321ae6c5589e4d0f Mon Sep 17 00:00:00 2001 From: Petr Vanek Date: Tue, 5 Feb 2013 11:40:31 +0100 Subject: [PATCH] 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 --- src/main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index 2418be4..e539c25 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -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