PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Problems with fonts in GD 3.5b3 on WM2003SE

I'm writing my first PocketPC app for my Toshiba e805 and I'm having two problems with fonts: GetStringWidth() returns only half of the actual width of a string and DrawText() only draws half of the specified string aswell. All the screen coordinates and scale seem correct for font and other bitmaps Draw's tho...

It's as if it were a QVGA/VGA mistake, except I use the HI_RES_AWARE resource and the GDISPLAY_HI_RES_AWARE flag. Anyone have any hints?

Thanks,
-- fX
Ah... ignore that, I fixed it. It wasn't at all a resolution problem, but instead, a string mistake. Bad = Mixing TCHAR and CHAR functions heh...