diff options
Diffstat (limited to 'gm/fontmgr.cpp')
-rw-r--r-- | gm/fontmgr.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gm/fontmgr.cpp b/gm/fontmgr.cpp index 121843572b..4ff55a7a6c 100644 --- a/gm/fontmgr.cpp +++ b/gm/fontmgr.cpp @@ -59,6 +59,7 @@ protected: SkString sname; SkFontStyle fs; set->getStyle(j, &fs, &sname); + sname.appendf(" [%d %d %d]", fs.weight(), fs.width(), fs.isItalic()); SkSafeUnref(paint.setTypeface(set->createTypeface(j))); x = drawString(canvas, sname, x, y, paint) + 20; |