custom font for native app

Hello, im trying to add fonts to a mendix native app , but i couldnt figure out how , any ideas ??
2 answers


Unfortunately, there is no easy way to do that , you can check out comments in this forum question:  (The only way to change the font is by adding it to the native template:

If you are looking for web app you can include custom family by defining it in the custom scss file like this:

@font-face {
    font-family: 'YourFontName<to be used later in style>'; 
    src: url(''); /*URL to font, should be something like '/font.ttf*, woff,woff2,eot etc

 Please make sure that you have put the custom fonts in base folder.


First step is probably to add the fonts in native-template/ios/Fonts/ and native-template/android/app/src/main/assets/fonts/

In this see 'TextStyle' and the reference to This tells you how to set the font-family.