[cairo-bugs] [Bug 53841] New: Rectangle drawn incorrectly when it has zero height and miter limit morethan 1.414

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Aug 20 05:22:04 PDT 2012


https://bugs.freedesktop.org/show_bug.cgi?id=53841

             Bug #: 53841
           Summary: Rectangle drawn incorrectly when it has zero height
                    and miter limit morethan 1.414
    Classification: Unclassified
           Product: cairo
           Version: 1.10.2
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: general
        AssignedTo: cworth at cworth.org
        ReportedBy: naginenis at gmail.com
         QAContact: cairo-bugs at cairographics.org


Created attachment 65828
  --> https://bugs.freedesktop.org/attachment.cgi?id=65828
example, highlights the error

Test case
http://philip.html5.org/tests/canvas/suite/tests/2d.path.rect.zero.6.html is
failing on browser ports using Cairo(Firefox, Webkit GTK/EFL). The problem can
be seen more clearly with the attached example.

Example draws a rectangle from (100,25) to (500,25) and expects it not to draw
anything in the region (0,0)-(100,50) since the height zero. But, the test is
failing because the rectangle is getting expanded by half the line width and
drawn incorrectly at x < 100. 

https://bugzilla.mozilla.org/show_bug.cgi?id=407107 has some insight about the
issue.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.


More information about the cairo-bugs mailing list