PDF generation causes Browser crash...

2005-11-17 Thread Christian Loock
Hi Everybody, I have encountered a problem that doesn't have to be directly related to FOP but i still hope that someone could help me with this. Our PDFs that we generate using FOP, will always be shown in an internet browser because we use FOP in an internet application. The problem that one

Re: PDF generation causes Browser crash...

2005-11-17 Thread Jimmy Dixon
Ive had this myself - its a problem to do with outputting PDF to the browser with PHP I dont know what the answer is I just reverted to changing the http header content type disposition to force download as getting it to display in all browsers seemed like a fruitless task. Christian Loock

RE: PDF generation causes Browser crash...

2005-11-17 Thread Christian Loock
Which Header exactliy did you send? Christian -Original Message- From: Jimmy Dixon [mailto:[EMAIL PROTECTED] Sent: Thursday, November 17, 2005 1:08 PM To: fop-users@xmlgraphics.apache.org Subject: Re: PDF generation causes Browser crash... Ive had this myself - its a problem to do

Pagination handling in FOP

2005-11-17 Thread Leon Pu
Hi all, is it possible to use FOP to create pagination document? I want to generate an invoice like document which the last detail line cannot be broke by the page break. And I can know what's the total page number of the document. The source of the output document is a data xml file. Looking

Re: Pagination handling in FOP

2005-11-17 Thread JBryant
Hi, Leon, If you've got elements (paragraphs, headings, or other document pieces) that must remain together, you can put them in a table and specify keep-together=always on each row. Of course, if the elements are larger than a page, FOP has to put a page break in there anyway. Note: The

Signature Positioning.

2005-11-17 Thread Hariprasad Davanagere
Hi All, I am facing problems positioning the signature block in my PDF. I have a line of text right above the signature block in the PDF. Is it possible for me search for this text, get its co-ordinates and then place the signature relatively ?? The contents of the PDF may vary and hence i

Re: Signature Positioning.

2005-11-17 Thread JBryant
Hi, Hari, One approach to this problem is to put that line of text and the signature block into two rows in a table and then specify keep-together=always on both rows. You could also set break-before=page on that line, so as to always have that line and the signature block on its own page (a

RE: Signature Positioning.

2005-11-17 Thread Christian Loock
You could use the space-before attribute on the signature block so the space between the block before is everytime the same. -Original Message- From: Hariprasad Davanagere [mailto:[EMAIL PROTECTED] Sent: Thursday, November 17, 2005 5:53 PM To: fop-users@xmlgraphics.apache.org Subject:

RE: Signature Positioning.

2005-11-17 Thread Riz Virk
Are you saying that you want to add the signature block AFTER the PDF has already been generated? Or as part of the xml to PDF process using fop? We had a client at one point who wanted to add the signature block after the PDF was generated. We had them look for specific text in the PDF (at

RE: Signature Positioning.

2005-11-17 Thread Hariprasad Davanagere
Hi, Thankyou for the quick response. I am sorry to have not described my problem correctly. The text above the signature block is not the problem, but the other text which show up in the document before this signature block may vary moving the block from its position. I am finding it hard to

RE: Signature Positioning.

2005-11-17 Thread Hariprasad Davanagere
hi Riz, Yes i am trying to add the signature block AFTER the PDF has already been generated? I have a line of text just above the position where the signauture has to appear. I am not aware of the method to get the co-ordinates of this text. Could you please guide me how to..? Hari

RE: Signature Positioning.

2005-11-17 Thread Riz Virk
Hello Hari, It sounds like you're using some API already for adding the signature block, right? Whichever API you're using to add the signature block *might* have some methods to do this already I would think. If you're looking for an open source tool, I'm not sure which one would do this

Re: Compiled FOP versions

2005-11-17 Thread Manuel Strehl
Hi again. Thanks for the reply. My provider's got PHP and Perl running. But I only have 200MB of webspace and am not allowed to install things that need root rights. I also looked up the JSE package at sun.com, and the complete pack is ~150MB. Only the core files still need 100MB. That's a bit

FOP font width for custom font (Arial)

2005-11-17 Thread Prakash R
I'm using Arial font with FOP. I installed the fonts by following the step to install custom fonts from TTF on the FOP website using the TTFReader and adding entries in userconfig.xml. When I generate a PDF which uses the Arial font, the width of characters are different for uppercase and

Re: FOP font width for custom font (Arial)

2005-11-17 Thread Manuel Mall
On Fri, 18 Nov 2005 04:46 am, Prakash R wrote: I'm using Arial font with FOP. I installed the fonts by following the step to install custom fonts from TTF on the FOP website using the TTFReader and adding entries in userconfig.xml. When I generate a PDF which uses the Arial font, the width

Re: FOP font width for custom font (Arial)

2005-11-17 Thread Prakash R
Thanks Manuel. I understand the difference now. Let me rephrase my question. I'm using Arial font in FOP and when I render it to PDF with a specific font type and size (bold, size 12 pt) and I do the same with Microsoft word and print both. It is exact same line and same font etc. The Microsoft

Re: FOP font width for custom font (Arial)

2005-11-17 Thread The Web Maestro
On Nov 17, 2005, at 4:17 PM, Prakash R wrote: Thanks Manuel. I understand the difference now. Let me rephrase my question. I'm using Arial font in FOP and when I render it to PDF with a specific font type and size (bold, size 12 pt) and I do the same with Microsoft word and print both. It is

Re: FOP font width for custom font (Arial)

2005-11-17 Thread The Web Maestro
On Nov 17, 2005, at 5:22 PM, Manuel Mall wrote I just did my own test and the results are intriguing (using the latest version of FOP). There is certainly a big difference between Word and FOP. It appears that FOP ignores the font-weight=bold. That is the text is rendered identically for