You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by "David Crossley (JIRA)" <ji...@apache.org> on 2008/02/01 04:37:08 UTC

[jira] Commented: (FOR-413) PDF: rendering fails when graphics too big - workaround inside

    [ https://issues.apache.org/jira/browse/FOR-413?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12564617#action_12564617 ] 

David Crossley commented on FOR-413:
------------------------------------

Both linkmap.pdf and wholesite.pdf work fine in current 0.9-dev trunk. Don't forget that there was a fix recently in trunk for "wholesite". These issues should be discussed separately to this "graphics too big" issue.

> PDF: rendering fails when graphics too big - workaround inside
> --------------------------------------------------------------
>
>                 Key: FOR-413
>                 URL: https://issues.apache.org/jira/browse/FOR-413
>             Project: Forrest
>          Issue Type: Bug
>          Components: Plugin: output.pdf
>    Affects Versions: 0.6
>            Reporter: Olivier Jacques
>            Assignee: Ferdinand Soethe
>         Attachments: added-wide-PNG-to-howto.patch, FOP-Test.zip, murks.fo, murks.fo, murks.zip, recovered-files.zip, remove-double-id.patch
>
>
> When "forresting" a document that has embedded images, the PDF rendering sometimes stops with this error message:
> BROKEN: org.apache.fop.apps.FOPException: No meaningful layout in block after many attempts.  Infinite loop is assumed.  Processing halted.
> I've found that this is caused by images that are too big to fit in the PDF page (took me some times :) )
> (Moved workaround from Description to Comment - see 2005-12-24)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Re: [jira] Commented: (FOR-413) PDF: rendering fails when graphics too big - workaround inside

Posted by David Crossley <cr...@apache.org>.
Ferdinand Soethe wrote:
> OK, a is now link and the document validates in principle. 

This now breaks our trunk, as shown by today's forrestbot
on the zone test server.

Perhaps it was masking some other errors.

By the way, would someone please start a new
issue to address this separate topic.

-David

> However with Johannes Testproject it still generates 6 
> error. Some of which are link without href (not legal) one 
> is an ulo without content.
> 
> I guess that stylesheet will need some further cleaning.
> 
> Best regards,
> Ferdinand Soethe

Re: [jira] Commented: (FOR-413) PDF: rendering fails when graphics too big - workaround inside

Posted by Ferdinand Soethe <fe...@apache.org>.
OK, a is now link and the document validates in principle. 
However with Johannes Testproject it still generates 6 
error. Some of which are link without href (not legal) one 
is an ulo without content.

I guess that stylesheet will need some further cleaning.

Best regards,
Ferdinand Soethe

Thorsten Scherler wrote:
> On Fri, 2008-02-01 at 18:59 +0100, Ferdinand Soethe wrote:
>> Thanks, Johannes,
>>
>>> I already took the liberty to apply it:
>> but did it make any difference in your tests.
>> I just tested and the problem remains.
>>
>> linkmap.xml is still invalid.
>>
> 
> If you see http://svn.apache.org/viewvc?rev=614162&view=rev the fix is
> just to get back wholesite pdf working it is not addressing linkmap.xml.
> 
> Linkmap.xml is declared as
> <!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.2//EN"
> "http://forrest.apache.org/dtd/document-v12.dtd">
> and you are right that <a> is not supported by v12.
> 
> Why not updating lm:transform.linkmap.document to transform <a to <link?
> 
> salu2
> 
>> Best regards,
>> Ferdinand Soethe


Re: [jira] Commented: (FOR-413) PDF: rendering fails when graphics too big - workaround inside

Posted by Thorsten Scherler <th...@apache.org>.
On Fri, 2008-02-01 at 18:59 +0100, Ferdinand Soethe wrote:
> Thanks, Johannes,
> 
> > I already took the liberty to apply it:
> 
> but did it make any difference in your tests.
> I just tested and the problem remains.
> 
> linkmap.xml is still invalid.
> 

If you see http://svn.apache.org/viewvc?rev=614162&view=rev the fix is
just to get back wholesite pdf working it is not addressing linkmap.xml.

Linkmap.xml is declared as
<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.2//EN"
"http://forrest.apache.org/dtd/document-v12.dtd">
and you are right that <a> is not supported by v12.

Why not updating lm:transform.linkmap.document to transform <a to <link?

salu2

> Best regards,
> Ferdinand Soethe
-- 
Thorsten Scherler                                 thorsten.at.apache.org
Open Source Java                      consulting, training and solutions


Re: [jira] Commented: (FOR-413) PDF: rendering fails when graphics too big - workaround inside

Posted by Ferdinand Soethe <fe...@apache.org>.
Thanks, Johannes,

> I already took the liberty to apply it:

but did it make any difference in your tests.
I just tested and the problem remains.

linkmap.xml is still invalid.

Best regards,
Ferdinand Soethe

Re: [jira] Commented: (FOR-413) PDF: rendering fails when graphics too big - workaround inside

Posted by Johannes Schaefer <jo...@uidesign.de>.
I already took the liberty to apply it:


Revision: 614162
Author: josch
Date: 11:10:28, Dienstag, 22. Januar 2008
Message:
merged changes to fix FOR-733 (commit 614043)
----
Modified : 
/forrest/branches/UpdateFOPto094/main/webapp/locationmap-transforms.xml


Cheers
Johannes



Ferdinand Soethe schrieb:
> David Crossley (JIRA) wrote:
> 
>> Both linkmap.pdf and wholesite.pdf work fine in current
>> 0.9-dev trunk. 
> 
> Nevertheless Forrest generates invalid xml here and this should be 
> adressed, shouldn't it?
> 
>> Don't forget that there was a fix recently
>> in trunk for "wholesite". These issues should be
>> discussed separately to this "graphics too big" issue.
> 
> I'll try to find that on the list and see if that was after I created 
> the branch. If so I'll fix that in the branch to.
> 
> Best regards,
> Ferdinand Soethe
> 

-- 
User Interface Design GmbH, Ludwigsburg, Germany
Phone/Fax  +49 7141 37700-46/-99, Mobile +49 170 4914567
E-mail johannes.schaefer@uidesign.de * www.uidesign.de

Offices:
Martin-Luther-Straße 57-59, D-71636 Ludwigsburg
Truderinger Strasse 330, D-81825 Muenchen
Friedrichsring 46, D-68161 Mannheim
Hansastraße 7-11, 44137 Dortmund

Legal information according to EHUG:
User Interface Design GmbH; Managing Directors: Dr. Claus Goerner,
Franz Koller; Head office: Ludwigsburg; Commercial register of the
local court of Stuttgart, Germany, HRB 205519

Re: [jira] Commented: (FOR-413) PDF: rendering fails when graphics too big - workaround inside

Posted by Ferdinand Soethe <fe...@apache.org>.
David Crossley (JIRA) wrote:

> Both linkmap.pdf and wholesite.pdf work fine in current
> 0.9-dev trunk. 

Nevertheless Forrest generates invalid xml here and this 
should be adressed, shouldn't it?

> Don't forget that there was a fix recently
> in trunk for "wholesite". These issues should be
> discussed separately to this "graphics too big" issue.

I'll try to find that on the list and see if that was after 
I created the branch. If so I'll fix that in the branch to.

Best regards,
Ferdinand Soethe