So in my .otf file for my font, apparently there is 2 types of the letter 'a' and by default its using the wrong one. I was wondering how to use the second type of 'a' in the .otf file in Android / Kotlin.
So in my .otf file for my font, apparently there is 2 types of the letter 'a' and by default its using the wrong one. I was wondering how to use the second type of 'a' in the .otf file in Android / Kotlin.
Per your comment, you're asking about Stylistic Sets (SS01 in particular), which is a standard OpenType feature that can be toggled with setFontFeatureSettings, using the string format explained over on the CSS Fonts Level 3.
However, OpenType features are usually "per script", so you'll want to verify that SS01 even does anything for Cyrillic.