| Index: src/ports/SkFontHost_win.cpp
|
| diff --git a/src/ports/SkFontHost_win.cpp b/src/ports/SkFontHost_win.cpp
|
| index 5ded39c1b42406066697e614ca853fe6087dd5d1..db90915acae6648c938dda93c09650146c33f5b5 100644
|
| --- a/src/ports/SkFontHost_win.cpp
|
| +++ b/src/ports/SkFontHost_win.cpp
|
| @@ -2508,7 +2508,7 @@ protected:
|
| }
|
|
|
| lf.lfWeight = style.weight();
|
| - lf.lfItalic = style.isItalic() ? TRUE : FALSE;
|
| + lf.lfItalic = style.slant() == SkFontStyle::kUpright_Slant ? FALSE : TRUE;
|
| return SkCreateTypefaceFromLOGFONT(lf);
|
| }
|
|
|
|
|