GetCharacterPlacementW() fix

Shachar Shemesh wine-devel at shemesh.biz
Thu Nov 6 03:21:16 CST 2003


Phil Krylov wrote:

>Hello,
>
>ChangeLog:
>
>Phil Krylov <phil at newstar.rinet.ru>
>    Added support for returning caret positions from
>    GetCharacterPlacementW(). I'm not sure if this will work
>    for complex scripts, but still it is better than nothing.
>
>    
>--- font.c      15 Oct 2003 03:32:31 -0000      1.107
>+++ font.c      5 Nov 2003 22:37:16 -0000
>@@ -2008,7 +2008,6 @@ GetCharacterPlacementW(
>            lpResults->lpGlyphs, lpResults->nGlyphs, lpResults->nMaxFit);
> 
>     if(dwFlags&(~GCP_REORDER))                 FIXME("flags 0x%08lx ignored\n", dwFlags);
>-    if(lpResults->lpCaretPos)  FIXME("caret positions not implemented\n");
>  
>
Make that into "+ if(lpResults->lpCaretPos && dwFlags&GCP_REORDER) 
FIXME("Caret positions on complex scripts not implemented");"

>     if(lpResults->lpClass)     FIXME("classes not implemented\n");
> 
>        nSet = (UINT)uCount;
>  
>

-- 
Shachar Shemesh
Open Source integration consultant
Home page & resume - http://www.shemesh.biz/





More information about the wine-devel mailing list