fizzed / font-mfizz

Font Mfizz - Vector Icons for Technology and Software Geeks
537 stars 111 forks source link

Elixir language icon: but there is a sizing problem. #7

Closed suranyami closed 10 years ago

suranyami commented 10 years ago

I'm issuing this as a pull request, even though I don't think it should be accepted as it is, because of a sizing issue. My icon is considerably smaller than the others.

I've added an icon for the Elixir language. I've got a reasonable SVG single-color icon that I've done in Illustrator.

But, I'm a bit lost about how to get the correct sizing, though? What tools did you use to prepare the font?

I'm happy to write up documentation on the process, but it would be good to get a starting point.

Also, what did you use to convert the SVG into the EOT/WOFF/TTF files?

Thanks in advance.

jjlauer commented 10 years ago

Hey,

It's a pretty convoluted process I have on my local machine to produce the EOT, WOFF, etc. formats. So convoluted that I never published to this git repo which more or less is the "compiled" version of the raw source. Happy to add your icon. While I think about revisiting getting the code put up here to compile it, I can do it manually on my side in the coming weeks. Do you have just the svg file available of the icon?

suranyami commented 10 years ago

Yep. Get it here:

https://github.com/suranyami/font-mfizz/blob/master/elixir_icon.svg

suranyami commented 10 years ago

Would there be any benefit in me trying to automate the process?

Can you name some of the tools you use to achieve the end result?

If there are command-line tools to do this, I could easily whip up a bash or ruby script to simplify the process.

Reading through the preview.html, JSON, CSS & font SVG file, I can already see a huge opportunity to templatize this. Could be easily done with ERB / ruby.

suranyami commented 10 years ago

I'd really like to proceed further with this and come up with a more reproducible method for generating this for others.

Any information about the scaling, co-ordinate system or tools needed to make this work would be helpful.

jjlauer commented 10 years ago

I pushed out a new branch called "with-build-scripts" that includes most of my compile scripts. There is a DEV.md file in there that has a quick synopsis of how you run them. I compile these off my Linux box and they aren't complete docs. It'd be great for you to document the steps required to get a dev environment setup if you wanted to help improve the project. The heavy work is done by the http://fontcustom.com/ dependency. However, I found you need to tweak the source .svg files quite a bit to get baselines to look right or to render at all.

suranyami commented 10 years ago

Thanks for this. Will take a look at it now.

suranyami commented 10 years ago

Closing this one, because I'm preparing a correctly generated font this time.