I've just encountered what seems to be a really unfortunate difference (a bug?) in the way the graphics.drawstring method behaves on Mac and Windows when drawing a string with the optional WrapWidth parameter specified. On the Mac, the string may be broken anywhere to fit whereas on Windows, the string will only break on a space character.

That is, if s is long string that contains no spaces, g.drawstring s,x,y,w will draw all characters in the string on the Mac, line- breaking wherever it needs to. On Windows, on the other hand, it will be truncated, just as if the WrapWidth parameter were not specified.

Is this a bug? Is there a workaround I'm overlooking?

I am using Mac IDE, RB 2006 Release 3 Professional.

Thanks,

Peter
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to