Get Updates By E-mail 

Article Written By:
Johann Dowa

Open Source iOS Library And Script For Easily Using Any TTF Icon Font

  •  
  •  
  •  
  •  
  •  

Previously I mentioned a number of libraries for working with different open source icon fonts available such as Font Awesome, and Ionicons.

Here’s an open source project called Stencils from Giovanni Lodi that allows you to work with any iconic font by providing a library allowing you to use the iconic font, and a script allowing you to automatically generate a plist file containing the icon data from the accompanying fonts CSS data.

Some of the features of Stencils include:

Customization of icon color, background color, and shadowing
Baseline and scale adjustments in case the icon just doesn’t look right
A script for generating the font data that has been tested to work with a couple of open source fonts with thousands of icons
The ability to easily specify any font details manually in case the script can’t parse the font details CSS file or one is not provided

This animation from the readme shows Stencils in action:

Stencils

You can find Stencils on Github here.

An excellent library and tool for working with iconic fonts.


  •  
  •  
  •  
  •  
  •  

Submit A Resource

Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?

You can submit the url here.

The resources we feel will appeal to our readers the most will be posted on the front page.

Comments