From fop-dev-returnshelley94@example.net Mon Nov 01 23:27:38 2010 Return-Path: <fop-dev-returnshelley94@example.net> Delivered-To: shelley94@example.net Received: (qmail 24226 invoked from network); 1 Nov 2010 23:27:38 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 1 Nov 2010 23:27:38 -0000 Received: (qmail 48735 invoked by uid 500); 1 Nov 2010 23:28:09 -0000 Delivered-To: shelley94@example.net Received: (qmail 48688 invoked by uid 500); 1 Nov 2010 23:28:08 -0000 Mailing-List: contact shelley94@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:shelley94@example.net> List-Unsubscribe: <mailto:shelley94@example.net> List-Post: <mailto:shelley94@example.net> List-Id: <fop-dev.xmlgraphics.apache.org> Reply-To: shelley94@example.net Delivered-To: mailing list shelley94@example.net Received: (qmail 48681 invoked by uid 99); 1 Nov 2010 23:28:08 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Nov 2010 23:28:08 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO thor.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Nov 2010 23:28:06 +0000 Received: from thor.apache.org (localhost [83.161.120.155]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oA1NRiop019420 for <shelley94@example.net>; Mon, 1 Nov 2010 23:27:44 GMT Received: (from daemon@localhost) by thor.apache.org (8.13.8+Sun/8.13.8/Submit) id oA1NRiJf019419; Mon, 1 Nov 2010 19:27:44 -0400 (EDT) Date: Mon, 1 Nov 2010 19:27:44 -0400 (EDT) Message-Id: <shelley94@example.net> From: shelley94@example.net To: shelley94@example.net Subject: DO NOT REPLY [Bug 45971] [PATCH] Fop CLI Errors X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Fop X-Bugzilla-Component: general X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: shelley94@example.net X-Bugzilla-Status: RESOLVED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: shelley94@example.net X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: In-Reply-To: <shelley94@example.net/bugzilla/> References: <shelley94@example.net/bugzilla/> X-Bugzilla-URL: https://issues.apache.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org https://issues.apache.org/bugzilla/show_bug.cgi?id=45971 --- Comment #3 from Tom Browder <shelley94@example.net> 2010-11-01 19:27:41 EDT --- (In reply to comment #2) > Patch looks good, Vincent. Thanks! > > -Tom Vincent, I was disappointed not to see this fix mentioned in the change list for the 1.0 release. I know it's not major, but it did change the CLI response to fop. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From fop-dev-returnshelley94@example.net Tue Nov 02 00:18:14 2010 Return-Path: <fop-dev-returnshelley94@example.net> Delivered-To: shelley94@example.net Received: (qmail 61546 invoked from network); 2 Nov 2010 00:18:14 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 2 Nov 2010 00:18:14 -0000 Received: (qmail 90478 invoked by uid 500); 2 Nov 2010 00:18:45 -0000 Delivered-To: shelley94@example.net Received: (qmail 90438 invoked by uid 500); 2 Nov 2010 00:18:44 -0000 Mailing-List: contact shelley94@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:shelley94@example.net> List-Unsubscribe: <mailto:shelley94@example.net> List-Post: <mailto:shelley94@example.net> List-Id: <fop-dev.xmlgraphics.apache.org> Reply-To: shelley94@example.net Delivered-To: mailing list shelley94@example.net Received: (qmail 90431 invoked by uid 99); 2 Nov 2010 00:18:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Nov 2010 00:18:44 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO thor.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Nov 2010 00:18:44 +0000 Received: from thor.apache.org (localhost [83.161.120.155]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oA20IOgZ019939 for <shelley94@example.net>; Tue, 2 Nov 2010 00:18:24 GMT Received: (from daemon@localhost) by thor.apache.org (8.13.8+Sun/8.13.8/Submit) id oA20INJ5019938; Mon, 1 Nov 2010 20:18:23 -0400 (EDT) Date: Mon, 1 Nov 2010 20:18:23 -0400 (EDT) From: shelley94@example.net To: shelley94@example.net Subject: DO NOT REPLY [Bug 50196] New: Padding-left ignored inside repeated table header X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Fop X-Bugzilla-Component: pdf X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: shelley94@example.net X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: shelley94@example.net X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: <{{EMAIL+PHONE}}/bugzilla/> X-Bugzilla-URL: https://issues.apache.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 https://issues.apache.org/bugzilla/show_bug.cgi?id=50196 Summary: Padding-left ignored inside repeated table header Product: Fop Version: 1.0 Platform: PC Status: NEW Severity: normal Priority: P2 Component: pdf AssignedTo: shelley94@example.net ReportedBy: shelley94@example.net Created an attachment (id=26247) --> (https://issues.apache.org/bugzilla/attachment.cgi?id=26247) Testcase There is a problem when using padding-left on a fo:inline element inside a repeating table header. The padding-left value is ignored on the repeated table header on the next page. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From fop-dev-returnshelley94@example.net Wed Nov 03 12:23:32 2010 Return-Path: <fop-dev-returnshelley94@example.net> Delivered-To: shelley94@example.net Received: (qmail 14923 invoked from network); 3 Nov 2010 12:23:32 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 3 Nov 2010 12:23:32 -0000 Received: (qmail 7432 invoked by uid 500); 3 Nov 2010 12:24:04 -0000 Delivered-To: shelley94@example.net Received: (qmail 7158 invoked by uid 500); 3 Nov 2010 12:24:00 -0000 Mailing-List: contact shelley94@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:shelley94@example.net> List-Unsubscribe: <mailto:shelley94@example.net> List-Post: <mailto:shelley94@example.net> List-Id: <fop-dev.xmlgraphics.apache.org> Reply-To: shelley94@example.net Delivered-To: mailing list shelley94@example.net Received: (qmail 7146 invoked by uid 99); 3 Nov 2010 12:23:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Nov 2010 12:23:58 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of shelley94@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO blu0-omc3-s8.blu0.hotmail.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Nov 2010 12:23:50 +0000 Received: from BLU0-SMTP54 ([83.161.120.155]) by blu0-omc3-s8.blu0.hotmail.com with Microsoft SMTPSVC+1-341-443-6631); Wed, 3 Nov 2010 05:23:29 -0700 X-Originating-IP: [83.161.120.155] X-Originating-Email: [shelley94@example.net] Message-ID: <shelley94@example.net> Received: from [83.161.120.155] ([83.161.120.155]) by BLU0-SMTP54.phx.gbl over TLS secured channel with Microsoft SMTPSVC+1-341-443-6631); Wed, 3 Nov 2010 05:23:29 -0700 Date: Wed, 3 Nov 2010 12:25:20 +0000 From: Chris Bowditch <shelley94@example.net> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:83.161.120.155) Gecko/20101027 Thunderbird/3.1.6 MIME-Version: 1.0 To: shelley94@example.net Subject: Re: Copyfitting and Flexible Layout References: <{{EMAIL+PHONE}}/bugzilla/> <shelley94@example.net> <shelley94@example.net> In-Reply-To: <shelley94@example.net> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 03 Nov 2010 12:23:29.0332 (UTC) FILETIME=[EC115F40:01CB7B51] On 28/10/2010 07:44, Jeremias Maerki wrote: Hi Jeremias, sorry for the late reply: > We've written down some thoughts about the topic some time ago: > http://wiki.apache.org/xmlgraphics-fop/WhitespaceManagement > But there were no further actions on this. I just wanted to clarify: copyfitting is different from whitespace management. The difference is that copyfitting is about making adjustments to font sizes and other attributes to make an object of unknown size fit into pre-defined space. The size of the object is not known until runtime but the space we allocate for the object is known at design time. Whitespace management is where we have space of unknown size, e.g. remaining space on a page, and we have several alternative objects. The object chosen to be placed into the space of unknown size, depends on which objects fits the space best at layout stage. I hope I have explained the difference clearly. Thanks, Chris > > On 27.10.2010 20:11:29 Patrick Jaromin wrote: >> Early last year I implemented copyfitting and flexible layouts into our >> FOP-based rendering process by locally branching FOP 0.95, adding my >> own listener/event mechanism and FO extensions, and a pre-processor that >> implements the copyfitting strategies through an iterative process of >> render-modify-render-... >> >> I'm hoping to upgrade to the FOP 1.0 codebase and rather than branching >> and re-implementing my hacks, I'd prefer to extend the base in a more >> maintainable way that perhaps others could also benefit from. >> >> Before I embark on this process (or even discuss it in more depth) I >> figured I'd see if anyone else has made any movements on this or has >> any thoughts. My system uses my own namespace/attributes, however I would >> likely adopt the specifications outlined in XSL:FO 2.0 working draft >> (http://www.w3.org/TR/xslfo20/#req_2_1_4). >> >> Thoughts/Comments? >> >> >> Patrick K. Jaromin >> VP Technology >> +1-341-443-6631 * fax +1-341-443-6631 >> >> JGSullivan Interactive, Inc. >> >> > > > > Jeremias Maerki > > > From fop-dev-returnshelley94@example.net Wed Nov 03 20:33:43 2010 Return-Path: <fop-dev-returnshelley94@example.net> Delivered-To: shelley94@example.net Received: (qmail 6882 invoked from network); 3 Nov 2010 20:33:41 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 3 Nov 2010 20:33:41 -0000 Received: (qmail 80657 invoked by uid 500); 3 Nov 2010 20:34:13 -0000 Delivered-To: shelley94@example.net Received: (qmail 80582 invoked by uid 500); 3 Nov 2010 20:34:11 -0000 Mailing-List: contact shelley94@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:shelley94@example.net> List-Unsubscribe: <mailto:shelley94@example.net> List-Post: <mailto:shelley94@example.net> List-Id: <fop-dev.xmlgraphics.apache.org> Reply-To: shelley94@example.net Delivered-To: mailing list shelley94@example.net Delivered-To: moderator for shelley94@example.net Received: (qmail 74601 invoked by uid 99); 3 Nov 2010 20:28:49 -0000 X-ASF-Spam-Status: No, hits=-2.3 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Subject: Problem with FOP when generating a PNG From: Calixte Denizet <shelley94@example.net> Reply-To: shelley94@example.net To: shelley94@example.net Content-Type: text/plain; charset="UTF-8" Date: Wed, 03 Nov 2010 21:28:17 +0100 Message-ID: <1288816097.2639.134.camel@Calixte-Dell> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi all, I wrote a FOP plugin to handle LaTeX notation in FO document. I use a class which extends AbstractImageConverter and with a target flavor equals to ImageFlavor.GRAPHICS2D. All is ok when I convert a .fo into a pdf or ps, but I met problems when I tryed to convert into png: the latex images are not drawn... I have no problems with fop 0.95 (I just retryed and all is ok), it is only with fop 1.0 and the trunk version. My loaders and converters can be found here: http://forge.scilab.org/index.php/p/jlatexmath/source/tree/master/plugin/fop/src/org/scilab/forge/jlatexmath/fop/image/loader Any ideas ? Calixte From fop-dev-returnshelley94@example.net Thu Nov 04 10:02:09 2010 Return-Path: <fop-dev-returnshelley94@example.net> Delivered-To: shelley94@example.net Received: (qmail 21811 invoked from network); 4 Nov 2010 10:02:09 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 4 Nov 2010 10:02:09 -0000 Received: (qmail 29423 invoked by uid 500); 4 Nov 2010 10:02:41 -0000 Delivered-To: shelley94@example.net Received: (qmail 29223 invoked by uid 500); 4 Nov 2010 10:02:38 -0000 Mailing-List: contact shelley94@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:shelley94@example.net> List-Unsubscribe: <mailto:shelley94@example.net> List-Post: <mailto:shelley94@example.net> List-Id: <fop-dev.xmlgraphics.apache.org> Reply-To: shelley94@example.net Delivered-To: mailing list shelley94@example.net Received: (qmail 29216 invoked by uid 99); 4 Nov 2010 10:02:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Nov 2010 10:02:37 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of shelley94@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-yw0-f54.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Nov 2010 10:02:32 +0000 Received: by ywh2 with SMTP id 2so1274287ywh.27 for <shelley94@example.net>; Thu, 04 Nov 2010 03:02:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=JC73OMYA5v/+8gp4UxBeR5lyI9f5UDjPGMzz2WSKl7g=; b=bBEDXfPCxsXZayF98nRtbjnYtSlMNgtLVtF0HmoZZ01GCQ1MTQpIqSs0KAr4PG3bd7 Tv2YKmE5elGSQLDI6+y86f1MB49zMuvOkZrCxn/IT3EkKpS6yT3ODj+fXqU/Ns/qe9yD F5CJsjYy7SSUwdFRCJzyYKW4flkWrODHnk1w4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=ibOdhg9KfWMTZoMocGhZmN55V5we/+6mmNNO3bewX7xlCRDpZyc0seb3495tCsnWuQ znFTErkYhM+77fLTW8p/xwurZ8R3B4uWzAq0U8OPGwc3rUnWbkzA7zEL4GJ4aR0kzeOb wbDDGmU3Z3a/d8dMKNbW2CEQgPeSYADVN46mE= MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id f3mr919536aga.120.1288864931661; Thu, 04 Nov 2010 03:02:11 -0700 (PDT) Received: by 83.161.120.155 with HTTP; Thu, 4 Nov 2010 03:02:11 -0700 (PDT) In-Reply-To: <1288816097.2639.134.camel@Calixte-Dell> References: <1288816097.2639.134.camel@Calixte-Dell> Date: Thu, 4 Nov 2010 10:02:11 +0000 Message-ID: <shelley94@example.net> Subject: Re: Problem with FOP when generating a PNG From: Peter Hancock <shelley94@example.net> To: shelley94@example.net, shelley94@example.net Content-Type: text/plain; charset=ISO-8859-1 Hi Calixte, Could you please describe the steps and attach any files required to replicate this bug independently of your plugin. If you are unable to do that and you think the bug may be in the plugin integration mechanism, we will require installation instructions for the fop plugin to proceed (maybe we jist need to add a jar but please let us know- it was not clear from the link). Thanks, Pete On Wed, Nov 3, 2010 at 8:28 PM, Calixte Denizet <shelley94@example.net> wrote: > Hi all, > > I wrote a FOP plugin to handle LaTeX notation in FO document. I use a > class which extends AbstractImageConverter and with a target flavor > equals to ImageFlavor.GRAPHICS2D. All is ok when I convert a .fo into a > pdf or ps, but I met problems when I tryed to convert into png: the > latex images are not drawn... > > I have no problems with fop 0.95 (I just retryed and all is ok), it is > only with fop 1.0 and the trunk version. > > My loaders and converters can be found here: > http://forge.scilab.org/index.php/p/jlatexmath/source/tree/master/plugin/fop/src/org/scilab/forge/jlatexmath/fop/image/loader > > Any ideas ? > > Calixte > > > > From fop-dev-returnshelley94@example.net Thu Nov 04 10:25:13 2010 Return-Path: <fop-dev-returnshelley94@example.net> Delivered-To: shelley94@example.net Received: (qmail 34143 invoked from network); 4 Nov 2010 10:25:12 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 4 Nov 2010 10:25:12 -0000 Received: (qmail 48470 invoked by uid 500); 4 Nov 2010 10:25:44 -0000 Delivered-To: shelley94@example.net Received: (qmail 48327 invoked by uid 500); 4 Nov 2010 10:25:41 -0000 Mailing-List: contact shelley94@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:shelley94@example.net> List-Unsubscribe: <mailto:shelley94@example.net> List-Post: <mailto:shelley94@example.net> List-Id: <fop-dev.xmlgraphics.apache.org> Reply-To: shelley94@example.net Delivered-To: mailing list shelley94@example.net Received: (qmail 48320 invoked by uid 99); 4 Nov 2010 10:25:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Nov 2010 10:25:41 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of shelley94@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-ww0-f52.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Nov 2010 10:25:32 +0000 Received: by wwa36 with SMTP id 36so1821270wwa.21 for <shelley94@example.net>; Thu, 04 Nov 2010 03:25:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :x-enigmail-version:content-type:content-transfer-encoding; bh=Oav9ad+VR3Chcn+ojMZDZ86Irvo9exJQ+N7dG8uQNA8=; b=XbY3pxOpkz1k1vUcx3RUingosKrRvpEae+XB7HwRB8DJ1KYoq+ybEFDuxrjsyyfiwr nSnDjtEj11USwUe13GXw2XwRl+DJgu2N1bWDhWT4oc8lZZ28pplG0e9NW2MhYsI+vZ+k KOoWOpiTJYDuDg6T7cKdgQuVkCvF8+QoC0zEM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=LlD7o0Vm4n83aaVLT83p3tgNQs2WtXj7DsZV3xy79Uq8udPFwzZqFpf6QU3eDqsdWP a91EVKgdaMpD6Fav+i+6OvrEyJDX5N4gXSlH/TtzWNW0UYNhmpLcEkPttMHyx/7yXfah KTwyaLzK6ooWBr1aRy0XNfj5hCmH1S8u9rEkE= Received: by 83.161.120.155 with SMTP id m18mr511617wbw.124.1288866312470; Thu, 04 Nov 2010 03:25:12 -0700 (PDT) Received: from [83.161.120.155] (uk.thunderhead.com [83.161.120.155]) by mx.google.com with ESMTPS id h29sm8408879wbc.3.283.161.120.155.25.11 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 04 Nov 2010 03:25:11 -0700 (PDT) Message-ID: <shelley94@example.net> Date: Thu, 04 Nov 2010 10:25:10 +0000 From: Vincent Hennebert <shelley94@example.net> User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:83.161.120.155) Gecko/20101027 Thunderbird/3.0.10 MIME-Version: 1.0 To: "shelley94@example.net" <shelley94@example.net> Subject: Remove fop.bat? [was: Re: JEuclid and FOP] References: <shelley94@example.net> <shelley94@example.net> <shelley94@example.net> <shelley94@example.net> <shelley94@example.net> <shelley94@example.net> In-Reply-To: <shelley94@example.net> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Hi, We've been bitten several times in the past already by the fact that fop.bat doesn't automatically pick jars in the lib directory. Even users stumble upon that kind of issue. My question is: is it safe to remove it? Would one of the other two scripts be a sane default on nowadays Windows platforms? Thanks, Vincent On 02/11/10 11:12, Simon Pepping wrote: > On Mon, Nov 01, 2010 at 09:31:23PM +0100, J.Pietschmann wrote: >> On 01.11.2010 13:20, Peter Hancock wrote: >>> I am not a windows user and so there may be an environmental reason >>> you are not have success but I do not think that is likely. >> >> The fop.bat for windows isn't nearly as intelligent as the fop >> shell script used on Linux/Unix. In particular, on windows each >> jar which has to be included into the classpath gets an explicit >> line in the fop.bat, while the shell script automatically includes >> every jar it finds in the lib subdirectory. The fop.cmd command >> file should also automatically includes every jar in the lib subdir, >> but usually the fop.bat command takes precedence. > > I created fop.js for the same purpose. It should also include all jar > files in the lib subdirectory automatically. Since I do not use MS > Windows myself, I did not use or test it recently. > > Simon > >> So in order to so in order to get FOP with JEuclid working on Windows >> with the fop.bat command, the fop.bat file has to be modified to >> add the JEuclid jars to LOCALCLASSPATH (this should'nt be too hard). >> Or just call fop.cmd explicitely: >> fop.cmd mathml.fo mathml.pdf > > --------------------------------------------------------------------- > To unsubscribe, e-mail: shelley94@example.net > For additional commands, e-mail: shelley94@example.net > From fop-dev-returnshelley94@example.net Thu Nov 04 11:41:07 2010 Return-Path: <fop-dev-returnshelley94@example.net> Delivered-To: shelley94@example.net Received: (qmail 61044 invoked from network); 4 Nov 2010 11:41:07 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 4 Nov 2010 11:41:07 -0000 Received: (qmail 17333 invoked by uid 500); 4 Nov 2010 11:41:38 -0000 Delivered-To: shelley94@example.net Received: (qmail 17111 invoked by uid 500); 4 Nov 2010 11:41:36 -0000 Mailing-List: contact shelley94@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:shelley94@example.net> List-Unsubscribe: <mailto:shelley94@example.net> List-Post: <mailto:shelley94@example.net> List-Id: <fop-dev.xmlgraphics.apache.org> Reply-To: shelley94@example.net Delivered-To: mailing list shelley94@example.net Delivered-To: moderator for shelley94@example.net Received: (qmail 40160 invoked by uid 99); 4 Nov 2010 10:17:12 -0000 X-ASF-Spam-Status: No, hits=-2.3 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Subject: Re: Problem with FOP when generating a PNG From: Calixte Denizet <shelley94@example.net> Reply-To: shelley94@example.net To: shelley94@example.net In-Reply-To: <shelley94@example.net> References: <1288816097.2639.134.camel@Calixte-Dell> <shelley94@example.net> Content-Type: text/plain; charset="UTF-8" Date: Thu, 04 Nov 2010 11:16:35 +0100 Message-ID: <1288865795.2639.142.camel@Calixte-Dell> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Content-Transfer-Encoding: 8bit Le jeudi 04 novembre 2010 à 10:02 +0000, Peter Hancock a écrit : > Hi Calixte, > Hello Peter, i) git clone git://git.forge.scilab.org/jlatexmath.git ii) cd jlatexmath iii) ant && ant fop iv) you should have the 2 files jlatexmath-0.9.4.jar, jlatexmath-fop-0.9.4.jar in dist/, put them in the classpath (I put them in /usr/share/java in my Debian squeeze with sun java) v) cd cd plugin/fop/examples/ vi) fop -c conf.xml -fo latex.fo -pdf test.pdf works fine (thanks for that) vi) fop -c conf.xml -fo latex.fo -png test.png doesn't work since the latex images are not drawn. Thanks a lot Best regards Calixte > Could you please describe the steps and attach any files required to > replicate this bug independently of your plugin. > If you are unable to do that and you think the bug may be in the > plugin integration mechanism, we will require installation > instructions for the fop plugin to proceed (maybe we jist need to add > a jar but please let us know- it was not clear from the link). > > Thanks, > > Pete > > On Wed, Nov 3, 2010 at 8:28 PM, Calixte Denizet > <shelley94@example.net> wrote: > > Hi all, > > > > I wrote a FOP plugin to handle LaTeX notation in FO document. I use a > > class which extends AbstractImageConverter and with a target flavor > > equals to ImageFlavor.GRAPHICS2D. All is ok when I convert a .fo into a > > pdf or ps, but I met problems when I tryed to convert into png: the > > latex images are not drawn... > > > > I have no problems with fop 0.95 (I just retryed and all is ok), it is > > only with fop 1.0 and the trunk version. > > > > My loaders and converters can be found here: > > http://forge.scilab.org/index.php/p/jlatexmath/source/tree/master/plugin/fop/src/org/scilab/forge/jlatexmath/fop/image/loader > > > > Any ideas ? > > > > Calixte > > > > > > > > From fop-dev-returnshelley94@example.net Thu Nov 04 13:09:33 2010 Return-Path: <fop-dev-returnshelley94@example.net> Delivered-To: shelley94@example.net Received: (qmail 12924 invoked from network); 4 Nov 2010 13:09:33 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 4 Nov 2010 13:09:33 -0000 Received: (qmail 22369 invoked by uid 500); 4 Nov 2010 13:10:04 -0000 Delivered-To: shelley94@example.net Received: (qmail 22157 invoked by uid 500); 4 Nov 2010 13:10:02 -0000 Mailing-List: contact shelley94@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:shelley94@example.net> List-Unsubscribe: <mailto:shelley94@example.net> List-Post: <mailto:shelley94@example.net> List-Id: <fop-dev.xmlgraphics.apache.org> Reply-To: shelley94@example.net Delivered-To: mailing list shelley94@example.net Received: (qmail 22150 invoked by uid 99); 4 Nov 2010 13:10:01 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Nov 2010 13:10:01 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of shelley94@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-gy0-f182.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Nov 2010 13:09:55 +0000 Received: by gya6 with SMTP id 6so1398645gya.27 for <shelley94@example.net>; Thu, 04 Nov 2010 06:09:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=AgbRyPgUwQh79VVlFI+Lqpvp0kqwlqxwuIIvFnOGaDI=; b=vg+/1FgpYTfCPSwd6fsqxeNzbJhtCvi/v6SpXOOt4eAfTI/P8Yjatlkc3v4Ax0YRig bkYU+ottnVQSxchRiGZUXgVvFBRZZ71A7LR8ukiahcBvmibgfUSd98BNql4BO3Ft5qtk ufAvcRYNCOXN/N8jK/kd/h5CSEUH4Z++4QkmM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=sjtcZX736xl03HjougtDGvYG0ItWW2V3X2oahtRLftif2ULZFsgVkt7/q5is/KTWtz eE5k+zubL0tpLRBWo818aNU0Aq4pIGIGyi3IEt3JhYoXuN2gIw35tQRSMz89S4nAJ6qJ mzJ4EUrOelwT3cuc/dERliilfZmYx3Zx9x7jw= MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id 11mr1141677agz.174.1288876172900; Thu, 04 Nov 2010 06:09:32 -0700 (PDT) Received: by 83.161.120.155 with HTTP; Thu, 4 Nov 2010 06:09:32 -0700 (PDT) In-Reply-To: <1288865795.2639.142.camel@Calixte-Dell> References: <1288816097.2639.134.camel@Calixte-Dell> <shelley94@example.net> <1288865795.2639.142.camel@Calixte-Dell> Date: Thu, 4 Nov 2010 13:09:32 +0000 Message-ID: <shelley94@example.net> Subject: Re: Problem with FOP when generating a PNG From: Peter Hancock <shelley94@example.net> To: shelley94@example.net, shelley94@example.net Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Hi Calixte, Where you able to replicate the issue without integration with your plugin? Pete On Thu, Nov 4, 2010 at 10:16 AM, Calixte Denizet <shelley94@example.net> wrote: > Le jeudi 04 novembre 2010 =E0 10:02 +0000, Peter Hancock a =E9crit : >> Hi Calixte, >> > > Hello Peter, > > i) git clone git://git.forge.scilab.org/jlatexmath.git > ii) cd jlatexmath > iii) ant && ant fop > iv) you should have the 2 files jlatexmath-0.9.4.jar, > jlatexmath-fop-0.9.4.jar in dist/, put them in the classpath (I put them > in /usr/share/java in my Debian squeeze with sun java) > v) cd cd plugin/fop/examples/ > vi) fop -c conf.xml -fo latex.fo -pdf test.pdf works fine (thanks for > that) > vi) fop -c conf.xml -fo latex.fo -png test.png doesn't work since the > latex images are not drawn. > > Thanks a lot > > Best regards > > Calixte > > >> Could you please describe the steps and attach any files required to >> replicate this bug independently of your plugin. >> If you are unable to do that and you think the bug may be in the >> plugin integration mechanism, we will require installation >> instructions for the fop plugin to proceed (maybe we jist need to add >> a jar but please let us =A0know- it was not clear from the link). >> >> Thanks, >> >> Pete >> >> On Wed, Nov 3, 2010 at 8:28 PM, Calixte Denizet >> <shelley94@example.net> wrote: >> > Hi all, >> > >> > I wrote a FOP plugin to handle LaTeX notation in FO document. I use a >> > class which extends AbstractImageConverter and with a target flavor >> > equals to ImageFlavor.GRAPHICS2D. All is ok when I convert a .fo into = a >> > pdf or ps, but I met problems when I tryed to convert into png: the >> > latex images are not drawn... >> > >> > I have no problems with fop 0.95 (I just retryed and all is ok), it is >> > only with fop 1.0 and the trunk version. >> > >> > My loaders and converters can be found here: >> > http://forge.scilab.org/index.php/p/jlatexmath/source/tree/master/plug= in/fop/src/org/scilab/forge/jlatexmath/fop/image/loader >> > >> > Any ideas ? >> > >> > Calixte >> > >> > >> > >> > > > > From fop-dev-returnshelley94@example.net Thu Nov 04 13:33:53 2010 Return-Path: <fop-dev-returnshelley94@example.net> Delivered-To: shelley94@example.net Received: (qmail 24788 invoked from network); 4 Nov 2010 13:33:53 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 4 Nov 2010 13:33:53 -0000 Received: (qmail 69776 invoked by uid 500); 4 Nov 2010 13:34:24 -0000 Delivered-To: shelley94@example.net Received: (qmail 69517 invoked by uid 500); 4 Nov 2010 13:34:21 -0000 Mailing-List: contact shelley94@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:shelley94@example.net> List-Unsubscribe: <mailto:shelley94@example.net> List-Post: <mailto:shelley94@example.net> List-Id: <fop-dev.xmlgraphics.apache.org> Reply-To: shelley94@example.net Delivered-To: mailing list shelley94@example.net Delivered-To: moderator for shelley94@example.net Received: (qmail 65089 invoked by uid 99); 4 Nov 2010 13:31:28 -0000 X-ASF-Spam-Status: No, hits=-2.3 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Subject: Re: Problem with FOP when generating a PNG From: Calixte Denizet <shelley94@example.net> Reply-To: shelley94@example.net To: Peter Hancock <shelley94@example.net> Cc: shelley94@example.net In-Reply-To: <shelley94@example.net> References: <1288816097.2639.134.camel@Calixte-Dell> <shelley94@example.net> <1288865795.2639.142.camel@Calixte-Dell> <shelley94@example.net> Content-Type: text/plain; charset="UTF-8" Date: Thu, 04 Nov 2010 14:30:59 +0100 Message-ID: <1288877459.2639.161.camel@Calixte-Dell> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Le jeudi 04 novembre 2010 à 13:09 +0000, Peter Hancock a écrit : > Hi Calixte, > > Where you able to replicate the issue without integration with your plugin? > No I cannot. Maybe I made some errors in my code, but it's weird that all is fine with pdf output and not with png output. The paint method in the class Graphics2DImagePainterJLaTeXMath.java is called, I tryed to make a simple g2d.setColor(Color.RED);g2d.fill(rect2d) rather than to paint my icon and in the pdf I got filled red rect. but not in png. I know the difficulties met to debug a foreign code, so if I could help you, don't hesitate. Did you manage to compile jlatexmath and the fop plugin ? Calixte > Pete > > On Thu, Nov 4, 2010 at 10:16 AM, Calixte Denizet > <shelley94@example.net> wrote: > > Le jeudi 04 novembre 2010 à 10:02 +0000, Peter Hancock a écrit : > >> Hi Calixte, > >> > > > > Hello Peter, > > > > i) git clone git://git.forge.scilab.org/jlatexmath.git > > ii) cd jlatexmath > > iii) ant && ant fop > > iv) you should have the 2 files jlatexmath-0.9.4.jar, > > jlatexmath-fop-0.9.4.jar in dist/, put them in the classpath (I put them > > in /usr/share/java in my Debian squeeze with sun java) > > v) cd cd plugin/fop/examples/ > > vi) fop -c conf.xml -fo latex.fo -pdf test.pdf works fine (thanks for > > that) > > vi) fop -c conf.xml -fo latex.fo -png test.png doesn't work since the > > latex images are not drawn. > > > > Thanks a lot > > > > Best regards > > > > Calixte > > > > > >> Could you please describe the steps and attach any files required to > >> replicate this bug independently of your plugin. > >> If you are unable to do that and you think the bug may be in the > >> plugin integration mechanism, we will require installation > >> instructions for the fop plugin to proceed (maybe we jist need to add > >> a jar but please let us know- it was not clear from the link). > >> > >> Thanks, > >> > >> Pete > >> > >> On Wed, Nov 3, 2010 at 8:28 PM, Calixte Denizet > >> <shelley94@example.net> wrote: > >> > Hi all, > >> > > >> > I wrote a FOP plugin to handle LaTeX notation in FO document. I use a > >> > class which extends AbstractImageConverter and with a target flavor > >> > equals to ImageFlavor.GRAPHICS2D. All is ok when I convert a .fo into a > >> > pdf or ps, but I met problems when I tryed to convert into png: the > >> > latex images are not drawn... > >> > > >> > I have no problems with fop 0.95 (I just retryed and all is ok), it is > >> > only with fop 1.0 and the trunk version. > >> > > >> > My loaders and converters can be found here: > >> > http://forge.scilab.org/index.php/p/jlatexmath/source/tree/master/plugin/fop/src/org/scilab/forge/jlatexmath/fop/image/loader > >> > > >> > Any ideas ? > >> > > >> > Calixte > >> > > >> > > >> > > >> > > > > > > > From fop-dev-returnshelley94@example.net Thu Nov 04 22:17:29 2010 Return-Path: <fop-dev-returnshelley94@example.net> Delivered-To: shelley94@example.net Received: (qmail 50320 invoked from network); 4 Nov 2010 22:17:28 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 4 Nov 2010 22:17:28 -0000 Received: (qmail 99478 invoked by uid 500); 4 Nov 2010 22:18:00 -0000 Delivered-To: shelley94@example.net Received: (qmail 99321 invoked by uid 500); 4 Nov 2010 22:17:58 -0000 Mailing-List: contact shelley94@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:shelley94@example.net> List-Unsubscribe: <mailto:shelley94@example.net> List-Post: <mailto:shelley94@example.net> List-Id: <fop-dev.xmlgraphics.apache.org> Reply-To: shelley94@example.net Delivered-To: mailing list shelley94@example.net Received: (qmail 99310 invoked by uid 99); 4 Nov 2010 22:17:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Nov 2010 22:17:57 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO thor.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Nov 2010 22:17:57 +0000 Received: from thor.apache.org (localhost [83.161.120.155]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oA4MHaQ1025130 for <shelley94@example.net>; Thu, 4 Nov 2010 22:17:36 GMT Received: (from daemon@localhost) by thor.apache.org (8.13.8+Sun/8.13.8/Submit) id oA4MHaTB025129; Thu, 4 Nov 2010 18:17:36 -0400 (EDT) Date: Thu, 4 Nov 2010 18:17:36 -0400 (EDT) Message-Id: <shelley94@example.net> From: shelley94@example.net To: shelley94@example.net Subject: DO NOT REPLY [Bug 49687] [PATCH] Complex Script Support X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Fop X-Bugzilla-Component: general X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: shelley94@example.net X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: shelley94@example.net X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: In-Reply-To: <shelley94@example.net/bugzilla/> References: <shelley94@example.net/bugzilla/> X-Bugzilla-URL: https://issues.apache.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 https://issues.apache.org/bugzilla/show_bug.cgi?id=49687 --- Comment #23 from Imad Daou <shelley94@example.net> 2010-11-04 18:17:31 EDT --- Dear all, I was using FOP for more than 1 year and it's a great tool for printing and creating PDF files and now I have problem printing ARABIC Text. I downloaded and tested the FO-PDF converted and it rendered the text correctly, but this does not fix my problem since I was using the PrintRenderer to directly print an FO file. My question is, when can I expect a new patch or release of FOP with Arabic print-rendering support. Best regards, Imad Daou -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From fop-dev-returnshelley94@example.net Fri Nov 05 12:23:03 2010 Return-Path: <fop-dev-returnshelley94@example.net> Delivered-To: shelley94@example.net Received: (qmail 73646 invoked from network); 5 Nov 2010 12:23:03 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 5 Nov 2010 12:23:03 -0000 Received: (qmail 18149 invoked by uid 500); 5 Nov 2010 12:23:34 -0000 Delivered-To: shelley94@example.net Received: (qmail 17906 invoked by uid 500); 5 Nov 2010 12:23:31 -0000 Mailing-List: contact shelley94@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:shelley94@example.net> List-Unsubscribe: <mailto:shelley94@example.net> List-Post: <mailto:shelley94@example.net> List-Id: <fop-dev.xmlgraphics.apache.org> Reply-To: shelley94@example.net Delivered-To: mailing list shelley94@example.net Received: (qmail 17899 invoked by uid 99); 5 Nov 2010 12:23:30 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Nov 2010 12:23:30 +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; Fri, 05 Nov 2010 12:23:23 +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: DO NOT REPLY [Bug 49687] [PATCH] Complex Script Support Date: Fri, 5 Nov 2010 08:22:57 -0400 Message-ID: <shelley94@example.net> In-Reply-To: <shelley94@example.net> Thread-Topic: DO NOT REPLY [Bug 49687] [PATCH] Complex Script Support Thread-Index: Act8biXOjxdF7qzeSpisLkkodp5XiQAdabYg References: <shelley94@example.net/bugzilla/> <shelley94@example.net> From: "Eric Douglas" <shelley94@example.net> To: <shelley94@example.net> X-Virus-Checked: Checked by ClamAV on apache.org Are you using embedded code? If it helps, I had issues with the PrintRenderer, so I ended up using the PDFRenderer, getting the output from the transform in a ByteArrayOutputStream, passing that output to pdfbox, and printing with the standard Java print classes. I also found there is a change to rendering the font from 0.95 to 1.0. I don't know if that change broke something, or if there's something broken in my code which is producing the output I want but is actually incorrect output and they fixed that, so that might be my problem.. =20 -----Original Message----- From: shelley94@example.net [mailto:shelley94@example.net]=20 Sent: Thursday, November 04, 2010 6:18 PM To: shelley94@example.net Subject: DO NOT REPLY [Bug 49687] [PATCH] Complex Script Support https://issues.apache.org/bugzilla/show_bug.cgi?id=3D49687 --- Comment #23 from Imad Daou <shelley94@example.net> 2010-11-04 18:17:31 EDT --- Dear all, I was using FOP for more than 1 year and it's a great tool for printing and creating PDF files and now I have problem printing ARABIC Text. I downloaded and tested the FO-PDF converted and it rendered the text correctly, but this does not fix my problem since I was using the PrintRenderer to directly print an FO file. My question is, when can I expect a new patch or release of FOP with Arabic print-rendering support. Best regards, Imad Daou -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=3Demail ------- You are receiving this mail because: ------- You are the assignee for the bug. From fop-dev-returnshelley94@example.net Fri Nov 05 14:50:39 2010 Return-Path: <fop-dev-returnshelley94@example.net> Delivered-To: shelley94@example.net Received: (qmail 49221 invoked from network); 5 Nov 2010 14:50:39 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 5 Nov 2010 14:50:39 -0000 Received: (qmail 48155 invoked by uid 500); 5 Nov 2010 14:51:10 -0000 Delivered-To: shelley94@example.net Received: (qmail 47896 invoked by uid 500); 5 Nov 2010 14:51:09 -0000 Mailing-List: contact shelley94@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:shelley94@example.net> List-Unsubscribe: <mailto:shelley94@example.net> List-Post: <mailto:shelley94@example.net> List-Id: <fop-dev.xmlgraphics.apache.org> Reply-To: shelley94@example.net Delivered-To: mailing list shelley94@example.net Delivered-To: moderator for shelley94@example.net Received: (qmail 99818 invoked by uid 99); 4 Nov 2010 19:21:42 -0000 X-ASF-Spam-Status: No, hits=-0.1 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of shelley94@example.net designates 83.161.120.155 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=bankofamerica.com; s=corp1; t=1288898470; bh=EDiG0ZWAQegkTJmuFJ5rYQbC/iT/W8JUgLalDfMXZ+0=; h=Date:From:Subject:To:Message-id:MIME-version:Content-type; b=nU9f+3MYpzO7HVztXEPwfwy76ziZYcCL71UXsHyCA9bNhTJaBpz21jZRJzC7vJ1EP P5Bt9wDaOAZ/FhzDEA7DPsCSTg0NfpCokHmUuP7AyvMoFo4M1esWFWhVm1eMaxfbG8 HnOTh1PDjKre6K4fyE2j7OMYIg+GfRUAZO2TeTCM= Date: Thu, 04 Nov 2010 15:21:07 -0400 From: "Estrada, Juan - 2" <shelley94@example.net> Subject: pdf not loading in IE 7 To: shelley94@example.net Message-id: <shelley94@example.net> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft Exchange V6.5 Content-type: multipart/alternative; boundary="Boundary_(ID_QEKWWsnZb9xX6LbHiAl1gg)" Content-class: urn:content-classes:message Thread-topic: pdf not loading in IE 7 Thread-index: Act8VW6DVkMQ4YJuTWGeiI5V24DuWg== X-MS-Has-Attach: X-MS-TNEF-Correlator: X-OriginalArrivalTime: 04 Nov 2010 19:21:08.0240 (UTC) FILETIME=[6EC10900:01CB7C55] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.2.15,1.0.148,0.0.0000 definitions=2010-11-04_09:2010-11-04,2010-11-04,1970-01-01 signatures=0 X-Virus-Checked: Checked by ClamAV on apache.org This is a multi-part message in MIME format. --Boundary_(ID_QEKWWsnZb9xX6LbHiAl1gg) Content-type: text/plain; CHARSET=US-ASCII Content-transfer-encoding: 7BIT Hi, I'm rendering a PDF using the following code: InputStream is = new ByteArrayInputStream(xsltext.getBytes("UTF-8")); StreamSource xslSource = new StreamSource(is); TransformerFactory tfactory = TransformerFactory.newInstance(); Transformer transformer = tfactory.newTransformer(xslSource); FopFactory fopFactory = FopFactory.newInstance(); FOUserAgent foUserAgent = fopFactory.newFOUserAgent(); foUserAgent.setProducer(this.getClass().getName()); ByteArrayOutputStream out = new ByteArrayOutputStream(); Fop fop = fopFactory.newFop(MimeConstants.MIME_PDF,out); Result res = new SAXResult(fop.getDefaultHandler()); transformer.transform(xmlSource, res); httpResponse.setContentType("application/pdf"); httpResponse.setContentLength(out.size()); httpResponse.getOutputStream().write(out.toByteArray()); httpResponse.getOutputStream().flush(); httpResponse.getOutputStream().close(); This is working fine in Firefox. But in IE 7 the pdf does not get rendered. I read somewhere that adding ext=.pdf to the URL might work. Well it's working, but I have to refresh the page before it appears in IE. Is there a way to make the pdf appear automatically in IE without having to refresh the page? Thanks, JP Estrada ---------------------------------------------------------------------- This message w/attachments (message) is intended solely for the use of the intended recipient(s) and may contain information that is privileged, confidential or proprietary. If you are not an intended recipient, please notify the sender, and then please delete and destroy all copies and attachments, and be advised that any review or dissemination of, or the taking of any action in reliance on, the information contained in or attached to this message is prohibited. Unless specifically indicated, this message is not an offer to sell or a solicitation of any investment products or other financial product or service, an official confirmation of any transaction, or an official statement of Sender. Subject to applicable law, Sender may intercept, monitor, review and retain e-communications (EC) traveling through its networks/systems and may produce any such EC to regulators, law enforcement, in litigation and as required by law. The laws of the country of each sender/recipient may impact the handling of EC, and EC may be archived, supervised and produced in countries other than the country in which you are located. This message cannot be guaranteed to be secure or free of errors or viruses. References to "Sender" are references to any subsidiary of Bank of America Corporation. Securities and Insurance Products: * Are Not FDIC Insured * Are Not Bank Guaranteed * May Lose Value * Are Not a Bank Deposit * Are Not a Condition to Any Banking Service or Activity * Are Not Insured by Any Federal Government Agency. Attachments that are part of this EC may have additional important disclosures and disclaimers, which you should read. This message is subject to terms available at the following link: http://www.bankofamerica.com/emaildisclaimer. By messaging with Sender you consent to the foregoing. --Boundary_(ID_QEKWWsnZb9xX6LbHiAl1gg) Content-type: text/html; CHARSET=US-ASCII Content-transfer-encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr= osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:x=3D"urn:schemas-microsoft-com:office:excel" xmlns:p=3D"urn:schemas-m= icrosoft-com:office:powerpoint" xmlns:a=3D"urn:schemas-microsoft-com:office= :access" xmlns:dt=3D"uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s=3D"= uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs=3D"urn:schemas-microsof= t-com:rowset" xmlns:z=3D"#RowsetSchema" xmlns:b=3D"urn:schemas-microsoft-co= m:office:publisher" xmlns:ss=3D"urn:schemas-microsoft-com:office:spreadshee= t" xmlns:c=3D"urn:schemas-microsoft-com:office:component:spreadsheet" xmlns= :odc=3D"urn:schemas-microsoft-com:office:odc" xmlns:oa=3D"urn:schemas-micro= soft-com:office:activation" xmlns:html=3D"http://www.w3.org/TR/REC-html40" = xmlns:q=3D"http://schemas.xmlsoap.org/soap/envelope/" xmlns:rtc=3D"http://m= icrosoft.com/officenet/conferencing" xmlns:D=3D"DAV:" xmlns:Repl=3D"http://= schemas.microsoft.com/repl/" xmlns:mt=3D"http://schemas.microsoft.com/share= point/soap/meetings/" xmlns:x2=3D"http://schemas.microsoft.com/office/excel= /2003/xml" xmlns:ppda=3D"http://www.passport.com/NameSpace.xsd" xmlns:ois= =3D"http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir=3D"http://= schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds=3D"http://www.w3= .org/2000/09/xmldsig#" xmlns:dsp=3D"http://schemas.microsoft.com/sharepoint= /dsp" xmlns:udc=3D"http://schemas.microsoft.com/data/udc" xmlns:xsd=3D"http= ://www.w3.org/2001/XMLSchema" xmlns:sub=3D"http://schemas.microsoft.com/sha= repoint/soap/2002/1/alerts/" xmlns:ec=3D"http://www.w3.org/2001/04/xmlenc#"= xmlns:sp=3D"http://schemas.microsoft.com/sharepoint/" xmlns:sps=3D"http://= schemas.microsoft.com/sharepoint/soap/" xmlns:xsi=3D"http://www.w3.org/2001= /XMLSchema-instance" xmlns:udcs=3D"http://schemas.microsoft.com/data/udc/so= ap" xmlns:udcxf=3D"http://schemas.microsoft.com/data/udc/xmlfile" xmlns:udc= p2p=3D"http://schemas.microsoft.com/data/udc/parttopart" xmlns:wf=3D"http:/= /schemas.microsoft.com/sharepoint/soap/workflow/" xmlns:dsss=3D"http://sche= mas.microsoft.com/office/2006/digsig-setup" xmlns:dssi=3D"http://schemas.mi= crosoft.com/office/2006/digsig" xmlns:mdssi=3D"http://schemas.openxmlformat= s.org/package/2006/digital-signature" xmlns:mver=3D"http://schemas.openxmlf= ormats.org/markup-compatibility/2006" xmlns:m=3D"http://schemas.microsoft.c= om/office/2004/12/omml" xmlns:mrels=3D"http://schemas.openxmlformats.org/pa= ckage/2006/relationships" xmlns:spwp=3D"http://microsoft.com/sharepoint/web= partpages" xmlns:ex12t=3D"http://schemas.microsoft.com/exchange/services/20= 06/types" xmlns:ex12m=3D"http://schemas.microsoft.com/exchange/services/200= 6/messages" xmlns:pptsl=3D"http://schemas.microsoft.com/sharepoint/soap/Sli= deLibrary/" xmlns:spsl=3D"http://microsoft.com/webservices/SharePointPortal= Server/PublishedLinksService" xmlns:Z=3D"urn:schemas-microsoft-com:" xmlns:= st=3D"&#1;" 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 12 (filtered medium)"> <style> <!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:11.0pt; font-family:"Calibri","sans-serif";} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:purple; text-decoration:underline;} span.EmailStyle17 {mso-style-type:personal-compose; font-family:"Calibri","sans-serif"; color:windowtext;} .MsoChpDefault {mso-style-type:export-only;} @page WordSection1 {size:8.5in 11.0in; margin:1.0in 1.0in 1.0in 1.0in;} div.WordSection1 {page:WordSection1;} --> </style> <!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--> </head> <body lang=3DEN-US link=3Dblue vlink=3Dpurple> <div class=3DWordSection1> <p class=3DMsoNormal>Hi,<o:p></o:p></p> <p class=3DMsoNormal><o:p>&nbsp;</o:p></p> <p class=3DMsoNormal>I&#8217;m rendering a PDF using&nbsp; the following co= de:<o:p></o:p></p> <p class=3DMsoNormal><o:p>&nbsp;</o:p></p> <p class=3DMsoNormal>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &= nbsp;&nbsp;InputStream is =3D new <o:p></o:p></p> <p class=3DMsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp; &nbsp; ByteArrayInputStream(xsltext.getBytes(&quot;UTF-8&quot;));&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <o:p></o:p></p> <p class=3DMsoNormal>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &= nbsp;&nbsp;StreamSource xslSource =3D new StreamSource(is);<o:p></o:p></p> <p class=3DMsoNormal>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &= nbsp;&nbsp;TransformerFactory tfactory =3D TransformerFactory.newInstance();<o:p></o:p></p> <p class=3DMsoNormal>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &= nbsp;&nbsp;Transformer transformer =3D tfactory.newTransformer(xslSource);<o:p></o:p></p> <p class=3DMsoNormal>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <= o:p></o:p></p> <p class=3DMsoNormal>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &= nbsp;&nbsp;FopFactory fopFactory =3D FopFactory.newInstance();<o:p></o:p></p> <p class=3DMsoNormal>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &= nbsp;&nbsp;FOUserAgent foUserAgent =3D fopFactory.newFOUserAgent();<o:p></o:p></p> <p class=3DMsoNormal>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &= nbsp;&nbsp;foUserAgent.setProducer(this.getClass().getName());<o:p></o:p></= p> <p class=3DMsoNormal>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &= nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <o:p></o:p></p> <p class=3DMsoNormal>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &= nbsp;&nbsp;ByteArrayOutputStream out =3D new ByteArrayOutputStream();<o:p></o:p></p> <p class=3DMsoNormal><o:p>&nbsp;</o:p></p> <p class=3DMsoNormal>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &= nbsp;&nbsp;Fop fop =3D fopFactory.newFop(MimeConstants.MIME_PDF,out);<o:p></o:p></p> <p class=3DMsoNormal>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <= o:p></o:p></p> <p class=3DMsoNormal>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <= o:p></o:p></p> <p class=3DMsoNormal>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &= nbsp;&nbsp;Result res =3D new SAXResult(fop.getDefaultHandler());<o:p></o:p></p> <p class=3DMsoNormal>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &= nbsp;&nbsp;transformer.transform(xmlSource, res);<o:p></o:p></p> <p class=3DMsoNormal>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <= o:p></o:p></p> <p class=3DMsoNormal>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;<o:p></o:p></p> <p class=3DMsoNormal>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &= nbsp;&nbsp;httpResponse.setContentType(&quot;application/pdf&quot;);<o:p></= o:p></p> <p class=3DMsoNormal>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;httpResponse.setContentLength(out.size());<o:p></o:p></p> <p class=3DMsoNormal>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;<o:p></o:p></p> <p class=3DMsoNormal>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;<o:p></o:p></p> <p class=3DMsoNormal>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;httpResponse.getOutputStream().write(out.toByteArray());<o:p>= </o:p></p> <p class=3DMsoNormal>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;httpResponse.getOutputStream().flush();<o:p></o:p></p> <p class=3DMsoNormal>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;httpResponse.getOutputStream().close();&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp; <o:p></o:p></p> <p class=3DMsoNormal><o:p>&nbsp;</o:p></p> <p class=3DMsoNormal><o:p>&nbsp;</o:p></p> <p class=3DMsoNormal>This is working fine in Firefox. &nbsp;&nbsp;But in IE= 7 the pdf does not get rendered. I read somewhere that adding ext=3D.pdf to the U= RL might work.&nbsp; Well it&#8217;s working, but I have to refresh the page before = it appears in IE.&nbsp; Is there a way to make the pdf appear automatically in= IE without having to refresh the page?<o:p></o:p></p> <p class=3DMsoNormal><o:p>&nbsp;</o:p></p> <p class=3DMsoNormal>Thanks,<o:p></o:p></p> <p class=3DMsoNormal>JP Estrada<o:p></o:p></p> <p class=3DMsoNormal><o:p>&nbsp;</o:p></p> <p class=3DMsoNormal><o:p>&nbsp;</o:p></p> </div> <HR>This message w/attachments (message) is intended solely for the use of = the intended recipient(s) and may contain information that is privileged, c= onfidential or proprietary. If you are not an intended recipient, please no= tify the sender, and then please delete and destroy all copies and attachme= nts, and be advised that any review or dissemination of, or the taking of a= ny action in reliance on, the information contained in or attached to this = message is prohibited. <BR> Unless specifically indicated, this message is not an offer to sell or a so= licitation of any investment products or other financial product or service= , an official confirmation of any transaction, or an official statement of = Sender. Subject to applicable law, Sender may intercept, monitor, review an= d retain e-communications (EC) traveling through its networks/systems and m= ay produce any such EC to regulators, law enforcement, in litigation and as= required by law. <BR> The laws of the country of each sender/recipient may impact the handling of= EC, and EC may be archived, supervised and produced in countries other tha= n the country in which you are located. This message cannot be guaranteed t= o be secure or free of errors or viruses. <BR> <BR> References to &quot;Sender&quot; are references to any subsidiary of Bank o= f America Corporation. Securities and Insurance Products: * Are Not FDIC In= sured * Are Not Bank Guaranteed * May Lose Value * Are Not a Bank Deposit *= Are Not a Condition to Any Banking Service or Activity * Are Not Insured b= y Any Federal Government Agency. Attachments that are part of this EC may h= ave additional important disclosures and disclaimers, which you should read= . This message is subject to terms available at the following link: <BR> http://www.bankofamerica.com/emaildisclaimer. By messaging with Sender you = consent to the foregoing.<BR> </body> </html> --Boundary_(ID_QEKWWsnZb9xX6LbHiAl1gg)-- From fop-dev-returnshelley94@example.net Fri Nov 05 15:13:36 2010 Return-Path: <fop-dev-returnshelley94@example.net> Delivered-To: shelley94@example.net Received: (qmail 65966 invoked from network); 5 Nov 2010 15:13:36 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 5 Nov 2010 15:13:36 -0000 Received: (qmail 94178 invoked by uid 500); 5 Nov 2010 15:14:07 -0000 Delivered-To: shelley94@example.net Received: (qmail 94008 invoked by uid 500); 5 Nov 2010 15:14:05 -0000 Mailing-List: contact shelley94@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:shelley94@example.net> List-Unsubscribe: <mailto:shelley94@example.net> List-Post: <mailto:shelley94@example.net> List-Id: <fop-dev.xmlgraphics.apache.org> Reply-To: shelley94@example.net Delivered-To: mailing list shelley94@example.net Received: (qmail 93993 invoked by uid 99); 5 Nov 2010 15:14:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Nov 2010 15:14:03 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO thor.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Nov 2010 15:14:01 +0000 Received: from thor.apache.org (localhost [83.161.120.155]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oA5FDdMd006963 for <shelley94@example.net>; Fri, 5 Nov 2010 15:13:39 GMT Received: (from daemon@localhost) by thor.apache.org (8.13.8+Sun/8.13.8/Submit) id oA5FDdKw006961; Fri, 5 Nov 2010 11:13:39 -0400 (EDT) Date: Fri, 5 Nov 2010 11:13:39 -0400 (EDT) Message-Id: <shelley94@example.net> From: shelley94@example.net To: shelley94@example.net Subject: DO NOT REPLY [Bug 49687] [PATCH] Complex Script Support X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Fop X-Bugzilla-Component: general X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: shelley94@example.net X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: shelley94@example.net X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: In-Reply-To: <shelley94@example.net/bugzilla/> References: <shelley94@example.net/bugzilla/> X-Bugzilla-URL: https://issues.apache.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org https://issues.apache.org/bugzilla/show_bug.cgi?id=49687 --- Comment #24 from Glenn Adams <shelley94@example.net> 2010-11-05 11:13:34 EDT --- I cannot determine from your email whether you are using this new patch or not. In any case, only the IF, AT, and PDF renderers are presently supported by this patch, and I do not have a schedule for when the remaining renderers will be supported. Regards, Glenn (In reply to comment #23) > Dear all, > > I was using FOP for more than 1 year and it's a great tool for printing and > creating PDF files and now I have problem printing ARABIC Text. > > I downloaded and tested the FO-PDF converted and it rendered the text > correctly, but this does not fix my problem since I was using the PrintRenderer > to directly print an FO file. > > My question is, when can I expect a new patch or release of FOP with Arabic > print-rendering support. > > Best regards, > Imad Daou -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From fop-dev-returnshelley94@example.net Fri Nov 05 15:16:19 2010 Return-Path: <fop-dev-returnshelley94@example.net> Delivered-To: shelley94@example.net Received: (qmail 66596 invoked from network); 5 Nov 2010 15:16:18 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 5 Nov 2010 15:16:18 -0000 Received: (qmail 96266 invoked by uid 500); 5 Nov 2010 15:16:50 -0000 Delivered-To: shelley94@example.net Received: (qmail 96181 invoked by uid 500); 5 Nov 2010 15:16:48 -0000 Mailing-List: contact shelley94@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:shelley94@example.net> List-Unsubscribe: <mailto:shelley94@example.net> List-Post: <mailto:shelley94@example.net> List-Id: <fop-dev.xmlgraphics.apache.org> Reply-To: shelley94@example.net Delivered-To: mailing list shelley94@example.net Received: (qmail 96174 invoked by uid 99); 5 Nov 2010 15:16:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Nov 2010 15:16:48 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO thor.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Nov 2010 15:16:47 +0000 Received: from thor.apache.org (localhost [83.161.120.155]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oA5FGRM8006991 for <shelley94@example.net>; Fri, 5 Nov 2010 15:16:27 GMT Received: (from daemon@localhost) by thor.apache.org (8.13.8+Sun/8.13.8/Submit) id oA5FGRLv006990; Fri, 5 Nov 2010 11:16:27 -0400 (EDT) Date: Fri, 5 Nov 2010 11:16:27 -0400 (EDT) Message-Id: <shelley94@example.net> From: shelley94@example.net To: shelley94@example.net Subject: DO NOT REPLY [Bug 49687] [PATCH] Complex Script Support X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Fop X-Bugzilla-Component: general X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: shelley94@example.net X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: shelley94@example.net X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: In-Reply-To: <shelley94@example.net/bugzilla/> References: <shelley94@example.net/bugzilla/> X-Bugzilla-URL: https://issues.apache.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 https://issues.apache.org/bugzilla/show_bug.cgi?id=49687 --- Comment #25 from Glenn Adams <shelley94@example.net> 2010-11-05 11:16:24 EDT --- I cannot determine from your email whether you are using this new patch or not. In any case, only the IF, AT, and PDF renderers are presently supported by this patch, and I do not have a schedule for when the remaining renderers will be supported. Regards, Glenn (In reply to comment #23) > Dear all, > > I was using FOP for more than 1 year and it's a great tool for printing and > creating PDF files and now I have problem printing ARABIC Text. > > I downloaded and tested the FO-PDF converted and it rendered the text > correctly, but this does not fix my problem since I was using the PrintRenderer > to directly print an FO file. > > My question is, when can I expect a new patch or release of FOP with Arabic > print-rendering support. > > Best regards, > Imad Daou -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From fop-dev-returnshelley94@example.net Sat Nov 06 17:08:58 2010 Return-Path: <fop-dev-returnshelley94@example.net> Delivered-To: shelley94@example.net Received: (qmail 63134 invoked from network); 6 Nov 2010 17:08:58 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 6 Nov 2010 17:08:58 -0000 Received: (qmail 26636 invoked by uid 500); 6 Nov 2010 17:09:29 -0000 Delivered-To: shelley94@example.net Received: (qmail 26554 invoked by uid 500); 6 Nov 2010 17:09:29 -0000 Mailing-List: contact shelley94@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:shelley94@example.net> List-Unsubscribe: <mailto:shelley94@example.net> List-Post: <mailto:shelley94@example.net> List-Id: <fop-dev.xmlgraphics.apache.org> Reply-To: shelley94@example.net Delivered-To: mailing list shelley94@example.net Received: (qmail 26547 invoked by uid 99); 6 Nov 2010 17:09:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 06 Nov 2010 17:09:28 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,MIME_QP_LONG_LINE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of shelley94@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-yw0-f54.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 06 Nov 2010 17:09:22 +0000 Received: by ywh2 with SMTP id 2so2894197ywh.27 for <shelley94@example.net>; Sat, 06 Nov 2010 10:09:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:references:from :content-type:x-mailer:in-reply-to:message-id:date:to :content-transfer-encoding:mime-version; bh=m4StjQRdTtJmGN6QvA3oy7Mdtger3KL5i7l9FiRurQU=; b=wxBJbAtRhtpfSA7azd1iXJQSzT/OgX/KsDxNvfHB1XG7gj8gcAwYgCuQ74jGTdBS39 zBFPZc+iUpnOAzbpumfsfCh6YD4Gp0dzWhFTkQSZVT1thFpOP7pqWnvzHgZr8o3hLPpc k0QsNE3ixbAnU5vgbZpXjspkvJH6hMXD7KBx8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:references:from:content-type:x-mailer:in-reply-to :message-id:date:to:content-transfer-encoding:mime-version; b=cKlb8EyFzsLjXvYCHlIEps7QGhRXaqTFXmR3lQaoQeX0biUhgwIFLVKXtLJmrvtM2Y 4XDGj2kZG7wI96oqLW8IKqGY76bjnCjGfnheWMX2iwh2hEUupnl2TWCAJUqW7DZg0ayd ywr83mcXiIRtHZC1vj4Vzr+QqXscEyGf6BUhY= Received: by 83.161.120.155 with SMTP id r14mr3009639agq.46.1289063341651; Sat, 06 Nov 2010 10:09:01 -0700 (PDT) Received: from [83.161.120.155] ([83.161.120.155]) by mx.google.com with ESMTPS id m27sm2003811yha.29.283.161.120.155.08.53 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 06 Nov 2010 10:08:58 -0700 (PDT) Subject: Re: pdf not loading in IE 7 References: <shelley94@example.net> From: Web Maestro Clay <shelley94@example.net> Content-Type: multipart/alternative; boundary=Apple-Mail-1--628958853 X-Mailer: iPhone Mail (8B117) In-Reply-To: <shelley94@example.net> Message-Id: <shelley94@example.net> Date: Sat, 6 Nov 2010 10:09:23 -0700 To: "shelley94@example.net" <shelley94@example.net> Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (iPhone Mail 8B117) --Apple-Mail-1--628958853 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Did you try ensuring ext=3D.pdf is part of the link (not adding it after the fact)? The ext=3D.pdf trick is because IE7 needs a little help knowing what to do with the file... Go figure! "My religion is simple. My religion is kindness." - His Holiness the Dalai Lama of Tibet On Nov 4, 2010, at 12:21 PM, "Estrada, Juan - 2" <juan.estrada@bankofamerica= .com> wrote: > Hi, >=20 > =20 >=20 > I=E2=80=99m rendering a PDF using the following code: >=20 > =20 >=20 > InputStream is =3D new >=20 > ByteArra= yInputStream(xsltext.getBytes("UTF-8")); = =20 >=20 > StreamSource xslSource =3D= new StreamSource(is); >=20 > TransformerFactory tfact= ory =3D TransformerFactory.newInstance(); >=20 > Transformer transformer =3D= tfactory.newTransformer(xslSource); >=20 > =20 >=20 > FopFactory fopFactory =3D= FopFactory.newInstance(); >=20 > FOUserAgent foUserAgent =3D= fopFactory.newFOUserAgent(); >=20 > foUserAgent.setProducer(= this.getClass().getName()); >=20 > = =20 >=20 > ByteArrayOutputStream ou= t =3D new ByteArrayOutputStream(); >=20 > =20 >=20 > Fop fop =3D fopFactory.n= ewFop(MimeConstants.MIME_PDF,out); >=20 > =20 >=20 > =20 >=20 > Result res =3D new SAXRe= sult(fop.getDefaultHandler()); >=20 > transformer.transform(xm= lSource, res); >=20 > =20 >=20 > =20 >=20 > httpResponse.setContentT= ype("application/pdf"); >=20 > httpResponse.setContentLength(out.si= ze()); >=20 > = =20 >=20 > =20 >=20 > httpResponse.getOutputStream().write= (out.toByteArray()); >=20 > httpResponse.getOutputStream().flush= (); >=20 > httpResponse.getOutputStream().close= (); =20 >=20 > =20 >=20 > =20 >=20 > This is working fine in Firefox. But in IE 7 the pdf does not get render= ed. I read somewhere that adding ext=3D.pdf to the URL might work. Well it=E2= =80=99s working, but I have to refresh the page before it appears in IE. Is= there a way to make the pdf appear automatically in IE without having to re= fresh the page? >=20 > =20 >=20 > Thanks, >=20 > JP Estrada >=20 > =20 >=20 > =20 >=20 > This message w/attachments (message) is intended solely for the use of the= intended recipient(s) and may contain information that is privileged, confi= dential or proprietary. If you are not an intended recipient, please notify t= he sender, and then please delete and destroy all copies and attachments, an= d be advised that any review or dissemination of, or the taking of any actio= n in reliance on, the information contained in or attached to this message i= s prohibited.=20 > Unless specifically indicated, this message is not an offer to sell or a s= olicitation of any investment products or other financial product or service= , an official confirmation of any transaction, or an official statement of S= ender. Subject to applicable law, Sender may intercept, monitor, review and r= etain e-communications (EC) traveling through its networks/systems and may p= roduce any such EC to regulators, law enforcement, in litigation and as requ= ired by law.=20 > The laws of the
{'source': 'Apache Software Foundation Public Mail Archives'}