I have some icon font files that have been generated with fontello which I want to add to my ionic 2 app.
Fontello produces files in the following formats:
eot, svg, ttf, woff, woff2
Can I get away with just using the svg or ttf files? Which format is recommended for ionic 2 apps?
The css for the font looks like this:
@font-face {
font-family: 'fontello';
src: url('../font/fontello.eot?85689097');
src: url('../font/fontello.eot?85689097#iefix') format('embedded-opentype'),
url('../font/fontello.woff2?85689097') format('woff2'),
url('../font/fontello.woff?85689097') format('woff'),
url('../font/fontello.ttf?85689097') format('truetype'),
url('../font/fontello.svg?85689097#fontello') format('svg');
font-weight: normal;
font-style: normal;
}
Can I simply remove the lines for the fonts I don't need?