|
|
|
David Bolton-2
|
Grzegorz reports on the Canorus mailing list that he was able to get
fonts working on MacOS. Canorus is another open-source scorewriter that uses the Qt4 library. Whether any of the information is relevant to MuseScore I do not know but I am cross posting in case it is helpful. [Canorus-devel] Fonts under macosx http://lists.berlios.de/pipermail/canorus-devel/2009-March/000790.html http://lists.berlios.de/pipermail/canorus-devel/2009-March/000791.html -- David Bolton http://davidbolton.info ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Mscore-developer mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/mscore-developer |
||||||||||||||||
|
lasconic
|
It's a good find! It might help. I check Musescore code and the diff attached to the canorus post.
QFont objects are created with MScore and MScore1 without the size. So it worth to try to put "MScore 20" and "MScore1 20' and compile on MacOSX. Side and maybe stupid question: Why MScore and MScore1 and not only one font? 2009/3/11 David Bolton <[hidden email]> Grzegorz reports on the Canorus mailing list that he was able to get ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Mscore-developer mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/mscore-developer |
||||||||||||||||
|
wschweer
|
MScore1 is used in a text context in combination with other fonts. Using
MScore for this results in too big line distances (the overall font metrics are wrong). /Werner On Wednesday 11 March 2009 22:56:43 Lasconic wrote: > It's a good find! It might help. I check Musescore code and the diff > attached to the canorus post. > QFont objects are created with MScore and MScore1 without the size. So it > worth to try to put "MScore 20" and "MScore1 20' and compile on MacOSX. > > Side and maybe stupid question: Why MScore and MScore1 and not only one > font? > > > 2009/3/11 David Bolton <[hidden email]> > > > Grzegorz reports on the Canorus mailing list that he was able to get > > fonts working on MacOS. Canorus is another open-source scorewriter that > > uses the Qt4 library. Whether any of the information is relevant to > > MuseScore I do not know but I am cross posting in case it is helpful. > > > > [Canorus-devel] Fonts under macosx > > http://lists.berlios.de/pipermail/canorus-devel/2009-March/000790.html > > http://lists.berlios.de/pipermail/canorus-devel/2009-March/000791.html > > > > -- > > David Bolton > > http://davidbolton.info > > > > > > > > ------------------------------------------------------------------------- > >----- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) > > are powering Web 2.0 with engaging, cross-platform capabilities. Quickly > > and easily build your RIAs with Flex Builder, the Eclipse(TM)based > > development software that enables intelligent coding and step-through > > debugging. Download the free 60 day trial. > > http://p.sf.net/sfu/www-adobe-com > > _______________________________________________ > > Mscore-developer mailing list > > [hidden email] > > https://lists.sourceforge.net/lists/listinfo/mscore-developer ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Mscore-developer mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/mscore-developer |
||||||||||||||||
|
Joachim Ganseman
|
You're not gonna believe it guys, but this did the trick! Fonts work
on Mac (10.5 at least). Link to screenshots: http://picasaweb.google.be/musicalign/Musescore_mac_working?feat=directlink A list of the changes is below (from checkout version 1600, line numbers may be different slightly), best to wrap them in #ifdefs for mac-only compilation perhaps: - file Dynamics.cpp line 125 : QFont font("MScore1 20"); - file Harmony.cpp line 798: noteSymbolFormat.setFont(QFont("MScore1 20")); - file instrtemplate.cpp line 115: QFont font("MScore1 20"); - file Sym.cpp line 156: _font = QFont("MScore 20"); - file Sym.cpp line 160: _font = QFont("MScore1 20"); Could be that there are some more exotic instances that I forgot, but these are all the font instantiations I could find in the project with a rough search for QFont. A big, big, thanks to David Bolton for the priceless hint! (and to the folks at Canorus too of course :) ) Joachim 2009/3/11 Werner Schweer <[hidden email]>: > MScore1 is used in a text context in combination with other fonts. Using > MScore for this results in too big line distances (the overall font metrics > are wrong). > > /Werner > On Wednesday 11 March 2009 22:56:43 Lasconic wrote: >> It's a good find! It might help. I check Musescore code and the diff >> attached to the canorus post. >> QFont objects are created with MScore and MScore1 without the size. So it >> worth to try to put "MScore 20" and "MScore1 20' and compile on MacOSX. >> >> Side and maybe stupid question: Why MScore and MScore1 and not only one >> font? >> >> >> 2009/3/11 David Bolton <[hidden email]> >> >> > Grzegorz reports on the Canorus mailing list that he was able to get >> > fonts working on MacOS. Canorus is another open-source scorewriter that >> > uses the Qt4 library. Whether any of the information is relevant to >> > MuseScore I do not know but I am cross posting in case it is helpful. >> > >> > [Canorus-devel] Fonts under macosx >> > http://lists.berlios.de/pipermail/canorus-devel/2009-March/000790.html >> > http://lists.berlios.de/pipermail/canorus-devel/2009-March/000791.html >> > >> > -- >> > David Bolton >> > http://davidbolton.info >> > >> > >> > >> > ------------------------------------------------------------------------- >> >----- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) >> > are powering Web 2.0 with engaging, cross-platform capabilities. Quickly >> > and easily build your RIAs with Flex Builder, the Eclipse(TM)based >> > development software that enables intelligent coding and step-through >> > debugging. Download the free 60 day trial. >> > http://p.sf.net/sfu/www-adobe-com >> > _______________________________________________ >> > Mscore-developer mailing list >> > [hidden email] >> > https://lists.sourceforge.net/lists/listinfo/mscore-developer > > > ------------------------------------------------------------------------------ > Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are > powering Web 2.0 with engaging, cross-platform capabilities. Quickly and > easily build your RIAs with Flex Builder, the Eclipse(TM)based development > software that enables intelligent coding and step-through debugging. > Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com > _______________________________________________ > Mscore-developer mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/mscore-developer > ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Mscore-developer mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/mscore-developer |
||||||||||||||||
|
Thomas Bonte
|
Yeah!!!!!! This is terrific news!
Looking forward to the build ;-)
|
||||
|
Joachim Ganseman
|
Hello
I'm trying to wrap up everything in a mac app, I hope to have one ready somewhere after this weekend. It's kind of tricky to compile and link the necessary libraries together, preferably as universal binary... I've managed to compile and link portaudio and portmidi to the project, for some strange reason the playback functionality won't work yet though... I'm investigating it. There are some adaptations necessary to compile portmidi for mac. In the CMakeLists.txt file in the portmidi directory, I've added the following: if APPLE add_library ( portmidi STATIC pm_common/pmutil.c pm_common/portmidi.c pm_mac/finddefault.c pm_mac/pmmac.c pm_mac/pmmacosxcm.c pm_mac/readbinaryplist.c porttime/porttime.c porttime/ptmacosx_mach.c porttime/ptmacosx_cf.c ) else APPLE * existing filelist* end APPLE For it to compile, it must be linked against the Mac OSX 10.4 SDK (It won't work with 10.5) and subsequently GCC 4.0 needs to be used (4.2 won't do). In the project properties of the portmidi target, "Search Header Paths" must also contain the following value: "/Developer/Headers/FlatCarbon". I compiled and installed portaudio separately, downloaded from their source. When linking to Musescore, both portaudio and portmidi depend on the following frameworks, found in /System/Library/Frameworks: audiotools audiounits coreaudio coremidi coreservices To be able to link against those, I added a "new build phase -> link to libraries" to the mscore target in the generated project, and added these frameworks to that build phase (adding to the project itself won't help since CMake will overwrite it). I don't know yet whether it is possible to have these dependencies generated by CMake, but I intend to figure that out (it's not that much of a priority). As for the changes to the places where QFont is called, at the moment I wrapped them in #ifdefs like " #ifdef Q_WS_MAC QFont font("MScore1 20"); #else QFont font("MScore1"); #endif " I don't know if this is the best define to use for this (e.g. will it work when cross-compiling?) but it seemed the safest one since it's used by Qt too as far as I know. Some other changes to the CMakelists.txt and the sources are necessary to be able to build for Mac OSX directly from svn. Is it possible for me to be able to submit to the svn? I have a sourceforge account, it's "foundation86" (yeah, stupid nickname, i know). I'll keep you posted of the progress, Joachim 2009/3/14 Thomas Bonte <[hidden email]>: > > Yeah!!!!!! This is terrific news! > > Looking forward to the build ;-) > > > Joachim Ganseman wrote: >> >> You're not gonna believe it guys, but this did the trick! Fonts work >> on Mac (10.5 at least). Link to screenshots: >> http://picasaweb.google.be/musicalign/Musescore_mac_working?feat=directlink >> >> A list of the changes is below (from checkout version 1600, line >> numbers may be different slightly), best to wrap them in #ifdefs for >> mac-only compilation perhaps: >> >> - file Dynamics.cpp line 125 : QFont font("MScore1 20"); >> - file Harmony.cpp line 798: noteSymbolFormat.setFont(QFont("MScore1 >> 20")); >> - file instrtemplate.cpp line 115: QFont font("MScore1 20"); >> - file Sym.cpp line 156: _font = QFont("MScore 20"); >> - file Sym.cpp line 160: _font = QFont("MScore1 20"); >> >> Could be that there are some more exotic instances that I forgot, but >> these are all the font instantiations I could find in the project with >> a rough search for QFont. >> A big, big, thanks to David Bolton for the priceless hint! (and to the >> folks at Canorus too of course :) ) >> >> Joachim >> >> >> 2009/3/11 Werner Schweer <[hidden email]>: >>> MScore1 is used in a text context in combination with other fonts. Using >>> MScore for this results in too big line distances (the overall font >>> metrics >>> are wrong). >>> >>> /Werner >>> On Wednesday 11 March 2009 22:56:43 Lasconic wrote: >>>> It's a good find! It might help. I check Musescore code and the diff >>>> attached to the canorus post. >>>> QFont objects are created with MScore and MScore1 without the size. So >>>> it >>>> worth to try to put "MScore 20" and "MScore1 20' and compile on MacOSX. >>>> >>>> Side and maybe stupid question: Why MScore and MScore1 and not only one >>>> font? >>>> >>>> >>>> 2009/3/11 David Bolton <[hidden email]> >>>> >>>> > Grzegorz reports on the Canorus mailing list that he was able to get >>>> > fonts working on MacOS. Canorus is another open-source scorewriter >>>> that >>>> > uses the Qt4 library. Whether any of the information is relevant to >>>> > MuseScore I do not know but I am cross posting in case it is helpful. >>>> > >>>> > [Canorus-devel] Fonts under macosx >>>> > http://lists.berlios.de/pipermail/canorus-devel/2009-March/000790.html >>>> > http://lists.berlios.de/pipermail/canorus-devel/2009-March/000791.html >>>> > >>>> > -- >>>> > David Bolton >>>> > http://davidbolton.info >>>> > >>>> > >>>> > >>>> > >>>> ------------------------------------------------------------------------- >>>> >----- Apps built with the Adobe(R) Flex(R) framework and Flex >>>> Builder(TM) >>>> > are powering Web 2.0 with engaging, cross-platform capabilities. >>>> Quickly >>>> > and easily build your RIAs with Flex Builder, the Eclipse(TM)based >>>> > development software that enables intelligent coding and step-through >>>> > debugging. Download the free 60 day trial. >>>> > http://p.sf.net/sfu/www-adobe-com >>>> > _______________________________________________ >>>> > Mscore-developer mailing list >>>> > [hidden email] >>>> > https://lists.sourceforge.net/lists/listinfo/mscore-developer >>> >>> >>> ------------------------------------------------------------------------------ >>> Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are >>> powering Web 2.0 with engaging, cross-platform capabilities. Quickly and >>> easily build your RIAs with Flex Builder, the Eclipse(TM)based >>> development >>> software that enables intelligent coding and step-through debugging. >>> Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com >>> _______________________________________________ >>> Mscore-developer mailing list >>> [hidden email] >>> https://lists.sourceforge.net/lists/listinfo/mscore-developer >>> >> >> ------------------------------------------------------------------------------ >> Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are >> powering Web 2.0 with engaging, cross-platform capabilities. Quickly and >> easily build your RIAs with Flex Builder, the Eclipse(TM)based development >> software that enables intelligent coding and step-through debugging. >> Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com >> _______________________________________________ >> Mscore-developer mailing list >> [hidden email] >> https://lists.sourceforge.net/lists/listinfo/mscore-developer >> >> > > -- > View this message in context: http://n2.nabble.com/Canorus-experience-with-fonts-on-MacOS-tp2463982p2477419.html > Sent from the MuseScore Developer mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are > powering Web 2.0 with engaging, cross-platform capabilities. Quickly and > easily build your RIAs with Flex Builder, the Eclipse(TM)based development > software that enables intelligent coding and step-through debugging. > Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com > _______________________________________________ > Mscore-developer mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/mscore-developer > ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Mscore-developer mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/mscore-developer |
||||||||||||||||
|
Joachim Ganseman
|
Hi,
An update on MuseScore for Mac: I seem to be stuck now when linking to the prebuilt Qt4.5 libraries for Mac OSX. It just won't link against /usr/lib/libQtUiTools.a , even with header and library inclusion paths set properly. All the rest goes perfect, it's just this one error... Could be that I'm overlooking some kind of build option, but I guess I'll have to return to compiling the Qt libs for myself again. I'll do that tonight and see tomorrow if this brings me any further. Joachim ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Mscore-developer mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/mscore-developer |
||||||||||||||||
|
Thomas Bonte
|
Stay in there Joachim! Great job!
|
||||||||||||||||
|
Joachim Ganseman
|
Building Qt4.5 for myself solved the linking problem (I only built
static libraries for now just to be on the safe side, perhaps in later stages I'll switch to dynamic libraries). It compiles, links, and builds fine now, but suddenly most of the icons went missing (exactly the opposite of the prior case where icons would display but the notes wouldn't). Only the svg icons seem to be a problem, xpm ones display fine. I'm now downloading the nightly build of CMake and see whether this might solve things - could be something with the resource system in Qt 4.5 that has not been correctly added to the stable 2.6.3 version of CMake yet (since 4.5 is so new, I guess the CMake routines for Qt4.5 still need some tweaking). Otherwise I might need to have a look at the options with which I built Qt, but it links fine against my own built libQtSvg, so I don't really suspect the problem to be there... I'm working more or less fulltime on it now, I'll do whatever I can to provide a universal binary for OSX 10.4 and higher before the start of the MusikMesse. Joachim 2009/3/25 Thomas Bonte <[hidden email]>: > > Stay in there Joachim! Great job! > > > > Hi, > > An update on MuseScore for Mac: I seem to be stuck now when linking to > the prebuilt Qt4.5 libraries for Mac OSX. It just won't link against > /usr/lib/libQtUiTools.a , even with header and library inclusion paths > set properly. All the rest goes perfect, it's just this one error... > Could be that I'm overlooking some kind of build option, but I guess > I'll have to return to compiling the Qt libs for myself again. I'll do > that tonight and see tomorrow if this brings me any further. > > Joachim > > ------------------------------------------------------------------------------ > Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are > powering Web 2.0 with engaging, cross-platform capabilities. Quickly and > easily build your RIAs with Flex Builder, the Eclipse(TM)based development > software that enables intelligent coding and step-through debugging. > Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com > _______________________________________________ > Mscore-developer mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/mscore-developer > > > > -- > View this message in context: http://n2.nabble.com/Canorus-experience-with-fonts-on-MacOS-tp2463982p2530670.html > Sent from the MuseScore Developer mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are > powering Web 2.0 with engaging, cross-platform capabilities. Quickly and > easily build your RIAs with Flex Builder, the Eclipse(TM)based development > software that enables intelligent coding and step-through debugging. > Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com > _______________________________________________ > Mscore-developer mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/mscore-developer > ------------------------------------------------------------------------------ _______________________________________________ Mscore-developer mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/mscore-developer |
||||||||||||||||
|
Joachim Ganseman
|
I have it more or less up and running now, given a few tweaks:
- For some reason svg files won't be displayed on my system. I converted all icons to xpm file format and adapted a few of the sources thoroughly (only locally of course). I don't really know yet where the problem is... - I needed to convert the icon for the application to .icns format, and enlarge it to 128x128 pixels (the usual format for icons on Apple). Has the original icon ever been larger? Because mine is now a little blurry due to the interpolation. - It took me a while to realize that the add_executable() section for CMake needed some adaptations for Mac. Once this first working build is finished, I'll adapt the cmakelists.txt files in the trunk with the necessary tweaks for mac. - There are still quite a lot of small issues, amongst others that the executable won't close down properly. I'm looking into that first. - This weekend I'll have a Mac G4 with OSX 10.4 available, I run on Intel with 10.5 myself. Once it has been tested that my current build (based on revision 1676) works properly on both, I'll publish it. Joachim 2009/3/25 Joachim Ganseman <[hidden email]>: > Building Qt4.5 for myself solved the linking problem (I only built > static libraries for now just to be on the safe side, perhaps in later > stages I'll switch to dynamic libraries). It compiles, links, and > builds fine now, but suddenly most of the icons went missing (exactly > the opposite of the prior case where icons would display but the notes > wouldn't). > > Only the svg icons seem to be a problem, xpm ones display fine. I'm > now downloading the nightly build of CMake and see whether this might > solve things - could be something with the resource system in Qt 4.5 > that has not been correctly added to the stable 2.6.3 version of CMake > yet (since 4.5 is so new, I guess the CMake routines for Qt4.5 still > need some tweaking). Otherwise I might need to have a look at the > options with which I built Qt, but it links fine against my own built > libQtSvg, so I don't really suspect the problem to be there... > > I'm working more or less fulltime on it now, I'll do whatever I can to > provide a universal binary for OSX 10.4 and higher before the start of > the MusikMesse. > > Joachim > > > 2009/3/25 Thomas Bonte <[hidden email]>: >> >> Stay in there Joachim! Great job! >> >> >> >> Hi, >> >> An update on MuseScore for Mac: I seem to be stuck now when linking to >> the prebuilt Qt4.5 libraries for Mac OSX. It just won't link against >> /usr/lib/libQtUiTools.a , even with header and library inclusion paths >> set properly. All the rest goes perfect, it's just this one error... >> Could be that I'm overlooking some kind of build option, but I guess >> I'll have to return to compiling the Qt libs for myself again. I'll do >> that tonight and see tomorrow if this brings me any further. >> >> Joachim >> >> ------------------------------------------------------------------------------ >> Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are >> powering Web 2.0 with engaging, cross-platform capabilities. Quickly and >> easily build your RIAs with Flex Builder, the Eclipse(TM)based development >> software that enables intelligent coding and step-through debugging. >> Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com >> _______________________________________________ >> Mscore-developer mailing list >> [hidden email] >> https://lists.sourceforge.net/lists/listinfo/mscore-developer >> >> >> >> -- >> View this message in context: http://n2.nabble.com/Canorus-experience-with-fonts-on-MacOS-tp2463982p2530670.html >> Sent from the MuseScore Developer mailing list archive at Nabble.com. >> >> >> ------------------------------------------------------------------------------ >> Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are >> powering Web 2.0 with engaging, cross-platform capabilities. Quickly and >> easily build your RIAs with Flex Builder, the Eclipse(TM)based development >> software that enables intelligent coding and step-through debugging. >> Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com >> _______________________________________________ >> Mscore-developer mailing list >> [hidden email] >> https://lists.sourceforge.net/lists/listinfo/mscore-developer >> > ------------------------------------------------------------------------------ _______________________________________________ Mscore-developer mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/mscore-developer |
||||||||||||||||
| Free Embeddable Forum Powered by Nabble | Help |