Hi fellow devs

I have a really strange problem ... im rendering a map using CATiledLayer
and on top of that, im rendering a kind of "overlay" via CG.

I render a string by calculating its surrounding rectangle, fill that
rectangle and draw the string inside, by calling this method :

name.DrawString(titleRect, UIFont.FromName("FetteEngDOT", fontSize),
UILineBreakMode.TailTruncation, UITextAlignment.Center);

When rendered in iOS 5.0, everythings seems to work as expected :
http://monotouch.2284126.n4.nabble.com/file/n4565942/drawstring50.png 

But when rendered in iOS 4.3, it cuts off the string and behave wierd ...
center alignment is missing to :
http://monotouch.2284126.n4.nabble.com/file/n4565942/drawstring43.png 

Am I missing something or ??? Have anyone experiences similar differences in
rendering strings ??

Thanks,
Kent Fonager, netcoders aps

--
View this message in context: 
http://monotouch.2284126.n4.nabble.com/NSString-DrawString-weird-rendering-tp4565942p4565942.html
Sent from the MonoTouch mailing list archive at Nabble.com.
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to