Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use UIFontMetrics to scale fonts #64

Merged
merged 1 commit into from
Jun 3, 2019
Merged

Commits on Feb 10, 2019

  1. Use UIFontMetrics to scale fonts

    On iOS 11 and up, use UIFontMetrics to scale font sizes. Falls back to
    a calculation using the current content size category / large as a
    multiplier.
    
    Also adds the `scalingTextStyle` attribute to `TextStyle` with a default
    value of `body` so that users may specify how they'd prefer to scale the
    specific font.
    
    This should not be a breaking change for anyone since it's an added
    field with a default value. All tests still pass without adding this new
    value anywhere.
    davelyon committed Feb 10, 2019
    Configuration menu
    Copy the full SHA
    7a12ecd View commit details
    Browse the repository at this point in the history