-
Notifications
You must be signed in to change notification settings - Fork 7.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Text (rtl) are not show on ios (safary and chrome) - #6121
Comments
Had the same problem. Don't use the text style to initiate the RTL, instead use its function, which is text.initRTL(). |
@javurtez Thank you very much for the response. |
Did you also use the text style to initiate the font family and font size? If that's the case, then you should also 'setFontFamily' and 'setFontSize'. |
Okay, after rechecking the problem again in iOS15, I think the workaround for this is after setting the textObject.text/textObject.setText to a new text string, or even adjust the fontSize, you need to call 'initRTL' and then 'setWordWrapWidth'. Also, font size should also be not large.
or
or
|
Thank you for submitting this issue. We have fixed this and the fix has been pushed to the |
Version
Description
When runing my game on ios devices, the text (rtl) is not shown.
On desktop and on Android it works fine. On ios it doesn't work on chrome nor safari.
Example Test Code
Additional Information
The text was updated successfully, but these errors were encountered: