summaryrefslogblamecommitdiffstats
path: root/src/citra_qt/util/util.cpp
blob: 2cb939af1c90d98a68da2bcad817c4f20a6a5bea (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 "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;
}