Closed
Bug 1624225
Opened 5 years ago
Closed 5 years ago
Variation font with no specifically-defined instances doesn't work in Gecko
Categories
(Core :: Layout: Text and Fonts, defect, P3)
Core
Layout: Text and Fonts
Tracking
()
RESOLVED
FIXED
mozilla76
Tracking | Status | |
---|---|---|
firefox76 | --- | fixed |
People
(Reporter: jfkthame, Assigned: jfkthame)
Details
Attachments
(1 file)
Discovered in the course of investigating https://github.com/web-platform-tests/wpt/issues/22355: we fail to recognize variation axes in a font if there are no entries for specific font instances in the 'fvar' table. This is because we reject the table in gfxFontUtils::GetVariationData
if the instanceCount
field is zero.
However, it is in fact valid to have no instance records here, according to the spec. So we just need to remove that check and accept the table in this case.
Assignee | ||
Comment 1•5 years ago
|
||
Pushed by jkew@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/0af3b4b7bd51
Don't reject 'fvar' table in a variation font if no instance records are present, as the font is still valid. r=lsalzman
Comment 3•5 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 5 years ago
status-firefox76:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla76
You need to log in
before you can comment on or make changes to this bug.
Description
•