mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-28 22:36:26 -05: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;
|
||
|
}
|