All optional ligature features should be suppressed when non-zero letter-spacing is present
Categories
(Core :: Layout: Text and Fonts, defect, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox110 | --- | fixed |
People
(Reporter: jfkthame, Assigned: jfkthame)
Details
Attachments
(1 file)
According to the CSS Fonts spec, item 11 in the list:
setting a non-default value for the letter-spacing property disables optional ligatures
Gecko has a longstanding implementation of this behavior, whereby non-zero letter-spacing disables the OpenType 'liga' (common ligatures) feature. However, it doesn't disable other kinds of "optional ligatures", in particular the features 'hlig' (historical ligatures) and 'dlig' (discretionary ligatures).
While the spec doesn't explicitly define what features "optional ligatures" should include, I think the intention must be that it means all ligature features other than 'rlig' "required ligatures". So 'dlig' and 'hlig' should be included in this.
We currently fail font-feature-resolution-002.html because of this.
Assignee | ||
Comment 1•1 year ago
|
||
This fixes behavior on css/css-fonts/font-feature-resolution-002.html.
Updated•1 year ago
|
Pushed by jkew@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/6ccbc33d9c23 When letter-spacing is present, disable all varieties of 'optional' ligatures, not only 'common' ones. r=emilio
Comment 3•1 year ago
|
||
bugherder |
Description
•