iOS 9 is expected to be released with new font - San Francisco, replacing its tranditional Hevetica fonts. I wonder how Ionic will respond to this kind of change. Here are the things that I am curious to know at this moment.
Will old Ionic apps use San Francisco font in iOS 9?
Will new Ionic apps (that are published right after release of iOS 9) use San Francisco font?
If not, how can I apply this new font in next Ionic apps?
Anyone please help me in detail. Thanks in advance.
The font is defined in the CSS font-family property. I don’t know if Ionic will use San Francisco on iOS 9 by default. But you can probably easily modify the font, e.g. by editing the SCSS variable $font-family-sans-serif.
You don’t need to download the font and you are not allowed to bundle it in your application in any format (their licence terms).
However, if you use that css and the app is running on an iOS9 device then the font will be used. Other devices will show their respective fonts or fall back to Helvetica Neue / sans-serif etc.
It’s possible that ionic View may need an update from the ionic team to make that work (assuming on iOS). But have you checked if the font works when you deploy the app to simulator or device directly (not via ionic view) to make sure it isn’t an issue with your code?