Module: wine Branch: refs/heads/master Commit: e1f74ad5c7a7ca61c04e12272d32530391844d98 URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=e1f74ad5c7a7ca61c04e1227...
Author: Peter Oberndorfer kumbayo84@arcor.de Date: Tue Apr 11 19:25:44 2006 +0000
gdi: Write out glyph count correctly in GetCharacterPlacementA.
---
dlls/gdi/font.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/dlls/gdi/font.c b/dlls/gdi/font.c index 1e17d5a..31825e4 100644 --- a/dlls/gdi/font.c +++ b/dlls/gdi/font.c @@ -2673,6 +2673,9 @@ GetCharacterPlacementA(HDC hdc, LPCSTR l
ret = GetCharacterPlacementW(hdc, lpStringW, uCountW, nMaxExtent, &resultsW, dwFlags);
+ lpResults->nGlyphs = resultsW.nGlyphs; + lpResults->nMaxFit = resultsW.nMaxFit; + if(lpResults->lpOutString) { WideCharToMultiByte(font_cp, 0, resultsW.lpOutString, uCountW, lpResults->lpOutString, uCount, NULL, NULL );