/assets/fonts
foldercd /assets/fonts
for file in "$arg"*.ttf; do
postscriptname=$(fc-scan --format "%{postscriptname}\n" $file);
echo "$postscriptname.ttf\n"
mv "$file" "$postscriptname.ttf";
done
npx react-native link
fontFamily
to your css e.g. fontFamily: "Kanit-Bold"
react-native — Jul 8, 2021