use ttf fonts on ios
This commit is contained in:
+18
-13
@@ -304,19 +304,24 @@ module.exports = function (_config) {
|
|||||||
[
|
[
|
||||||
'expo-font',
|
'expo-font',
|
||||||
{
|
{
|
||||||
fonts: [
|
ios: {
|
||||||
'./assets/fonts/inter/InterVariable.woff2',
|
fonts: [
|
||||||
'./assets/fonts/inter/InterVariable-Italic.woff2',
|
'./assets/fonts/inter/InterVariable.ttf',
|
||||||
// Android only
|
'./assets/fonts/inter/InterVariable-Italic.ttf',
|
||||||
'./assets/fonts/inter/Inter-Regular.otf',
|
],
|
||||||
'./assets/fonts/inter/Inter-Italic.otf',
|
},
|
||||||
'./assets/fonts/inter/Inter-Medium.otf',
|
android: {
|
||||||
'./assets/fonts/inter/Inter-MediumItalic.otf',
|
fonts: [
|
||||||
'./assets/fonts/inter/Inter-SemiBold.otf',
|
'./assets/fonts/inter/Inter-Regular.otf',
|
||||||
'./assets/fonts/inter/Inter-SemiBoldItalic.otf',
|
'./assets/fonts/inter/Inter-Italic.otf',
|
||||||
'./assets/fonts/inter/Inter-Bold.otf',
|
'./assets/fonts/inter/Inter-Medium.otf',
|
||||||
'./assets/fonts/inter/Inter-BoldItalic.otf',
|
'./assets/fonts/inter/Inter-MediumItalic.otf',
|
||||||
],
|
'./assets/fonts/inter/Inter-SemiBold.otf',
|
||||||
|
'./assets/fonts/inter/Inter-SemiBoldItalic.otf',
|
||||||
|
'./assets/fonts/inter/Inter-Bold.otf',
|
||||||
|
'./assets/fonts/inter/Inter-BoldItalic.otf',
|
||||||
|
],
|
||||||
|
},
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user