Return-Path: Delivered-To: apmail-forrest-dev-archive@www.apache.org Received: (qmail 69852 invoked from network); 10 Mar 2005 00:21:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 10 Mar 2005 00:21:27 -0000 Received: (qmail 15717 invoked by uid 500); 10 Mar 2005 00:21:24 -0000 Delivered-To: apmail-forrest-dev-archive@forrest.apache.org Received: (qmail 15593 invoked by uid 500); 10 Mar 2005 00:21:23 -0000 Mailing-List: contact dev-help@forrest.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@forrest.apache.org Delivered-To: mailing list dev@forrest.apache.org Received: (qmail 15482 invoked by uid 99); 10 Mar 2005 00:21:23 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=FORGED_RCVD_HELO,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from 54.67-19-2.reverse.theplanet.com (HELO mail.outerthought.net) (67.19.2.54) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 09 Mar 2005 16:21:23 -0800 Received: from localhost (localhost [127.0.0.1]) by mail.outerthought.net (Postfix) with ESMTP id 65A35160C52 for ; Wed, 9 Mar 2005 18:21:21 -0600 (CST) Received: from mail.outerthought.net ([127.0.0.1]) by localhost (mail.outerthought.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 08226-03 for ; Wed, 9 Mar 2005 18:21:20 -0600 (CST) Received: from strider.outerthought.net (localhost [127.0.0.1]) by mail.outerthought.net (Postfix) with ESMTP id 94826160C5E for ; Wed, 9 Mar 2005 18:21:19 -0600 (CST) Message-ID: <26039852.1110414079598.JavaMail.jettyjira@strider.outerthought.net> Date: Wed, 9 Mar 2005 18:21:19 -0600 (CST) From: issues@cocoondev.org To: dev@forrest.apache.org Subject: [JIRA] Updated: (FOR-413) PDF: rendering fails when graphics too big - workaround inside In-Reply-To: <12522085.1102674509246.JavaMail.jettyjira@strider.outerthought.net> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at outerthought.net X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N The following issue has been updated: Updater: Dave Brondsema (mailto:brondsem@apache.org) Date: Wed, 9 Mar 2005 6:21 PM Changes: Component changed to Plugin: pdf-output Component changed from Core operations --------------------------------------------------------------------- For a full history of the issue, see: http://issues.cocoondev.org//browse/FOR-413?page=history --------------------------------------------------------------------- View the issue: http://issues.cocoondev.org//browse/FOR-413 Here is an overview of the issue: --------------------------------------------------------------------- Key: FOR-413 Summary: PDF: rendering fails when graphics too big - workaround inside Type: Bug Status: Unassigned Priority: Major Project: Forrest Components: Plugin: pdf-output Versions: 0.6 Assignee: Reporter: Olivier Jacques Created: Fri, 10 Dec 2004 4:27 AM Updated: Wed, 9 Mar 2005 6:21 PM Description: 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 :) ) I temporary "solved" it by modifying the document2fo.xsl. When I specify the "width" or "height" attribute to the img, then the value is taken and divided by 2. WARNING: the value has to be an integer and a "px" (pixels) size. We should find a way to reduce the size automatically. $ diff -bruN document2fo.xsl~ document2fo.xsl --- document2fo.xsl~ 2004-12-09 17:51:42.486185200 +0100 +++ document2fo.xsl 2004-12-09 22:03:32.465852800 +0100 @@ -755,10 +755,14 @@ - + + - + + --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://issues.cocoondev.org//secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira