Index: samplecode/ClockFaceView.cpp |
diff --git a/samplecode/ClockFaceView.cpp b/samplecode/ClockFaceView.cpp |
index 7c6158ada3e9dcfe2d5afddb2089eefca5aed4cb..ef0fec75774034849bdfe84f243f406a316f9125 100644 |
--- a/samplecode/ClockFaceView.cpp |
+++ b/samplecode/ClockFaceView.cpp |
@@ -221,7 +221,8 @@ protected: |
paint.setAntiAlias(true); |
paint.setTextSize(SkIntToScalar(240)); |
- paint.setTypeface(SkTypeface::MakeFromName("sans-serif", SkTypeface::kBold)); |
+ paint.setTypeface(SkTypeface::MakeFromName("sans-serif", |
+ SkFontStyle::FromOldStyle(SkTypeface::kBold))); |
SkString str("9"); |