mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 06:21:42 +00:00
[GDI32] Use NtGdiGetGlyphIndicesW() in GetCharacterPlacementW() as we do have it. Fixes OpenOffice: v1.x.x garbled text. Brought to you by Vort. CORE-867
svn path=/trunk/; revision=69562
This commit is contained in:
parent
ecfe47b635
commit
049574607a
1 changed files with 2 additions and 5 deletions
|
@ -460,9 +460,6 @@ GetCharacterPlacementW(
|
|||
if(lpResults->lpOutString)
|
||||
lstrcpynW( lpResults->lpOutString, lpString, nSet );
|
||||
|
||||
if(lpResults->lpGlyphs)
|
||||
lstrcpynW( lpResults->lpGlyphs, lpString, nSet );
|
||||
|
||||
if(lpResults->lpOrder)
|
||||
{
|
||||
for(i = 0; i < nSet; i++)
|
||||
|
@ -495,8 +492,8 @@ GetCharacterPlacementW(
|
|||
lpResults->lpCaretPos[i] = (pos += size.cx);
|
||||
}
|
||||
|
||||
/*if(lpResults->lpGlyphs)
|
||||
NtGdiGetGlyphIndicesW(hdc, lpString, nSet, lpResults->lpGlyphs, 0);*/
|
||||
if (lpResults->lpGlyphs)
|
||||
NtGdiGetGlyphIndicesW(hdc, lpString, nSet, lpResults->lpGlyphs, 0);
|
||||
|
||||
if (GetTextExtentPoint32W(hdc, lpString, uCount, &size))
|
||||
ret = MAKELONG(size.cx, size.cy);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue