Steven Sproat wrote:
I'm not sure why, but on Windows (XP, SP3) I cannot get drawing text
on a newline to work. The following code works fine in Ubuntu, but
gives me "l"s instead of newlines for some reason --
ImageShack - Best place for all of your image hosting and image sharing needs
Those aren't actual the letter "l". It's the "missing glyph" character
for that font -- a narrow open rectangle.
On Windows, you need to use \r\n to force a new line. A lone \n is sent
to the text renderer as an 0x0A character, and as you can see, the 0x0A
character is not found in most fonts.
ยทยทยท
--
Tim Roberts, timr@probo.com
Providenza & Boekelheide, Inc.