fontello / svg2ttf

SVG -> TTF font convertor
MIT License
518 stars 79 forks source link

Font alignment bug #19

Closed nverinaud closed 10 years ago

nverinaud commented 10 years ago

I encounter a little bug with the font vertical alignment.

I used your library and the tool available here. I don't have the same result.

Here is a link to all materials I used to test that : https://dl.dropboxusercontent.com/u/6808920/fonts.zip

puzrin commented 10 years ago

As temporary solution - define ascent/descent values, don't rely on defaults.

puzrin commented 10 years ago

I've changed ascent/descent defaults calculation, but not sure that it's correct. The only thing i can say, that your alternate convertor does not conform svg specs.

So, just define right ascent/descent in your font params, and you will get right result everywhere.

nverinaud commented 10 years ago

Okay. Thanks !