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

Let's solve your hard problems

Martians at a glance
18
years in business

We're experts at helping developer products grow, with a proven track record in UI design, product iterations, cost-effective scaling, and much more. We'll lay out a strategy before our engineers and designers leap into action.

If you prefer email, write to us at surrender@evilmartians.com