gdi32: Make GetOutlineTextMetrics set tmDigitizedAspectX/Y to real values as GetTextMetrics does.
This commit is contained in:
parent
bcdb10a9ed
commit
ade4132b25
|
@ -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)))))
|
||||
|
|
Loading…
Reference in New Issue