You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The feature is currently very limited and differently handled on both platforms.
A better CSS style support of font features would be preferred. Android has native support for that already, so this functionality would have to be just made available as new style prop to JS.
iOS also supports the full spec but would need a custom (CSS) parser to parse the style setting.
Are there any good resources out here how to add a new property to RN StyleSheet and how to access it in the respective Text render components?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
The OpenType font spec lists a lot more than what is currently supported in RN:
https://docs.microsoft.com/en-us/typography/opentype/spec/featurelist
The feature is currently very limited and differently handled on both platforms.
A better CSS style support of font features would be preferred. Android has native support for that already, so this functionality would have to be just made available as new style prop to JS.
iOS also supports the full spec but would need a custom (CSS) parser to parse the style setting.
Are there any good resources out here how to add a new property to RN StyleSheet and how to access it in the respective Text render components?
Beta Was this translation helpful? Give feedback.
All reactions