-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[MU4 Issue] MuseJazz bold renders poorly in some situations #14435
Comments
@oktophonie - have you even the slightest idea why this might be happening? 😄 |
None whatsoever! |
I remember that there were similar issues in the past so I did a little digging and have at least some idea of what is happening. Because MuseJazz doesn't have a true bold variant, it relies on "synthetic" boldening done in the rendering engine. This has been a problem for a long time, not just with MuseJazz, but other fonts. See https://musescore.org/en/node/284218 and https://musescore.org/en/node/281601. Apparently, there is some sort of bug in Qt and/or the FreeType rendering engine causing this. In the past, a hack was found to work around the problem, resulting in #5794, which allowed MU3 to work. Whatever is responsible for generating those previews probably needs to deal with this as well. The thing is, the Qt bug this was working around was supposedly fixed in Qt 5.12, so it shouldn't still be affecting us. But maybe we are applying it somewhere we shouldn't be? Anyhow, the relevant code in MU4 seems to be
|
Ciao. |
I think the main problem is the fact that the diagonal memeber of the painter matrix are not always 1.0, i.e. we scale the coordinate system instead of the elements when doing the zoom. |
…t workaround for artificially emboldened text
…t workaround for artificially emboldened text
…t workaround for artificially emboldened text
…t workaround for artificially emboldened text
FWIW: same issue with 3.x and its startcenter |
…t workaround for artificially emboldened text
Describe the bug
MuseJazz renders poorly in bold in some situations
To Reproduce
Steps to reproduce the behavior:
Expected behavior
MuseJazz bold should render normally
Screenshots
Platform information
Additional context
This is one way to see the issue. But it also happens directly within MuseScore on some platforms if you try underlining the text, or if you try downsizing it. This has been an issue on and off in the past and apparently still is in at least this case. I can't reproduce any other effects on my current system with MU4 but I've seen it in the past and there is a current report of this in MU4(#12714). I believe the issue is probably bad metrics on the font, or bad options generating the OTF or TTF file, or bad choice of rendering library, or something specific to the way font scaling is performed within MuseScore.
The text was updated successfully, but these errors were encountered: