[0.60.5] fontWeight Has No Affect on Android When Using Numerical Values
See original GitHub issuefontWeight properties on Text components are not having an affect on Android styles on React Native Version 0.60.5. If I use the bold value, the Text component picks up the bold style, but any other value 200 up through 800 all display the same appearance as normal or 100. I performed the same change on RN Version 0.59.10 and the Text component is styled correctly.
React Native version:
    OS: macOS High Sierra 10.13.6
    CPU: (12) x64 Intel(R) Core(TM) i7-8850H CPU @ 2.60GHz
    Memory: 13.78 GB / 32.00 GB
    Shell: 5.3 - /bin/zsh
  Binaries:
    Node: 10.16.3 - ~/.nvm/versions/node/v10.16.3/bin/node
    Yarn: 1.17.3 - ~/Developer/Projects/hy-vee-grocery/node_modules/.bin/yarn
    npm: 6.9.0 - ~/.nvm/versions/node/v10.16.3/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  SDKs:
    iOS SDK:
      Platforms: iOS 12.1, macOS 10.14, tvOS 12.1, watchOS 5.1
    Android SDK:
      API Levels: 23, 25, 26, 27, 28
      Build Tools: 27.0.3, 28.0.3, 29.0.2
      System Images: android-23 | Google APIs Intel x86 Atom, android-24 | Google APIs Intel x86 Atom, android-25 | Google APIs Intel x86 Atom, android-26 | Google APIs Intel x86 Atom, android-26 | Google Play Intel x86 Atom
  IDEs:
    Android Studio: 3.4 AI-183.6156.11.34.5692245
    Xcode: 10.1/10B61 - /usr/bin/xcodebuild
  npmPackages:
    react: 16.8.6 => 16.8.6
    react-native: 0.60.5 => 0.60.5
Steps To Reproduce
- Change the fontWeightof aTextcomponent from100to600on Android.
Describe what you expected to happen:
Text component should be styled with new fontWeight, but the style does not change.
Snack, code example, screenshot, or link to a repository:
RN 0.60.5
 RN 0.59.10
RN 0.59.10

I just used react-native init projects at RN 0.59.10 and 0.60.5 to reproduce this behavior.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:20
- Comments:40 (2 by maintainers)
 Top Results From Across the Web
Top Results From Across the Web
How to add fonts for different font weights for react-native ...
The out of the box support for custom fonts on Android is a little limited in React Native. It does not support font...
Read more >react-native-font-weight - npm package - Snyk
Enables Font Weight attribute for ReactNative Android For more information about how to use this package see README. Latest version published 3 years...
Read more >font-weight - CSS: Cascading Style Sheets - MDN Web Docs
The font-weight property is specified using any one of the values ... Higher numbers represent weights that are bolder than (or as bold...
Read more >Adding Custom Fonts (A Complete Guide) - React Native 0.60+
Some fonts don't work with the same font-family name format. Try changing your font-family name from NutinoSans-Bold to nutinosans_bold on ...
Read more >How To Load and Use Custom Fonts with CSS | DigitalOcean
You learned how each font weight and style is a different file loaded from the service, and that the number of loaded variations...
Read more > Top Related Medium Post
Top Related Medium Post
No results found
 Top Related StackOverflow Question
Top Related StackOverflow Question
No results found
 Troubleshoot Live Code
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free Top Related Reddit Thread
Top Related Reddit Thread
No results found
 Top Related Hackernoon Post
Top Related Hackernoon Post
No results found
 Top Related Tweet
Top Related Tweet
No results found
 Top Related Dev.to Post
Top Related Dev.to Post
No results found
 Top Related Hashnode Post
Top Related Hashnode Post
No results found

It’s known issue due to Android limitations. Only way to use custom font weights is to create a custom font.
Android added support changing font weights programmatically, but won’t work on older versions.
I still have the same issue can anyone tell me about how to solve it!! react-native-cli: 2.0.1 react-native: 0.63.2