Start Wine port for most Gdi functions. GetCharWidthA should be redirected to GetCharWidth32A in the def file. Just taking one step at a time ATM.
Modified: trunk/reactos/lib/gdi32/objects/font.c
--- trunk/reactos/lib/gdi32/objects/font.c 2006-01-17 23:14:51 UTC (rev 20944) +++ trunk/reactos/lib/gdi32/objects/font.c 2006-01-18 22:02:44 UTC (rev 20945) @@ -331,8 +331,7 @@
LPINT lpBuffer ) {
- /* FIXME what to do with iFirstChar and iLastChar ??? */
- return NtGdiGetCharWidth32 ( hdc, iFirstChar, iLastChar, lpBuffer );
+ return GetCharWidth32A ( hdc, iFirstChar, iLastChar, lpBuffer );
}