DragonsInn / fontgen-loader

Automated webfont generation from SVG icons. Use with WebPack!
125 stars 42 forks source link

codepoints are ignored #27

Open eyala-stratoscale opened 8 years ago

eyala-stratoscale commented 8 years ago

I'm trying to have fixed codepoints for certain icons but fail it seems like codepoints which are supported in webfonts-generator are not supported here... Or maybe I'm using it wrong. Please tell me, example below of one of the tries i've done... Thanks

module.exports = { "files": [ "./my-font/*.svg", ], "fontName": "custom-font", "classPrefix": "cs-", "baseClass": "cs", "fixedWidth": true, includePaths: ['./custom-font'], "codepoints": { "drop_down_arrow": "\uE001", "sf-drop_down_arrow": "\uE002", }, };

eyala-stratoscale commented 8 years ago

Added PR to fix it : https://github.com/DragonsInn/fontgen-loader/pull/28

jeerbl commented 7 years ago

Guys,

I took over the project and fixed some issues as it wasn't being updated. It is here, I renamed it as webfonts-loader so I can push it on npm.

Cheers, Jerome