Chromium Code Reviews| Index: src/ports/SkFontHost_win.cpp |
| diff --git a/src/ports/SkFontHost_win.cpp b/src/ports/SkFontHost_win.cpp |
| index 10476ad4345f509073fd3a62d05cf176d891d95a..69fd79b42ab419c559014cc2285712016f7bb705 100644 |
| --- a/src/ports/SkFontHost_win.cpp |
| +++ b/src/ports/SkFontHost_win.cpp |
| @@ -120,6 +120,7 @@ static void dcfontname_to_skstring(HDC deviceContext, const LOGFONT& lf, SkStrin |
| static void make_canonical(LOGFONT* lf) { |
| lf->lfHeight = -64; |
| + lf->lfWidth = 0; |
|
bungeman-skia
2016/03/21 16:14:26
This seems wrong. Why is it here?
|
| lf->lfQuality = CLEARTYPE_QUALITY;//PROOF_QUALITY; |
| lf->lfCharSet = DEFAULT_CHARSET; |
| // lf->lfClipPrecision = 64; |