Skip to content

Conversation

clindsay3
Copy link
Collaborator

Motivation

Dynamic Type was not working when a generic font was being used in Paywalls. According to @joshdholtz, dynamic type is supposed to be supported in Paywalls.

Description

  • Update GenericFont.makeFont to scale the font size value according to dynamic type.

Note: I tried adding a Swift preview that would test that the scaling is being applied, so we could verify this behavior. But it appears that UIFontMetrics.default.scaledValue doesn't work in Swift Previews. 😞 So I'm open to other ideas on how to add testing for this behavior.

@clindsay3 clindsay3 added the pr:fix A bug fix label Aug 1, 2025
@clindsay3 clindsay3 requested review from a team and joshdholtz August 1, 2025 16:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr:fix A bug fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant