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.
Clone the repo, open the xcodeproj and run in the simulator
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)
iOS Dev Recipes and related open source projects are maintained by Dave Lyon and Traboule Software.
![](https://raw.githubusercontent.com/davelyon/ios-font-size-tester/master/traboule-logo-square-160.png)
![](https://raw.githubusercontent.com/davelyon/ios-font-size-tester/master/recipes-logo-128.png)