Bug 688001 - Ghostscript doesn't generate form XObjects
Summary: Ghostscript doesn't generate form XObjects
Status: RESOLVED DUPLICATE of bug 687561
Alias: None
Product: Ghostscript
Classification: Unclassified
Component: PDF Writer (show other bugs)
Version: master
Hardware: PC All
: P3 enhancement
Assignee: Igor Melichev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-23 11:47 UTC by Alex Cherepanov
Modified: 2007-12-13 12:55 UTC (History)
0 users

See Also:
Customer:
Word Size: ---


Attachments
Mailing anniversaire Hippopotamus2.ps.bz2 (422.39 KB, application/octet-stream)
2005-03-23 11:48 UTC, Alex Cherepanov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Cherepanov 2005-03-23 11:47:33 UTC
Ghostscript doesn't generate form XObjects from PostScript forms.
The form XObjects are also flattened during PDF to PDF conversion.

This limitation has been known before but a Ghostscript user 
Benjamin Waechter <benj at waechter dot org> has posted a real world
file on comp.lang.postscript that we convert to 17M PDF but 
Distiller 5 converts to 970K .
Comment 1 Alex Cherepanov 2005-03-23 11:48:58 UTC
Created attachment 1264 [details]
Mailing anniversaire Hippopotamus2.ps.bz2
Comment 2 SaGS 2005-03-24 00:55:45 UTC
Bug #687561 "Smaller PDFs when using execform" specifically adresses this 
problem. It also need, for part of its functinality (like forms with XUIDs that 
are loaded into VM more than once), bug #687560 "Invalid PDF if /BP pdfmarks 
with non-unique /_objdef".

Unfortunately, GS has some other bugs in handling pdfmarks that create Form 
XObjects, for example bug #687558 "Wrong clipping path with /SP pdfmark" (the 
subject doesn't tell the whole story) and at least another one that I'm aware 
of but haven't analyzed yet. Both seem to affect the attached sample.
Comment 3 Igor Melichev 2005-03-30 13:09:50 UTC

*** This bug has been marked as a duplicate of 687561 ***