summaryrefslogblamecommitdiffstats
path: root/src/citra_qt/util/util.cpp
blob: f292046b758fb3c651e07a0b8f1c6230648be53f (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13



                                            
                               







                                                                                               
// 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;
}