Skip to content

fontData prop not working #2478

@DanyKrk

Description

@DanyKrk

Description

The fontData property does not function as expected when applied to the Text component in react-native-svg. Despite being set within the component, the fontData property appears to have no discernible effect on the font rendering or characteristics of the text.

Steps to reproduce

  1. Open the provided code in Expo Snack or in a local development environment.
  2. Run the application on an Android device
  3. Run the application on an iOS device

Snack or a link to a repository

https://snack.expo.dev/Qwv-wC_hozihAeAItoL_j

SVG version

15.3.0

React Native version

0.73.1

Platforms

Android, iOS

JavaScript runtime

None

Workflow

None

Architecture

None

Build type

None

Device

None

Device model

No response

Acknowledgements

Yes

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions