gdi: Write out glyph count correctly in GetCharacterPlacementA.
This commit is contained in:
parent
15c52a751a
commit
e1f74ad5c7
|
@ -2673,6 +2673,9 @@ GetCharacterPlacementA(HDC hdc, LPCSTR lpString, INT uCount,
|
|||
|
||||
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 );
|
||||
|
|
Loading…
Reference in New Issue