[cairo-bugs] [Bug 20095] New: The cairo_set_tolerance() function behavior is inconsistency with the spec

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Feb 12 23:57:57 PST 2009


http://bugs.freedesktop.org/show_bug.cgi?id=20095

           Summary: The cairo_set_tolerance() function behavior is
                    inconsistency with the spec
           Product: cairo
           Version: 1.8.6
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: general
        AssignedTo: cworth at cworth.org
        ReportedBy: tructv at necsv.com
         QAContact: cairo-bugs at cairographics.org


Created an attachment (id=22887)
 --> (http://bugs.freedesktop.org/attachment.cgi?id=22887)
The C test program to demonstrate this issue

In developing the test for the cairo function cairo_set_tolerance(), we have
encountered the following inconsistency with the spec:

- On cairo-1.6.4 or earlier, if we use cairo_set_tolerance() to set tolerance
to a value  < 0.0002 and then call cairo_get_tolerance() to retrieve the value
of tolerance, the value returned is always equal to 0.0002.

- Additionally, on the latest cairo-1.8.6, if we set a value < 0.003906, then
the retrieved value is always equal to 0.003906.

The standard (spec) did not mention anything about this special value 0.0002 or
0.003906.

Is this a deficiency of the documentation or an implementation feature?

Included with this report is the C test program to demonstrate this issue.

Please, give us your ruling/decision.

Thank you very much for your time.


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