diff options
author | Gerald Combs <gerald@wireshark.org> | 2014-09-26 15:54:09 -0700 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2014-09-26 22:56:28 +0000 |
commit | 1749e5eaced4927566ab791d5070cfb77dede635 (patch) | |
tree | a4c7e316784977aca68f34dbf8d3cb95dc124802 /ui | |
parent | a2681cc199d408150a7a8f9aa8a9284ba55bb3b2 (diff) |
Qt: Adjust X11 font search order.
Liberation Mono appears to be the preferred font nowadays.
Change-Id: Ie953bdb8ba77df6486607dc076daa24225b2f08f
Reviewed-on: https://code.wireshark.org/review/4326
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'ui')
-rw-r--r-- | ui/qt/wireshark_application.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/qt/wireshark_application.cpp b/ui/qt/wireshark_application.cpp index e809db302d..189762f280 100644 --- a/ui/qt/wireshark_application.cpp +++ b/ui/qt/wireshark_application.cpp @@ -346,8 +346,8 @@ void WiresharkApplication::setMonospaceFont(const char *font_string) { const char *win_alt_font = "Lucida Console"; const char *osx_default_font = "Menlo"; const char *osx_alt_font = "Monaco"; - const char *x11_default_font = "Bitstream Vera Sans Mono"; - const QStringList x11_alt_fonts = QStringList() << "Liberation Mono" << "DejaVu Sans Mono"; + const char *x11_default_font = "Liberation Mono"; + const QStringList x11_alt_fonts = QStringList() << "DejaVu Sans Mono" << "Bitstream Vera Sans Mono"; const QStringList fallback_fonts = QStringList() << "Lucida Sans Typewriter" << "Inconsolata" << "Droid Sans Mono" << "Andale Mono" << "Courier New" << "monospace"; QStringList substitutes; int font_size_adjust = 0; |