Moved (stub) implementation of GetKerningPairs from ascii to unicode.

This commit is contained in:
Stefan Leichter 2003-04-27 20:36:35 +00:00 committed by Alexandre Julliard
parent 846f253d1e
commit ecc6f06375
1 changed files with 8 additions and 7 deletions

View File

@ -1710,13 +1710,10 @@ BOOL WINAPI GetRasterizerCaps( LPRASTERIZER_STATUS lprs, UINT cbNumBytes)
/*************************************************************************
* GetKerningPairsA (GDI32.@)
*/
DWORD WINAPI GetKerningPairsA( HDC hDC, DWORD cPairs, LPKERNINGPAIR lpKerningPairs )
DWORD WINAPI GetKerningPairsA( HDC hDC, DWORD cPairs,
LPKERNINGPAIR lpKerningPairs )
{
int i;
FIXME("(%p,%ld,%p): almost empty stub!\n", hDC, cPairs, lpKerningPairs);
for (i = 0; i < cPairs; i++)
lpKerningPairs[i].iKernAmount = 0;
return 0;
return GetKerningPairsW( hDC, cPairs, lpKerningPairs );
}
@ -1726,7 +1723,11 @@ DWORD WINAPI GetKerningPairsA( HDC hDC, DWORD cPairs, LPKERNINGPAIR lpKerningPai
DWORD WINAPI GetKerningPairsW( HDC hDC, DWORD cPairs,
LPKERNINGPAIR lpKerningPairs )
{
return GetKerningPairsA( hDC, cPairs, lpKerningPairs );
int i;
FIXME("(%p,%ld,%p): almost empty stub!\n", hDC, cPairs, lpKerningPairs);
for (i = 0; i < cPairs; i++)
lpKerningPairs[i].iKernAmount = 0;
return 0;
}
/*************************************************************************