react-native-skia
react-native-skia copied to clipboard
Skia Text doesn't render special characters
Description
Skia Text doesn't render many special characters, including the following ₪ د.إ"
It instead renders these characters as blank boxes, as shown below
React Native Skia Version
1.5.3
React Native Version
0.72.14
Using New Architecture
- [ ] Enabled
Steps to Reproduce
Render this on a canvas, and it will render the special character properly
<Text
x={0}
y={1}
text="₪"
font={font}
/>
Snack, Code Example, Screenshot, or Link to Repository
You can use Paragraph instead. If you still want Text, you would better include a font file which contains your characters.
This issue I think can safely be closed. If you use Text you can only use one font and you need your foot to support that character. If you use the paragraph API, you can fallback between different fonts.