I have certain Chinese text in my app that I want to make sure appears in regular script. It currently renders like this on the phone:
However, I want it to render like this so that it looks more natural:
I’ve tried setting the font on my Text
component.
<code>Text(text)
.font(.custom("STHeiti", size: 24))
</code>
<code>Text(text)
.font(.custom("STHeiti", size: 24))
</code>
Text(text)
.font(.custom("STHeiti", size: 24))
Regardless, it shows up as intended on the computer (i.e. in the SwiftUI preview section). But I cannot get it to render as intended on the phone.
This post explains the issue generically, but I haven’t been able to find a fix.
iOS version 17.5