https://bugs.kde.org/show_bug.cgi?id=399529

            Bug ID: 399529
           Summary: Firefox doesn't use mscorefonts properly after KDE
                    Neon 18.04 upgrade
           Product: neon
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: neon-b...@kde.org
          Reporter: stevemcqu...@mailinator.com
                CC: j...@jriddell.org, neon-b...@kde.org, sit...@kde.org
  Target Milestone: ---

Created attachment 115500
  --> https://bugs.kde.org/attachment.cgi?id=115500&action=edit
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.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to