flame icon indicating copy to clipboard operation
flame copied to clipboard

Chinese characters cannot be displayed on the web

Open chrislitw opened this issue 1 year ago • 4 comments

What happened?

Hi guys, I am testing Flame's performance on the web.

When I use TextComponent and then run flutter build web, Chinese characters do not display, but English characters do.

You can see the demo here: Flame Spine Demo The code is available here: GitHub Repository

Thank you all for your help.

What do you expect?

Show Chinese characters.

How can we reproduce this?

No response

What steps should take to fix this?

No response

Do have an example of where the bug occurs?

No response

Relevant log output

No response

Execute in a terminal and put output into the code block below

Output of: flutter doctor -v

Affected platforms

Web

Other information

No response

Are you interested in working on a PR for this?

  • [ ] I want to work on this

chrislitw avatar Jun 05 '24 09:06 chrislitw

It works like it should on the other platforms? (Or the ones you have tried)

spydon avatar Jun 05 '24 13:06 spydon

@chrislitw?

spydon avatar Jun 16 '24 14:06 spydon

@spydon I just verified on Android with demo app, works as expected.

Might be related to this Flutter issue: https://github.com/flutter/flutter/issues/77023

OlegNovosad avatar Jun 18 '24 09:06 OlegNovosad

@OlegNovosad that seems like a very likely candidate, I'll mark this as a flutter issue until we know more.

spydon avatar Jun 18 '24 10:06 spydon