Chord diagram problem, question marks in boxes

• Sep 10, 2019 - 05:19

I am using version 3.2.3+dfsg1-1~ppa1804+1 with Linux Mint 19.2 Cinnamon. Suddenly I've started getting a problem with chord diagrams: Above strings that should have no o or x mark, instead of a blank there's a question mark in a box. See attached PDF. If I try to change the mark it cycles between o, x, and question mark in box.

Attachment Size
qm.pdf 14.46 KB
qm.mscz 3.24 KB

Comments

In reply to by Shoichi

I don't fully understand what's going on in that thread, but this seems to be something different. It doesn't involve attempting to copy and paste symbols, and the fretboard diagrams in the master palette also have the question mark in box — selecting diagrams from there doesn't give any different behavior. See screen grab attached.

Attachment Size
qm2.png 50.67 KB

My best guess is you have a font conflict - some font installed on your system that is "stealing" the attention of MuseScore from the internal version font it is wanting to use instead, and your version is not compatible.

In reply to by Marc Sabatella

Why would MuseScore be using the wrong font? That sounds like a bug. How would one diagnose this?

I have not installed any new fonts lately. I did upgrade Linux Mint from 19.1 to 19.2 recently, though, and this new behavior might be associated with that. I suppose the upgrade might have changed some fonts.

I see in Tools > Style > Text Styles one can set the font for many things but if any are relevant for this I can't tell from the name. All of the items in that dialog have font set to "FreeSerif".

In reply to by Richard S. Holmes

To be clear: MuseScore simply for a font called "FreeSerif" or whatever, it's up tot he OS and/or Qt to provide the appropriate one. If it's a font MuseScore needs control over, we provide our own version, and need you not to override it. meaning, don't install your own conflicting version fo the same font, since on most OS's, an installed font takes precedence over our own version (maybe there is an OS setting to override that behavior).

Many Linux systems do provide their own version of FreeSerif, and it might be missing some needed glyph. Looks like it's actually "FreeSans" that we use for drawing those characters (hardcoded, not set by any style).

In reply to by Marc Sabatella

As I said, I haven't installed any new fonts. Possibly the OS upgrade did something to its "FreeSerif" font. So how to fix the problem? As it stands MuseScore has become unusable for me. Is there any workaround at all?

If I understand you there may be a possible fix on the OS side, but I wouldn't know how to ask for it since I don't know exactly what it is MuseScore is expecting and not getting (like which glyph is missing).

In reply to by Richard S. Holmes

FreeSans, more likely, as I mentioned. Fix would be simple - uninstall that font.

As far as I can tell, there is an empty character ('') being drawn in that case, so it really shouldn't be displaying anything at all. Maybe some font settings causes that to go wrong. Or maybe it's some conflict in the Qt and/or freetype libraries installed on your system vs the ones MuseScore expects. Solution in that case would probably be to use the AppImage rather than the PPA version.

In reply to by Marc Sabatella

The problem also occurs in the AppImage version.

I'm using Ubuntu 19.10, the result is identical in the snap, repository and AppImage version.

fonts-freefont-ttf is part of the base fonts installed by Ubuntu, removing it will also remove the desktop metapackages:

# apt remove fonts-freefont-ttf
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  fonts-freefont-ttf ubuntu-desktop ubuntu-desktop-minimal

I hope there's a better way to fix this problem... thanks!

Perhaps there's an invisible control character in the code? Or an explicit space character would solve the problem?

Do you still have an unanswered question? Please log in first to post your question.