mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-28 22:36:26 -05:00
13 lines
405 B
C++
13 lines
405 B
C++
// Copyright 2015 Citra Emulator Project
|
|
// Licensed under GPLv2 or any later version
|
|
// Refer to the license.txt file included.
|
|
|
|
#include "citra_qt/util/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;
|
|
}
|