This repository was archived by the owner on Feb 25, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ class WebExperiments {
4545
4646 static const bool _defaultUseCanvasRichText = const bool .fromEnvironment (
4747 'FLUTTER_WEB_USE_EXPERIMENTAL_CANVAS_RICH_TEXT' ,
48- defaultValue: true ,
48+ defaultValue: false ,
4949 );
5050
5151 bool _useCanvasRichText = _defaultUseCanvasRichText;
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import 'package:test/test.dart';
1111import 'package:ui/src/engine.dart' ;
1212
1313const bool _defaultUseCanvasText = true ;
14- const bool _defaultUseCanvasRichText = true ;
14+ const bool _defaultUseCanvasRichText = false ;
1515
1616void main () {
1717 internalBootstrapBrowserTest (() => testMain);
Original file line number Diff line number Diff line change @@ -547,8 +547,8 @@ void _testCullRectComputation() {
547547 'renders clipped text with high quality' ,
548548 () async {
549549 // To reproduce blurriness we need real clipping.
550- final DomParagraph paragraph =
551- (DomParagraphBuilder (ParagraphStyle (fontFamily: 'Roboto' ))..addText ('Am I blurry?' )).build ();
550+ final Paragraph paragraph =
551+ (ParagraphBuilder (ParagraphStyle (fontFamily: 'Roboto' ))..addText ('Am I blurry?' )).build ();
552552 paragraph.layout (const ParagraphConstraints (width: 1000 ));
553553
554554 final Rect canvasSize = Rect .fromLTRB (
You can’t perform that action at this time.
0 commit comments