opentype.js
opentype.js copied to clipboard
Required Ligatures (rlig) are not implemented for latin script.
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.
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.
At the very least we should handle rlig for latin text.