-
Notifications
You must be signed in to change notification settings - Fork 791
[css-fonts] Clarify what ligatures are optional #2644
Copy link
Copy link
Closed
Labels
Closed Accepted by CSSWG ResolutionTestedMemory aid - issue has WPT testsMemory aid - issue has WPT testsTracked in DoCcss-fonts-3css-fonts-4Current WorkCurrent Workcss-text-3Current WorkCurrent Worki18n-sealreqSoutheast Asian language enablementSoutheast Asian language enablementi18n-trackerGroup bringing to attention of Internationalization, or tracked by i18n but not needing response.Group bringing to attention of Internationalization, or tracked by i18n but not needing response.
Metadata
Metadata
Assignees
Labels
Closed Accepted by CSSWG ResolutionTestedMemory aid - issue has WPT testsMemory aid - issue has WPT testsTracked in DoCcss-fonts-3css-fonts-4Current WorkCurrent Workcss-text-3Current WorkCurrent Worki18n-sealreqSoutheast Asian language enablementSoutheast Asian language enablementi18n-trackerGroup bringing to attention of Internationalization, or tracked by i18n but not needing response.Group bringing to attention of Internationalization, or tracked by i18n but not needing response.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Recently we got a bug report that when
text-justify: inter-characteris specified, some characters which should be composed are instead separated.I did some investigation and found that the reason is when that is specified, or a non-zero
letter-spacingis specified, Gecko disables featuresligaandcligbased on the CSS Text spec which states:while in this case, the composition is applied via
cligfeature. It sounds likecligis probably not an optional ligature.But according to @jfkthame in the bug comment, the example in OpenType feature registry for
cligclearly indicates it should be optional ligatures as it falls in the same category as ligatures like "fi". On the other hand, he also noticed that in shaping spec of some scripts,cligis also mentioned, which makes it less clear whether it is required, so maybe this should be conditionally treated optional.It would probably be helpful if the spec can provide recommendation on what ligatures should be considered optional. Also any feedback from i18n wg would be great.