зеркало из https://github.com/mozilla/moz-skia.git
Fix typo in SkFontHost_win.cpp in comment.
We want the 'size', not the 'side'. git-svn-id: http://skia.googlecode.com/svn/trunk@14667 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
Родитель
4d868b0285
Коммит
1c261116d9
|
@ -646,7 +646,7 @@ SkScalerContext_GDI::SkScalerContext_GDI(SkTypeface* rawTypeface,
|
|||
GA.preConcat(A);
|
||||
|
||||
// realTextSize is the actual device size we want (as opposed to the size the user requested).
|
||||
// gdiTextSide is the size we request from GDI.
|
||||
// gdiTextSize is the size we request from GDI.
|
||||
// If the scale is negative, this means the matrix will do the flip anyway.
|
||||
SkScalar realTextSize = SkScalarAbs(GA.get(SkMatrix::kMScaleY));
|
||||
SkScalar gdiTextSize = SkScalarRoundToScalar(realTextSize);
|
||||
|
|
Загрузка…
Ссылка в новой задаче