From 665716861a1167a9a073ec538955eefc571c0eb7 Mon Sep 17 00:00:00 2001 From: Joachim Schmitz Date: Thu, 26 Dec 2024 14:38:45 +0100 Subject: [PATCH] Fix GH#698: Mac build doesn't start due to missing fonts --- libmscore/sym.cpp | 2 +- mscore/musescore.qrc | 6 ++++-- mscore/musescorefonts-Mac.qrc | 4 +++- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/libmscore/sym.cpp b/libmscore/sym.cpp index fdf9db9edec1a..53ebdbc09cd62 100644 --- a/libmscore/sym.cpp +++ b/libmscore/sym.cpp @@ -6676,7 +6676,7 @@ void ScoreFont::scanUserFonts(const QString& path, bool system) QString s(f._fontPath + f._filename); if (-1 == QFontDatabase::addApplicationFont(s)) { if (!MScore::testMode) - qDebug("Mscore: fatal error: cannot load external font <%s>", qPrintable(s)); + qDebug("Mscore: fatal error: cannot load font <%s>", qPrintable(s)); if (!MScore::debugMode && !MScore::testMode) exit(-1); } diff --git a/mscore/musescore.qrc b/mscore/musescore.qrc index 1016b6e5ddba4..18c4e1ffbec53 100644 --- a/mscore/musescore.qrc +++ b/mscore/musescore.qrc @@ -7,12 +7,14 @@ ../share/styles/legacy-style-defaults-v3.mss ../share/styles/legacy-style-defaults-v2.mss ../share/styles/legacy-style-defaults-v1.mss - ../fonts/mscore/metadata.json - ../fonts/gootville/metadata.json ../fonts/leland/leland_metadata.json ../fonts/bravura/bravura_metadata.json + ../fonts/mscore/metadata.json + ../fonts/gootville/metadata.json ../fonts/musejazz/metadata.json ../fonts/petaluma/petaluma_metadata.json + ../fonts/finalemaestro/FinaleMaestro.json + ../fonts/finalebroadway/FinaleBroadway.json ../fonts/smufl/classes.json ../fonts/smufl/ranges.json ../fonts/smufl/glyphnames.json diff --git a/mscore/musescorefonts-Mac.qrc b/mscore/musescorefonts-Mac.qrc index 21d12d08cdf2e..99d48c0c72069 100644 --- a/mscore/musescorefonts-Mac.qrc +++ b/mscore/musescorefonts-Mac.qrc @@ -1,10 +1,12 @@ ../fonts/leland/Leland.otf + ../fonts/bravura/Bravura.otf ../fonts/mscore/mscore.ttf ../fonts/gootville/Gootville.otf - ../fonts/bravura/Bravura.otf ../fonts/musejazz/MuseJazz.otf ../fonts/petaluma/Petaluma.otf + ../fonts/finalemaestro/FinaleMaestro.otf + ../fonts/finalebroadway/FinaleBroadway.otf