nfroidure/svgicons2svgfont

normalize parameter could lead to font file icons size differ

Closed this issue · 2 comments

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?

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?

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