Skip to content

Wrong font family name (not match Typeface font name) #19

@OlegPanfyorov

Description

@OlegPanfyorov

Hi guys! We've faced a really critical issue for us.
I think you should know that fontWeight and fontStyle not working correctly for custom fonts. Its common issue.
For example, the Typeface font name is set to Geomanist-Medium:

  • The React Native extension offers us
    fontFamily: "Geomanist", fontWeight: "500", fontStyle: "normal",
    On iOS devices fontWeight will be ignored, on android devices fontFamily will be ignored for a custom fonts with fontWeight set.

The correct way would be to copy the Typeface name and paste it to fontFamily, and also have ability to disable fontWeight and fontStyle exporting to code snippet.

Here is the snippet that will work correctly on both platforms with Geomanist-Medium linked to project
fontFamily: " Geomanist-Medium",
Could you fix/extend the extension this way?

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