Open Luckygirlllll opened 6 years ago
Download it manually - this lib won't do it for you.
Where is the FontAwesome.ttf? Without adding this file to the project library wouldn't work?
Where is the FontAwesome.ttf? Without adding this file to the project library wouldn't work?
The FontAwesome.ttf is no longer used, because fontawesome does not have this file anymore. Now the fontawesome use separated files named like this:
fa-brands-400.ttf fa-regular-400.ttf fa-solid-900.ttf
so for IOS - do we need to rename it ? I am getting Unrecognized font family 'FontAwesome5FreeSolid'
Where is the FontAwesome.ttf? Without adding this file to the project library wouldn't work?
The FontAwesome.ttf is no longer used, because fontawesome does not have this file anymore. Now the fontawesome use separated files named like this:
fa-brands-400.ttf fa-regular-400.ttf fa-solid-900.ttf
I've downloaded those files, put them in my fonts folder and run react-native link again but am still getting the square box with a cross instead of the icon. Do you know if there's anything else undocumented that needs to be done to get this going?
I had to modify FontAwesomeIcons.js and change the font names, which weren't matching the actual names of the font files that I saw when opening the fonts in FontBook.
e.g. instead of "FontAwesome5FreeSolid" I changed it to "Font Awesome 5 Pro" -- or "Font Awesome 5 Free" if I were using the free set.
There might be a better solution, but I'm not sure what it is?
Where is the FontAwesome.ttf? Without adding this file to the project library wouldn't work?