show fontstyle values for each style
git-svn-id: http://skia.googlecode.com/svn/trunk@8843 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
dd8e353bef
commit
5111648cef
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user