From fop-users-return-33133annmcdonald@example.com Wed Dec 01 07:12:58 2010 Return-Path: <fop-users-return-33133annmcdonald@example.com> Delivered-To: annmcdonald@example.com Received: (qmail 46153 invoked from network); 1 Dec 2010 07:12:56 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 1 Dec 2010 07:12:56 -0000 Received: (qmail 69460 invoked by uid 500); 1 Dec 2010 07:12:55 -0000 Delivered-To: annmcdonald@example.com Received: (qmail 69253 invoked by uid 500); 1 Dec 2010 07:12:55 -0000 Mailing-List: contact annmcdonald@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:annmcdonald@example.com> List-Unsubscribe: <mailto:annmcdonald@example.com> List-Post: <mailto:annmcdonald@example.com> List-Id: <fop-users.xmlgraphics.apache.org> Reply-To: annmcdonald@example.com Delivered-To: mailing list annmcdonald@example.com Received: (qmail 69246 invoked by uid 99); 1 Dec 2010 07:12:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Dec 2010 07:12:54 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO tux17.hoststar.ch) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Dec 2010 07:12:47 +0000 Received: from [83.161.120.155] (194-230-63-144.static.adslpremium.ch [83.161.120.155]) (authenticated bits=0) by tux17.hoststar.ch (8.13.8/8.12.11) with ESMTP id oB17CPAZ023698 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <annmcdonald@example.com>; Wed, 1 Dec 2010 08:12:27 +0100 Date: Wed, 01 Dec 2010 08:12:32 +0100 From: Jeremias Maerki <annmcdonald@example.com> To: annmcdonald@example.com Subject: Re: Add-ons for Apache FOP In-Reply-To: <067001cb90c5$ca5c6140$5f1523c0$@annmcdonald@example.com> References: <annmcdonald@example.com> <067001cb90c5$ca5c6140$5f1523c0$@annmcdonald@example.com> Message-Id: <annmcdonald@example.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable X-Mailer: Becky! ver. 2.50.02 [en] X-Antivirus: avast! (VPS 101130-1, 30.11.2010), Outbound message X-Antivirus-Status: Clean Hi Lucian On 30.11.2010 20:35:48 Lucian Opris wrote: > Hi Jeremias, > I'm using your FOP add-ons to call PDF attachments as images using > <fo:external-graphic src=3D"my-doc.pdf#page=3D1"/>. > Is there a way to preserve pdf page size for landscape pages or should I = use > <fox:external-document src=3D"my-doc.pdf"/>? Support for landscape pages is available in the latest release (2.0.0) of the plug-in. > Are PDFs with mixed pagesizes work with <fox:external-document and have t= he > footer stamping start at the same point from left? Not sure what you mean by that. With fox:external-document the target page will have the exact size of the respective input page. This should work for each page independently. Jeremias Maerki --------------------------------------------------------------------- To unsubscribe, e-mail: annmcdonald@example.com For additional commands, e-mail: annmcdonald@example.com From fop-users-return-33134annmcdonald@example.com Wed Dec 01 07:21:25 2010 Return-Path: <fop-users-return-33134annmcdonald@example.com> Delivered-To: annmcdonald@example.com Received: (qmail 47672 invoked from network); 1 Dec 2010 07:21:25 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 1 Dec 2010 07:21:25 -0000 Received: (qmail 80115 invoked by uid 500); 1 Dec 2010 07:21:24 -0000 Delivered-To: annmcdonald@example.com Received: (qmail 80027 invoked by uid 500); 1 Dec 2010 07:21:24 -0000 Mailing-List: contact annmcdonald@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:annmcdonald@example.com> List-Unsubscribe: <mailto:annmcdonald@example.com> List-Post: <mailto:annmcdonald@example.com> List-Id: <fop-users.xmlgraphics.apache.org> Reply-To: annmcdonald@example.com Delivered-To: mailing list annmcdonald@example.com Received: (qmail 80020 invoked by uid 99); 1 Dec 2010 07:21:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Dec 2010 07:21:24 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=MIME_QP_LONG_LINE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [83.161.120.155] (HELO tux17.hoststar.ch) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Dec 2010 07:21:17 +0000 Received: from [83.161.120.155] (194-230-63-144.static.adslpremium.ch [83.161.120.155]) (authenticated bits=0) by tux17.hoststar.ch (8.13.8/8.12.11) with ESMTP id oB17Kvnj026228 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <annmcdonald@example.com>; Wed, 1 Dec 2010 08:20:58 +0100 Date: Wed, 01 Dec 2010 08:21:04 +0100 From: Jeremias Maerki <annmcdonald@example.com> To: annmcdonald@example.com Subject: Re: Filesize of Images In-Reply-To: <annmcdonald@example.com> References: <annmcdonald@example.com> <annmcdonald@example.com> Message-Id: <annmcdonald@example.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable X-Mailer: Becky! ver. 2.50.02 [en] X-Antivirus: avast! (VPS 101130-1, 30.11.2010), Outbound message X-Antivirus-Status: Clean X-Virus-Checked: Checked by ClamAV on apache.org FOP does not do any resampling of images for PDF or PostScript output. Images are always embedded as is, i.e. in their original size. You could work around that by embedding the image inside a small SVG wrapper. But you need to apply a dummy filter to force Batik to do the resampling. Something like: <svg:filter id=3D"MyFilter" filterUnits=3D"objectBoundingBox" x=3D"0%= " y=3D"0%" width=3D"100%" height=3D"100%"> <svg:feColorMatrix type=3D"hueRotate" in=3D"SourceGraphic" values= =3D"0"/> </svg:filter> No guarantees on the quality of such an approach. On 25.11.2010 14:36:42 Peter Hancock wrote: > On Thu, Nov 25, 2010 at 12:43 PM, JPee <annmcdonald@example.com> wrote: > Hi JPee, >=20 > Have you tried adjusting the default resoulation settings in your > fop.xconf file (assuming you are using one- > http://xmlgraphics.apache.org/fop/trunk/configuration.html#general-availa= ble)? > Have a look at the source-resolution/target-resolution settings > defined in http://xmlgraphics.apache.org/fop/trunk/configuration.html#ge= neral-elements >=20 > I am not sure that any resizing can be done based on image resolution > but setting the size and target-resolution will alter the file size. >=20 > Pete >=20 > > > > Hello community, > > > > we are using FOP for rendering some pdf files from data. The pdf includ= es > > some images, which can be very big (up to 5mb). So the outcoming pdf wi= th 3 > > images is about 15+ mb. Inside the pdf the images are shown in a lower > > solution. > > > > Is there a way that the imagesize is also scaled down dependant on > > imagesolution? > > > > > > To prevent big pdfs our editors must customize the images at the moment.= Is > > this step really necessary? > > > > Thanks > > JPee > > -- > > View this message in context: http://old.nabble.com/Filesize-of-Images-= tp30304887p30304887.html > > Sent from the FOP - Users mailing list annmcdonald@example.com. > > Jeremias Maerki --------------------------------------------------------------------- To unsubscribe, e-mail: annmcdonald@example.com For additional commands, e-mail: annmcdonald@example.com From fop-users-return-33135annmcdonald@example.com Wed Dec 01 07:27:06 2010 Return-Path: <fop-users-return-33135annmcdonald@example.com> Delivered-To: annmcdonald@example.com Received: (qmail 48500 invoked from network); 1 Dec 2010 07:27:06 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 1 Dec 2010 07:27:06 -0000 Received: (qmail 82778 invoked by uid 500); 1 Dec 2010 07:27:05 -0000 Delivered-To: annmcdonald@example.com Received: (qmail 82666 invoked by uid 500); 1 Dec 2010 07:27:05 -0000 Mailing-List: contact annmcdonald@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:annmcdonald@example.com> List-Unsubscribe: <mailto:annmcdonald@example.com> List-Post: <mailto:annmcdonald@example.com> List-Id: <fop-users.xmlgraphics.apache.org> Reply-To: annmcdonald@example.com Delivered-To: mailing list annmcdonald@example.com Received: (qmail 82659 invoked by uid 99); 1 Dec 2010 07:27:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Dec 2010 07:27:04 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO tux17.hoststar.ch) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Dec 2010 07:26:56 +0000 Received: from [83.161.120.155] (194-230-63-144.static.adslpremium.ch [83.161.120.155]) (authenticated bits=0) by tux17.hoststar.ch (8.13.8/8.12.11) with ESMTP id oB17Qarj028040 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <annmcdonald@example.com>; Wed, 1 Dec 2010 08:26:37 +0100 Date: Wed, 01 Dec 2010 08:26:43 +0100 From: Jeremias Maerki <annmcdonald@example.com> To: annmcdonald@example.com Subject: Re: Embedded client processing time In-Reply-To: <annmcdonald@example.com> References: <annmcdonald@example.com> Message-Id: <annmcdonald@example.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable X-Mailer: Becky! ver. 2.50.02 [en] X-Antivirus: avast! (VPS 101130-1, 30.11.2010), Outbound message X-Antivirus-Status: Clean That's the JVM starting up, loading classes, initializing objects and variables and doing just-in-time compiling. That's to be expected and you can't do much about it. Like I mentioned on 2010-11-19, I'd generate a bitmap on the server and display that in your client if performance is so important. That reduces the amount of code that has to be loaded and executed on the client. FOP is a rather big component after all (and the JARs have to be sent to the client, too). But even then, the first document will always take longest to display. On 23.11.2010 23:00:17 Eric Douglas wrote: > Running FOP from embedded code using Java's webstart for client-server > processing, I need to run part of the code on the client in order to use > the PreviewPanel class. > Certain class methods run a long time the first time. If I execute them > again shortly after they're fast enough, unless I clear the Java cache. > Is there any way to speed up that first time processing? These are the > particular methods I'm seeing problems with. > PreviewPanel.showPage() > FopFactory.newInstance() > InputHandler.renderTo() Jeremias Maerki --------------------------------------------------------------------- To unsubscribe, e-mail: annmcdonald@example.com For additional commands, e-mail: annmcdonald@example.com From fop-users-return-33136annmcdonald@example.com Wed Dec 01 07:33:36 2010 Return-Path: <fop-users-return-33136annmcdonald@example.com> Delivered-To: annmcdonald@example.com Received: (qmail 49750 invoked from network); 1 Dec 2010 07:33:36 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 1 Dec 2010 07:33:36 -0000 Received: (qmail 86759 invoked by uid 500); 1 Dec 2010 07:33:36 -0000 Delivered-To: annmcdonald@example.com Received: (qmail 86692 invoked by uid 500); 1 Dec 2010 07:33:35 -0000 Mailing-List: contact annmcdonald@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:annmcdonald@example.com> List-Unsubscribe: <mailto:annmcdonald@example.com> List-Post: <mailto:annmcdonald@example.com> List-Id: <fop-users.xmlgraphics.apache.org> Reply-To: annmcdonald@example.com Delivered-To: mailing list annmcdonald@example.com Received: (qmail 86685 invoked by uid 99); 1 Dec 2010 07:33:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Dec 2010 07:33:35 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO tux17.hoststar.ch) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Dec 2010 07:33:27 +0000 Received: from [83.161.120.155] (194-230-63-144.static.adslpremium.ch [83.161.120.155]) (authenticated bits=0) by tux17.hoststar.ch (8.13.8/8.12.11) with ESMTP id oB17X7t8030485 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <annmcdonald@example.com>; Wed, 1 Dec 2010 08:33:08 +0100 Date: Wed, 01 Dec 2010 08:33:13 +0100 From: Jeremias Maerki <annmcdonald@example.com> To: annmcdonald@example.com Subject: Re: Cropping output to content In-Reply-To: <annmcdonald@example.com> References: <annmcdonald@example.com> Message-Id: <annmcdonald@example.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable X-Mailer: Becky! ver. 2.50.02 [en] X-Antivirus: avast! (VPS 101130-1, 30.11.2010), Outbound message X-Antivirus-Status: Clean Theoretically, XSL-FO supports page-height=3D"indefinite" on fo:simple-page-master: http://www.w3.org/TR/xsl11/#page-height But FOP doesn't support that, yet. In the meantime, you need to take two steps and inspect the area tree XML in the first step as Peter suggested. Or you post-process the area tree XML by changing the actual page height and run the result through the AreaTreeParser: http://xmlgraphics.apache.org/fop/1.0/intermediate.html#usage On 29.11.2010 09:44:41 Craig Ringer wrote: > Hi all >=20 > For the project I'm working on, I'm finding myself with the need to > generate previews of partial (snippet) XSL-FO content for users. >=20 > As part of that, I'm finding that I want to "rubber band" or clip the > output so that excess white space is omitted. As I don't seem to see any > way to make a page template contract to fit the content I suspect I'll > be post-processing the area tree or the final output to crop it around > the content. >=20 > I'm just wondering if there's some obvious approach I might be missing. > I'm not loving the idea of more area tree processing, though it's worked > very well for the vertical space distribution problem I had a while ago. >=20 > --=20 > System & Network Administrator > POST Newspapers Jeremias Maerki --------------------------------------------------------------------- To unsubscribe, e-mail: annmcdonald@example.com For additional commands, e-mail: annmcdonald@example.com From fop-users-return-33137annmcdonald@example.com Wed Dec 01 07:41:16 2010 Return-Path: <fop-users-return-33137annmcdonald@example.com> Delivered-To: annmcdonald@example.com Received: (qmail 51086 invoked from network); 1 Dec 2010 07:41:16 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 1 Dec 2010 07:41:16 -0000 Received: (qmail 91533 invoked by uid 500); 1 Dec 2010 07:41:16 -0000 Delivered-To: annmcdonald@example.com Received: (qmail 91435 invoked by uid 500); 1 Dec 2010 07:41:16 -0000 Mailing-List: contact annmcdonald@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:annmcdonald@example.com> List-Unsubscribe: <mailto:annmcdonald@example.com> List-Post: <mailto:annmcdonald@example.com> List-Id: <fop-users.xmlgraphics.apache.org> Reply-To: annmcdonald@example.com Delivered-To: mailing list annmcdonald@example.com Received: (qmail 91427 invoked by uid 99); 1 Dec 2010 07:41:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Dec 2010 07:41:15 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [83.161.120.155] (HELO tux17.hoststar.ch) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Dec 2010 07:41:06 +0000 Received: from [83.161.120.155] (194-230-63-144.static.adslpremium.ch [83.161.120.155]) (authenticated bits=0) by tux17.hoststar.ch (8.13.8/8.12.11) with ESMTP id oB17el51000411 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <annmcdonald@example.com>; Wed, 1 Dec 2010 08:40:48 +0100 Date: Wed, 01 Dec 2010 08:40:53 +0100 From: Jeremias Maerki <annmcdonald@example.com> To: annmcdonald@example.com Subject: Re: EPSTranscoder & Fonts In-Reply-To: <annmcdonald@example.com> References: <OFA6332838.852E46CF-ONC12577E6.0051E6A2-C12577E6.0051ED57@LocalDomain> <annmcdonald@example.com> Message-Id: <annmcdonald@example.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable X-Mailer: Becky! ver. 2.50.02 [en] X-Antivirus: avast! (VPS 101130-1, 30.11.2010), Outbound message X-Antivirus-Status: Clean X-Virus-Checked: Checked by ClamAV on apache.org I don't have a solution that works out of the box for you right now, but... 1. FOP 1.0 doesn't require the use of the "metrics-url" attribute anymore. Just skip the TTFReader part. 2. PostScript output in FOP 1.0 doesn't support TrueType fonts. That is currently being developed in a development branch. You'll need to use Type 1 fonts instead, for now anway. 3. I'd remove the intermediary <fonts> element in the configuration for the EPSTranscoder. If my recollection is right, the configurator looks for the font elements in the root element. HTH On 26.11.2010 08:59:24 Heiko.Emmert wrote: > Hello together, >=20 > hope this is the correct mail-address to ask my question. >=20 > I'm trying to convert some svg-files to eps using fop 1.0. >=20 > My Problem is, that I always get the messages about mising glyphes and/or= =20 > fonts. > I know there are a lot of descriptions available in how to make such=20 > configurations. > But none of them helped me. >=20 > Currently my Config-File looks like this: > <renderer mime=3D"PSRenderer"> > <fonts> > <auto-detect/> > <auto-rotate-landscape>0</auto-rotate-landscape> > <font metrics-url=3D" > D:/develop/04_components/fop-1.0/Font_Metrics/Arial.xml" kerning=3D"yes"= =20 > embed-url=3D"D:/develop/04_components/fop-1.0/Font_Metrics/arial.ttf"> > <font-triplet name=3D"ArialMT" style=3D"normal" w= eight > =3D"normal"/> > <font-triplet name=3D"ArialMT" style=3D"normal" w= eight > =3D"400"/> > <font-triplet name=3D"Arial" style=3D"normal" wei= ght=3D" > normal"/> > <font-triplet name=3D"Arial" style=3D"normal" wei= ght=3D" > 400"/> > </font> > .... >=20 > And in my code I try to attach the conifguration using this lines of code= : >=20 > DefaultConfigurationBuilder cfgBuilder =3D new=20 > DefaultConfigurationBuilder(); > Configuration cfg =3D cfgBuilder.buildFromFile(new File( > "D:/develop/04_components/fop-1.0/conf/epsconf.xml")); > ContainerUtil.configure(transcoder, cfg); >=20 > What I've figured out is, that if I use the PDFTranscoder the attribute= =20 > 'cfg' of transcoder is not empty, but is 'null' > if I use the EPSTranscoder. But unfortunatally I need EPS!!!! >=20 > Does anybody has an idea??=20 > Why is the PDFTranscoder automatically using the correct Fonts and the=20 > EPSTranscoder not?? >=20 > Thank you for your help. >=20 > Heiko >=20 Jeremias Maerki --------------------------------------------------------------------- To unsubscribe, e-mail: annmcdonald@example.com For additional commands, e-mail: annmcdonald@example.com From fop-users-return-33138annmcdonald@example.com Wed Dec 01 17:45:49 2010 Return-Path: <fop-users-return-33138annmcdonald@example.com> Delivered-To: annmcdonald@example.com Received: (qmail 21015 invoked from network); 1 Dec 2010 17:45:48 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 1 Dec 2010 17:45:48 -0000 Received: (qmail 81188 invoked by uid 500); 1 Dec 2010 17:45:48 -0000 Delivered-To: annmcdonald@example.com Received: (qmail 81141 invoked by uid 500); 1 Dec 2010 17:45:47 -0000 Mailing-List: contact annmcdonald@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:annmcdonald@example.com> List-Unsubscribe: <mailto:annmcdonald@example.com> List-Post: <mailto:annmcdonald@example.com> List-Id: <fop-users.xmlgraphics.apache.org> Reply-To: annmcdonald@example.com Delivered-To: mailing list annmcdonald@example.com Received: (qmail 81134 invoked by uid 99); 1 Dec 2010 17:45:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Dec 2010 17:45:47 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,SPF_HELO_PASS,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of annmcdonald@example.com designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO kuber.nabble.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Dec 2010 17:45:42 +0000 Received: from isper.nabble.com ([83.161.120.155]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <annmcdonald@example.com>) id 1PNqk5-00025A-R0 for annmcdonald@example.com; Wed, 01 Dec 2010 09:45:21 -0800 Message-ID: <annmcdonald@example.com> Date: Wed, 1 Dec 2010 09:45:21 -0800 (PST) From: PeterRae <annmcdonald@example.com> To: annmcdonald@example.com Subject: FOP PS for multiple copies and stapling MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: annmcdonald@example.com Not sure whether this is more a PS query than a FOP one. The objective is to provide 2 copies of each document submitted, and staple the copies. Ideally I would have 1 staple through both copies, with a multipage document collated. I have the following: <fo:root> <!-- page set up --> <fo:layout-master-set> <fo:simple-page-master master-name="A4" page-width="210mm" page-height="297mm" margin-top="05mm" margin-bottom="05mm" margin-left="05mm" margin-right="05mm"> <ps:ps-page-setup-code name="output-type">&lt;&lt; /OutputType (FujigawaShift) &gt;&gt; setpagedevice</ps:ps-page-setup-code> <ps:ps-page-setup-code name="num-copies">&lt;&lt; /NumCopies 2 >> setpagedevice</ps:ps-page-setup-code> <ps:ps-page-setup-code name="collate">&lt;&lt; /Collate true /CollateDetails &lt;&lt; /Type 6 /AlignSet true &gt;&gt; &gt;&gt; setpagedevice</ps:ps-page-setup-code> ............... </fo:simple-page-master> </fo:layout-master-set> <fo:declarations> <ps:ps-setup-code name="staple" xmlns:ps="http://xmlgraphics.apache.org/fop/postscript">&lt;&lt; /Staple 2 /StapleDetails &lt;&lt;/Type 14 /Angle 2 /Position 0 &gt;&gt; &gt;&gt; setpagedevice</ps:ps-setup-code> </fo:declarations> Documents render fine. With the above settings, a two-page document is printed twice with each 2-page document stapled. Should it be possible to staple all four pages? I don't know if this is printer dependent, PS coding or FOP setting. Also - if the document is only 1 page, should it be possible to staple the copies. Trust this makes sense. Using FOP 0.94, target device is Ricoh (Aficio) 1224C (PS 3 driver) -- View this message in context: http://old.nabble.com/FOP-PS-for-multiple-copies-and-stapling-tp30351513p30351513.html Sent from the FOP - Users mailing list annmcdonald@example.com. --------------------------------------------------------------------- To unsubscribe, e-mail: annmcdonald@example.com For additional commands, e-mail: annmcdonald@example.com From fop-users-return-33139annmcdonald@example.com Wed Dec 01 20:12:23 2010 Return-Path: <fop-users-return-33139annmcdonald@example.com> Delivered-To: annmcdonald@example.com Received: (qmail 97407 invoked from network); 1 Dec 2010 20:12:23 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 1 Dec 2010 20:12:23 -0000 Received: (qmail 38379 invoked by uid 500); 1 Dec 2010 20:12:23 -0000 Delivered-To: annmcdonald@example.com Received: (qmail 38339 invoked by uid 500); 1 Dec 2010 20:12:22 -0000 Mailing-List: contact annmcdonald@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:annmcdonald@example.com> List-Unsubscribe: <mailto:annmcdonald@example.com> List-Post: <mailto:annmcdonald@example.com> List-Id: <fop-users.xmlgraphics.apache.org> Reply-To: annmcdonald@example.com Delivered-To: mailing list annmcdonald@example.com Received: (qmail 38332 invoked by uid 99); 1 Dec 2010 20:12:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Dec 2010 20:12:22 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=MSGID_MULTIPLE_AT,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of annmcdonald@example.com designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail.bluematrix.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Dec 2010 20:12:15 +0000 Received: (qmail 15081 invoked by uid 89); 1 Dec 2010 20:11:54 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=private; d=bluematrix.com; b=CApyx6L4swWhjva3prDuaLnidIdnNW9HpqFCMl8lpGdwcmqi9SQxovapHOR/tikiNf/poboBceJhs53RH2Hoqg==; Received: by simscan 1.4.0 ppid: 15073, pid: 15076, t: 0.3147s scanners: attach: 1.4.0 clamav: 0.95.2/m:52/d:11531 Received: from unknown (HELO Lucian) (annmcdonald@example.com@83.161.120.155) by mail.bluematrix.com with ESMTPA; 1 Dec 2010 20:11:53 -0000 From: "Lucian Opris" <annmcdonald@example.com> To: <annmcdonald@example.com> References: <annmcdonald@example.com> <067001cb90c5$ca5c6140$5f1523c0$@annmcdonald@example.com> <annmcdonald@example.com> In-Reply-To: <annmcdonald@example.com> Subject: RE: Add-ons for Apache FOP Date: Wed, 1 Dec 2010 15:11:53 -0500 Message-ID: <07ab01cb9193$ff49fc90$fdddf5b0$@annmcdonald@example.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AcuRJy3mouRsYmroTKOTGYZvLOWkfQAbDr3A Content-Language: en-us X-Virus-Checked: Checked by ClamAV on apache.org Thank you Jeremias, I've added the <fox:external-document src="C:/FOP1/fop-1.0/attachments/my.pdf"/> to work in conjunction with new namespace xmlns:fox="http://xmlgraphics.apache.org/fop/extensions" and it worked fine. Now the question is can we stamp header and footers on external pdf called with fox since fox:external-document is peer with fo:page-sequence? Lucian Opris -----Original Message----- From: Jeremias Maerki [mailto:annmcdonald@example.com] Sent: Wednesday, December 01, 2010 2:13 AM To: annmcdonald@example.com Subject: Re: Add-ons for Apache FOP Hi Lucian On 30.11.2010 20:35:48 Lucian Opris wrote: > Hi Jeremias, > I'm using your FOP add-ons to call PDF attachments as images using > <fo:external-graphic src="my-doc.pdf#page=1"/>. > Is there a way to preserve pdf page size for landscape pages or should I use > <fox:external-document src="my-doc.pdf"/>? Support for landscape pages is available in the latest release (2.0.0) of the plug-in. > Are PDFs with mixed pagesizes work with <fox:external-document and have the > footer stamping start at the same point from left? Not sure what you mean by that. With fox:external-document the target page will have the exact size of the respective input page. This should work for each page independently. Jeremias Maerki --------------------------------------------------------------------- To unsubscribe, e-mail: annmcdonald@example.com For additional commands, e-mail: annmcdonald@example.com --------------------------------------------------------------------- To unsubscribe, e-mail: annmcdonald@example.com For additional commands, e-mail: annmcdonald@example.com From fop-users-return-33140annmcdonald@example.com Wed Dec 01 20:45:35 2010 Return-Path: <fop-users-return-33140annmcdonald@example.com> Delivered-To: annmcdonald@example.com Received: (qmail 7969 invoked from network); 1 Dec 2010 20:45:34 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 1 Dec 2010 20:45:34 -0000 Received: (qmail 88039 invoked by uid 500); 1 Dec 2010 20:45:33 -0000 Delivered-To: annmcdonald@example.com Received: (qmail 88010 invoked by uid 500); 1 Dec 2010 20:45:33 -0000 Mailing-List: contact annmcdonald@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:annmcdonald@example.com> List-Unsubscribe: <mailto:annmcdonald@example.com> List-Post: <mailto:annmcdonald@example.com> List-Id: <fop-users.xmlgraphics.apache.org> Reply-To: annmcdonald@example.com Delivered-To: mailing list annmcdonald@example.com Received: (qmail 87978 invoked by uid 99); 1 Dec 2010 20:45:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Dec 2010 20:45:33 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=MSGID_MULTIPLE_AT,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of annmcdonald@example.com designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail.bluematrix.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Dec 2010 20:45:26 +0000 Received: (qmail 27799 invoked by uid 89); 1 Dec 2010 20:45:05 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=private; d=bluematrix.com; b=Gbn5fFPdHdcjXYCZBU5DPEzbEliWa36cmBrONT5Kle04JaZH0PLIIFP8T1EJ0dIxqZ+Tx/PpxtIDyiHwMBhWLg==; Received: by simscan 1.4.0 ppid: 27790, pid: 27793, t: 0.5315s scanners: attach: 1.4.0 clamav: 0.95.2/m:52/d:11531 Received: from unknown (HELO Lucian) (annmcdonald@example.com@83.161.120.155) by mail.bluematrix.com with ESMTPA; 1 Dec 2010 20:45:04 -0000 From: "Lucian Opris" <annmcdonald@example.com> To: <annmcdonald@example.com> References: <annmcdonald@example.com> <067001cb90c5$ca5c6140$5f1523c0$@annmcdonald@example.com> <annmcdonald@example.com> <07ab01cb9193$ff49fc90$fdddf5b0$@annmcdonald@example.com> In-Reply-To: <07ab01cb9193$ff49fc90$fdddf5b0$@annmcdonald@example.com> Subject: RE: Add-ons for Apache FOP Date: Wed, 1 Dec 2010 15:45:05 -0500 Message-ID: <07af01cb9198$a255a750$e700f5f0$@annmcdonald@example.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AcuRJy3mouRsYmroTKOTGYZvLOWkfQAbDr3AAAESo2A= Content-Language: en-us X-Virus-Checked: Checked by ClamAV on apache.org Also, I've noticed that without using fox:external-document the pdf size is about 17K then using fox:external-document to call a 608K PDF I've got a resulting 2.104K PDF. Do you know what could cause such a dramatic file increase? Lucian Opris -----Original Message----- From: Lucian Opris [mailto:annmcdonald@example.com] Sent: Wednesday, December 01, 2010 3:12 PM To: annmcdonald@example.com Subject: RE: Add-ons for Apache FOP Thank you Jeremias, I've added the <fox:external-document src="C:/FOP1/fop-1.0/attachments/my.pdf"/> to work in conjunction with new namespace xmlns:fox="http://xmlgraphics.apache.org/fop/extensions" and it worked fine. Now the question is can we stamp header and footers on external pdf called with fox since fox:external-document is peer with fo:page-sequence? Lucian Opris -----Original Message----- From: Jeremias Maerki [mailto:annmcdonald@example.com] Sent: Wednesday, December 01, 2010 2:13 AM To: annmcdonald@example.com Subject: Re: Add-ons for Apache FOP Hi Lucian On 30.11.2010 20:35:48 Lucian Opris wrote: > Hi Jeremias, > I'm using your FOP add-ons to call PDF attachments as images using > <fo:external-graphic src="my-doc.pdf#page=1"/>. > Is there a way to preserve pdf page size for landscape pages or should I use > <fox:external-document src="my-doc.pdf"/>? Support for landscape pages is available in the latest release (2.0.0) of the plug-in. > Are PDFs with mixed pagesizes work with <fox:external-document and have the > footer stamping start at the same point from left? Not sure what you mean by that. With fox:external-document the target page will have the exact size of the respective input page. This should work for each page independently. Jeremias Maerki --------------------------------------------------------------------- To unsubscribe, e-mail: annmcdonald@example.com For additional commands, e-mail: annmcdonald@example.com --------------------------------------------------------------------- To unsubscribe, e-mail: annmcdonald@example.com For additional commands, e-mail: annmcdonald@example.com --------------------------------------------------------------------- To unsubscribe, e-mail: annmcdonald@example.com For additional commands, e-mail: annmcdonald@example.com From fop-users-return-33141annmcdonald@example.com Thu Dec 02 07:07:17 2010 Return-Path: <fop-users-return-33141annmcdonald@example.com> Delivered-To: annmcdonald@example.com Received: (qmail 85651 invoked from network); 2 Dec 2010 07:07:17 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 2 Dec 2010 07:07:17 -0000 Received: (qmail 14362 invoked by uid 500); 2 Dec 2010 07:07:17 -0000 Delivered-To: annmcdonald@example.com Received: (qmail 14199 invoked by uid 500); 2 Dec 2010 07:07:16 -0000 Mailing-List: contact annmcdonald@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:annmcdonald@example.com> List-Unsubscribe: <mailto:annmcdonald@example.com> List-Post: <mailto:annmcdonald@example.com> List-Id: <fop-users.xmlgraphics.apache.org> Reply-To: annmcdonald@example.com Delivered-To: mailing list annmcdonald@example.com Received: (qmail 14192 invoked by uid 99); 2 Dec 2010 07:07:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Dec 2010 07:07:16 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO tux17.hoststar.ch) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Dec 2010 07:07:08 +0000 Received: from [83.161.120.155] (194-230-63-144.static.adslpremium.ch [83.161.120.155]) (authenticated bits=0) by tux17.hoststar.ch (8.13.8/8.12.11) with ESMTP id oB276l6P019838 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <annmcdonald@example.com>; Thu, 2 Dec 2010 08:06:48 +0100 Date: Thu, 02 Dec 2010 08:06:57 +0100 From: Jeremias Maerki <annmcdonald@example.com> To: annmcdonald@example.com Subject: Re: Add-ons for Apache FOP In-Reply-To: <07af01cb9198$a255a750$e700f5f0$@annmcdonald@example.com> References: <07ab01cb9193$ff49fc90$fdddf5b0$@annmcdonald@example.com> <07af01cb9198$a255a750$e700f5f0$@annmcdonald@example.com> Message-Id: <annmcdonald@example.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable X-Mailer: Becky! ver. 2.50.02 [en] X-Antivirus: avast! (VPS 101201-1, 01.12.2010), Outbound message X-Antivirus-Status: Clean fox:external-document doesn't allow any additional content besides the full-page images. You'll have to determine the page sizes yourself and use normal fo:page-sequence elements to set up the image for full-page display. The PDF size increases that much because there is currently no easy way to cache the already transferred PDF objects so they are not transferred again for each page. I've experimented with that some time ago but had to disable that feature because of massive problems. I may revisit this at some point (no current plans). If you have to add larger PDFs to a document I suggest you do that as a post-processing step using Apache PDFBox. On 01.12.2010 21:45:05 Lucian Opris wrote: > Also, I've noticed that without using fox:external-document the pdf size = is > about 17K then using fox:external-document to call a 608K PDF I've got a > resulting 2.104K PDF. Do you know what could cause such a dramatic file > increase? >=20 > Lucian Opris >=20 > -----Original Message----- > From: Lucian Opris [mailto:annmcdonald@example.com]=20 > Sent: Wednesday, December 01, 2010 3:12 PM > To: annmcdonald@example.com > Subject: RE: Add-ons for Apache FOP >=20 > Thank you Jeremias, > I've added the <fox:external-document > src=3D"C:/FOP1/fop-1.0/attachments/my.pdf"/> to work in conjunction with = new > namespace > xmlns:fox=3D"http://xmlgraphics.apache.org/fop/extensions" and it worked = fine. > Now the question is can we stamp header and footers on external pdf calle= d > with fox since fox:external-document is peer with fo:page-sequence? >=20 >=20 > Lucian Opris >=20 > -----Original Message----- > From: Jeremias Maerki [mailto:annmcdonald@example.com]=20 > Sent: Wednesday, December 01, 2010 2:13 AM > To: annmcdonald@example.com > Subject: Re: Add-ons for Apache FOP >=20 > Hi Lucian >=20 > On 30.11.2010 20:35:48 Lucian Opris wrote: > > Hi Jeremias, > > I'm using your FOP add-ons to call PDF attachments as images using > > <fo:external-graphic src=3D"my-doc.pdf#page=3D1"/>. > > Is there a way to preserve pdf page size for landscape pages or should = I > use > > <fox:external-document src=3D"my-doc.pdf"/>? >=20 > Support for landscape pages is available in the latest release (2.0.0) > of the plug-in. >=20 > > Are PDFs with mixed pagesizes work with <fox:external-document and have > the > > footer stamping start at the same point from left? >=20 > Not sure what you mean by that. With fox:external-document the target > page will have the exact size of the respective input page. This should > work for each page independently. Jeremias Maerki --------------------------------------------------------------------- To unsubscribe, e-mail: annmcdonald@example.com For additional commands, e-mail: annmcdonald@example.com From fop-users-return-33142annmcdonald@example.com Thu Dec 02 10:25:53 2010 Return-Path: <fop-users-return-33142annmcdonald@example.com> Delivered-To: annmcdonald@example.com Received: (qmail 50847 invoked from network); 2 Dec 2010 10:25:53 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 2 Dec 2010 10:25:53 -0000 Received: (qmail 27043 invoked by uid 500); 2 Dec 2010 10:25:53 -0000 Delivered-To: annmcdonald@example.com Received: (qmail 26974 invoked by uid 500); 2 Dec 2010 10:25:53 -0000 Mailing-List: contact annmcdonald@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:annmcdonald@example.com> List-Unsubscribe: <mailto:annmcdonald@example.com> List-Post: <mailto:annmcdonald@example.com> List-Id: <fop-users.xmlgraphics.apache.org> Reply-To: annmcdonald@example.com Delivered-To: mailing list annmcdonald@example.com Received: (qmail 26967 invoked by uid 99); 2 Dec 2010 10:25:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Dec 2010 10:25:52 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,SPF_HELO_PASS,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of annmcdonald@example.com designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO kuber.nabble.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Dec 2010 10:25:48 +0000 Received: from isper.nabble.com ([83.161.120.155]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <annmcdonald@example.com>) id 1PO6Lv-0002ey-JQ for annmcdonald@example.com; Thu, 02 Dec 2010 02:25:27 -0800 Message-ID: <annmcdonald@example.com> Date: Thu, 2 Dec 2010 02:25:27 -0800 (PST) From: JPee <annmcdonald@example.com> To: annmcdonald@example.com Subject: Re: Filesize of Images In-Reply-To: <annmcdonald@example.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: annmcdonald@example.com References: <annmcdonald@example.com> <annmcdonald@example.com> <annmcdonald@example.com> Thank you for the answers, which helped me in finding a solution. Our system has an option to size the images before the FOP processor runs over the fo-file. I have to use this approach then. Greetings JPE Jeremias Maerki-2 wrote: > > FOP does not do any resampling of images for PDF or PostScript output. > Images are always embedded as is, i.e. in their original size. > > You could work around that by embedding the image inside a small SVG > wrapper. But you need to apply a dummy filter to force Batik to do the > resampling. Something like: > > <svg:filter id="MyFilter" filterUnits="objectBoundingBox" x="0%" > y="0%" width="100%" height="100%"> > <svg:feColorMatrix type="hueRotate" in="SourceGraphic" > values="0"/> > </svg:filter> > > No guarantees on the quality of such an approach. > > On 25.11.2010 14:36:42 Peter Hancock wrote: >> On Thu, Nov 25, 2010 at 12:43 PM, JPee <annmcdonald@example.com> wrote: >> Hi JPee, >> >> Have you tried adjusting the default resoulation settings in your >> fop.xconf file (assuming you are using one- >> http://xmlgraphics.apache.org/fop/trunk/configuration.html#general-available)? >> Have a look at the source-resolution/target-resolution settings >> defined in >> http://xmlgraphics.apache.org/fop/trunk/configuration.html#general-elements >> >> I am not sure that any resizing can be done based on image resolution >> but setting the size and target-resolution will alter the file size. >> >> Pete >> >> > >> > Hello community, >> > >> > we are using FOP for rendering some pdf files from data. The pdf >> includes >> > some images, which can be very big (up to 5mb). So the outcoming pdf >> with 3 >> > images is about 15+ mb. Inside the pdf the images are shown in a lower >> > solution. >> > >> > Is there a way that the imagesize is also scaled down dependant on >> > imagesolution? >> > >> > >> > To prevent big pdfs our editors must customize the images at the >> moment. Is >> > this step really necessary? >> > >> > Thanks >> > JPee >> > -- >> > View this message in context: >> http://old.nabble.com/Filesize-of-Images-tp30304887p30304887.html >> > Sent from the FOP - Users mailing list annmcdonald@example.com. >> > > > > > Jeremias Maerki > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: annmcdonald@example.com > For additional commands, e-mail: annmcdonald@example.com > > > ----- Johannes Perlet working for http://www.softwareforen.de softwareforen -- View this message in context: http://old.nabble.com/Filesize-of-Images-tp30304887p30357191.html Sent from the FOP - Users mailing list annmcdonald@example.com. --------------------------------------------------------------------- To unsubscribe, e-mail: annmcdonald@example.com For additional commands, e-mail: annmcdonald@example.com From fop-users-return-33143annmcdonald@example.com Thu Dec 02 14:20:41 2010 Return-Path: <fop-users-return-33143annmcdonald@example.com> Delivered-To: annmcdonald@example.com Received: (qmail 99696 invoked from network); 2 Dec 2010 14:20:41 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 2 Dec 2010 14:20:41 -0000 Received: (qmail 46091 invoked by uid 500); 2 Dec 2010 14:20:40 -0000 Delivered-To: annmcdonald@example.com Received: (qmail 45952 invoked by uid 500); 2 Dec 2010 14:20:40 -0000 Mailing-List: contact annmcdonald@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:annmcdonald@example.com> List-Unsubscribe: <mailto:annmcdonald@example.com> List-Post: <mailto:annmcdonald@example.com> List-Id: <fop-users.xmlgraphics.apache.org> Reply-To: annmcdonald@example.com Delivered-To: mailing list annmcdonald@example.com Received: (qmail 45930 invoked by uid 99); 2 Dec 2010 14:20:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Dec 2010 14:20:39 +0000 X-ASF-Spam-Status: No, hits=-2.8 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_HI,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of annmcdonald@example.com designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO host199.marriott.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Dec 2010 14:20:30 +0000 Received: from HDQNCEXCL1V1.mihdq.marrcorp.marriott.com ([83.161.120.155]) by host199.marriott.com with Microsoft SMTPSVC773.879.5818); Thu, 2 Dec 2010 09:20:09 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01CB922B.ECF9DD51" Subject: Using PDFBox Date: Thu, 2 Dec 2010 09:19:26 -0500 Message-ID: <annmcdonald@example.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Using PDFBox Thread-Index: AcuSK+yW1aGW2iYLTSq9HUC0uZOkHw== From: "Steffanina, Jeff" <annmcdonald@example.com> To: <annmcdonald@example.com> X-OriginalArrivalTime: 02 Dec 2010 14:20:09.0205 (UTC) FILETIME=[064BFA50:01CB922C] X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01CB922B.ECF9DD51 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I saw some references to Apache PDFBox and took a annmcdonald@example.com. I currently use FOP / XSLT, etc to generate printed documents. =20 Is there some specific feature(s) of PDFBox that I should take a closer look at??? =20 Jeff=20 ------_=_NextPart_001_01CB922B.ECF9DD51 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = charset=3Dus-ascii"> <META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version = 6.5.7655.1"> <TITLE>Using PDFBox</TITLE> </HEAD> <BODY> <!-- Converted from text/rtf format --> <BR> <P><FONT COLOR=3D"#0000FF" SIZE=3D2 FACE=3D"Arial">I saw some references = to Apache PDFBox and took a annmcdonald@example.com.&nbsp;&nbsp; I currently use FOP = / XSLT, etc to generate printed documents.&nbsp; </FONT></P> <P><FONT COLOR=3D"#0000FF" SIZE=3D2 FACE=3D"Arial">Is there some = specific feature(s) of PDFBox that I should take a closer look = at???&nbsp;&nbsp; </FONT> </P> <BR> <P><B><I><FONT COLOR=3D"#0000FF" FACE=3D"Century Schoolbook">Jeff = </FONT></I></B> </P> </BODY> </HTML> ------_=_NextPart_001_01CB922B.ECF9DD51-- From fop-users-return-33144annmcdonald@example.com Thu Dec 02 14:28:13 2010 Return-Path: <fop-users-return-33144annmcdonald@example.com> Delivered-To: annmcdonald@example.com Received: (qmail 1530 invoked from network); 2 Dec 2010 14:28:13 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 2 Dec 2010 14:28:13 -0000 Received: (qmail 56332 invoked by uid 500); 2 Dec 2010 14:28:13 -0000 Delivered-To: annmcdonald@example.com Received: (qmail 56209 invoked by uid 500); 2 Dec 2010 14:28:12 -0000 Mailing-List: contact annmcdonald@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:annmcdonald@example.com> List-Unsubscribe: <mailto:annmcdonald@example.com> List-Post: <mailto:annmcdonald@example.com> List-Id: <fop-users.xmlgraphics.apache.org> Reply-To: annmcdonald@example.com Delivered-To: mailing list annmcdonald@example.com Received: (qmail 56202 invoked by uid 99); 2 Dec 2010 14:28:12 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Dec 2010 14:28:12 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [83.161.120.155] (HELO BHEXCHANGE.blockhouse.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Dec 2010 14:28:03 +0000 X-Ninja-PIM: Scanned by Ninja X-Ninja-AttachmentFiltering: (no action) Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01CB922D.1254CE85" X-MimeOLE: Produced By Microsoft Exchange V6.5 Subject: RE: Using PDFBox Date: Thu, 2 Dec 2010 09:27:38 -0500 Message-ID: <annmcdonald@example.com> In-Reply-To: <annmcdonald@example.com> Thread-Topic: Using PDFBox Thread-Index: AcuSK+yW1aGW2iYLTSq9HUC0uZOkHwAAE0Ug References: <annmcdonald@example.com> From: "Eric Douglas" <annmcdonald@example.com> To: <annmcdonald@example.com> X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01CB922D.1254CE85 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable FOP has options to create PDF files and to send output directly to the printer. If those are working for you, I'm not sure why you might need PDFBox. I use the PDFBox project because FOP sending output directly to the printer didn't work for me. In one case it went to the wrong printer. In another case it went to the wrong tray. I used the FOP option to send the output to a ByteArrayOutputStream instead, read the data from that stream into a ByteArrayInputStream which works as input for PDFBox which creates a Pageable object, which= I was able to pass in to the Java print methods which gave me more control over the output. The PDFBox object can be saved as a PDF file, but the FOP ByteArrayOutputStream can also be redirected to a FileOutputStream to save directly. I'm not sure what advantage PDFBox might have there. One possible advantage would be to have the output saved in a Pageable reuseable object if perhaps you want to send the same report to 2 different printers. ________________________________ From: Steffanina, Jeff [mailto:annmcdonald@example.com]=20 Sent: Thursday, December 02, 2010 9:19 AM To: annmcdonald@example.com Subject: Using PDFBox I saw some references to Apache PDFBox and took a annmcdonald@example.com. I currently use FOP / XSLT, etc to generate printed documents. =20 Is there some specific feature(s) of PDFBox that I should take a closer look at??? =20 Jeff=20 ------_=_NextPart_001_01CB922D.1254CE85 Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD><TITLE>Using PDFBox</TITLE> <META http-equiv=3DContent-Type content=3D"text/html; charset=3Dus-ascii= "> <META content=3D"MSHTML 6.00.6000.16850" name=3DGENERATOR></HEAD> <BODY> <DIV dir=3Dltr align=3Dleft><SPAN class=3D465352114-02122010><FONT face= =3DArial=20 color=3D#0000ff size=3D2>FOP has options to create PDF files and to send= output=20 directly to the printer.&nbsp; If those are working for you, I'm not sur= e why=20 you might need PDFBox.</FONT></SPAN></DIV> <DIV dir=3Dltr align=3Dleft><SPAN class=3D465352114-02122010><FONT face= =3DArial=20 color=3D#0000ff size=3D2>I use the PDFBox project because FOP sending= output=20 directly to the printer didn't work for me.&nbsp; In one case it went= to the=20 wrong printer.&nbsp; In another case it went to the wrong=20 tray.</FONT></SPAN></DIV> <DIV dir=3Dltr align=3Dleft><SPAN class=3D465352114-02122010><FONT face= =3DArial=20 color=3D#0000ff size=3D2>I used the FOP option to send the output to a=20 ByteArrayOutputStream instead, read the data from that stream into a=20 ByteArrayInputStream which works as input for PDFBox which creates a Pag= eable=20 object, which I was able to pass in to the Java print methods which gave= me more=20 control over the output.</FONT></SPAN></DIV> <DIV dir=3Dltr align=3Dleft><SPAN class=3D465352114-02122010><FONT face= =3DArial=20 color=3D#0000ff size=3D2>The PDFBox object can be saved as a PDF file,= but the FOP=20 ByteArrayOutputStream can also be redirected to a FileOutputStream to= save=20 directly.&nbsp; I'm not sure what advantage PDFBox might have=20 there.</FONT></SPAN></DIV> <DIV dir=3Dltr align=3Dleft><SPAN class=3D465352114-02122010><FONT face= =3DArial=20 color=3D#0000ff size=3D2>One possible advantage would be to have the out= put saved in=20 a Pageable reuseable object if perhaps you want to send the same report= to 2=20 different printers.</FONT></SPAN></DIV><BR> <DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr align=3Dleft> <HR tabIndex=3D-1> <FONT face=3DTahoma size=3D2><B>From:</B> Steffanina, Jeff=20 [mailto:annmcdonald@example.com] <BR><B>Sent:</B> Thursday, Decembe= r 02,=20 2010 9:19 AM<BR><B>To:</B> annmcdonald@example.com<BR><B>Subjec= t:</B>=20 Using PDFBox<BR></FONT><BR></DIV> <DIV></DIV><!-- Converted from text/rtf format --><BR> <P><FONT face=3DArial color=3D#0000ff size=3D2>I saw some references to= Apache PDFBox=20 and took a annmcdonald@example.com.&nbsp;&nbsp; I currently use FOP / XSLT, etc to= generate=20 printed documents.&nbsp; </FONT></P> <P><FONT face=3DArial color=3D#0000ff size=3D2>Is there some specific= feature(s) of=20 PDFBox that I should take a closer look at???&nbsp;&nbsp; </FONT></P><BR> <P><B><I><FONT face=3D"Century Schoolbook" color=3D#0000ff>Jeff=20 </FONT></I></B></P></BODY></HTML> ------_=_NextPart_001_01CB922D.1254CE85-- From fop-users-return-33145annmcdonald@example.com Thu Dec 02 17:13:50 2010 Return-Path: <fop-users-return-33145annmcdonald@example.com> Delivered-To: annmcdonald@example.com Received: (qmail 92374 invoked from network); 2 Dec 2010 17:13:49 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 2 Dec 2010 17:13:49 -0000 Received: (qmail 53121 invoked by uid 500); 2 Dec 2010 17:13:49 -0000 Delivered-To: annmcdonald@example.com Received: (qmail 53067 invoked by uid 500); 2 Dec 2010 17:13:48 -0000 Mailing-List: contact annmcdonald@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:annmcdonald@example.com> List-Unsubscribe: <mailto:annmcdonald@example.com> List-Post: <mailto:annmcdonald@example.com> List-Id: <fop-users.xmlgraphics.apache.org> Reply-To: annmcdonald@example.com Delivered-To: mailing list annmcdonald@example.com Received: (qmail 53060 invoked by uid 99); 2 Dec 2010 17:13:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Dec 2010 17:13:48 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of annmcdonald@example.com designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO alpha.eurodyn.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Dec 2010 17:13:42 +0000 Received: from parnitha.eurodyn.com (parnitha.eurodyn.com [83.161.120.155]) by alpha.eurodyn.com (8.13.8+Sun/8.13.8) with ESMTP id oB2HDJpC025328 for <annmcdonald@example.com>; Thu, 2 Dec 2010 19:13:19 +0200 (EET) Received: from eurodyn.com (cg1.eurodyn.com [83.161.120.155]) by parnitha.eurodyn.com (8.13.8+Sun/8.13.8) with ESMTP id oB2HDJIM002545 for <annmcdonald@example.com>; Thu, 2 Dec 2010 19:13:19 +0200 (EET) Received: from [83.161.120.155] (HELO kklearchou) by cg1.eurodyn.com (CommuniGate Pro SMTP 5.1.11) with ESMTP id 4822452 for annmcdonald@example.com; Thu, 02 Dec 2010 19:13:19 +0200 From: "Klearchos Klearchou" <annmcdonald@example.com> To: <annmcdonald@example.com> Subject: Bug 49837 - Soft Hyphen Date: Thu, 2 Dec 2010 19:12:08 +0200 Message-ID: <003e01cb9244$0d4099c0$e401640a@kklearchou> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_003F_01CB9254.D0C969C0" X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.2001 Thread-Index: AcuSRA0HH52QwVeFQC6ox3perbHuUg== ------=_NextPart_000_003F_01CB9254.D0C969C0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hello to All, I have Fop version 0.95 and I am trying to upgrade to 1.0 but I have problems with the following regression bug (49837 <https://issues.apache.org/bugzilla/show_bug.cgi?id=49837> ). Is there any workaround for this? I found that if I retype some specific hyphens (that used to look like boxes from my TOAD) it worked. Regards ------=_NextPart_000_003F_01CB9254.D0C969C0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html xmlns:o=3D"urn:schemas-microsoft-com:office:office" = xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns=3D"http://www.w3.org/TR/REC-html40"> <head> <meta http-equiv=3DContent-Type content=3D"text/html; = charset=3Dus-ascii"> <meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)"> <style> <!-- /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {color:purple; text-decoration:underline;} span.EmailStyle17 {mso-style-type:personal-compose; font-family:Arial; color:windowtext;} @page Section1 {size:595.3pt 841.9pt; margin:72.0pt 90.0pt 72.0pt 90.0pt;} div.Section1 {page:Section1;} --> </style> </head> <body lang=3DEL link=3Dblue vlink=3Dpurple> <div class=3DSection1> <p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-US = style=3D'font-size: 10.0pt;font-family:Arial'>Hello to All,<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-US = style=3D'font-size: 10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-US = style=3D'font-size: 10.0pt;font-family:Arial'>I have Fop version 0.95 and I am trying to = upgrade to 1.0 but I have problems with the following regression bug = (</span></font><a name=3Db49837></a><a href=3D"https://issues.apache.org/bugzilla/show_bug.cgi?id=3D49837">49837= </a><span lang=3DEN-US>).<o:p></o:p></span></p> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span = lang=3DEN-US style=3D'font-size:12.0pt'>Is there any workaround for = this?<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span = lang=3DEN-US style=3D'font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span = lang=3DEN-US style=3D'font-size:12.0pt'>I found that if I retype some specific = hyphens (that used to look like boxes from my TOAD) it = worked.<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span = lang=3DEN-US style=3D'font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span = lang=3DEN-US style=3D'font-size:12.0pt'>Regards<o:p></o:p></span></font></p> </div> </body> </html> ------=_NextPart_000_003F_01CB9254.D0C969C0-- From fop-users-return-33146annmcdonald@example.com Thu Dec 02 20:11:21 2010 Return-Path: <fop-users-return-33146annmcdonald@example.com> Delivered-To: annmcdonald@example.com Received: (qmail 72317 invoked from network); 2 Dec 2010 20:11:20 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 2 Dec 2010 20:11:20 -0000 Received: (qmail 2639 invoked by uid 500); 2 Dec 2010 20:11:20 -0000 Delivered-To: annmcdonald@example.com Received: (qmail 2610 invoked by uid 500); 2 Dec 2010 20:11:19 -0000 Mailing-List: contact annmcdonald@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:annmcdonald@example.com> List-Unsubscribe: <mailto:annmcdonald@example.com> List-Post: <mailto:annmcdonald@example.com> List-Id: <fop-users.xmlgraphics.apache.org> Reply-To: annmcdonald@example.com Delivered-To: mailing list annmcdonald@example.com Received: (qmail 2603 invoked by uid 99); 2 Dec 2010 20:11:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Dec 2010 20:11:19 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of annmcdonald@example.com designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-qw0-f54.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Dec 2010 20:11:13 +0000 Received: by qwj9 with SMTP id 9so3278377qwj.27 for <annmcdonald@example.com>; Thu, 02 Dec 2010 12:10:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:from:date :message-id:subject:to:content-type; bh=2u/jAOlButF78SHpzv8GfTUHv4f4YGd2CPt/ZyAc2xg=; b=p3sVSU3q5it5GqbmNE+b4zKqcY7wMmhT9iWN5A2RdsBw/RCo4N7kVQvAp4eOLWnq+s tGjasK1K7xcmirssadyehV5L+aY28hr2VP1Qwwy+J0WBBGZOSRdJrBMF8/W1gGqqc/7s KCOLNoP3Ighn/Pp/a9OKQ7vVcqJ4RZD2DZO8E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=n9QgJIZdSGaYflidwKoLLH9rRecqVhpAI/eTxYyiMk72jQZfcY6uz/VCDbAfjhUj2R 4Qabu7owV6d5ZtDwhYvt2Sj6BjsoSZ8WT17VRL2d0RwuHhZVYAp1Z6GKGjlXxxLjXiCc WvLiJsgwsD8vvx56V/5ZhbZebYgK8I1LU4lxg= Received: by 83.161.120.155 with SMTP id a8mr397425qab.167.1291320652251; Thu, 02 Dec 2010 12:10:52 -0800 (PST) MIME-Version: 1.0 Received: by 83.161.120.155 with HTTP; Thu, 2 Dec 2010 12:10:29 -0800 (PST) From: Tom Browder <annmcdonald@example.com> Date: Thu, 2 Dec 2010 14:10:29 -0600 Message-ID: <annmcdonald@example.com> Subject: fop 1.0 and svg error: To: annmcdonald@example.com Content-Type: text/plain; charset=ISO-8859-1 I'm running fop 1.0 on Linux Ubuntu 10.04 LTS. I'm trying to use an svg image via docbook source. When I run the fo file through fop to get pdf I get the following error as it encounters my svg in the fo file: Dec 2, 2010 2:05:08 PM org.apache.fop.events.LoggingEventListener processEvent SEVERE: Image not available. URI: ./images/era-1.svg. Reason: org.apache.xmlgraphics.image.loader.ImageException: The file format is not supported. No ImagePreloader found for ./images/era-1.svg (See position 25375:172) Dec 2, 2010 2:05:08 PM org.apache.fop.events.LoggingEventListener processEvent SEVERE: Image not found. URI: ./images/era-1.svg. (No context info available) I have looked at the fop info on svg and see nothing that helps. I'm running with the xml graphics commons via Ubuntu installation. I'm using Sun Java. Folks on the docbook list seem to have no problem with using svg. Note that I use svg successfully in my xsl customization layer so I must be doing something wrong. Thanks for any pointers. Regards, -Tom Thomas M. Browder, Jr. Niceville, Florida USA --------------------------------------------------------------------- To unsubscribe, e-mail: annmcdonald@example.com For additional commands, e-mail: annmcdonald@example.com From fop-users-return-33147annmcdonald@example.com Thu Dec 02 20:19:16 2010 Return-Path: <fop-users-return-33147annmcdonald@example.com> Delivered-To: annmcdonald@example.com Received: (qmail 74696 invoked from network); 2 Dec 2010 20:19:16 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 2 Dec 2010 20:19:16 -0000 Received: (qmail 15884 invoked by uid 500); 2 Dec 2010 20:19:16 -0000 Delivered-To: annmcdonald@example.com Received: (qmail 15859 invoked by uid 500); 2 Dec 2010 20:19:16 -0000 Mailing-List: contact annmcdonald@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:annmcdonald@example.com> List-Unsubscribe: <mailto:annmcdonald@example.com> List-Post: <mailto:annmcdonald@example.com> List-Id: <fop-users.xmlgraphics.apache.org> Reply-To: annmcdonald@example.com Delivered-To: mailing list annmcdonald@example.com Received: (qmail 15852 invoked by uid 99); 2 Dec 2010 20:19:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Dec 2010 20:19:16 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [83.161.120.155] (HELO BHEXCHANGE.blockhouse.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Dec 2010 20:19:08 +0000 X-Ninja-PIM: Scanned by Ninja X-Ninja-AttachmentFiltering: (no action) Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5 Subject: RE: fop 1.0 and svg error: Date: Thu, 2 Dec 2010 15:18:44 -0500 Message-ID: <annmcdonald@example.com> In-Reply-To: <annmcdonald@example.com> Thread-Topic: fop 1.0 and svg error: Thread-Index: AcuSXRiYmZeAHohXQg+Jb2+SF5z89QAAF7HQ References: <annmcdonald@example.com> From: "Eric Douglas" <annmcdonald@example.com> To: <annmcdonald@example.com> X-Virus-Checked: Checked by ClamAV on apache.org Is this your first attempt or was this working with any version of FOP previously? Are you able to reference any other type of images? Of course SVG works. I'm using SVG with FOP 1.0, though mine is embedded in the XSL. I'd think it has more to do with the file path. Possible reasons: File is not there. Reference path "./" is not referring to what you think it is. Bad or missing URIResolver? It could just have to do with docbook. I haven't used docbook myself and I have seen others on this list complain of problems connecting docbook to FOP. -----Original Message----- From: Tom Browder [mailto:annmcdonald@example.com]=20 Sent: Thursday, December 02, 2010 3:10 PM To: annmcdonald@example.com Subject: fop 1.0 and svg error: I'm running fop 1.0 on Linux Ubuntu 10.04 LTS. I'm trying to use an svg image via docbook source. When I run the fo file through fop to get pdf I get the following error as it encounters my svg in the fo file: Dec 2, 2010 2:05:08 PM org.apache.fop.events.LoggingEventListener processEvent SEVERE: Image not available. URI: ./images/era-1.svg. Reason: org.apache.xmlgraphics.image.loader.ImageException: The file format is not supported. No ImagePreloader found for ./images/era-1.svg (See position 25375:172) Dec 2, 2010 2:05:08 PM org.apache.fop.events.LoggingEventListener processEvent SEVERE: Image not found. URI: ./images/era-1.svg. (No context info available) I have looked at the fop info on svg and see nothing that helps. I'm running with the xml graphics commons via Ubuntu installation. I'm using Sun Java. Folks on the docbook list seem to have no problem with using svg. Note that I use svg successfully in my xsl customization layer so I must be doing something wrong. Thanks for any pointers. Regards, -Tom Thomas M. Browder, Jr. Niceville, Florida USA --------------------------------------------------------------------- To unsubscribe, e-mail: annmcdonald@example.com For additional commands, e-mail: annmcdonald@example.com --------------------------------------------------------------------- To unsubscribe, e-mail: annmcdonald@example.com For additional commands, e-mail: annmcdonald@example.com From fop-users-return-33148annmcdonald@example.com Thu Dec 02 20:46:19 2010 Return-Path: <fop-users-return-33148annmcdonald@example.com> Delivered-To: annmcdonald@example.com Received: (qmail 82797 invoked from network); 2 Dec 2010 20:46:19 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 2 Dec 2010 20:46:19 -0000 Received: (qmail 68262 invoked by uid 500); 2 Dec 2010 20:46:19 -0000 Delivered-To: annmcdonald@example.com Received: (qmail 68243 invoked by uid 500); 2 Dec 2010 20:46:18 -0000 Mailing-List: contact annmcdonald@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:annmcdonald@example.com> List-Unsubscribe: <mailto:annmcdonald@example.com> List-Post: <mailto:annmcdonald@example.com> List-Id: <fop-users.xmlgraphics.apache.org> Reply-To: annmcdonald@example.com Delivered-To: mailing list annmcdonald@example.com Received: (qmail 68236 invoked by uid 99); 2 Dec 2010 20:46:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Dec 2010 20:46:18 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of annmcdonald@example.com designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-qy0-f194.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Dec 2010 20:46:13 +0000 Received: by qyk4 with SMTP id 4so2688014qyk.9 for <annmcdonald@example.com>; Thu, 02 Dec 2010 12:45:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:content-type :content-transfer-encoding; bh=TfgpqZv/S9pUycaB0rS6FDi//GkH0l4fJl2A/UjIOUk=; b=tMI+Gj5xhcfMNWAoVU+INwCYr6BmEwoXtoAIXOjJETQkzQsRkae4iFXEWszf66ghqy +S+ys9SBo8PEFAka85fvk4GzthWFlIGE4QgfvGtKGfTysxTnDXbNpVyw59CudksMRgSY 6dreby94+rWqdElNa7tWo4HRXMwuPrIie00yw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; b=R0MNZUczSXz3X3hQaLiu/Cpqu724JhezYk0WyiaEnoRaNAMFcxHdA7LYyKVDtji7r7 8ubjn/c6mgeX4Pq583aqkFQqcJGepM6gLdIE5tFQx+PaxbU51ADYyigAs81krIasim1R PqcnY4RyxfijUid98TuCvjwGXTOyu+AFXl9eE= Received: by 83.161.120.155 with SMTP id gl3mr433794qab.67.1291322752897; Thu, 02 Dec 2010 12:45:52 -0800 (PST) MIME-Version: 1.0 Received: by 83.161.120.155 with HTTP; Thu, 2 Dec 2010 12:45:32 -0800 (PST) In-Reply-To: <annmcdonald@example.com> References: <annmcdonald@example.com> <annmcdonald@example.com> From: Tom Browder <annmcdonald@example.com> Date: Thu, 2 Dec 2010 14:45:32 -0600 Message-ID: <annmcdonald@example.com> Subject: Re: fop 1.0 and svg error: To: annmcdonald@example.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Thu, Dec 2, 2010 at 14:18, Eric Douglas <annmcdonald@example.com> wrote: > Is this your first attempt or was this working with any version of FOP > previously? First attempt at using svg as a normal figure. > Are you able to reference any other type of images? Yes, png files work fine. > Of course SVG works. =A0I'm using SVG with FOP 1.0, though mine is > embedded in the XSL. =A0I'd think it has more to do with the file path. That may be, but I've tried absolute file paths as well. > Possible reasons: > File is not there. > Reference path "./" is not referring to what you think it is. > Bad or missing URIResolver? Could be. Isn't that part of fop? > It could just have to do with docbook. =A0I haven't used docbook myself > and I have seen others on this list complain of problems connecting > docbook to FOP. That could well be, although when I raised this problem there they said they weren't having problems. Thanks, Eric. -Tom --------------------------------------------------------------------- To unsubscribe, e-mail: annmcdonald@example.com For additional commands, e-mail: annmcdonald@example.com From fop-users-return-33149annmcdonald@example.com Thu Dec 02 22:13:36 2010 Return-Path: <fop-users-return-33149annmcdonald@example.com> Delivered-To: annmcdonald@example.com Received: (qmail 26149 invoked from network); 2 Dec 2010 22:13:36 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 2 Dec 2010 22:13:36 -0000 Received: (qmail 97440 invoked by uid 500); 2 Dec 2010 22:13:35 -0000 Delivered-To: annmcdonald@example.com Received: (qmail 97385 invoked by uid 500); 2 Dec 2010 22:13:35 -0000 Mailing-List: contact annmcdonald@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:annmcdonald@example.com> List-Unsubscribe: <mailto:annmcdonald@example.com> List-Post: <mailto:annmcdonald@example.com> List-Id: <fop-users.xmlgraphics.apache.org> Reply-To: annmcdonald@example.com Delivered-To: mailing list annmcdonald@example.com Received: (qmail 97378 invoked by uid 99); 2 Dec 2010 22:13:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Dec 2010 22:13:35 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of annmcdonald@example.com designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-qw0-f66.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Dec 2010 22:13:29 +0000 Received: by qwk3 with SMTP id 3so906956qwk.9 for <annmcdonald@example.com>; Thu, 02 Dec 2010 14:13:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:content-type; bh=i4+IBpG6yZ1Wh6yERUha2aXr7LKmB5rCNTjV3rY8wPU=; b=IEp0hRIpbnvXVlWNf7u7p7V6dy3I1XS7197l5yovuLS3i/wSk0XQUzlmlN+LVkZXkA uHAO72f5WdcANFuaL0BdZEzn6yvL5jLqJZzCxJYbKyFyVYyObjGQ3PWJU14bJ48EoooJ 3GLyCt3D0YyWgjkf0Gy4oaAKfwvtOzfcX8uKI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=WzxOzM0qDtGUVygKfRJgD0es0vrk8WI2mGO2kOXXeO5bF0qPewl3L6ApB6dzlYYbfo QyDDfyFhLoVYSp03GZ5c2W2/QDkbx2xnPP70cYxxyr6uWniOuaEH41ib6N+FW1d+0oTL JSzKvthR9E2U7Z1xuvfymKkTux7T5z/o+9VzQ= Received: by 83.161.120.155 with SMTP id gp5mr517851qab.117.1291327988812; Thu, 02 Dec 2010 14:13:08 -0800 (PST) MIME-Version: 1.0 Received: by 83.161.120.155 with HTTP; Thu, 2 Dec 2010 14:12:48 -0800 (PST) In-Reply-To: <annmcdonald@example.com> References: <annmcdonald@example.com> <annmcdonald@example.com> <annmcdonald@example.com> From: Tom Browder <annmcdonald@example.com> Date: Thu, 2 Dec 2010 16:12:48
{'source': 'Apache Software Foundation Public Mail Archives'}