Custom font with Expo.Svg

Hello! I’ve seen a few topics in the past around this question but no answers. Is it possible to use a custom font imported with Font.loadAsync in Expo.Svg? The font seems to work correctly with a regular Text element, but using Svg.Text results in what looks like Helvetica.

hi! can you create an issue on Issues · expo/expo · GitHub with a repro case? thanks!

2 Likes

@notbrent https://github.com/expo/expo/issues/1959

@notbrent the issue got closed, but I’m not sure that this is actually an issue with react-native-svg or an incompatibility with the way fonts are loaded by Expo… the potentially related issue which linked doesn’t sound related to me, as the reporter was able to use a custom font but the incorrect weight was selected.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.