Get Updates By E-mail 

Article Written By:
Johann Dowa

Inkwell – Swift Library For Custom Fonts Including Google Fonts With Automatic Downloading

  • 9
  • 1
  •  
  •  
  •  

Inkwell is an open source Swift based library submitted by Vinh Nguyen allowing for the usage of custom fonts on the fly.

Some of the features of Inkwell include:

Downloading of Google fonts
Loading custom font resources
Font registration
A straightforward API for using the font

This code snippet shows how to use a font with Inkwell:

let font = Font(family: "ABeeZee" variant: .regular)
let fontSize = 27
Inkwell.shared.font(for: font, size: fontSize) { uifont in
    // Do something with the <code>uifont</code>.
}

Inkwell

You can find Inkwell on Github here.

A nice Swift library for easily working with custom fonts.


  • 9
  • 1
  •  
  •  
  •  

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