Custom fonts, configureFonts function
See original GitHub issueYou need to specify the ios key of the object needed by the function configureFonts. Just putting a default in there is not enough if you want your font to display on the ios simulator. Not sure if intended or not 😃
{
ios: {
// needs to be specified
},
default: {
regular: {
fontFamily: 'Lato',
fontWeight: 'normal',
},
medium: {
fontFamily: 'Lato-Bold',
fontWeight: 'bold',
},
light: {
fontFamily: 'Lato-Light',
fontWeight: 'normal',
},
thin: {
fontFamily: 'Lato-Thin',
fontWeight: 'normal',
},
}
}
Issue Analytics
- State:
- Created 4 years ago
- Comments:6
Top Results From Across the Web
Fonts · React Native Paper
The easiest way to install custom fonts to your RN project is do as follows: Define path to assets directory with fonts in...
Read more >React-Native-Paper Theme won't use Custom Fonts
As I am new to react-native-paper , I think my issue is with my fontConfig or configureFonts() . Any help or direction would...
Read more >Configure fonts in HTML templates - Knowledge Center - Zuora
To load a custom font into the HTML template through the @font-face rule, perform the following steps: Prepare your custom font file that...
Read more >How To Configure Fonts | inSpired - inSided community
Sign in to a community account with user role Community Manager or ... For this you'll need to inject or link to your...
Read more >Custom Font Settings (Pro Edition) | ActiveReports 16 .NET ...
Note: The Section Report PDF export does not support font factory settings. Instead, you can configure fonts with GcDocs API (GcImaging and GcPdf)....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks man that helped me!
@kopax - Works Thanks - Just note if using for WEB
fontConfig.web = fontConfig.default;