svg problems in pdf

2002-11-04 Thread Phillip Rhodes
I am trying to use svg for my charts and graphs in a pdf. I am having the following problems: 1) the chart area is not respected by the other areas. The svg chart seems to allow other content to "run into it". If I do not use svg, but a jpg or other image for the chart, this does not happe

Andrew S Moy/CHI/NTRS is out of the office.

2002-11-04 Thread Andrew S Moy
I will be out of the office starting November 4, 2002 and will not return until November 25, 2002. I will respond to your message when I return.

How to show PDF file in jsp page ?

2002-11-04 Thread Jiri_Nejedly
I successfully created PDF , but now I don't know how to make browser show it like PDF (Acrobat is installed, when I open file directly in browser, all is ok). If I use this code: File inputFile = new File(pdfFile); FileReader fr = new FileReader(inputFile); int c; while( (c = in.read()) != -1) ou

Block-container without Height property

2002-11-04 Thread Nguyen Nam
Hello everybody,Does someone know how to use block-container without specifying its Heightproperty (beacause I'd like to position my text but cannot know the lengthof its content) ?Thank you for any help  !NamYahoo! Mail -- Une adresse @yahoo.fr gratuite et en français !

RE: How to show PDF file in jsp page ?

2002-11-04 Thread "Buchtík, Michal"
Is the browser IE? Try this: Add the parameter to GET query, so the URL will end with .pdf like this: http://./getPdf.jsp?id=&dummy=.pdf Michal -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, November 04, 2002 11:51 AM To: [EMAIL PROTECTED] Subj

Re: How to show PDF file in jsp page ?

2002-11-04 Thread Oleg Tkachenko
[EMAIL PROTECTED] wrote: I successfully created PDF , but now I don't know how to make browser show it like PDF (Acrobat is installed, when I open file directly in browser, all is ok). Take a look at docs/examples/embedding/FopServlet.java as an example how to return pdf. What must I do, to make

Embedding TIFF in PDF results in huge filesize

2002-11-04 Thread Bellinger, Michael
I am embedding TIFF images into a PDF document to enable users to watch and print the images from their browser without having a tiff-plugin. The TIFF images are usually at 200 - 300 dpi (black/white) and use CCITT Fax Gr.4 compression. Embedding them in the PDF results in a filesize nearly 4 times

Re: PDF performance issues.

2002-11-04 Thread Jeremias Maerki
That schematic, is this a b/w-image? If so I can imagine that the original TIFF is compressed using CCITT compression. FOP doesn't support CCITT at the moment, so it recompresses the image using ZLib compression. For b/w-images this often results in a bigger file. As for the redraw speed: It probab

Re: Embedding TIFF in PDF results in huge filesize

2002-11-04 Thread Jeremias Maerki
See my answer to Phil Dickinson just a few moments ago. It seems to apply to you, too. Here's the link: http://marc.theaimsgroup.com/?l=fop-user&m=103640636016829&w=2 On Mon, 4 Nov 2002 11:29:46 +0100 Bellinger, Michael wrote: > I am embedding TIFF images into a PDF document to enable users to w

Re: Embedding TIFF in PDF results in huge filesize

2002-11-04 Thread Keiron Liddle
On Mon, 2002-11-04 at 11:29, Bellinger, Michael wrote: > I am embedding TIFF images into a PDF document to enable users to watch and > print the images from their browser without having a tiff-plugin. The TIFF > images are usually at 200 - 300 dpi (black/white) and use CCITT Fax Gr.4 > compression.

Re: How to show PDF file in jsp page ?

2002-11-04 Thread Jiri_Nejedly
Thanks to all, this code works ... File inputFile = new File(pdfFile); FileReader fr = new FileReader(inputFile); ByteArrayOutputStream baos = new ByteArrayOutputStream(); int ch; while((ch = fr.read()) != -1) { baos.write(

RE: PDF performance issues.

2002-11-04 Thread Phil Dickinson
Jeremias, Thanks for your suggestions. Yes, the schematics are in B&W, so I will take a look at the encoding and let you know what I find. Best regards, Phil Dickinson Aicom Limited www.aicom.co.uk -Original Message- From: Jeremias Maerki [mailto:[EMAIL PROTECTED] Sent: 04 November 20

RES: How to show PDF file in jsp page ?

2002-11-04 Thread Gilson Nascimento Del Rei
I newbie question... Why we have that read the pdf file ? Doesn't is a simple link sufficient for execute it ? I mean isn't it a browser work ? Gilson > - Mensagem original - > De: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED] > Enviada em: segunda-feira, 4 de novembro de

Re: RES: How to show PDF file in jsp page ?

2002-11-04 Thread Oleg Tkachenko
Gilson Nascimento Del Rei wrote: I newbie question... Why we have that read the pdf file ? FOP's output is a stream and in order to set Content-Length you have to read the whole stream to into memory or into a temporary file. Doesn't is a simple link sufficient for execute it ? Link to where? Yo

no-break space in unicode font

2002-11-04 Thread Doherty, Michael
I am producing pdfs that contain Japanese characters (among others). Accordingly, I have created a font xml file from osaka.unicode.ttf to embed in the pdf files. This works (ie produces Japanese characters) but now I find that no-break space characters (unicode 160 decimal; 00A0 in hex) are not c

RE: How to show PDF file in jsp page ?

2002-11-04 Thread Koes, Derrick
-Original Message- From: Gilson Nascimento Del Rei [mailto:[EMAIL PROTECTED] Sent: Monday, November 04, 2002 6:21 AM To: '[EMAIL PROTECTED]' Subject: RES: How to show PDF file in jsp page ? I newbie question... Why we have that read the pdf file ? Doesn't is a simple link sufficient for

RE: Problems with borders in tables.

2002-11-04 Thread Rod Frey
Fantastic! Thanks, Roland. I removed similar over-specification in my document to fix some other problems, too. Rod -Original Message- From: Roland Neilands [mailto:[EMAIL PROTECTED] Sent: Sunday, November 03, 2002 2:20 PM To: [EMAIL PROTECTED] Subject: RE: Problems with borders in tab

OutOfMemoryError on Websphere, not in WSAD test environment

2002-11-04 Thread Davor Cengija
We're creating some on the fly pdf files in WebSphere Application Developer (WSAD 4.0.3) and testing it in its internal WebSphere Test Environment. Everything works just fine, and PDF files are created and displayed. BTW, its nothing too complicated, usualy single page with single table in it. How

Re: PNG images

2002-11-04 Thread rhodespc
Do you have the jimi classes in your classpath? On Tue, 29 Oct 2002, Morten Isaksen wrote: > Hi! > > FOP 0.20.4 gives me this error when I try to include a PNG image. It > works fine for jpg and svg images. > > [ERROR] Error while creating area : Error creating FopImage object > (Error creating F

Re: OutOfMemoryError on Websphere, not in WSAD test environment

2002-11-04 Thread Oleg Tkachenko
Davor Cengija wrote: We're creating some on the fly pdf files in WebSphere Application Developer (WSAD 4.0.3) and testing it in its internal WebSphere Test Environment. Everything works just fine, and PDF files are created and displayed. BTW, its nothing too complicated, usualy single page with sin

Re: svg problems in pdf

2002-11-04 Thread J.Pietschmann
Phillip Rhodes wrote: 2) The svg image looks very rough. I need to set "Smooth line art" manually in the acrobat reader. Is there anyway around this? No, currently not. You'll have to take the shouting. Or invent some machinery which sets the flag remotely. I'm not even sure whether this is

Re: Block-container without Height property

2002-11-04 Thread J.Pietschmann
Nguyen Nam wrote: Does someone know how to use block-container without specifying its Height property (beacause I'd like to position my text but cannot know the length of its content) ? This is not implemented. You'll have to choose between absolute positioning and automatic heigth. If in doubt, ju

Re: RES: How to show PDF file in jsp page ?

2002-11-04 Thread J.Pietschmann
Oleg Tkachenko wrote: That's right, but browser requires content length according to http rfc, Nitpick: IEx needs the content length. Various other browsers are said to be able to deal with unspecified length, though I didn't try personally. Certainly the RFC *recommends* using content-length, but

cell merging

2002-11-04 Thread Toufic Nehme
Hi all, I have 2 basic questions. 1. Is there a way to merge table cells in fop ( horizontally and/or vertically ) ? 2. How an empty row can be inserted inside a table ? Thanks.

RE: cell merging

2002-11-04 Thread Morten Isaksen
This will create an empty row in a 3 columns table: To do it the other way check "number-rows-spanned" -- Morten Isaksen [EMAIL PROTECTED] - http://www.aub.dk/~misak -Original Message- From: Toufic Nehme [mailto:[EMAIL PROTECTED] Sent: 4. november 2002 18:19 T