Weird Reversal of Font Styles / Font Styles being overridden #23026
Labels
Bug
Issue: Author Provided Repro
This issue can be reproduced in Snack or an attached project.
Resolution: Locked
This issue was locked by the bot.
Environment
Description
fontStyle: 'italic'
overrides any usefontWeight
fontFamily
doesn't result in that font being displayed correctlyfontWeight: '${number}'
sometimes results in an italic style being appliedHere I am using the react-native Text component with the specific fontFamily listed below (called subFonts maybe?):
The issue is that all the fonts that end in
6
should be Italic whereas the fonts that end in5
should be regular. And this is indeed the case when looking at these fonts in the the xCode project or an Application like FontBook on MacOS. But here, it seems arbitrary weather BOTH bold and and italic versions of one weight will end up being one or the other.And here I am using the (Base / Master / Parent not sure what its called)? fontFamily name like so:
And in this case:
fontStyle: 'italic'
overrides any usefontWeight
... and ...
fontWeight: '${number}'
sometimes results in an italic style being appliedxCode
All linked properly
The text was updated successfully, but these errors were encountered: