From 48b62bc1890c8897a47ec9fb9fac8314682300e0 Mon Sep 17 00:00:00 2001 From: Brandon DeRosier Date: Mon, 17 Apr 2023 20:56:33 -0700 Subject: [PATCH] [Impeller] Remove glyph pixel rounding during text frame conversion (#41285) (cherry picked from commit b955dc53a93da0d2dfdb4c1bc8f37308e24533dd) --- impeller/typographer/backends/skia/text_frame_skia.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/impeller/typographer/backends/skia/text_frame_skia.cc b/impeller/typographer/backends/skia/text_frame_skia.cc index 534bab00bd9fa..e451695dc8b6d 100644 --- a/impeller/typographer/backends/skia/text_frame_skia.cc +++ b/impeller/typographer/backends/skia/text_frame_skia.cc @@ -76,7 +76,7 @@ TextFrame TextFrameFromTextBlob(const sk_sp& blob, Scalar scale) { : Glyph::Type::kPath; text_run.AddGlyph(Glyph{glyphs[i], type, ToRect(glyph_bounds[i])}, - Point{point->x(), point->y()}.Round()); + Point{point->x(), point->y()}); } break; }