mirror of
https://gitlab.com/suyu-emu/suyu.git
synced 2024-03-15 23:15:44 +00:00
14 lines
391 B
C++
14 lines
391 B
C++
|
// Copyright 2015 Citra Emulator Project
|
||
|
// Licensed under GPLv2 or any later version
|
||
|
// Refer to the license.txt file included.
|
||
|
|
||
|
#include "util.h"
|
||
|
|
||
|
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;
|
||
|
}
|