bug in Firefox print to PDF
Richard <[email protected]>
| Newsgroups | gmane.comp.lib.cairo |
|---|---|
| Message-ID | <CAO+xCXAoTcv2PenUtdzBaA-ESU+m63Ukpph+o2Z892rjskr0=Q@mail.gmail.com> |
I found a bug in the Firefox print to PDF feature under Ubuntu, which appears to be implemented with Cairo. I first reported it on Firefox's bugzilla, although I don't really know if the issue is with Firefox, Ubuntu, or Cairo. What I think is happening is that if Firefox uses a Type-1 font, then the FontBBox line in the PDF file is invalid. The invalid line will consist of of 4 binary numbers, when it should consist of 4 signed integers. This error causes Adobe Reader (under Windows 7) to display an error dialog box, although the PDF is displayed correctly. Has this been fixed in a newer version of Cairo? (Firefox seems to use version 1.9.5.) (I did search bugs.freedesktop.org, but I didn't find anything that I thought was relevant.) I put more details and example files at: https://bugzilla.mozilla.org/show_bug.cgi?id=1156083 Thank you, Richard -- cairo mailing list [email protected] http://lists.cairographics.org/mailman/listinfo/cairo