Return-Path: X-Original-To: apmail-xmlgraphics-general-archive@www.apache.org Delivered-To: apmail-xmlgraphics-general-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B4E04E5D5 for ; Fri, 4 Jan 2013 15:54:14 +0000 (UTC) Received: (qmail 27006 invoked by uid 500); 4 Jan 2013 15:54:13 -0000 Mailing-List: contact general-help@xmlgraphics.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: general@xmlgraphics.apache.org Delivered-To: mailing list general@xmlgraphics.apache.org Received: (qmail 26508 invoked by uid 99); 4 Jan 2013 15:54:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Jan 2013 15:54:13 +0000 Date: Fri, 4 Jan 2013 15:54:13 +0000 (UTC) From: "Robert Meyer (JIRA)" To: general@xmlgraphics.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (XGC-76) [PATCH] Dependant on FOP-2174 - Change to XGC to support the changes in FOP for image scaling. Scaling by resolution is removed to avoid duplicate scaling. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/XGC-76?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Meyer updated XGC-76: ---------------------------- Attachment: test.fo output-144-wo-xgc-patch.pdf output-144-with-xgc-fop-patches.pdf output-72-wo-xgc-fop-patches.pdf fop.xconf I have attached 5 files showing this issue. The first of these is output-72-wo-xgc-fop-patches.pdf. This file displays everything using 72 which uses the default image size. As you can see, the image with the rainbow is double the size of the two red squares. Note that the two redsquare images are SVG whereas the rainbow image is a normal bitmap. output-144-wo-xgc-patch.pdf shows that due to the changes made in FOP, all images are scaled, however the rainbow image is scaled twice resulting it being the same size as the SVG images now. This is because scaling occurred independently from FOP in XGC. Now that FOP handles scaling across both SVG and other image types, this is uneccessary. Finally, we have output-144-with-xgc-fop-patches.pdf which shows the fix where the rainbow image is being scaled as expected. I have attached both the FO and XCONF for testing purposes. > [PATCH] Dependant on FOP-2174 - Change to XGC to support the changes in FOP for image scaling. Scaling by resolution is removed to avoid duplicate scaling. > ----------------------------------------------------------------------------------------------------------------------------------------------------------- > > Key: XGC-76 > URL: https://issues.apache.org/jira/browse/XGC-76 > Project: XMLGraphicsCommons > Issue Type: Bug > Affects Versions: 1.4 > Reporter: Robert Meyer > Assignee: Chris Bowditch > Attachments: fop.xconf, output-144-with-xgc-fop-patches.pdf, output-144-wo-xgc-patch.pdf, output-72-wo-xgc-fop-patches.pdf, patch.diff, test.fo > > -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: general-unsubscribe@xmlgraphics.apache.org For additional commands, e-mail: general-help@xmlgraphics.apache.org