| Index: gm/fontmgr.cpp
|
| diff --git a/gm/fontmgr.cpp b/gm/fontmgr.cpp
|
| index efd01c5ca9fc7cce7d96a88553b74c61d7bdf721..1975f998cdc9fa99e8ce5e5ae39b8396b2c6a073 100644
|
| --- a/gm/fontmgr.cpp
|
| +++ b/gm/fontmgr.cpp
|
| @@ -102,7 +102,7 @@ protected:
|
| SkString sname;
|
| SkFontStyle fs;
|
| set->getStyle(j, &fs, &sname);
|
| - sname.appendf(" [%d %d %d]", fs.weight(), fs.width(), fs.isItalic());
|
| + sname.appendf(" [%d %d %d]", fs.weight(), fs.width(), fs.slant());
|
|
|
| SkSafeUnref(paint.setTypeface(set->createTypeface(j)));
|
| x = drawString(canvas, sname, x, y, paint) + 20;
|
|
|