[cairo-bugs] [Bug 80602] New: Font not found error reported as CAIRO_STATUS_NO_MEMORY

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Jun 27 08:15:39 PDT 2014


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

          Priority: medium
            Bug ID: 80602
          Assignee: chris at chris-wilson.co.uk
           Summary: Font not found error reported as
                    CAIRO_STATUS_NO_MEMORY
        QA Contact: cairo-bugs at cairographics.org
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: mathuin at gmail.com
          Hardware: Other
            Status: NEW
           Version: unspecified
         Component: general
           Product: cairo

I encountered this bug while using cairocffi, and the developer of that product
informed me that errors received by cairocffi come from cairo and thus I needed
to send the bug report to you guys.

The module wanted one of the liberation fonts, but they weren't installed. The
error returned was "out of memory". This confused me for a few hours until
someone helped me search through strace output and found that the last thing
before the exception was a collection of attempts to access fonts.

To replicate this issue:

Create a Centos 6.5 VM, update it (but do not install liberation-sans-fonts),
install cairocffi, use it to make an SVG with text.

What I got:

CAIRO_STATUS_NO_MEMORY exception

What I expected:

Some kind of "font not found" message.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo-bugs/attachments/20140627/6982844b/attachment.html>


More information about the cairo-bugs mailing list