Skip to content

Add fontScale property to mobile_context #1404

Open
@dapids

Description

@dapids

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."
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions