4ee2e1237d176837ad9f15eaac1144e5afbb9b18
[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 @@ -204,11 +204,13 @@ void MScore::init()
15  #if !defined(Q_OS_MAC) && !defined(Q_OS_IOS)
16        static const char* fonts[] = {
17              ":/fonts/MuseJazz.ttf",
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 @@ -137,8 +137,7 @@ else (APPLE)
31              musescorefonts-Gootville.qrc
32              musescorefonts-Bravura.qrc
33              musescorefonts-MuseJazz.qrc
34 -            musescorefonts-FreeSerif.qrc
35 -            musescorefonts-Free.qrc)
36 +            )
37  endif (APPLE)
38  
39