Closed Bug 1428595 Opened 6 years ago Closed 5 years ago

Fira Sans WOFF2 font doesn't render properly

Categories

(Core :: Graphics: Text, defect, P3)

defect

Tracking

()

RESOLVED WONTFIX

People

(Reporter: mayankleoboy1, Unassigned)

References

Details

(Whiteboard: [gfx-noted])

Attachments

(5 files)

Attached image Capture.PNG
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:59.0) Gecko/20100101 Firefox/59.0
Build ID: 20180106100308

Steps to reproduce:

1.open bugzilla page, example https://bugzilla.mozilla.org/show_bug.cgi?id=903519
2. See how the names of commentors are overbold.
3. See how the dates of attachments looks wrong.




Actual results:

Seeing this for a couple of days now. Not sure if this is a bugzilla issue, or font issue in firefox


Expected results:

not so
Attached image Capture2.PNG
Component: Untriaged → User Interface
Product: Firefox → bugzilla.mozilla.org
Version: Trunk → Production
We haven't changed anything about fonts.
Component: User Interface → Graphics: Text
Product: bugzilla.mozilla.org → Core
Version: Production → unspecified
my bugzilla preferences
Attached file aboutsupport.txt
about:support of my normal profile
Attached image bug.png
Firefox on top
Chrome on bottom.

Note how all the text in firefox is overbold.
Summary: Seeing wonky fonts on bugzilla for a couple of days → Seeing wonky (overbold) fonts on bugzilla for a couple of days
Maybe bug 1426390 is what changed things?

I've definitely been seeing *different* fonts on Bugzilla the past few days, although I thought it was intentional.  I don't see anything else font-related in https://groups.google.com/d/msg/mozilla.tools.bmo/JSvAIPzCsp0/tbzzt4g4BAAJ
Though the way to tell for sure is to compare current Bugzilla in a current nightly build and an old nightly build (from before you saw the change).
(In reply to David Baron :dbaron: ⌚️UTC-8 from comment #6)
> Maybe bug 1426390 is what changed things?

Looking at the commit that landed there, it actually changed a couple of things (not just adding resources in WOFF2 format, as per the bug title):

* Updated the version of the Fira fonts used (Fira Sans bumped from 4.106 to 4.203). Probably not a big deal in itself, as the actual glyph designs didn't generally change significantly; however.....

* Switched the underlying outline format in the fonts (both in the updated WOFF files and the newly-added WOFF2) from TrueType to CFF. This means the glyphs will go through an entirely different rasterizer codepath, and may lead to substantially different rendering even for glyph shapes that are theoretically "the same".

So yes, I think it's very likely bug 1426390 that caused this. The results will vary depending on platform (the exact rasterization of the two different glyph outline types varies considerably between platforms), and on local font-rendering settings (e.g. ClearType tuning settings in Windows, font hinting and smoothing options in Gtk, etc).
Blocks: 1426390
Ah yes, we did changed it. Why I forgot it already... ;) It's just the latest version of Fira Sans in the WOFF2 format so it can happen anywhere outside of Bugzilla.
Summary: Seeing wonky (overbold) fonts on bugzilla for a couple of days → Fira Sans WOFF2 font doesn't render properly
Note that the WOFF (1.0) file that was also updated in bug 1426390 contains the exact same CFF-based font resource as the WOFF2, and therefore will presumably render the same. The issue isn't WOFF2 vs WOFF, it's CFF vs TrueType outlines which render differently (on some platforms).
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P3
Whiteboard: [gfx-noted]
Any plans to fix this?
ni for comment 13
Flags: needinfo?(kohei.yoshino)
I’m not a graphics engineer, can’t fix it.
Flags: needinfo?(kohei.yoshino)
is it feasible to change the default font on bugzilla then?
Regardless of this particular bug, I’m planning to use a different font, probably Source Sans Pro, as part of the upcoming redesign. However, as mentioned in Comment 9, the rendering issue should be able to be reproduced on any site using current Fira Sans. So this bug still has to be solved in Firefox side (or the font itself maybe).
Actually the version used on Bugzilla (4.203) is not the latest (4.301). There are some bug fixes between these releases.

https://github.com/bBoxType/FiraSans

Mayank, can you still reproduce the issue with this demo site? I have Windows 10 on a Parallels VM but don’t see any issue even with the version 4.203.

https://bboxtype.com/typefaces/FiraSans/
Flags: needinfo?(mayankleoboy1)
(In reply to Kohei Yoshino [:kohei] (Bugzilla UX) (FxSiteCompat) from comment #18)
> Actually the version used on Bugzilla (4.203) is not the latest (4.301).
> There are some bug fixes between these releases.
> 
> https://github.com/bBoxType/FiraSans
> 
> Mayank, can you still reproduce the issue with this demo site? I have
> Windows 10 on a Parallels VM but don’t see any issue even with the version
> 4.203.
> 
> https://bboxtype.com/typefaces/FiraSans/

It is difficult to tell from the demo page. 
It looks from the readme,md that FiraSans will not be developed further. All the new work will be going in FireGo. So maybe we should switch to that?
Flags: needinfo?(mayankleoboy1) → needinfo?(kohei.yoshino)
Yeah we could try FiraGo, but by now I think it’s better to switch over to Source Sans Pro. My plan is to create a new style guide during this holiday season and implement it in January. (Bug 1377977)
Flags: needinfo?(kohei.yoshino)

We have eventually moved from Fira Sans to FiraGO. Is your issue solved?

Flags: needinfo?(mayankleoboy1)

It looks better now

Flags: needinfo?(mayankleoboy1)

Awesome. Then we can probably close this Graphics bug since Fira Sans is no longer maintained and it’s apparently not a widespread issue. Thanks for the testing!

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: