Snap GDI matrix when snapping height.
authorbungeman@google.com <bungeman@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Thu, 3 Oct 2013 20:17:51 +0000 (20:17 +0000)
committerbungeman@google.com <bungeman@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Thu, 3 Oct 2013 20:17:51 +0000 (20:17 +0000)
commit11ba3199f3edc7883ada4fd941d231f8f4883720
treeff4a2e66da45036ff0e0a8adacfe3679ddb773b7
parent608ea6508ae2e9ea05ea863ba50fc27d44d2eae9
Snap GDI matrix when snapping height.

When using GDI to render, ensure that the GDI matrix does not attempt to
add subpixel height. This ensures that rotated text is always the same
height as axis aligned text and prevents subpixel drift metrics when they
are unwanted.

R=reed@google.com

Review URL: https://codereview.chromium.org/25739002

git-svn-id: http://skia.googlecode.com/svn/trunk@11592 2bbb7eff-a529-9590-31e7-b0007b416f81
src/ports/SkFontHost_win.cpp