mirror of
https://github.com/yuzu-mirror/yuzu.git
synced 2024-11-19 18:47:32 +01: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;
|
||
|
}
|