ERROR LOADING FONTS ON ANDROID
I’m having an issue displaying a certain type of font on android. Probably because I’m using the PostScript naming format. Pls help me
5 Replies
This post can help you: https://stackoverflow.com/questions/43021540/custom-font-not-working-in-react-native
Stack Overflow
Custom font not working in React Native
I want to use a font from google fonts in my app. Here is the font.
I have placed the .ttf file in app/fonts.
package.json:
{
"name": "xxx",
"version": "0.0.1",
"private": true,
"
Thanks
I’m actually using expo for my rn project
for expo you can check this: https://stackoverflow.com/questions/68569844/react-native-expo-custom-fonts-not-loading-with-font-loadasync
Stack Overflow
React Native Expo - Custom Fonts Not Loading With Font.loadAsync
I'm up to date on the latest Expo version but for some reason, I can not get a simple custom font going. Here is a fresh project I set up attempting to get a custom font installed.
import React, {
Thanks 🙏🏾
Your welcome