-
Notifications
You must be signed in to change notification settings - Fork 28.6k
Using double text decoration stikethrough on some devices #27392
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
Comments
Which phone are you using? Can you post a screenshot? |
I discover the text is not support chinese mix english |
It looks like the span of text is broken into two runs: the ¥ and the 8.9 Since these two are rendered separately by different fonts, the alignment of their strikethrough height is off. Whether this problem appears or not depends on the implementation of the fonts on each device. One solution is to use your own font that supports all of the glyphs and symbols. There is also a bug here where the strikethough (as well as other decorations) are drawn across the entire width of the span even if they were broken up into multiple runs. |
This is related to #24337 where the background is drawn over multiple runs. |
@229106948 |
Without additional information, we are unfortunately not sure how to resolve this issue. Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
I use Text for example:
but the line is double in my phone, other's phone is single.
The text was updated successfully, but these errors were encountered: