gdi32: Make GetOutlineTextMetrics set tmDigitizedAspectX/Y to real values as GetTextMetrics does.

This commit is contained in:
Dmitry Timoshkov 2008-06-24 16:10:08 +09:00 committed by Alexandre Julliard
parent bcdb10a9ed
commit ade4132b25
1 changed files with 3 additions and 0 deletions

View File

@ -1410,6 +1410,9 @@ UINT WINAPI GetOutlineTextMetricsW(
WineEngGetOutlineTextMetrics(dc->gdiFont, ret, output);
}
output->otmTextMetrics.tmDigitizedAspectX = GetDeviceCaps(hdc, LOGPIXELSX);
output->otmTextMetrics.tmDigitizedAspectY = GetDeviceCaps(hdc, LOGPIXELSY);
#define WDPTOLP(x) ((x<0)? \
(-abs(INTERNAL_XDSTOWS(dc, (x)))): \
(abs(INTERNAL_XDSTOWS(dc, (x)))))