From ca5c841a6479e63e9f2e9eefad41674918c6887c Mon Sep 17 00:00:00 2001 From: "reed@google.com" Date: Tue, 26 Mar 2013 19:02:52 +0000 Subject: [PATCH] respect slant param git-svn-id: http://skia.googlecode.com/svn/trunk@8397 2bbb7eff-a529-9590-31e7-b0007b416f81 --- src/core/SkFontHost.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/SkFontHost.cpp b/src/core/SkFontHost.cpp index 01dbc8574c..a5a61c32bd 100644 --- a/src/core/SkFontHost.cpp +++ b/src/core/SkFontHost.cpp @@ -63,7 +63,7 @@ SkFontStyle::SkFontStyle(int weight, int width, Slant slant) { fUnion.fU32 = 0; fUnion.fR.fWeight = SkPin32(weight, kThin_Weight, kBlack_Weight); fUnion.fR.fWidth = SkPin32(width, kUltraCondensed_Width, kUltaExpanded_Width); - fUnion.fR.fSlant = kUpright_Slant; + fUnion.fR.fSlant = SkPin32(slant, kUpright_Slant, kItalic_Slant); } int SkFontMgr::countFamilies() {