Skip to content

davelyon/ios-font-size-tester

Repository files navigation

Font Size Tester for iOS Apps

A quick way to test out a resizable font stack at all sizes via UI testing. For more info, see our UIFontMetrics guide over at iOS Dev Recipes.

Installation:

Clone the repo, open the xcodeproj and run in the simulator

Usage:

Change the fonts listed in UIFontTextStyle+CustomFont.swift to your preferences, and then run the app. You can generate a set of screenshots matching all content sizes by running the tests included with the project.

Generate a gif like this via the included script: ./gifit.sh (Requires imagemagick)

Supported By:

iOS Dev Recipes and related open source projects are maintained by Dave Lyon and Traboule Software.

Releases

No releases published

Packages

No packages published