opentype.js icon indicating copy to clipboard operation
opentype.js copied to clipboard

Required Ligatures (rlig) are not implemented for latin script.

Open ILOVEPIE opened this issue 2 years ago • 2 comments
trafficstars

Expected Behavior

rlig stands for required ligature, liga is optional ligature

Current Behavior

rlig is only on for arabic script.

Possible Solution

Add rlig to all scripts or just hard-code it to be on by default.

Steps to Reproduce (for bugs)

see #479 for reproduction steps.

Context

Some fonts use rlig instead of liga because they don't want the ligatures to be toggleable.

ILOVEPIE avatar Feb 05 '23 21:02 ILOVEPIE

I wouldn't hardcode it or make it un-disableable (is that an actual word?). An application like a font editor might want to disable them temporarily for debugging or demonstration purposes. I would just turn them on by default.

Connum avatar Feb 05 '23 22:02 Connum

At the very least we should handle rlig for latin text.

ILOVEPIE avatar Feb 05 '23 22:02 ILOVEPIE