How to use custom fonts for text
See original GitHub issue<Text
key={i} x=‘0’ y=‘0’ fontSize=‘24’ fontFamily='somefont'></Text>
Seems it uses the default font
Issue Analytics
- State:
- Created 7 years ago
- Reactions:6
- Comments:15
Top Results From Across the Web
How To Load and Use Custom Fonts with CSS | DigitalOcean
Then, you will use a font-hosting service, Google Fonts, to find, select, and load custom fonts onto your page. Lastly, you will load...
Read more >How to Install Custom Fonts on Your Computer [Quick Tip]
1) Shut down any program you want to use the font in. · close_ppt · 2) Download the font to your computer and...
Read more >Use a custom font - Flutter documentation
Use a custom font · 1. Import the font files. Supported font formats · 2. Declare the font in the pubspec. pubspec.yaml option...
Read more >Applying custom fonts to text | Apple Developer Documentation
To use a custom font, add the font file that contains your licensed font to your app, and then apply the font to...
Read more >The Easy Way to Add Fonts to Your Website (Including ...
In most cases, when looking to add a custom font that does not exist within Google Fonts, you will need to edit the...
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
I have one custom font: Kingsman
I do place font in
project_folder/src/fonts/Kingsman.tff
then editpackages.json
like this:Next, i do link fonts to Android/iOS:
Fonts copied to 2 android and ios project
Then i try to display Text to make sure i do correctly:
=> Display correct font as expected.
Problem on
Android ONLY
==> Doesn’t make scene on Android device, iOS working good.
Did you look at https://github.com/react-native-community/react-native-svg/issues/122