bberak / react-native-game-engine

A lightweight Game Engine for React Native 🕹⚡🎮
MIT License
2.89k stars 174 forks source link

Custom fonts used inside GameEngine not working #63

Closed psychosoft closed 3 years ago

psychosoft commented 3 years ago

Not able to use custom fonts inside custom renderers for entities. Fonts default to system default. When rendered outside GameEngine component it works fine. Also when used in GameEngine children it works fine. ----> <Text style={{ fontFamily: "Inter-Black" }}>Inter Black react-native-cli: 2.0.1 react-native: 0.63.2 expo: 4.4.7 react-native-game-engine : 1.2.0