Bug 51760 - [PATCH] PostScript PDF-image causes error
Summary: [PATCH] PostScript PDF-image causes error
Status: CLOSED FIXED
Alias: None
Product: Fop - Now in Jira
Classification: Unclassified
Component: ps (show other bugs)
Version: 1.0
Hardware: PC Linux
: P2 normal
Target Milestone: ---
Assignee: fop-dev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-02 13:56 UTC by Mehdi Houshmand
Modified: 2012-03-28 08:44 UTC (History)
0 users



Attachments
ps-image patch (5.54 KB, patch)
2011-09-02 13:56 UTC, Mehdi Houshmand
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mehdi Houshmand 2011-09-02 13:56:40 UTC
Created attachment 27452 [details]
ps-image patch

When a PDF-image is used to create PostScript, the PS is stored as an array. This array can run beyond the 65535 element limitation, so an alternate method can be implemented by using a SubFileDecode filter. This way, there is no limitation on the number of commands, however since this is a PS language level 3 operator the old method needs to be used for PS level 2.
Comment 1 Peter Hancock 2011-09-28 09:13:51 UTC
Fixed in http://svn.apache.org/viewvc?rev=1175764&view=rev

Thanks Mehdi!