mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 16:18:42 +00:00
Better fallback font sets
.. more likely to find Clear Sans and PT Sans on Linux and Mac respectively. Should avoid the dreaded Arial.
This commit is contained in:
@@ -716,29 +716,31 @@ GSettings::upgradeAthlete(QString athlete) {
|
||||
static QString fontfamilyfallback[] = {
|
||||
#ifdef Q_OS_LINUX
|
||||
// try pretty fonts first (you never know)
|
||||
"Noto Sans Display",
|
||||
"DejaVu Sans",
|
||||
"Liberation Sans",
|
||||
"Noto Sans Display", // google free font
|
||||
"Clear Sans", // intel free font
|
||||
"DejaVu Sans", // gnome free font
|
||||
"Liberation Sans", // red hat free font
|
||||
|
||||
// then distro specific ones
|
||||
"Ubuntu",
|
||||
"Red Hat Display",
|
||||
"Trebuchet MS",
|
||||
|
||||
#endif
|
||||
#ifdef Q_OS_WIN
|
||||
"Segoe UI",
|
||||
"Calibri",
|
||||
"Microsoft Sans Serif",
|
||||
"Trebuchet MS",
|
||||
#endif
|
||||
#ifdef Q_OS_MAC
|
||||
"SF Pro Display",
|
||||
"PT Sans",
|
||||
"Helvetica Neue",
|
||||
"Helvetica",
|
||||
"Trebuchet MS",
|
||||
#endif
|
||||
|
||||
// common fonts
|
||||
"Trebuchet MS",
|
||||
"Helvetica",
|
||||
|
||||
// on all OS these two should exist at a minimum
|
||||
"Verdana",
|
||||
"Arial",
|
||||
|
||||
Reference in New Issue
Block a user