[Mono-bugs] [Bug 545988] ImageView.Drawstring() Methods causes exception.

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Oct 20 10:59:51 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=545988

User Jochenvanwylick at hotmail.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=545988#c2


Jochen Van Wylick <Jochenvanwylick at hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |




--- Comment #2 from Jochen Van Wylick <Jochenvanwylick at hotmail.com>  2009-10-20 08:59:51 MDT ---
After receiving the update and using another overload of the DrawString method,
I get this error:

Wed Oct 14 16:39:10 wlan-145-94-188-113.wlan.tudelft.nl BugProject[2711]
<Error>: CGContextGetShouldSmoothFonts: invalid context
Wed Oct 14 16:39:10 wlan-145-94-188-113.wlan.tudelft.nl BugProject[2711]
<Error>: CGContextSetFont: invalid context
Wed Oct 14 16:39:10 wlan-145-94-188-113.wlan.tudelft.nl BugProject[2711]
<Error>: CGContextSetTextMatrix: invalid context
Wed Oct 14 16:39:10 wlan-145-94-188-113.wlan.tudelft.nl BugProject[2711]
<Error>: CGContextSetFontSize: invalid context
Wed Oct 14 16:39:10 wlan-145-94-188-113.wlan.tudelft.nl BugProject[2711]
<Error>: CGContextSetTextPosition: invalid context
Wed Oct 14 16:39:10 wlan-145-94-188-113.wlan.tudelft.nl BugProject[2711]
<Error>: CGContextShowGlyphsWithAdvances: invalid context

Extra:
I checked the available fontnames and 'Arial' is there ( using UIFont.fontnames
- string[] ). Also, I didn't report this as a bug - since this this .dll wasn't
openly available.

Now using:
this.ImageOutlet.DrawString("TEST",this.ImageOutlet.Frame,UIFont.FromName("Arial",10f));

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list