mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Update paint hinting for upcoming Skia API changes. (flutter/engine#6802)
This commit is contained in:
parent
061170fc32
commit
cfd68e9189
@ -439,7 +439,7 @@ void Paragraph::Layout(double width, bool force) {
|
||||
paint.setAntiAlias(true);
|
||||
paint.setTextEncoding(SkPaint::kGlyphID_TextEncoding);
|
||||
paint.setSubpixelText(true);
|
||||
paint.setHinting(SkPaint::kSlight_Hinting);
|
||||
paint.setHinting(kSlight_SkFontHinting);
|
||||
|
||||
records_.clear();
|
||||
line_heights_.clear();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user