Skip to content

Commit 16f8c67

Browse files
Rusinobrianosman
authored andcommitted
Update paint hinting for upcoming Skia API changes. (#6802)
1 parent e011d54 commit 16f8c67

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

third_party/txt/src/txt/paragraph.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ void Paragraph::Layout(double width, bool force) {
439439
paint.setAntiAlias(true);
440440
paint.setTextEncoding(SkPaint::kGlyphID_TextEncoding);
441441
paint.setSubpixelText(true);
442-
paint.setHinting(SkPaint::kSlight_Hinting);
442+
paint.setHinting(kSlight_SkFontHinting);
443443

444444
records_.clear();
445445
line_heights_.clear();

0 commit comments

Comments
 (0)