FontCustom / fontcustom

Generate custom icon webfonts from the comfort of the command line.
3.28k stars 423 forks source link

SVGs produced with latest Illustrator come out low #299

Open httpete opened 8 years ago

httpete commented 8 years ago

You can see here, a few icons are LOW. These were created in Illustrator 19 (a new one) the ones that are centered are done in Illustrator 18. should I export the svg with a different profile? Or it has something to do with the viewBox? They are perfectly centered in the svg.

dd

httpete commented 8 years ago

I have found a workaround if anyone needs. I believe this is due to in Illustrator. I fixed this by:

1.) In Inkscape, Go edit, xml editor. Click the root element, and remove the viewbox. Just delete. The image will jump, it knows that its days are up. 2.) Now on the top menu, make X and Y 0. It will perfectly center.