Open JieMin27 opened 4 months ago
Hey @JieMin27
Can you check if the problem still occurs is if you use Text
component from react-native
?
Hey @JieMin27 Can you check if the problem still occurs is if you use
Text
component fromreact-native
?
The same issue occurs when using the Text component from React Native.
fontFamily: 'Poppins-Bold', fontWeight: '700',
In android, Poppins-Bold will be overwritten by system font when fontWeight is set to more than 600
It seems that the problem is not related to the library itself.
I would suggest you try:
Same issue
Current behaviour
I tried to use the Poppins font for my project. I found out that to make the font weight work, I can't set the base font family as 'Poppins'; instead, I need to declare it like fontFamily: 'Poppins-SemiBold' for it to work. However, for the font to work on iOS, I need to set up the fontWeight, but the fontWeight can only be set up to 600.
IOS Working: fontFamily: 'Poppins-Bold', fontWeight: '600',
Not Working: fontFamily: 'Poppins-Bold', fontWeight: '700',
Expected behaviour
How to reproduce?
Preview
What have you tried so far?
Your Environment