Weird font bug on Manjaro
Hello, I am having a problem with the musescore version in the Manjaro repositories, all the fonts of the score are automatically changed to the default system font (the one used to write the window title and the names of the menus , in my case cantarell). It doesn't matter if I change the font from the inspector or by editing the text directly, the system font is always used, even if you select another one. The appimage does not have this bug. The spacing of the text also gets messed up because it seems the program tries to fit the font you selected but the font does not actually change.
Attachment | Size |
---|---|
noto sans.png | 69.97 KB |
free serif.png | 68.44 KB |
Comments
Maybe it's useless but: have you tried to use Format/Style/Text?
In reply to Maybe it's useless but: have… by Shoichi
Same result :(
In order to understand and assist better, we would need you to attach the actual score, not just a picture of it. But as it is, my best guess is the text in question has custom formatting applied via the text toolbar at the bottom of the screen, so the general text style changes you make in the Inspector are being overridden. Hitting the "Remove Custom Formatting" button would solve that if so.
In reply to In order to understand and… by Marc Sabatella
I attach a sample score. I did a screen capture using musescore built in tool and things got weirder, musecore screen capture does actually print the score with the correct font (in this case the font it set to freeserif) BUT thats not the way the score is shown on the screen while working with it.
Remember this only happens with the installation from the manjaro repositories, in the appimage the text is both shown and printed correctly. This started when the repository was updated from 2.3.1 to 2.3.2.
This is musescore's screen capture tool output:
This is how it is actually shown on the screen:
In reply to I attach a sample score. I… by [DELETED] 26799858
I have no familiarity with manjaro, but for the record, the score loads fine on Windows 10. I night guess manjaro itself contains an incompatible (corrupt?) version of FreeSerif that is being used in place of the version with MuseScore. That, of the repo for manjaro is simply missing this font - have you check that?. In other words, could be an issue with the repository.
In reply to I have no familiarity with… by Marc Sabatella
The problem happens with any font, if you change the system font all fonts change. I will send an email to the manjaro musescore package mantainer to see if he can help.
In reply to The problem happens with any… by [DELETED] 26799858
Thank you, Federico, for reaching out to the package maintainer. I'm curious to hear what they will say. I 'm usually on Arch Linux and I don't see this font issue there but yesterday, I did install Manjaro on an older Laptop and noticed this font issue. Just displaying the score is affected, as you said. If I print it, all looks good.
In reply to Thank you, Federico, for… by mss5
Hi mss5, the package mantainter answered that he is the arch linux mantainer and that this bug only happens in manjaro so there is nothing he can do. He told me to write to the manjaro team but im am not sure who should i report this to, i am fairly new to linux, i used debian for about a year now and have spent only a month or so in manjaro. I was aware that manjaro uses the arch linux community repos but if they dont have a package mantainter of their own i dont know if how this could be fixed.
PD: i made a typo in an earlier comment, i meant to say this bug started with 3.2.3
I was experiencing this same bug on my laptop, but not on my desktop. After some investigation, I found that in ~/.config/MuseScore/MuseScore3.ini, my desktop had theme\fontFamily=Sans Serif, but my laptop had theme\fontFamily=Cantarell. After changing my laptop's init file to match my desktop, the issue disappeared.
This still feels like a bug to me (setting the default font incorrectly shouldn't break the entire program's font rendering), but as a workaround try:
1. Open ~/.config/MuseScore/MuseScore3.ini
2. Change theme\fontFamily=Cantarell to theme\fontFamily=Sans Serif
In reply to I was experiencing this same… by andrewh5299
Hi, thanks for your answer, i just tried this and it works, now musescore renders the fonts correctly, the only issue is that now the UI in musescore has a different font from the rest of my OS but i guess its ok.
I posted the issue in the manjaro gitlab page and it didnt have a single response in like a month so i dont think its very likely we will get an "official" fix.
I have exactly the same problem.
In reply to I have exactly the same… by kresimir
So, does the same solution work? Also curious is the AppImage solves it for you.
In reply to So, does the same solution… by Marc Sabatella
AppImage does not have that issue. I have not been able to make the solution posted above work, the .ini file does not have this option.
In reply to AppImage does not have that… by kresimir
Try changing the font to sans serif on the preferences window, this and editing the .ini both work for me.
I have the exact same problem. I'm on Arch Linux. Changing config file does not work for me. But switching to AppImage works.
In reply to I have the exact same… by invisible-fish
Please send a bug report to the arch mantainer! If they fix it on their repo manjaro also gets the fix.
In reply to Please send a bug report to… by [DELETED] 26799858
That's good news, I thought the bug was specific to Manjaro. If it happens on vanilla Arch as well, then it will probably get fixed soon.
In reply to That's good news, I thought… by kresimir
I have (momentarily, for test purposes) installed Musescore on 4 computers, 2 with Arch Linux and 2 with Manjaro, all 4 with KDE. The funny thing is - of each flavour, one does have the font problem and one does not... Each of them are updated regularly, so they are supposed to be on the same versions (exception: one of the problem boxes has a kernel version 5.3, the other 3 have lts kernels 4.19).
I have tried fiddling with the configuration file, removing it at all, taking the file from a box without problems and copying to a problem box. Nothing helped :-(
Greetings -
Ulrich