[Mono-bugs] [Bug 507467] New: Drawing with PageUnit different than GraphicsUnit.Pixel is not correct.

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed May 27 10:02:17 EDT 2009


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


           Summary: Drawing with PageUnit different than
                    GraphicsUnit.Pixel is not correct.
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.4.x
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: libgdiplus
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: mario.suric at yahoo.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US)
AppleWebKit/525.19 (KHTML, like Gecko) Chrome/1.0.154.65 Safari/525.19

Drawing with PageUnit different than GraphicsUnit.Pixel is not correct.
Generally fonts are not drawn at all.

Reproducible: Always

Steps to Reproduce:
1. Just make small application with drawing some shapes using millimeter page
units and some text.
2. On MS .NET work fine. On Mono fonts are not drawn at all.
3.
Actual Results:  
Drawing with PageUnit different than GraphicsUnit.Pixel is not correct.
DrawString is not ok.

Expected Results:  
Drawing using page units different than one should also be supported

There is a workaround. Drawing in pixels but multiplying input coordinates
given in millimeters to pixels (coordInPixel = coordInMM * dotPerMM).

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


More information about the mono-bugs mailing list