The attached program results in a PDF file with 'nan' in some of it's matrices and runs Xpdf out of memory. It also goes up to 680megs when run, which is a Cairo bug somewhere, though possibly not in the PDF backend.
Created attachment 2354 [details] Test case
Created attachment 2934 [details] [review] Proposed patch - just skip size zero (and near) fonts
I dont' get NaN in the output any more, but it still causes xpdf to go into a memory allocation fit, so here's a patch that just omits any fonts below 0.001 pt.
2005-08-19 Owen Taylor <otaylor@redhat.com> * src/cairo-pdf-surface.c (_cairo_pdf_surface_show_glyphs): Ignore really small fonts, since size zero fonts give xpdf fits. (#2938)
Move bugs against "cvs" version to "0.9.3" so we can remove the "cvs" version.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.