Closed Bug 1451327 Opened 6 years ago Closed 6 years ago

Fonts with @font-face descriptor are bold

Categories

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

61 Branch
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME
Tracking Status
firefox60 --- wontfix
firefox61 --- affected

People

(Reporter: roxana.leitan, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(5 files)

Attached file font-face .html
User Agent  Mozilla/5.0 (X11; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0
Build ID: 20180404100127

[Affected versions]:
Nightly 61.0a1

[Affected platforms]:
Ubuntu 16.04 x64, Windows 10 x64

[Prerequisites]:
Set pref gfx.downloadable_fonts.otl_validation = false

[Steps to reproduce]:
1.Launch Nightly 61.0a1 with a new profile
2.Open the attached Html

[Expected result]:
The font should not be bold (as in Chrome)

[Actual result]:
The font is bold (please see the attached screenshot)

[Note]:
The issue is reproducible with "layout.css.font-variations.enabled" on False
Attached image font face.png
Attached image font 2.png
The issue is reproducible on https://developer.microsoft.com page also
(In reply to roxana.leitan@softvision.ro from comment #0)
> Created attachment 8964910 [details]
> font-face .html
> 

Are you sure the right version of this test file was attached? This file does not actually apply the webfont to any content; and so the screenshot (attachment 8964911 [details]) just shows a difference in default fonts between the Chrome and Firefox configurations.
Flags: needinfo?(roxana.leitan)
Attached file font-face example
I don't think this is valid/actionable as filed, per comment 3. I'll attach an updated example that uses @font-face to load a webfont and applies it to the text, which should be usable as a testcase.

(It loads the font resource directly from the axis-praxis.org site, which may not be guaranteed to remain available; an alternative would be to download the .woff2 file and put in the same directory as the testcase, and then just use the plain filename in the src: descriptors instead of the https://... url.)
Flags: needinfo?(roxana.leitan)
Is there anything to do here, given the updated example (comment 4), or can we close this issue?
Flags: needinfo?(roxana.leitan)
Attached image font face bold.png
Based on this attachment I think we should close this bug
Flags: needinfo?(roxana.leitan)
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: