Index: src/core/SkFontStyle.cpp |
diff --git a/src/core/SkFontStyle.cpp b/src/core/SkFontStyle.cpp |
index c28e7213377c8ea451a00db2ab41fb0d175de609..01628ae9d9d4ccdceb774ec31ab591f53cb7d9f6 100644 |
--- a/src/core/SkFontStyle.cpp |
+++ b/src/core/SkFontStyle.cpp |
@@ -20,7 +20,7 @@ SkFontStyle::SkFontStyle(int weight, int width, Slant slant) { |
fUnion.fU32 = 0; |
fUnion.fR.fWeight = SkTPin<int>(weight, kThin_Weight, kBlack_Weight); |
fUnion.fR.fWidth = SkTPin<int>(width, kUltraCondensed_Width, kUltaExpanded_Width); |
- fUnion.fR.fSlant = SkTPin<int>(slant, kUpright_Slant, kItalic_Slant); |
+ fUnion.fR.fSlant = SkTPin<int>(slant, kUpright_Slant, kOblique_Slant); |
} |
/*static*/SkFontStyle SkFontStyle::FromOldStyle(unsigned oldStyle) { |