freetype for scorefonts

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

freetype for scorefonts

wschweer9
Font rendering in MuseScore is platform dependent. The Qt library uses
the underlying platform libaries
for this task. This results in slightly different looking scores
depending on the platform (linux, windows, mac).
Unfortunately this can also result in different line and page breaks in
some rare cases.

My latest commit tries to fix this by using the freetype library on all
platforms to calculate glyph metrics
and also render glyphs. This  makes sure the layout of a score is
identical on all platforms.
Freetype is used only for the score font. Text still may be slightly
different.

The cmake build system may be broken for windows and mac due to the new
freetype library requirement.
Any help in fixing this is appreciated.

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer
ABL
Reply | Threaded
Open this post in threaded view
|

Re: freetype for scorefonts

ABL
This post was updated on .
I managed to compile under Windows.
I installed FreeType binaries from here (Complete package, except sources):
http://gnuwin32.sourceforge.net/packages/freetype.htm
and used the default options.
Then inside MuseScore\build\mingw32.mingw.cmake I added the line:
set (ENV{FREETYPE_DIR} "$ENV{PROGRAMFILES(x86)}/GnuWin32")

The compilation went fine. When launching MuseScore, it then requires 2 additional dlls from $ENV{FREETYPE_DIR}/bin:
freetype6.dll
zlib1.dll

I am obtaining crashes when trying to change back and forth between Emmentaler, Gonville and Bravura in Style->General..., related to the cache.
Reply | Threaded
Open this post in threaded view
|

Re: freetype for scorefonts

wschweer9
The crash should be fixed with latest commit.

Am 06.05.2015 um 11:49 schrieb ABL:

> I managed to compile under Windows.
> I installed FreeType binaries from here (Complete package, except sources):
> http://gnuwin32.sourceforge.net/packages/freetype.htm
> Then set inside MuseScore\build\mingw32.mingw.cmake I added the line:
> set (ENV{FREETYPE_DIR} "$ENV{PROGRAMFILES(x86)}/GnuWin32")
>
> The compilation went fine. When launching MuseScore, it then requires 2 dlls
> from $ENV{FREETYPE_DIR}/bin:
> freetype6.dll
> zlib1.dll
>
> I am obtaining crashes when trying to change back and forth between
> Emmentaler, Gonville and Bravura in Style->General..., related to the cache.
>


------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer
Reply | Threaded
Open this post in threaded view
|

Re: freetype for scorefonts

lasconic
Administrator
Thank you for the investigation ABL!

It works on my Win 8.1 64bit machine. Let's see how the nighly buildserver, being 32 bit, handle it.

lasconic

2015-05-06 13:39 GMT+02:00 Werner Schweer <[hidden email]>:
The crash should be fixed with latest commit.

Am 06.05.2015 um 11:49 schrieb ABL:
> I managed to compile under Windows.
> I installed FreeType binaries from here (Complete package, except sources):
> http://gnuwin32.sourceforge.net/packages/freetype.htm
> Then set inside MuseScore\build\mingw32.mingw.cmake I added the line:
> set (ENV{FREETYPE_DIR} "$ENV{PROGRAMFILES(x86)}/GnuWin32")
>
> The compilation went fine. When launching MuseScore, it then requires 2 dlls
> from $ENV{FREETYPE_DIR}/bin:
> freetype6.dll
> zlib1.dll
>
> I am obtaining crashes when trying to change back and forth between
> Emmentaler, Gonville and Bravura in Style->General..., related to the cache.
>


------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer


------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer
Reply | Threaded
Open this post in threaded view
|

Re: freetype for scorefonts

Leon Vinken
In reply to this post by wschweer9
FYI, after installing freetype 2.5.5 using MacPorts, I could successfully build MuseScore (OS X 10.7.5, Xcode 4.6.3). Opening a few sample files so far showed no issues. Will keep you posted if I find anything unusual.