Some fonts (such as Droid Sans) don't work anymore on some websites

UNCONFIRMED
Unassigned

Status

()

P3
normal
UNCONFIRMED
3 years ago
a year ago

People

(Reporter: nekohayo, Unassigned)

Tracking

45 Branch
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [gfx-noted])

Attachments

(1 attachment)

(Reporter)

Description

3 years ago
Created attachment 8731947 [details]
firefox44-droid-sans.png

User Agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0
Build ID: 20160304160021

Steps to reproduce:

Sample website: http://jeff.ecchi.ca

It has this in the head section:

    <link href="http://fonts.googleapis.com/css?family=Droid+Sans" rel="stylesheet" type="text/css" />

And this in its CSS:

body {
    font-family : "Droid Sans";
    font-size: 14px;
    [blah blah blah]
}

...and yet, it doesn't display the Droid Sans fonts anymore. This used to work prior to Firefox 44, on Fedora 23 64-bit.

Other sample website: ideemarque.ca, which has this directly in its CSS:

@font-face {
  font-family: 'Droid Sans';
  font-style: normal;
  font-weight: 400;
  src: local('Droid Sans'), local('DroidSans'), url(droidsans.woff) format('woff');
}

As you can see in the attached screenshot, the Firefox web inspector can't render the font either.

Again, this all used to work. Other browsers I've tested work fine with these two websites when it comes to font rendering (even Internet Explorer 8!)

Updated

3 years ago
Component: Untriaged → Graphics: Text
Product: Firefox → Core
This sounds like bug 1244693. But if so, it should be fixed already for FF 45. Could you confirm exact the versions being tested?
(Reporter)

Comment 2

3 years ago
This is Firefox 45.0 on Fedora 23, so seems the fix didn't work...
I am unable to reproduce this on Firefox 45.0 on Ubuntu 15.10. Since this used to work for you, are you able to run the mozregression tool to find the regression range? https://mozilla.github.io/mozregression/
Flags: needinfo?(nekohayo)
Whiteboard: [gfx-noted]
(Reporter)

Comment 4

3 years ago
Downloaded the mozregression .tar.gz, extracted it and:

jeff@kuze:/tmp/mozilla_jeff0/dist$ ./mozregression-gui 
./mozregression-gui: error while loading shared libraries:
    libssl.so.1.0.0: cannot open shared object file: No such file or directory
(Reporter)

Comment 5

2 years ago
Hi Jamie, I just pinpointed the source of the problem. This will happen if the machine has Droid Sans fonts installed locally, where Firefox will use them first instead of the online ones. I tested with Firefox 49 and Fedora 24 (still affected), and after removing the google-droid-sans*fonts packages, the website now displays the font correctly.

Yet, this wasn't an issue with older versions of Firefox, everything else being equal...
Flags: needinfo?(nekohayo)

Comment 6

2 years ago
This is still an issue in Firefox developer edition 54.0a2 (I'm on Fedora 25). seem this has been a known issue since 2010: https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/622176
You need to log in before you can comment on or make changes to this bug.