diff options
author | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-03-26 19:02:52 +0000 |
---|---|---|
committer | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-03-26 19:02:52 +0000 |
commit | ca5c841a6479e63e9f2e9eefad41674918c6887c (patch) | |
tree | db5973b7fd36c9150f6bf1f7faa5dff77fc8996f /src/core | |
parent | 7244e8838397964e4983d9d7028b0017f8b28f69 (diff) |
respect slant param
git-svn-id: http://skia.googlecode.com/svn/trunk@8397 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/SkFontHost.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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() { |