RE: SVG to PDF with FOP error

2002-03-05 Thread Lewis, Bobby

I'm not sure what the problem was, but I think you're right, it had
something to do with jars. I just went and got the FOP jars again and
started over and it worked! Thanks everyone for the help.

Bobby Lewis
Solutions Architect
Aivia
3100 McKinnon Suite 1000
Dallas, TX 75201 

-Original Message-
From: Keiron Liddle [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 05, 2002 2:01 AM
To: [EMAIL PROTECTED]
Subject: Re: SVG to PDF with FOP error


Hi,

My guess is that there are incompatible versions of the jars you are using 
but I need more info.
What is the full stacktrace?
Are the any other logging messages?

On 2002.03.04 18:13 Lewis, Bobby wrote:
 I'm getting the following error when I try to run the embedding.fo
 example
 (it's an SVG example). It works commandline on my PC but not in my web
 environment on Linux. I did get the DISPLAY setting set correctly because
 it's no longer complaining about that or that it can't access X11 on a
 certain port. Now, I get:
 
 [02.03.04 10:10:26:112 CST] 3c409979 WebGroup  X Servlet Error:
 org/apache/batik/dom/svg/SVGDOMImplementation: java.lang.Exception:
 org/apache/batik/dom/svg/SVGDOMImplementation
 at jsp.pdf_jsp_26._jspService(pdf_jsp_26.java:154)
 
 Nice generic error :) I see this sometimes when there's actually a class
 that can't be found by the class loader, but i checked my batik.jar and
 that
 class is there, and batik.jar is visible (it's in lib/ext/ with fop.jar
 --
 I'm running WebSphere 4.0 on Linux).  Any suggestions?

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Adobe Acrobat Reader 4.0 vs. 5.0

2002-03-05 Thread Lewis, Bobby

We have an odd problem. When we go to a JSP that generates the PDF, on a
machine with Acrobat Reader v.5.0 installed, everything works fine (the
plugin is activated and the PDF shows up in the browser). If we go to the
same page on a machine with Acrobat Reader v.4.0 installed, we get a Save
as popup box for the JSP page.  Anyone else have this problem? Does 4.0 not
have a browser plug-in? I thought it did.

Bobby Lewis
Solutions Architect
Aivia
3100 McKinnon Suite 1000
Dallas, TX 75201 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: Adobe Acrobat Reader 4.0 vs. 5.0

2002-03-05 Thread Lewis, Bobby

Of Acrobat 4.0 or the browser? I'll look. 

Bobby Lewis
Solutions Architect
Aivia
3100 McKinnon Suite 1000
Dallas, TX 75201 

-Original Message-
From: Art Welch [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 05, 2002 1:16 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Adobe Acrobat Reader 4.0 vs. 5.0


Is Web Browser Integration checked under the General Preferences?

-Original Message-
From: Lewis, Bobby [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 05, 2002 2:09 PM
To: Fop-Dev (E-mail)
Subject: Adobe Acrobat Reader 4.0 vs. 5.0


We have an odd problem. When we go to a JSP that generates the PDF, on a
machine with Acrobat Reader v.5.0 installed, everything works fine (the
plugin is activated and the PDF shows up in the browser). If we go to the
same page on a machine with Acrobat Reader v.4.0 installed, we get a Save
as popup box for the JSP page.  Anyone else have this problem? Does 4.0 not
have a browser plug-in? I thought it did.

Bobby Lewis
Solutions Architect
Aivia
3100 McKinnon Suite 1000
Dallas, TX 75201 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: Adobe Acrobat Reader 4.0 vs. 5.0

2002-03-05 Thread Lewis, Bobby

Thanks for the help!

Bobby Lewis
Solutions Architect
Aivia
3100 McKinnon Suite 1000
Dallas, TX 75201 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 05, 2002 1:26 PM
To: [EMAIL PROTECTED]
Subject: RE: Adobe Acrobat Reader 4.0 vs. 5.0



Open your Acrobat 4 application, not the browser.





Lewis, Bobby [EMAIL PROTECTED] on 03/05/2002 14:16:47

Please respond to [EMAIL PROTECTED]

To:   '[EMAIL PROTECTED]' [EMAIL PROTECTED]
cc:

Subject:  RE: Adobe Acrobat Reader 4.0 vs. 5.0

Of Acrobat 4.0 or the browser? I'll look.

Bobby Lewis
Solutions Architect
Aivia
3100 McKinnon Suite 1000
Dallas, TX 75201

-Original Message-
From: Art Welch [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 05, 2002 1:16 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Adobe Acrobat Reader 4.0 vs. 5.0


Is Web Browser Integration checked under the General Preferences?

-Original Message-
From: Lewis, Bobby [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 05, 2002 2:09 PM
To: Fop-Dev (E-mail)
Subject: Adobe Acrobat Reader 4.0 vs. 5.0


We have an odd problem. When we go to a JSP that generates the PDF, on a
machine with Acrobat Reader v.5.0 installed, everything works fine (the
plugin is activated and the PDF shows up in the browser). If we go to the
same page on a machine with Acrobat Reader v.4.0 installed, we get a Save
as popup box for the JSP page.  Anyone else have this problem? Does 4.0
not
have a browser plug-in? I thought it did.

Bobby Lewis
Solutions Architect
Aivia
3100 McKinnon Suite 1000
Dallas, TX 75201

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]









-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Corrupt PDF files?

2002-02-28 Thread Lewis, Bobby

I have a problem that is hard to debug. I am generating PDF files with FOP,
and the process is working ok most of the time. Sometimes though, the file
becomes corrupt (I'm sending the PDF back to a web browser based on a
request a user makes from a JSP).

Here's what we just found: we're using an external barcode font (a Code39
font). If we take the font out and don't use it in the PDF, it works fine
everytime. Otherwise, it works sometimes. There's no discernible factor as
to why it does/does not work, so I'm thinking there's something buggy in
FOP. Has anyone had any kind of unpredictable behavior before with FOP when
using external fonts? I'm using a TTF, I generated the metric file ok and
everything, because the barcode does show up correctly SOMETIMES.

Any help is greatly appreciated.

Bobby Lewis
Solutions Architect
Aivia
3100 McKinnon Suite 1000
Dallas, TX 75201 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




EOFException when TTFReader is parsing TTF file

2002-02-27 Thread Lewis, Bobby

Hi,

I've seen this error reported on here before, but I've searched the archives
and could not find a solution to it.  I'm trying to create the font metrics
file for my TTF font, and I get an EOFException. Any ideas on how to fix
this?

Command:

java org.apache.fop.fonts.apps.TTFReader C:\code39.TTF ttfcm.xml

Output:

TTF Reader v1.1.1

Reading C:\code39.TTF...

Number of glyphs in font: 97
java.io.EOFException: Reached EOF, file size=24764 offset=88232
at
org.apache.fop.fonts.FontFileReader.seek_set(FontFileReader.java:78)
at org.apache.fop.fonts.TTFFile.readCMAP(TTFFile.java:217)
at org.apache.fop.fonts.TTFFile.readFont(TTFFile.java:403)
at org.apache.fop.fonts.apps.TTFReader.loadTTF(TTFReader.java:181)
at org.apache.fop.fonts.apps.TTFReader.main(TTFReader.java:143)

The same process works correctly with another font (I just grabbed one
already on my PC, an Arial font). This is an unusual barcode font, so that
may be what is messing it up. I'm using Fop 0.20.1 with JDK 1.3.1 on Windows
2000.  Thanks for the help!

Bobby Lewis
Solutions Architect
Aivia
3100 McKinnon Suite 1000
Dallas, TX 75201 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]