setTextRunValue() fails with custom font
Description
When using a custom font, setTextRunValue() does not set the text of a text run
Provide a Repro
See attached rev and riv file. text_issue.zip
Expected behavior
Setting text using setTextRunValue() should set the text of a text run. However, when changing the font from Inter to Century Gothic, the text run will not be updated.
Additional context
To reproduce:
Call these functions:
riveRef.current?.setTextRunValue('debugText', "1233"); riveRef.current?.setTextRunValue('debugText2', "2222");
You will see that the debugText2 text run is correctly updated but the debugText text run is not. The only difference is that the font of debugText2 is Inter and the font of debugText is Century Gothic.
Now change the font of debugText to Inter and run again. Now you will see that the text is correctly updated.
This happens both in the Android emulator (react native using expo) and on the physical device.
Latest react-native used.