MuseScore: missing lots of glyphs

  • Done
  • quality assurance status badge
Details
3 participants
  • gfp
  • Noé Lopez
  • Roman Riabenko
Owner
unassigned
Submitted by
Roman Riabenko
Severity
normal

Debbugs page

Roman Riabenko wrote 1 months ago
(address . bug-guix@gnu.org)
20250209120518.ced6641951f3e4df07c99407@riabenko.com
Missing glyphs in MuseScore "Insert special characters" tool, despite the
fact that the necessary fonts are installed.

How to reproduce
****************

1. Install "musescore" package or start a guix shell with that package.
2. Open "MU 4.3" application from an applications menu or start it from
a terminal with "mscore" command, or "LC_ALL=C mscore" to ensure the
interface in English.
3. Click "Remind me later" to close the "MuseScore Studio Development"
dialogue informing about the new version of the software.
4. Click on a white rectangle with a large "+" on it and a "New score"
label under it.
5. In the "New score" dialogue, click on any option in "Instruments"
area, such as "Piccolo in C". As a result, the arrow button
brightens, click it to "add selected instruments to score". As a
result, the "Next" button in the middle of the three buttons in the
bottom right of the dialogue window brightens up. Click it. In the
next dialogue window, click "Done". An untitled score appears.
6. In the main menu of the application, select "Add", then "Text", then
any existing element, such as "Title", "Subtitle", "Composer", etc.
As a result, that element is selected in the "Untitled score" tab and
the "Properties" tab appears in the left sidebar.
7. In the "Properties" tab in the left sidebar, click "Insert special
characters" button. The "Special characters" dialogue appears.
8. In the "Special characters" dialogue, click "Unicode symbols" tab.
9. In the list in the left panel of "Unicode symbols" tab of the
"Special characters" dialogue, select "Greek Extended".

Observed result
***************

In the "Greek Extended" section of "Unicode symbols" tab of the "Special
characters" dialogue, in MuseScore on Guix System, only the glyphs for
the following Unicode characters are displayed: "άέήίόύώΆιΈΉΐΊΰΎ΅`ΌΏ´".
The rest of the glyphs are not displayed and nothing is displayed in
their place.

Please refer to the attached file for an example output of "LC_ALL=C
mscore" while performing the above steps and closing the application.
Notably, it includes multiple instances of the following error:
"EngravingFont::draw | invalid sym: 2975"

Expected result
***************

Most of the characters are expected to be displayed. A few missing
characters are expected to be replaced with some placeholder character,
such as a question mark in some shape.

Additional information
**********************

Installing a font package with a large collection of glyphs, such as
font-google-noto package, does not affect the observed result.

Running "fc-cache -rv" updates the fonts cache but does not resolve
the above issue.

Other applications, such as gnome-characters or gucharmap, display most
of those glyphs.

Trisquel has a different version of MuseScore, which displays almost
all of the glyphs and shows a placeholder character instead of a few.

Previous discussion:

$ mscore --version
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
MuseScore4Development 4.3.2
$ uname -a
Linux desk 6.12.12-gnu #1 SMP PREEMPT_DYNAMIC 1 x86_64 GNU/Linux
$ guix describe
Generation 7 08 лют 2025 11:18:03 (current)
guix 5674ade
вітка: master
коміт: 5674adeb7579bdcfdb7342e6552f4735cd8f2afc

Roman
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEbyuIUwJNVUrtp3hK60bLvjKDmmkFAmeofd8ACgkQ60bLvjKD
mmn6dxAAhCrAMvDMD+0Qckmgw2IadlzsY3bA/soAZup/gTQzJK45fMJh+tBl7zEH
4Jad5O4atlpbf7WA2MEjYJwuXqG0J+N3PEkGpNypYh6E16zSxvr8ziVGUHqdpDiu
UIGf2cKs15pdrRDh0akY6wN1+8GknAAjTxLhESM2+eaqAPjOm2GENrOIGJsyMDtJ
FSWp0PCCjxttb860wUZQYnWqb1wr12kMAGbtH2Zn8NBdE4fjCYoygVm2EHf52eOX
ekUis5kDX2hcT/KU8ghvgU6878Mg4uckUnIdV6Qb2yWOvIYDDy9/Nq9kUgrZAoDI
dMydhFapBRRCGSrUcRyOlDGqwZuOESZ+jgmhlz0KfWZUDTjpP/whB/bzcR5v+TW/
Wv+L1oaQ9lcx/MAuYKbQcy8dzHU+qfIFFgEvLRsFA/fh20LjWfzSopHrYm0DuPhK
dicrF3by9urtFPuO/+JS6dImqvLQW549HoL23rNVR0qHTGVsvat9NouN1YOD8lNJ
cpgKAFbjUZMflXRNCYnQMcrA7JXiJ86J6NueuP6DS1VqBpwv87tlDSYqReOsstgO
TUt4q4KoPFpYipTAbNcWQlI1lKlVUBalW1qUJX0Co95n8Ig79lR5kS0M4vHWi5Nf
hgvpNtUGkZ3sCc/iMVVqoNT5MhDuZks3rHg1HaucGwGVkjtAHfk=
=kZch
-----END PGP SIGNATURE-----


Noé Lopez wrote 3 weeks ago
(address . 76155@debbugs.gnu.org)(name . Roman Riabenko)(address . roman@riabenko.com)
87tt8pwm6o.fsf@xn--no-cja.eu
Hi Roman,

Thank you for the detailed bug report, it was easy to reproduce,
although the insert special characters button was at the bottom for me.

The glyphs are indeed not showing if the selected font is Edwin (the
default), but if you select a font like Noto Sans, or DejaVu Sans for
your text the characters will appear fine. It seems the “special
characters” window uses the selected font for previews.

If you can’t access your fonts in MuseScore, make sure to add fontconfig
to your shell or profile to update the load paths:

Replace: guix shell mscore font-google-noto
With: guix shell mscore font-google-noto fontconfig

Then you will be able to select Noto Sans for your font and access these
special characters.

Does that work for you?

Good evening,
Noé
Roman Riabenko wrote 3 weeks ago
(name . Noé Lopez)(address . noe@xn--no-cja.eu)
20250222004144.457ac37d31d23f7986793a8e@riabenko.com
Hello, Noé.

Thank you for looking into it! So, it is not a bug. I copy another user
who reported having the same difficulty in guix-help mailing list.

On Thu, 20 Feb 2025 00:26:39 +0100
Noé Lopez <noe@xn--no-cja.eu> wrote:

Toggle quote (5 lines)
> The glyphs are indeed not showing if the selected font is Edwin (the
> default), but if you select a font like Noto Sans, or DejaVu Sans for
> your text the characters will appear fine. It seems the “special
> characters” window uses the selected font for previews.

If I select FreeSerif instead of Edwin in the side panel before clicking
the "Insert special characters" button, I achive the expected result later
in the "Greek Extended" tab. With FreeSerif, most of the characters are
displayed with only a handful of glyphs missing. FreeSerif is budled in
the musescore package, so it is readily available.

If I install the font-google-noto package and restart MuseScore, I can
also select Noto fonts. I tried Noto Sans and Noto Serif. They appear to
be missing the same glyphs as FreeSerif. So, it is not necessary to
install Noto fonts.

In Trisquel, the pre-selected font is FreeSerif instead of Edwin. There
is no package for Edwin font in Trisquel. However, I downloaded the font
from its git repository, installed it in Trisquel, and observed exactly
the same result as in Guix, which is most of the glyphs missing in the
"Greek Extended" tab.

Somehow, it did not occur to me that I need to select a different font.
Maybe, MuseScore could fall back to a different font when glyphs are
missing. But it is not a bug with the MuseScore packaging in Guix.

Roman
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEbyuIUwJNVUrtp3hK60bLvjKDmmkFAme5ASgACgkQ60bLvjKD
mmmy+g/9FiiuI5JrQ6a4orKjkBAzIm2kJUTnDcL/xynduetUuaRQCqzln+NcWT0O
LqI9OwpByEQs/kU7/VSh6Yn3i0wA8n2STUDPzAidBO/kk3o7v35KzGXBFVgnHlod
L6UNpUuazvIzXkOrpjZ+ii8N4LZh/nXB3/TL0t+9RecGMpQgd2EhUz13C7flyseM
nXSj3n+4GCEtOCFgBKFE2n7oQR92ybPRlgePZR49tyNgE2Lr2TDrJucQPUBJ3/BD
uO6dxE3AGHnJxmN7lk6CYdEsI2qCf46w8JJq8KQaaAv46m8TnqkeMI5+klZFI2T3
XOslfGWWHX0Il97c8macdP229z/WA2O5z+7Gmp8RgfJFhwMIsEyCFAhT0fIpN/HD
yr4wLC1zTCFE2xz4y60PkU5m//4Rr2XhEIxozexhUL7xoRvXNT/ZKBlkA7Oz/E++
DAG93xt/La9ctnNrlU2ZcsCS5KVGCxhhhlEkKhh5TOxYFMN0qEH03J86KqU9Dtul
h3Ar7r99PKC/Q8KTTxKcwZ1qTEbS3snBXhoUltsUrK4hrSjQvXLIgN22s5wzx/jK
E3NQRqDUMOmFRE4gUr++TVBR+6s0KhgdsJeatTuRKWEOdnFD5+cVBTpTHvOCWAFb
vPnC0po1fm+XPjANNr0AT+whWU5Wjc13JkjNt0+lCLgtqdv3cq8=
=OQ7p
-----END PGP SIGNATURE-----


gfp wrote 3 weeks ago
(address . 76155@debbugs.gnu.org)
75af876d-f9ac-4892-bb76-b335a2571bf3@posteo.at
Hi,
thanks for looking into this matter.
Toggle quote (4 lines)
> The glyphs are indeed not showing if the selected font is Edwin (the
>>> default), but if you select a font like Noto Sans, or DejaVu Sans for
>>> your text the characters will appear fine. It seems the “special
>>> characters” window uses the selected font for previews.
In my MuseScore 3.6.2 und MuseScore 4.3.2
the font "Noto Sans" is connected with Hebrew only, so it doesn´t show
any greek letter.
I checked "DejaVu Sans", and every Greek letter is shown up as You said.
But "FreeSerif" shows most of them, as you said.
thanks
Gottfried
Am 21.02.25 um 23:41 schrieb Roman Riabenko:
Toggle quote (35 lines)
> Hello, Noé.
>
> Thank you for looking into it! So, it is not a bug. I copy another user
> who reported having the same difficulty in guix-help mailing list.
>
> On Thu, 20 Feb 2025 00:26:39 +0100
> Noé Lopez <noe@xn--no-cja.eu> wrote:
>
>> The glyphs are indeed not showing if the selected font is Edwin (the
>> default), but if you select a font like Noto Sans, or DejaVu Sans for
>> your text the characters will appear fine. It seems the “special
>> characters” window uses the selected font for previews.
>
> If I select FreeSerif instead of Edwin in the side panel before clicking
> the "Insert special characters" button, I achive the expected result later
> in the "Greek Extended" tab. With FreeSerif, most of the characters are
> displayed with only a handful of glyphs missing. FreeSerif is budled in
> the musescore package, so it is readily available.
>
> If I install the font-google-noto package and restart MuseScore, I can
> also select Noto fonts. I tried Noto Sans and Noto Serif. They appear to
> be missing the same glyphs as FreeSerif. So, it is not necessary to
> install Noto fonts.
>
> In Trisquel, the pre-selected font is FreeSerif instead of Edwin. There
> is no package for Edwin font in Trisquel. However, I downloaded the font
> from its git repository, installed it in Trisquel, and observed exactly
> the same result as in Guix, which is most of the glyphs missing in the
> "Greek Extended" tab.
>
> Somehow, it did not occur to me that I need to select a different font.
> Maybe, MuseScore could fall back to a different font when glyphs are
> missing. But it is not a bug with the MuseScore packaging in Guix.
>
> Roman
Roman Riabenko wrote 2 weeks ago
(address . control@debbugs.gnu.org)
20250226003716.685f440d0e35a93c050a8d49@riabenko.com
close 76155
# not a bug
quit
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEbyuIUwJNVUrtp3hK60bLvjKDmmkFAme+RhwACgkQ60bLvjKD
mmnpJhAAt0m4JrL8xZLWCYZ/hzqRIZHrYtWOw46gSqmGSOrOFELzPWyuIUhbX6cw
6Mp2AxwalL3+vYUQudONMYixwx5q0K0ifKZkh3kglrU3EZOrT4SPhDhqStgDyRY/
VQscKussoQGQZRrTHSUqOgcBMS5XSL+Apn4ga5MZahD1w53L2p8vM8jghA+wKB3q
ON8I7fy+csHXZNGOhpqm3aJp9x9RaVEDrNO6LzumyhHmccI07aWOab47Lfxm+/v1
SPDZnJ1DA8vbOh7LXr1uWWZuw6JEfBYSxVjl5j4fv5LjE74CYfVY4cJNWH4Vgc/e
2dC/u/jIY/jTAjsKEYBjLcOANV5/cGMmfd8ZoHo2TbkYj5wNPxOy98ismEOCc/kF
7aC5d8N1M2eV2XRiUH/HR1soXxGiLQveY4Lle7t6zH1lMNvXRrCHLqblcAPuj8Be
i01fQ3ggTDMCtZunkPu8NqAWZN8qB0yyaizooncMd1E1m9E1pdr+8dLS3QNUyS2q
0q5hkJlAGidJjIS90hwOjHqtpW7WiljmSSamV54SJmGqPo3bCS4ulQ1EQO3q/RhC
187ba2GdP7K7CJhaNgRrCa72oz7L5YmBmWgWam7cVX0u+Pj/3EI+YCa672zgFaPu
z2oCR0bI1R6vhw0q7fPinct7WcxQgJe6E2aRpSubpZkorXIu/oY=
=26Pc
-----END PGP SIGNATURE-----


?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 76155@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 76155
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch
You may also tag this issue. See list of standard tags. For example, to set the confirmed and easy tags
mumi command -t +confirmed -t +easy
Or, remove the moreinfo tag and set the help tag
mumi command -t -moreinfo -t +help