Request slight hinting when rendering glyphs with Skia (flutter/engine#4307)
Fixes https://github.com/flutter/flutter/issues/12820
This commit is contained in:
@@ -265,6 +265,7 @@ void Paragraph::Layout(double width, bool force) {
|
||||
paint.setAntiAlias(true);
|
||||
paint.setTextEncoding(SkPaint::kGlyphID_TextEncoding);
|
||||
paint.setSubpixelText(true);
|
||||
paint.setHinting(SkPaint::kSlight_Hinting);
|
||||
|
||||
records_.clear();
|
||||
line_heights_.clear();
|
||||
|
||||
Reference in New Issue
Block a user