[Mono-bugs] [Bug 518184] New: TextRenderer sets TextFormatFlags.SingleLine when VerticalCenter is enabled

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Jul 1 06:27:05 EDT 2009


           Summary: TextRenderer sets TextFormatFlags.SingleLine when
                    VerticalCenter is enabled
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.4.x
          Platform: x86
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: skolima at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---

Created an attachment (id=301877)
 --> (http://bugzilla.novell.com/attachment.cgi?id=301877)
test case

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.9.1)
Gecko/20090624 Firefox/3.5 (.NET CLR 3.5.30729)

TextRenderer produces expected results (text centered vertically and split into
multiple lines) on Mono 2.0. On 2.4 branch, 2.4.2 on Windows forces text into
single line, 2.4.2 on Linux behaves correctly (although previous RC versions
had this bug also on Linux). A test case is attached, compare the text
rendering on MS.Net to Mono (single line text when TextRenderer is used).

Reproducible: Always

Steps to Reproduce:
Compile and run attached Windows.Forms program.
Actual Results:  
Text on the top button is centered vertically (correctly), but is rendered as a
single line.

Expected Results:  
Text on both buttons is split into 3 lines

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