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

[web] Allow users to enable canvas text measurement #13929

Merged
merged 1 commit into from
Nov 21, 2019

Conversation

mdebbar
Copy link
Contributor

@mdebbar mdebbar commented Nov 19, 2019

Now users can do:

flutter run -d web-server --release --dart-define=FLUTTER_WEB_USE_EXPERIMENTAL_CANVAS_TEXT=true

This flag enables the new experimental implementation of text measurement that's based on Canvas2d.

@mdebbar mdebbar added the platform-web Code specifically for the web engine label Nov 19, 2019
@mdebbar mdebbar requested a review from yjbanov November 19, 2019 21:23
@mdebbar mdebbar self-assigned this Nov 19, 2019
@mdebbar mdebbar merged commit f6a3eb9 into flutter:master Nov 21, 2019
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Nov 22, 2019
engine-flutter-autoroll added a commit to flutter/flutter that referenced this pull request Nov 22, 2019
git@github.com:flutter/engine.git/compare/96fc607b8a54...7e68097

git log 96fc607..7e68097 --no-merges --oneline
2019-11-21 ferhat@gmail.com [web] Fix line-height for Firefox (flutter/engine#13960)
2019-11-21 mouad.debbar@gmail.com [web] Allow users to enable canvas text measurement (flutter/engine#13929)


If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC aaclarke@google.com on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
@mdebbar mdebbar deleted the canvas_text_flag branch April 15, 2021 17:44
@ajayprabhakar369
Copy link

Unbale to use canvas kit in IOS versions less than 14, forced to use HTML one
any fix for that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes platform-web Code specifically for the web engine
Projects
None yet
4 participants