From 3d998a667a5e79bca3f71f899f2f727c6a506742 Mon Sep 17 00:00:00 2001 From: bungeman Date: Wed, 17 Apr 2019 15:13:19 -0400 Subject: [PATCH] Remove call to SkFont::setLinearMetrics (flutter/engine#8612) This particular call doesn't do anything since the default is false anyway. In addition Skia is looking to remove this flag since setting it to true is now synonymous with setting the hinting to none. --- engine/src/flutter/flow/layers/performance_overlay_layer.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/engine/src/flutter/flow/layers/performance_overlay_layer.cc b/engine/src/flutter/flow/layers/performance_overlay_layer.cc index e7f40058c3..2d3c4166c9 100644 --- a/engine/src/flutter/flow/layers/performance_overlay_layer.cc +++ b/engine/src/flutter/flow/layers/performance_overlay_layer.cc @@ -22,7 +22,6 @@ void DrawStatisticsText(SkCanvas& canvas, font = SkFont(SkTypeface::MakeFromFile(font_path.c_str())); } font.setSize(15); - font.setLinearMetrics(false); SkPaint paint; paint.setColor(SK_ColorGRAY); canvas.drawSimpleText(string.c_str(), string.size(), kUTF8_SkTextEncoding, x,