Custom font with Expo.Svg


#1

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.


#2

hi! can you create an issue on https://github.com/expo/expo/issues with a repro case? thanks!


#3

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


#4

@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.


closed #5

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