mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-25 04:46:27 -05:00
13 lines
391 B
C++
13 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;
|
|
}
|