commit | 641d4e0e426c144e4b2a9856588bf9ea70f0e8f9 | [log] [tgz] |
---|---|---|
author | Jason Simmons <jason-simmons@users.noreply.github.com> | Wed Oct 07 15:34:59 2020 -0700 |
committer | GitHub <noreply@github.com> | Wed Oct 07 15:34:59 2020 -0700 |
tree | 77c0310e70e432c2af1623473a284faae324052d | |
parent | 851f94da298ed229155931d192f631d0c297c561 [diff] |
Add an adjustment to currentLineWidth comparisons when pushing greedy line breaks (#21356) This is similar to the workaround used for https://github.com/flutter/flutter/issues/30347 The Minikin line breaker inserts greedy breaks based on a comparison of postBreak width and currentLineWidth. currentLineWidth is provided by the framework based on previous calls to Layout::measureText. That calculation may not exactly match the calculation of postBreak. This change ensures that breaks are only added if the difference between postBreak and currentLineWidth is significant. Fixes https://github.com/flutter/flutter/issues/65419
Flutter is Google's mobile app SDK for crafting high-quality native interfaces in record time. Flutter works with existing code, is used by developers and organizations around the world, and is free and open source.
The Flutter Engine is a portable runtime for hosting Flutter applications. It implements Flutter's core libraries, including animation and graphics, file and network I/O, accessibility support, plugin architecture, and a Dart runtime and compile toolchain. Most developers will interact with Flutter via the Flutter Framework, which provides a modern, reactive framework, and a rich set of platform, layout and foundation widgets.
If you want to run/contribute to Flutter Web engine, more tooling can be found at felt. This is a tool written to make web engine development experience easy.
If you are new to Flutter, then you will find more general information on the Flutter project, including tutorials and samples, on our Web site at Flutter.dev. For specific information about Flutter's APIs, consider our API reference which can be found at the docs.flutter.dev.
Flutter is a fully open source project, and we welcome contributions. Information on how to get started can be found at our contributor guide.