util.cpp 391 B

12345678910111213
  1. // Copyright 2015 Citra Emulator Project
  2. // Licensed under GPLv2 or any later version
  3. // Refer to the license.txt file included.
  4. #include "util.h"
  5. QFont GetMonospaceFont() {
  6. QFont font("monospace");
  7. // Automatic fallback to a monospace font on on platforms without a font called "monospace"
  8. font.setStyleHint(QFont::Monospace);
  9. font.setFixedPitch(true);
  10. return font;
  11. }