TextEditor: Replace 'Monaco' with 'Menlo' on macOS

According to https://en.wikipedia.org/wiki/Menlo_(typeface) 'Menlo' is
the newer font family.

Is also in sync with the font used by the Terminal plugin.

Task-number: QTCREATORBUG-29964
Change-Id: I50b439be32f08176b910017b68384ea61cab7337
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
This commit is contained in:
Cristian Adam
2023-11-27 12:26:16 +01:00
parent 6f155f44f9
commit e59e80f74f

View File

@@ -487,7 +487,7 @@ void FontSettings::setColorScheme(const ColorScheme &scheme)
static QString defaultFontFamily()
{
if (Utils::HostOsInfo::isMacHost())
return QLatin1String("Monaco");
return QLatin1String("Menlo");
const QString sourceCodePro(g_sourceCodePro);
const QFontDatabase dataBase;