Closed Bug 1829261 Opened 2 years ago Closed 2 years ago

Firefox can't render Helvetica font

Categories

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

Firefox 112
defect

Tracking

()

RESOLVED DUPLICATE of bug 1827950

People

(Reporter: gabriel.s.racz, Unassigned)

Details

Attachments

(1 file)

Attached image github-bug.png

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/112.0

Steps to reproduce:

I went to https://github.com/ and noticed the text wasn't being rendered. Found out the computed style was to render font-family:Helvetica. Firstly, I didn't have Helvetica font on my system which means it shouldn't have been so I went and downloaded, placed in .fonts folder and reset fc-cache. I even reset whole pc. Word processors and gnome-font-viewer could see the newly installed font.

Actual results:

No text is rendered, just blank space where the text would be. Still able to highlight and hover links but text is invisible.

Expected results:

Don't select Helvetica if it is not installed. Render Helvetica properly when it is installed.

The Bugbug bot thinks this bug should belong to the 'Core::Layout: Text and Fonts' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Layout: Text and Fonts
Product: Firefox → Core

Sounds like it could be bug 1827950.

Depends on: 1827950

Helvetica bitmap font is inside xfonts-100dpi (and maybe xfonts-75dpi) package in Ubuntu. You can try removing them.
Also bug 1827950 is fixed in the ff 113 beta.

(In reply to aaq7for from comment #3)

Helvetica bitmap font is inside xfonts-100dpi (and maybe xfonts-75dpi) package in Ubuntu. You can try removing them.
Also bug 1827950 is fixed in the ff 113 beta.

Removing xfonts-100dpi fixed the issue, thanks for the workaround.

@hyacoub 112.0.2 works fine with Helvetica bitmap font

If I'm understanding correctly, it sounds like this was indeed a duplicate of bug 1827950 (which shipped in 112.0.2, per bug 1827950 comment 25).

Status: UNCONFIRMED → RESOLVED
Closed: 2 years ago
No longer depends on: 1827950
Duplicate of bug: 1827950
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: