ios-font-size-tester
ios-font-size-tester copied to clipboard
A quick way to test out a resizable iOS app font stack at all sizes via UI testing
![](https://github.com/davelyon/ios-font-size-tester/raw/master/fontsizing/Assets.xcassets/AppIcon.appiconset/Icon-60@2x.png)
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.
![](https://github.com/davelyon/ios-font-size-tester/raw/master/fonts.gif)
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.
![](https://github.com/davelyon/ios-font-size-tester/raw/master/traboule-logo-square-160.png)
![](https://github.com/davelyon/ios-font-size-tester/raw/master/recipes-logo-128.png)