[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cairo-bugs
Subject:    [cairo-bugs] [Bug 20132] New: The behavior of
From:       bugzilla-daemon () freedesktop ! org
Date:       2009-02-16 8:31:20
Message-ID: bug-20132-4039 () http ! bugs ! freedesktop ! org/
[Download RAW message or body]

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

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


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

The cairo-1.8.6 API reference states that cairo_status_to_string() function
returns a string representation of the status. So when this function is called
with status such as "CAIRO_STATUS_SUCCESS", it should return "return no
error has occurred" instead of "success".

The following statuses have the similar inconsistency cases:
CAIRO_STATUS_SUCCESS 
CAIRO_STATUS_INVALID_RESTORE 
CAIRO_STATUS_INVALID_POP_GROUP 
CAIRO_STATUS_SURFACE_FINISHED 
CAIRO_STATUS_INVALID_DSC_COMMENT 
CAIRO_STATUS_INVALID_INDEX 
CAIRO_STATUS_CLIP_NOT_REPRESENTABLE 
CAIRO_STATUS_TEMP_FILE_ERROR 
CAIRO_STATUS_INVALID_STRIDE 
CAIRO_STATUS_FONT_TYPE_MISMATCH 
CAIRO_STATUS_USER_FONT_IMMUTABLE 
CAIRO_STATUS_USER_FONT_ERROR 
CAIRO_STATUS_NEGATIVE_COUNT 
CAIRO_STATUS_INVALID_CLUSTERS 
CAIRO_STATUS_INVALID_SLANT 
CAIRO_STATUS_INVALID_WEIGHT 

Although these found inconsistences do no harm. But according to us, they
should be fixed to gain more end user's confidence.

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

Please, give us your decision.

Thank you 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.
_______________________________________________
cairo-bugs mailing list
cairo-bugs@lists.cairographics.org
http://lists.cairographics.org/mailman/listinfo/cairo-bugs

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic