[Mono-list] MeasureString

Jansen Bart bjansen at etro.vub.ac.be
Thu Sep 20 16:28:23 EDT 2007


Hi all,

 

I'm trying to ensure that a string fits in a rectangle shown on screen,
so whenever the string is too long, some characters are stripped.  I'm
using MeasureString to accomplish this.  With mono under windows this is
working fine, under linux the resulting string is always way too long.
Is this a known issue? Is there a workaround?

 

Thanks a lot for your help,

 

B.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20070920/54273a52/attachment.html 


More information about the Mono-list mailing list