09f916339ef4407f6dac7b925e62432488d0487a
[alioth/musescore.git] / debian / patches / debian-specific / debundle-fonts.diff
1 Description: Don’t bundle fonts-freefont-ttf in the executable,
2  use the system copy (even if this means rendering will differ
3  from other places and musescore.com, the local user will get
4  the bugfixes applied to the Debian packaging of said fonts)
5  .
6  This was discussed around the Campania debate; basically, both
7  embedding and depending have upsides and downsides… ☹
8 Author: mirabilos <tg@debian.org>
9 Forwarded: not-needed
10 Justification: distribution-specific packaging
11
12 --- a/libmscore/mscore.cpp
13 +++ b/libmscore/mscore.cpp
14 @@ -347,11 +347,13 @@ void MScore::init()
15  #if !defined(Q_OS_MAC) && !defined(Q_OS_IOS)
16        static const char* fonts[] = {
17              ":/fonts/musejazz/MuseJazzText.otf",
18 +#if 0
19              ":/fonts/FreeSans.ttf",
20              ":/fonts/FreeSerif.ttf",
21              ":/fonts/FreeSerifBold.ttf",
22              ":/fonts/FreeSerifItalic.ttf",
23              ":/fonts/FreeSerifBoldItalic.ttf",
24 +#endif
25              ":/fonts/mscoreTab.ttf",
26              ":/fonts/mscore-BC.ttf",
27              ":/fonts/bravura/BravuraText.otf",
28 --- a/mscore/CMakeLists.txt
29 +++ b/mscore/CMakeLists.txt
30 @@ -207,8 +207,6 @@ else (APPLE)
31              musescorefonts-Gootville.qrc
32              musescorefonts-Bravura.qrc
33              musescorefonts-MuseJazz.qrc
34 -            musescorefonts-FreeSerif.qrc
35 -            musescorefonts-Free.qrc
36              shortcut.qrc)
37  endif (APPLE)
38