'Disable OpenType `ccmp` Glyph Composition in CSS
I'm using a font called Lora in an Electron app, and I encountered a problem where text like mysterious `accent`
is automatically converted to mysterious àccent
due to OpenType glyph composition.
<p>mysterious `accent`</p>
becomes:
I tried disabling this feature using font-feature-settings: "ccmp" off
, but no luck. This is happening inside of an Electron app, but I'm strangely unable to reproduce it on e.g. the Google Fonts page in Chrome.
How can I correctly disable the ccmp
OpenType feature in Electron?
Solution 1:[1]
It turned out to be a bug with the font, and has since been fixed in the latest release.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Benjamin Bray |