Export to PDF creates invalid PDF

Bug #765125 reported by Karl Hegbloom
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
texmacs (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: texmacs

When I export a document to PDF, it creates an invalid PDF. Evince can open it, but Acroread cannot. 'pdfinfo' says:

 Error: May not be a PDF file (continuing anyway)
 Error: PDF file is damaged - attempting to reconstruct xref table...
 Error: Couldn't find trailer dictionary
 Error: Couldn't read xref table

When I look inside the file, I see that it's not a PDF after all, but is actually a Postscript file. The 'file' command says it's:

 Letter-Test.pdf: PostScript document text conforming DSC level 2.0

Revision history for this message
Karl Hegbloom (karl.hegbloom) wrote :

I just confirmed that adding '--enable-pdf-renderer' to the DEB_CONFIGURE_EXTRA_FLAGS in debian/rules fixes the problem. It now outputs a valid PDF v1.3 that displays in acroread.

Changed in texmacs (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.