Bug 399529 - Firefox doesn't use mscorefonts properly after KDE Neon 18.04 upgrade
Summary: Firefox doesn't use mscorefonts properly after KDE Neon 18.04 upgrade
Status: RESOLVED WORKSFORME
Alias: None
Product: neon
Classification: KDE Neon
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Neon Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-08 22:56 UTC by stevemcqueen
Modified: 2022-12-31 05:24 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
simple example html file (390 bytes, text/html)
2018-10-08 22:56 UTC, stevemcqueen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description stevemcqueen 2018-10-08 22:56:36 UTC
Created attachment 115500 [details]
simple example html file

SUMMARY
KDE Neon upgraded to 18.04 seems to have broken something with how Firefox uses ttf-mscorefonts, and it will no longer use Arial, Times New Roman, etc. Instead it defaults back to the Noto font family.

Note that this is NOT about mapping "sans-serif"->Arial as a default font. When the font is explicitly set to Arial, with no fallbacks, it is not used.

I've attached a sample html file below, it just shows examples of font-family:arial, etc.:
<p style="font-family: arial">This should be Arial</p>

STEPS TO REPRODUCE
1. With a fresh install of KDE Neon 18.04 (optional?)
2. Open the test file with Firefox. 
3. right click the text -> inspect element. In the inspector at the bottom right, choose 'computed' to see the font family is supposed to be Arial, etc. Choose 'Fonts' to see that Firefox chose 'Noto Serif'
4. run 'sudo apt-get install ttf-mscorefonts-installer' and follow prompts to install.
5. reboot and/or reopen firefox with the same file. Re-inspect the same element and see the effective font. 

OBSERVED RESULT
Font is still shown as the Noto family.

EXPECTED RESULT
Font should be Arial (or Verdana, Times New Roman, etc.)

SOFTWARE VERSIONS
(available in About System)
KDE Plasma Version: 5.13.5
KDE Frameworks Version: 5.50.0
Qt Version: 5.11.1
Firefox Version: 62.0.3
KDE Neon user edition neon-useredition-20181004-1723-amd64.iso

ADDITIONAL INFORMATION
I performed the steps above with a fresh KDE Neon ISO in a VM, and again with an Ubuntu 18.04.1 ISO. Installing mscorefonts works in Ubuntu, so it appears to be something specific to KDE/KDE Neon.
Comment 1 Justin Zobel 2022-12-01 04:34:42 UTC
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 2 Bug Janitor Service 2022-12-16 05:14:08 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2022-12-31 05:24:14 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!