Closed
Bug 1385555
Opened 8 years ago
Closed 8 years ago
@font-face on gcc.godbolt.org for Fira Mono shows proportional serif font
Categories
(Core :: Graphics: Text, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 1331797
People
(Reporter: zao, Unassigned)
Details
(Keywords: regression, regressionwindow-wanted)
Attachments
(2 files)
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:56.0) Gecko/20100101 Firefox/56.0
Build ID: 20170728100358
Steps to reproduce:
Navigate to the Compiler Explorer at https://gcc.godbolt.org/ using both
* Nightly 56.0a1 (2017-07-28) (64-bit), and
* released Firefox 54.
Look at and compare the text editors and panes.
Actual results:
Note that they are not using the Fira Mono font the CSS requests via @font-face in Nightly.
The CSS and a WOFF2 are fetched with 200 OK status.
Expected results:
The Fira Mono font should render instead of some serif proportional font.
Reporter | ||
Comment 1•8 years ago
|
||
Reporter | ||
Comment 2•8 years ago
|
||
If you're noticing the adblock/greasemonkey/stylish addons in my toolbar, I've verified this in a separate profile as well.
I cannot reproduce the issue on the latest Nighyly for macOS. The font is served from Google Fonts. Not sure Bug 1331797 is related. Can you please find a regression range with mozregression? https://mozilla.github.io/mozregression/
Component: Untriaged → Graphics: Text
Keywords: regression,
regressionwindow-wanted
Product: Firefox → Core
Comment 4•8 years ago
|
||
The Fira Mono font they're serving is invalid; see the Browser Console for error messages:
downloadable font: Layout: DFLT script doesn't satisfy the spec. DefaultLangSys is NULL (font-family: "Fira Mono" style:normal weight:normal stretch:normal src index:2) source: https://fonts.gstatic.com/s/firamono/v5/SlRWfq1zeqXiYWAN-lnG-pBw1xU1rKptJj_0jans920.woff2
(Kohei, do you have Fira Mono installed locally? If so, it probably uses that instead of a resource from Google Fonts. Or if you have set gfx.downloadable_fonts.otl_validation to 'false' in about:config, the font from Google will be accepted despite the error. That's also why a release build doesn't show the problem.)
Ah yes, disabling Fira Mono locally reproduces the issue. Then marking as a dup of Bug 1331797 which I've already documented as https://fxsitecompat.com/en-CA/docs/2016/some-web-fonts-may-not-be-displayed-due-to-stricter-validation/
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•