davelyon / ios-font-size-tester

A quick way to test out a resizable iOS app font stack at all sizes via UI testing

Home Page:https://www.iosdev.recipes/fonts/ui-font-metrics-and-resizable-text/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

A quick way to test out a resizable iOS app font stack at all sizes via UI testing

https://www.iosdev.recipes/fonts/ui-font-metrics-and-resizable-text/

License:MIT License


Languages

Language:Swift 95.4%Language:Shell 4.6%