From 9db4928b26f254c8471916ea2dd41f99b3e8fac2 Mon Sep 17 00:00:00 2001 From: "mike@reedtribe.org" Date: Tue, 22 Mar 2011 01:35:30 +0000 Subject: [PATCH] add more styles to show git-svn-id: http://skia.googlecode.com/svn/trunk@976 2bbb7eff-a529-9590-31e7-b0007b416f81 --- samplecode/SampleTypeface.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/samplecode/SampleTypeface.cpp b/samplecode/SampleTypeface.cpp index 96082af5f6..ed5e788c70 100644 --- a/samplecode/SampleTypeface.cpp +++ b/samplecode/SampleTypeface.cpp @@ -50,11 +50,16 @@ static const struct { } gFaces[] = { { NULL, SkTypeface::kNormal }, { NULL, SkTypeface::kBold }, + { NULL, SkTypeface::kItalic }, + { NULL, SkTypeface::kBoldItalic }, { "serif", SkTypeface::kNormal }, { "serif", SkTypeface::kBold }, { "serif", SkTypeface::kItalic }, { "serif", SkTypeface::kBoldItalic }, - { "monospace", SkTypeface::kNormal } + { "monospace", SkTypeface::kNormal }, + { "monospace", SkTypeface::kBold }, + { "monospace", SkTypeface::kItalic }, + { "monospace", SkTypeface::kBoldItalic }, }; static const int gFaceCount = SK_ARRAY_COUNT(gFaces);