[Impeller] Remove glyph pixel rounding during text frame conversion (flutter/engine#41285)

This commit is contained in:
Brandon DeRosier
2023-04-17 20:56:33 -07:00
committed by GitHub
parent 8b46857ae8
commit 9541138082

View File

@@ -76,7 +76,7 @@ TextFrame TextFrameFromTextBlob(const sk_sp<SkTextBlob>& 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;
}