2015-08-19 21:00:56 +01:00
|
|
|
// Copyright 2015 Citra Emulator Project
|
|
|
|
// Licensed under GPLv2 or any later version
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
2015-09-11 05:23:00 +01:00
|
|
|
#include "citra_qt/util/util.h"
|
2015-08-19 21:00:56 +01:00
|
|
|
|
|
|
|
QFont GetMonospaceFont() {
|
|
|
|
QFont font("monospace");
|
|
|
|
// Automatic fallback to a monospace font on on platforms without a font called "monospace"
|
|
|
|
font.setStyleHint(QFont::Monospace);
|
|
|
|
font.setFixedPitch(true);
|
|
|
|
return font;
|
|
|
|
}
|