VFont

VFont logo

Services & Skills

Share on

Today, developers use the top-level UIFont class to work individually with each font style: Light, Regular, Medium, Bold, and so on. Although variable font support has already been added with iOS 3.2, it was implemented using low-level code in the CTFont class in the CoreText library. That leads to extra work in order to get to variable fonts using CoreText and UIFont.

The library facilitates fonts import and integration in UIKit and SwiftUI and, in general, makes work with variable fonts in iOS projects much more comfortable. Also, developers can work with all font variations contained in one file.

Using VFont, you can set correct values and axis IDs, create more complex logic, parse the variation axes values and store them, create your own font class inheriting the VFont class in UIKit, and much more.

Author

In the same orbit

Explore more open source projects

Schedule call

Irina Nazarova CEO at Evil Martians

Evil Martians transform growth-stage startups into unicorns, build developer tools, and create open source products. Hire us to design and build your product