[
https://issues.apache.org/jira/browse/FOP-2406?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14357007#comment-14357007
]
simon steiner edited comment on FOP-2406 at 3/11/15 3:20 PM:
-------------------------------------------------------------
{code}
--- src/java/org/apache/fop/pdf/PDFFactory.java (revision 1665890)
+++ src/java/org/apache/fop/pdf/PDFFactory.java (working copy)
@@ -198,9 +198,7 @@
* resources, contents and dimensions
*/
PDFResources res = getDocument().getFactory().makeResources();
- if (getDocument().isLinearizationEnabled()) {
getDocument().trailerObjects.remove(resources);
- }
{code}
You can fix by doing but there were some problems remaining.
was (Author: ssteiner1):
--- src/java/org/apache/fop/pdf/PDFFactory.java (revision 1665890)
+++ src/java/org/apache/fop/pdf/PDFFactory.java (working copy)
@@ -198,9 +198,7 @@
* resources, contents and dimensions
*/
PDFResources res = getDocument().getFactory().makeResources();
- if (getDocument().isLinearizationEnabled()) {
getDocument().trailerObjects.remove(resources);
- }
You can fix by doing but there were some problems remaining.
> Error when image next to pdf
> ----------------------------
>
> Key: FOP-2406
> URL: https://issues.apache.org/jira/browse/FOP-2406
> Project: Fop
> Issue Type: Bug
> Reporter: simon steiner
> Attachments: img.pdf, test.fo, test.png
>
>
> JPG and PDF on same page gives adobe reader error due to pdf resource not
> being merged
> fop test.fo out.pdf
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)