react-native-material-design-styles icon indicating copy to clipboard operation
react-native-material-design-styles copied to clipboard

Suggested way of installing Roboto/Noto fonts?

Open siderakis opened this issue 9 years ago • 4 comments

Just wondering how you recommend adding the required fonts.

siderakis avatar Feb 29 '16 03:02 siderakis

:+1: I'm looking for an install guide so I can get around this message in IOS:

Unrecognized font family "Roboto,Noto,sans-serif"

Did you have any luck with that? Thanks!

afilp avatar Oct 11 '16 12:10 afilp

Hi everyone, I was having the same problem.

What I did was install the fonts on iOS by creating a assets folder, inserting the Roboto fonts there, and adding the following code:

"rnpm": { "assets": ["assets"] }

Then using react-native link. Then I had to set the fontFamily to only 'Roboto' as this lib sets multiple fontFamily and this does not work on iOS (probably in Android too)

trackmob-dev avatar Mar 02 '17 12:03 trackmob-dev

Hi @Trackmob, Still getting this issue - can you please elaborate?

Where to create the assets folder? How do I "insert" the roboto font? Where do I add the code "rnpm": { "assets": ["assets"] }?

Thanks!

chenop avatar Dec 22 '17 09:12 chenop