use ttf fonts on ios

This commit is contained in:
Samuel Newman
2026-08-28 15:27:01 +01:00
parent 00dc9598fc
commit d3e3ff8032
3 changed files with 18 additions and 13 deletions
+8 -3
View File
@@ -304,10 +304,14 @@ module.exports = function (_config) {
[
'expo-font',
{
ios: {
fonts: [
'./assets/fonts/inter/InterVariable.ttf',
'./assets/fonts/inter/InterVariable-Italic.ttf',
],
},
android: {
fonts: [
'./assets/fonts/inter/InterVariable.woff2',
'./assets/fonts/inter/InterVariable-Italic.woff2',
// Android only
'./assets/fonts/inter/Inter-Regular.otf',
'./assets/fonts/inter/Inter-Italic.otf',
'./assets/fonts/inter/Inter-Medium.otf',
@@ -318,6 +322,7 @@ module.exports = function (_config) {
'./assets/fonts/inter/Inter-BoldItalic.otf',
],
},
},
],
[
'expo-splash-screen',
Binary file not shown.
Binary file not shown.