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

Add fontScale property to mobile_context #1404

Open
dapids opened this issue Jun 28, 2024 · 0 comments · May be fixed by #1405
Open

Add fontScale property to mobile_context #1404

dapids opened this issue Jun 28, 2024 · 0 comments · May be fixed by #1405

Comments

@dapids
Copy link

dapids commented Jun 28, 2024

I'd like to add information about the font scale to mobile_context.

Useful resources:

The idea is to add the following property to the mobile_context:

"fontScale": {
  "type": ["number", "null"],
  "minimum": 0,
  "maximum": 1000,
  "description": "Scale factor used to adjust the size of a font relative to a baseline size. It leverages [UIFont preferredFontForTextStyle:UIFontTextStyleBody].pointSize on iOS and getResources().getConfiguration().fontScale on Android."
}
@dapids dapids linked a pull request Jun 28, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant