Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70432

Custom font not working in Ionic View

$
0
0

@fantata wrote:

I have an app with a custom front declared like this:

@font-face {
  font-family: 'OpenSans';
  font-weight: normal;
  font-style: normal;
  src:  local('OpenSans'),
        local('OpenSans-Regular'),
        url("#{$font-path}/OpenSans-Regular.ttf") format('truetype'),
        url("#{$font-path}/OpenSans-Regular.woff") format('woff'),
        url("#{$font-path}/OpenSans-Regular.woff2") format('woff2'),
        url("#{$font-path}/OpenSans-Regular.eot") format('embedded-opentype'),
        url("#{$font-path}/OpenSans-Regular.ttf") format('svg');
}

It’s working when I launch from the devApp + XCode, but not in Ionic view on iOS. Any ideas why?

Posts: 2

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70432

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>