[cairo-bugs] [Bug 24730] New: misleading use cases in cairo_scaled_font_text_to_glyphs's docs

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Oct 26 01:32:24 PDT 2009


           Summary: misleading use cases in
                    cairo_scaled_font_text_to_glyphs's docs
           Product: cairo
           Version: 1.9.5
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: medium
         Component: general
        AssignedTo: cworth at cworth.org
        ReportedBy: dkirov at gmail.com
         QAContact: cairo-bugs at cairographics.org

Looking at code examples under cairo_scaled_font_text_to_glyphs there is
imporper usage of several cairo functions:

cairo_glyph_t *glyphs = NULL;
cairo_show_glyphs (..., *glyphs, ...);
cairo_glyph_free (*glyphs);
this is wrong, as cairo_glyph_free expects a single pointer

The same inconsistency can be seen in the usage of:

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