[cairo-bugs] [Bug 18034] New: cairo_scaled_font_create with NULL options

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Oct 12 17:16:32 PDT 2008


           Summary: cairo_scaled_font_create with NULL options
           Product: cairo
           Version: 1.8.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: general
        AssignedTo: cworth at cworth.org
        ReportedBy: geoff at laxan.com
         QAContact: cairo-bugs at cairographics.org

The 'cairo_scaled_font_create' function is documented as accepting NULL for
it's cairo_font_options_t parameter.  The doc comments above it say:

   "... A %NULL pointer will be interpreted as meaning the default options."

but actually a NULL value will cause it to return an object in an error state,
because it calls 'cairo_font_options_status' which returns a

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