[web] HTML renders odd appearance compared to CanvasKit #89919
Labels
a: typography
Text rendering, possibly libtxt
e: web_html
HTML rendering backend for Web
engine
flutter/engine repository. See also e: labels.
found in release: 2.5
Found to occur in 2.5
found in release: 2.6
Found to occur in 2.6
has reproducible steps
The issue has been confirmed reproducible and is ready to work on
P3
Issues that are less important to the Flutter project
platform-web
Web applications specifically
team-web
Owned by Web platform team
triaged-web
Triaged by Web platform team
Steps to Reproduce
I'm displaying network images on Flutter web. The workaround I found to fix this issue by adding
--web-renderer html
arguments on my build. Let me know if you have better workarounds to display network images on Flutter web. Otherwise, I'd like HTML render to have similar appearance with CanvasKit render.Currently it looks like this
HTML
Density isn't ideal when viewed on high-density displays and text style seems to be different as well.
CanvasKit
flutter run -d chrome --web-renderer html
flutter run -d chrome --web-renderer canvaskit
Expected results:
HTML render should have similar appearance with CanvasKit
Actual results:
HTML render doesn't look great on high-density displays.
Logs
The text was updated successfully, but these errors were encountered: