Closed Bug 1647868 Opened 4 years ago Closed 4 years ago

Firefox displays glyphs instead of text with gfx.e10s.font-list.shared set to true

Categories

(Core :: Layout: Text and Fonts, defect)

x86_64
Linux
defect

Tracking

()

RESOLVED FIXED
82 Branch
Tracking Status
firefox-esr68 --- unaffected
firefox-esr78 --- unaffected
firefox77 --- unaffected
firefox78 --- unaffected
firefox79 --- disabled
firefox80 --- disabled
firefox81 --- disabled
firefox82 --- fixed

People

(Reporter: bws42, Assigned: jfkthame)

References

(Regression)

Details

(Keywords: regression)

Attachments

(3 files)

Attached image no text, just glyphs

This began with the second build of June 22nd. Turning off the shared font list allows the proper fonts to be used.

I'm running on Debian 8 with a 3.16.x kernel. Let me know if there are specific library versions you would like, or if there's other debugging I can help with.

Blocks: 1533462

Ugh, that's bad... thanks for reporting it promptly! If you look at the Element Inspector in the developer tools, what font (or fonts) does it report as being used (in the Fonts panel, not the CSS styles)? (If it shows anything readable, that is... or does the Inspector appear entirely as missing-character boxes as well?)

Do all webpages end up like this, or does it only affect certain pages?

Flags: needinfo?(mozilla)

Glyphs are everywhere. I've attached a screenshot of the font section for you.

Here's a translation of the red box part, thanks to asciitable

ClearlyU PU):style

Flags: needinfo?(mozilla)

Thanks! It appears we're mishandling something about the way the ClearlyU fonts are configured. I'll try to look into this.

Could you see if there are any fontconfig setup files that specifically relate to ClearlyU? I think something like

fgrep -r -i ClearlyU /etc/fonts

would list any relevant config files. If you find any, please attach them here so I can see how it's handled.

Also just to check, when gfx.e10s.font-list.shared is disabled, what font(s) get used here; is it still ClearlyU? (I'm guessing so, but would like to be sure.)

(For now, I suspect that if you were to disable/uninstall the ClearlyU font package -- not sure exactly what it's called in Debian -- the issue would go away, but obviously we need to fix this to work reliably.)

Flags: needinfo?(mozilla)

I don't think the ClearlyU font is the problem, rather the problem is Firefox trying to use it as I don't have it installed (the grep returned nothing).

The screenshot I originally submitted has no font styles associated with it, and Firefox uses DejaVu Serif normally. All pages on the internet display these glyphs instead of the appropriate text.

Flags: needinfo?(mozilla)

Okay, I'm wrong. ClearlyU is not listed in /etc/fonts, but I do have some .pcf.gz files for it in /usr/share/fonts/X11/misc. If I move those files aside the glyphs change a bit, looks like they need more vertical space, and the font being used is Twemoji Mozilla(?)

See Also: → 1648503
See Also: → 1648578
See Also: → 1648676
No longer blocks: 1533462
Keywords: regression
Regressed by: 1533462
Has Regression Range: --- → yes
See Also: 1648578
See Also: 1648676
See Also: 1648503

This issue affects openSUSE 13.2 32bit (with a supported set of libraries according to FF78ß release notes). Firefox cannot load any local fonts. All local font glyphs are displayed as hex boxes, including those in FF chrome. Web fonts still work.

This issue does not affect current openSUSE Tumbleweed 64bit.

Severity: -- → S3

I started seeing this with Nightly today on an old Ubuntu "trusty" image, this was just enabled by default in bug 1533462 (17b0768200fb), turning off gfx.e10s.font-list.shared fixes it for me. If I can be of any help debugging please let me know.

See Also: → 1663833

(In reply to Adam Gashlin (he/him) [:agashlin] from comment #12)

I started seeing this with Nightly today on an old Ubuntu "trusty" image, this was just enabled by default in bug 1533462 (17b0768200fb), turning off gfx.e10s.font-list.shared fixes it for me. If I can be of any help debugging please let me know.

I have a suspicion what's going on here. Could you let me know what fc-list --version reports on that system, please? (See also https://bugzilla.mozilla.org/show_bug.cgi?id=1663833#c5)

Flags: needinfo?(agashlin)

fc-list --version
fontconfig version 2.11.0

I also have fontconfig version 2.11.0, and apt says the package is 2.11.0-0ubuntu4.2. Thanks!

Flags: needinfo?(agashlin)

Thanks for confirming that, both of you. Given this, I think I understand the root of the problem, and should have a fix ready shortly.

Assignee: nobody → jfkthame
Status: NEW → ASSIGNED
Pushed by jkew@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/8f7d601341b4 Work around FcNameParse bug in versions around fontconfig 2.11.0, to avoid broken fonts when the shared font-list is enabled. r=lsalzman

I grabbed the autoland build, it works on my system with the pref set, thanks!

Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 82 Branch

Since the status are different for nightly and release, what's the status for beta?
For more information, please visit auto_nag documentation.

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

Attachment

General

Created:
Updated:
Size: