[Mono-bugs] [Bug 340730] New: Bold lines in paths

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Nov 9 14:41:47 EST 2007


https://bugzilla.novell.com/show_bug.cgi?id=340730

           Summary: Bold lines in paths
           Product: Moonlight
           Version: unspecified
          Platform: 32bit
        OS/Version: openSUSE 10.3
            Status: NEW
          Severity: Minor
          Priority: P5 - None
         Component: media
        AssignedTo: mono-bugs at ximian.com
        ReportedBy: spouliot at novell.com
         QAContact: mono-bugs at ximian.com
          Found By: ---


In the sample both line should be identical (except for the Y offset) but
Moonlight draws the second one "bolder".

<Canvas xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
        <Path Canvas.Top="10" Canvas.Left="10" Stroke="blue"
Data="M20,20L30,50"/>
        <Path Canvas.Top="10" Canvas.Left="10" Stroke="blue"
Data="M20,50L30,80Z"/>
</Canvas>

This happens because the parser create two lines for the second path (to close
the path) and this gets visible because Cairo's AA is applied differently in
both directions.

Not yet sure if it's worth some special (parser or rendering) code... anyway
I'm opening to document the issue.


-- 
Configure bugmail: https://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