Fret diagram: strings with no X or O display as ? on Linux
Reported version
3.3
Priority
P1 - High
Type
Functional
Frequency
Once
Severity
S3 - Major
Reproducibility
Always
Status
closed
Regression
Yes
Workaround
No
Project
Linux only, apparently, and maybe not all Linux distrubtions. But fret diagrams are rendering in the palette and on the score with "?" characters on the strings with no X or O. That's because we are trying to draw a null character in FreeSans, and I guess it's not always defined. It worked in some previous release, not sure when it broke, but no matter, cause and possible fixes are obvious enough.
Fix version
3.4.0
Comments
https://github.com/musescore/MuseScore/pull/5527
Fixed in branch master, commit 2532e010f5
_fix #298471: strings with no X or O render as ? on Linux
Resolves: https://musescore.org/en/node/298471
Strings in fret diagrams with no X or O have no marker,
but in some Linux systems, we are rendering a "?" character,
as we are actuall trying to draw a null character in FreeSans,
and that is the result depending on the specific version
of the font, rendering libraries, etc.
Fix is simplky to skip the draw if the market is null.
This is the approach used in the Inspector,
and is also what was done prior to the big fret diagram refactor,_
Fixed in branch master, commit 43c7d2a359
_Merge pull request #5527 from MarcSabatella/298471-fret-null
fix #298471: strings with no X or O render as ? on Linux_
Automatically closed -- issue fixed for 2 weeks with no activity.