backflip/gulp-iconfont-css — pull request #3 by SachaMPS (2014-02-12 15:22:54+00:00)
Title: fix css charcode, attach more css to template, specify css fontFamily

Hi there,
I couldnt get it working without these changes. Maybe they are useful for you.

First the generated css contained not the correct unicode because the unicode character had been passed without converting it into a string. This resulted in wrong character codes in the css files (at least in my system).

Second i added more css on top of the template which is useful for all icons. I took it from my old grunt iconfont stuff.

The task now expects also a css font family which is used in the scss template also:
gulp.src(['./public/assets/svg/*.svg'])
.pipe(iconfontCss({
path: './public/assets/sass/__gulp-iconfont.scss',
targetPath: '../sass/__icons.scss', // relative to gulp.dest below
fontFamily: 'app Icons' // css fontfamily required
}))
.pipe(iconfont({
fontName: 'app-Icons', // required
appendCodepoints: true // recommanded option
}))
.pipe(gulp.dest('./public/assets/fonts'));