sapegin / grunt-webfont

SVG to webfont converter for Grunt
MIT License
1.11k stars 210 forks source link

Wider SVGs become smaller in font #227

Open elado opened 9 years ago

elado commented 9 years ago

I tried with and without autowidth but it seems that wider SVGs are converted to smaller fonts.

For example, these two SVGs:

screen shot 2015-02-15 at 2 14 15 pm

End up becoming these font icons at same font size:

screen shot 2015-02-15 at 2 17 25 pm

Is there a way to force same height on all icons?

dovy commented 9 years ago

Use the same size SVG for everything. You're mixing and matching sizes here...

elado commented 9 years ago

But if I do so, I'll have extra spacing on the sides for the square ones, no?

With letters, the letter "I" is still same height as "W" but takes less width. Is it possible to achieve with fontforge?

dovy commented 9 years ago

Not sure. I use fontforge engine, not the node version. ;)

elado commented 9 years ago

I use fontforge as well. Question is if there's a certain configuration to make it force a specific height, not width.

dovy commented 9 years ago

I'm sorry, but I don't know. I'm just a user. ;)

lvl-svasseur commented 9 years ago

:+1:

pwilms commented 8 years ago

i've got the same issue. someone found a workaround?

thybzi commented 8 years ago

Similar or related issue for me. Source SVG size is 800×512, converted glyph is wide in proportions and contains all image data (and that is correct), but for some reason the glyph overflows the character area from the right and overlaps the next character (and that is the problem).

Any possibility for non-square (wide) glyphs?

thybzi commented 8 years ago

Isn't it related to #186?