nfroidure / svgicons2svgfont

Concatenate SVG icons and ouput an SVG font
http://nfroidure.github.io/svgiconfont/
MIT License
338 stars 71 forks source link

normalize parameter could lead to font file icons size differ #83

Closed qingbolove closed 6 years ago

qingbolove commented 6 years ago

I just checked the normalize definition, it is : change icons by scaling them to the height of the highest icon. But actually I want to change their size according to their relative size, not highest for everyone. For example, this is what I expected: image

But after use normalization, I got: image

Is there a workaround for me to get a relative height for several svg files?

NaridaL commented 6 years ago

Is increasing the font-size where you use the font not an option to uniformly scale the glyphs? Why do you want to change the size of the glyphs here?

NaridaL commented 6 years ago

@qingbolove The latest version now scales the icons according to fontHeight even when normalize is false. This should be what you needed.