Skip to content
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

Chinese Characters display abnormal in xiaomi #147978

Closed
xbzzoo opened this issue May 8, 2024 · 14 comments
Closed

Chinese Characters display abnormal in xiaomi #147978

xbzzoo opened this issue May 8, 2024 · 14 comments
Labels
in triage Presently being triaged by the triage team waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds

Comments

@xbzzoo
Copy link

xbzzoo commented May 8, 2024

Steps to reproduce

image

Expected results

like this,“北” is abnormal

Actual results

like this,“北” is abnormal

Code sample

Code sample
[Paste your code here]

Screenshots or Video

image
20240508215205

Logs

Logs
[Paste your logs here]

Flutter Doctor output

Doctor output
[Paste your output here]
@zhxst
Copy link

zhxst commented May 9, 2024

It seems like you use Traditional Chinese font.
Just change the font or change system language to Simplified Chinese.

@xbzzoo
Copy link
Author

xbzzoo commented May 9, 2024

It seems like you use Traditional Chinese font. Just change the font or change system language to Simplified Chinese.

The font currently in use is from Xiaomi phones, named MiSans.And the text displayed by this font should not look like this.And t
Uploading 20240509100937.jpg…
he language setting of the phone is Simplified Chinese.

@xbzzoo
Copy link
Author

xbzzoo commented May 9, 2024

20240509101003

@xbzzoo
Copy link
Author

xbzzoo commented May 9, 2024

Text('北京',style: TextStyle( fontSize: 30),)

@huycozy huycozy added the in triage Presently being triaged by the triage team label May 9, 2024
@huycozy
Copy link
Member

huycozy commented May 9, 2024

@Sunyangl Please try to provide all appropriate information indicated in the template so that we can address the issue properly.

More specifically, please provide the additional information:

  • The output of flutter doctor -v
  • Expected results
  • Device info (model, OS version)

Thanks!

@huycozy huycozy added the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label May 9, 2024
@wuweijian1997
Copy link

wuweijian1997 commented May 9, 2024

This may be a font problem on your phone. Or you can try setting fontFamily

@xbzzoo
Copy link
Author

xbzzoo commented May 10, 2024

这是你手机的字体问题吧.或者你可以设置fontFamily 试试

The fonts set on the mobile phone should not be displayed like this. It seems that they are not found when loading the system fonts.

@github-actions github-actions bot removed the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label May 10, 2024
@huycozy huycozy added the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label May 10, 2024
@xbzzoo

This comment was marked as off-topic.

@github-actions github-actions bot removed the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label May 10, 2024
@xbzzoo
Copy link
Author

xbzzoo commented May 10, 2024

@Sunyangl Please try to provide all appropriate information indicated in the template so that we can address the issue properly.

More specifically, please provide the additional information:

  • The output of flutter doctor -v

  • Expected results

  • Device info (model, OS version)

Thanks!

like this,it is rightimage

@xbzzoo
Copy link
Author

xbzzoo commented May 10, 2024

@Sunyangl Please try to provide all appropriate information indicated in the template so that we can address the issue properly.

More specifically, please provide the additional information:

  • The output of flutter doctor -v

  • Expected results

  • Device info (model, OS version)

Thanks!

deviceinfo

xiaomi 14
image

@danagbemava-nc
Copy link
Member

Hi @xbzzoo, @zhxst , can you provide the output of flutter doctor -v? Also, do you only experience this with the MiSans system font or are all system fonts affected?

@danagbemava-nc danagbemava-nc added the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label May 13, 2024
@xbzzoo
Copy link
Author

xbzzoo commented May 15, 2024

system

only xiaomi phone, maybe other font also diplay error

@github-actions github-actions bot removed the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label May 15, 2024
@danagbemava-nc
Copy link
Member

danagbemava-nc commented May 16, 2024

Hi @xbzzoo, please provide the output of flutter doctor -v. I do not have a xiaomi device to check this but when I used the MiSans font on my Pixel 7, the character looks like it is supposed to. See the screenshot below. This is using stable 3.22.0

@danagbemava-nc danagbemava-nc added the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label May 16, 2024
Copy link

github-actions bot commented Jun 6, 2024

Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now.
If you find this problem please file a new issue with the same description, what happens, logs and the output of 'flutter doctor -v'. All system setups can be slightly different so it's always better to open new issues and reference the related ones.
Thanks for your contribution.

@github-actions github-actions bot closed this as completed Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in triage Presently being triaged by the triage team waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds
Projects
None yet
Development

No branches or pull requests

5 participants