Skip to content

[web]Can not show "Space" between chinese #76038

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

Closed
sunjianan9900 opened this issue Feb 15, 2021 · 6 comments
Closed

[web]Can not show "Space" between chinese #76038

sunjianan9900 opened this issue Feb 15, 2021 · 6 comments
Labels
a: internationalization Supporting other languages or locales. (aka i18n) a: typography Text rendering, possibly libtxt c: regression It was better in the past than it is now e: web_canvaskit CanvasKit (a.k.a. Skia-on-WebGL) rendering backend for Web found in release: 1.27 Found to occur in 1.27 has reproducible steps The issue has been confirmed reproducible and is ready to work on P0 Critical issues such as a build break or regression platform-web Web applications specifically r: duplicate Issue is closed as a duplicate of an existing issue

Comments

@sunjianan9900
Copy link

on last channel dev , web default using SKIA , but there is a bug

WX20210215-112232@2x

Cant not show "Space" between chinese
And how can I not use skia?
flutter run -d chrome --release --dart-define=FLUTTER_WEB_USE_SKIA=false NOT WORK

[✓] Flutter (Channel dev, 1.27.0-1.0.pre, on macOS 11.2.1 20D74 darwin-x64, locale zh-Hans-CN)
• Flutter version 1.27.0-1.0.pre at /Volumes/SDK/BETA/flutter-dev
• Framework revision 68c96f1 (6 days ago), 2021-02-08 16:14:15 -0800
• Engine revision b049556
• Dart version 2.13.0 (build 2.13.0-0.0.dev)
• Pub download mirror https://pub.flutter-io.cn
• Flutter download mirror https://storage.flutter-io.cn

@pedromassangocode
Copy link

Hi @sunjianan9900
This is a duplicate of #76003. To switch to HTML renderer you have to pass: --web-renderer html instead of dart-define. Please follow up on that issue for more updates.
Thank you

@pedromassangocode pedromassangocode added the r: duplicate Issue is closed as a duplicate of an existing issue label Feb 15, 2021
@sunjianan9900
Copy link
Author

Hi @sunjianan9900
This is a duplicate of #76003. To switch to HTML renderer you have to pass: --web-renderer html instead of dart-define. Please follow up on that issue for more updates.
Thank you

thanks for reply
but it's a little different
on #76003 it can not show any chinese character at all

but this issue is not about chinese character not showing up,it can load chinese character,
but "Space" can not show up between chinese , like this:

你❌❌好!
hello there!

when "Space" between chinese character , it comes up "x"
but "Space" between english character , it works well

@pedromassangocode
Copy link

but this issue is not about chinese character not showing up,it can load chinese character,
but "Space" can not show up between chinese

This makes sence, but I do believe that the root cause may be the same as #73628. @yjbanov can you please confirm?
Thank you

@pedromassangocode pedromassangocode added a: internationalization Supporting other languages or locales. (aka i18n) a: typography Text rendering, possibly libtxt e: web_canvaskit CanvasKit (a.k.a. Skia-on-WebGL) rendering backend for Web found in release: 1.27 Found to occur in 1.27 has reproducible steps The issue has been confirmed reproducible and is ready to work on platform-web Web applications specifically c: regression It was better in the past than it is now and removed r: duplicate Issue is closed as a duplicate of an existing issue labels Feb 15, 2021
@yjbanov
Copy link
Contributor

yjbanov commented Feb 16, 2021

This is being fixed in flutter/engine#24249. We need to roll to a new version CanvasKit.

@yjbanov yjbanov added the P2 label Feb 16, 2021
@yjbanov
Copy link
Contributor

yjbanov commented Feb 16, 2021

Duplicate of #74742

@yjbanov yjbanov marked this as a duplicate of #74742 Feb 16, 2021
@yjbanov yjbanov closed this as completed Feb 16, 2021
@pedromassangocode pedromassangocode added the r: duplicate Issue is closed as a duplicate of an existing issue label Feb 17, 2021
@github-actions
Copy link

github-actions bot commented Aug 5, 2021

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 flutter doctor -v and a minimal reproduction of the issue.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 5, 2021
@flutter-triage-bot flutter-triage-bot bot added P0 Critical issues such as a build break or regression and removed P2 labels Jun 28, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
a: internationalization Supporting other languages or locales. (aka i18n) a: typography Text rendering, possibly libtxt c: regression It was better in the past than it is now e: web_canvaskit CanvasKit (a.k.a. Skia-on-WebGL) rendering backend for Web found in release: 1.27 Found to occur in 1.27 has reproducible steps The issue has been confirmed reproducible and is ready to work on P0 Critical issues such as a build break or regression platform-web Web applications specifically r: duplicate Issue is closed as a duplicate of an existing issue
Projects
None yet
Development

No branches or pull requests

3 participants