Questions tagged [icon-fonts]

An icon font is a font containing glyphs to be used as icons in a web page or application. Use this tag for questions involving fonts used specifically in this way, including various methods and practices for using glyphs as icons or for creating fonts that contain such glyphs.

190 questions
2
votes
3 answers

how to add material design icons-font to an Android app

In my app there are a lot of places where i have to programmatically add icons into my textviews. On the Android material design website i saw, that you can use icon fonts, but there is nothing that indicates that you can do this inside an android…
2
votes
1 answer

How to generate html page with elements from scss in Gulp

I need to make simple html page, something like stylesheet for icons. Gulp task 'iconfont' generate glyph fonts out of svg icons with this code: gulp.task('iconfont', function(){ return gulp.src(['assets/svg/*.svg']) .pipe(iconfontCss({ …
momciloo
  • 887
  • 1
  • 11
  • 24
2
votes
1 answer

Icon font behaving strangely in IE11

I'm having a strange issue with an icon font misbehaving in IE... specifically, it seems that the browser is showing the icon associated with the lower-case character instead of the upper-case character. The characters in question are being…
Matt Diamond
  • 11,646
  • 5
  • 29
  • 36
2
votes
1 answer

Generate icon font from SVG images using Maven

I'm working on a java webapp that uses icon fonts for the icons. I know I can create an icon font from individual SVG files using the IcoMoon app, but I don't want to manually have to recreate the font each time an icon needs to be added. So I want…
herman
  • 11,740
  • 5
  • 47
  • 58
2
votes
0 answers

"Failed to decode downloaded font" when using gulp-iconfont

I'm using gulp-iconfont v4 to generate fonts from SVGs in a folder. I'm using a swig template to generate a .scss file and include that in my app.scss. When I serve the files I get the following error in the console: Failed to decode downloaded font…
Craig
  • 972
  • 3
  • 13
  • 38
2
votes
1 answer

how ot remove an icon in icomoon from a set

I just added a new set of icons but saw that some are duplicated. I couldn't find a function to remove the duplicates. The only way to clean up I found is to select all other icons (which are a lot) and try to find and unselect the…
retrovertigo
  • 538
  • 9
  • 20
2
votes
1 answer

Font Awesome menu icon has 1px offset

I've been trying to solve this issue for a few hours, and I've searched for a good solution without much luck. It's driving me bonkers, fiddling with the padding and line-height. Vertical aligning it isn't doing anything (it was suggested in another…
cornishninja
  • 553
  • 5
  • 12
2
votes
1 answer

i element for icon fonts

Back in version 2, Twitter Bootstrap used elements to assign icon fonts something like this: