Font change in ionic


#1

Hi, i want to use “Comfortaa” font in my application,to all page(like default font).i used the font using url.
like this:

<style>
  @import url('https://fonts.googleapis.com/css?family=Comfortaa');
</style>

font-family: 'Comfortaa'

but application is in offline the font did not work in my aaplication.how i can use the font in both offline and online condition.
when app is in offline it shows a italic type font.
like this


#2

You have to download an actual font file and link it using @font-face like you do on a regular website html & css file.
Ionic app font files are supposed to be an actual file, not google font link.

If you want to get unique font, check out a website called www.dafont.com
You can find unlimited amount of nice free font files which you can use on Ionic.