Bug 1790829 - some fonts do not render as expected
Summary: some fonts do not render as expected
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: mscore
Version: 31
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jerry James
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-01-14 10:43 UTC by cornosier
Modified: 2020-11-24 20:08 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2020-11-24 20:08:59 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Comparison of fonts (177.68 KB, image/jpeg)
2020-01-14 10:43 UTC, cornosier
no flags Details
image of demoFontComboBox.py (86.11 KB, image/jpeg)
2020-01-24 07:38 UTC, cornosier
no flags Details

Description cornosier 2020-01-14 10:43:44 UTC
Created attachment 1652154 [details]
Comparison of fonts

Description of problem:


Version-Release number of selected component (if applicable):

Nom          : mscore
Version      : 3.3.4
Publication  : 4.fc31
Architecture : x86_64
Taille       : 87 M
Source       : mscore-3.3.4-4.fc31.src.rpm
Dépôt        : @System
Depuis le dé : updates

some fonts do not render as expected
in the picture have seen the difference between the official version and the Fedora version

Comment 1 Jerry James 2020-01-16 03:00:35 UTC
We've tried to unbundle some fonts in Fedora; it is possible that broke something.  I will try to debug the problem.  Thank you for bringing it to my attention.

Comment 2 Jerry James 2020-01-24 04:50:52 UTC
I've tried undoing the font unbundling, and building all the fonts into the executable like upstream does.  Nothing changed.

As far as I can tell, MuseScore is just using a standard QFontComboBox for font selection.  Can you try an experiment for me?  Install the python3-qt5 package, if is not already installed.  Copy the code at https://github.com/PacktPublishing/Qt5-Python-GUI-Programming-Cookbook/blob/master/Chapter02/demoFontComboBox.py into a local file, say fonts.py.  Run "python3 fonts.py".  What do you see, fonts like the Fedora-built MuseScore, or fonts like the MuseScore appimage?

Comment 3 cornosier 2020-01-24 07:38:38 UTC
Created attachment 1654972 [details]
image of demoFontComboBox.py

thank you for your attention
As you can see on the attached image, I see the fonts of MuseScore appimage and not that of Fedora
This is particularly visible on C39 and Capella which are serif fonts

Comment 4 Bruno Vernay 2020-04-05 11:54:46 UTC
Fonts work in Flatpak https://github.com/flathub/org.musescore.MuseScore

Using the demoFontComboBox.py program, I do not have the same results as Cornosier:
- the dropdown list selector shows the fonts (unlike MuseScore)
- The text's font does not change as I select different fonts in the dropdown list (like in MuseScore)
I also have the error message qt.qpa.wayland: Wayland does not support QWindow::requestActivate()

Python 3.8.2
python3-qt5-5.13.2-5.fc32.x86_64

Comment 5 Bruno Vernay 2020-04-05 18:30:30 UTC
More tests https://gitlab.com/snippets/1963052 
My python program works! (I am not sure the original code is supposed to work? The currentFontChanged signal is not connected to any action in the original.)

So Fonts are working. 

But as soon as I launch the program, I have this error: "QSocketNotifier: Can only be used with threads started with QThread"
Then only as I change the font, I have: "qt.qpa.wayland: Wayland does not support QWindow::requestActivate()"
and it depends on the fonts too.

But if I use "env QT_QPA_PLATFORM=xcb python3 fonts-test.py" I have no error message.

In any cases, the program works, fonts are displayed.

Comment 6 Bruno Vernay 2020-04-20 20:06:25 UTC
Any update? Can we help somehow? 
Otherwise could it be possible to revert the packaging changes to get back the fonts?
(Since PipeWire is not there yet, Flatpak is not an option.)
Thanks

Comment 7 Bruno Vernay 2020-06-15 08:10:00 UTC
In the 3.4.2-4 It works.  I guess the Qt 5.14.2 update solved the issue.
I am closing this.

Comment 8 Bruno Vernay 2020-06-15 08:14:10 UTC
It seems that I do not have any privilege to modify this bug.
Well, it does not seem to have worried anyone anyway.

Comment 9 Ben Cotton 2020-11-03 16:10:05 UTC
This message is a reminder that Fedora 31 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 31 on 2020-11-24.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
Fedora 'version' of '31'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 31 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 10 Ben Cotton 2020-11-24 20:08:59 UTC
Fedora 31 changed to end-of-life (EOL) status on 2020-11-24. Fedora 31 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.