Re: no sub-, super-script in PS from .fo

2004-02-23 Thread Chris Bowditch
A.R. (Tom) Peters wrote: I noticed that when I generate PostScript output from FO, sub- and super-scripts are not rendered correctly but are plainly in-line. PDF output from the same .fo is correctly rendered below or above the baseline. I did not find this problem reported in the buglist or in

Transparent image

2004-02-23 Thread Mark Williams
Hi, I have a transparent PNG image in the region-before in a block-container, but it does not display transparently when rendered to PDF. Should it or is this a FOP limitation. If it should, do I have to include transparency attribute or some such? Any help appreciated. Regards, Mark

Total number of pages

2004-02-23 Thread Chanaka Amarasekara
Hi All, Is it possible to get the total number of pages before the FOP process the XSL file? I'm trying to modify the Table class in org.apache.fop.fo.flow folder, and I need to know the total number of pages in the generated PDF file. Is this possible? Thanks, Chanaka

Re: Total number of pages

2004-02-23 Thread Mark Williams
No. You have to pass it to Fop twice. There is an example at http://xml.apache.org/fop/fo.html#fo-total-pages regards, Mark - Original Message - From: Chanaka Amarasekara [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, February 23, 2004 12:02 PM Subject: Total number of pages

RE: no sub-, super-script in PS from .fo

2004-02-23 Thread Teator, Michael
You might have better luck post-converting the PDF to postscript with ghostscript. -Original Message- From: A.R. (Tom) Peters [mailto:[EMAIL PROTECTED] Sent: Friday, February 20, 2004 3:57 PM To: [EMAIL PROTECTED] Subject: no sub-, super-script in PS from .fo I noticed that when I

formatting bug with servlet and xml only

2004-02-23 Thread Casper Gasper
I've just got Fop 0.20.5 installed and it's working great (thanks), but I seem to have found a bug where if two table cells in the same column and adjacent rows have the same value, the bottom one takes on the formatting characteristics of the top. Basically I get a table like: bBase rental

Re: formatting bug with servlet and xml only

2004-02-23 Thread Chris Bowditch
Casper Gasper wrote: I've just got Fop 0.20.5 installed and it's working great (thanks), but I seem to have found a bug where if two table cells in the same column and adjacent rows have the same value, the bottom one takes on the formatting characteristics of the top. Basically I get a table

Re: formatting bug with servlet and xml only

2004-02-23 Thread Casper Gasper
I've just got Fop 0.20.5 installed and it's working great (thanks), but I seem to have found a bug where if two table cells in the same column and adjacent rows have the same value, the bottom one takes on the formatting characteristics of the top. Basically I get a table like: bBase rental

RE: no sub-, super-script in PS from .fo

2004-02-23 Thread A.R. (Tom) Peters
On Mon, 23 Feb 2004, Teator, Michael wrote: You might have better luck post-converting the PDF to postscript with ghostscript. No: I have EPS pictures and they get dropped when rendering PDF from FO. I first have to generate PS - which tosses out the sub- and super-scripts, but which will

Re: no sub-, super-script in PS from .fo

2004-02-23 Thread Jeremias Maerki
Just as an aside: GhostScript correctly renders EPS pictures embedded in a PDF generated by FOP. That's because GhostScript is a PostScript interpreter and Acrobat Reader isn't. On 23.02.2004 17:24:18 A.R. (Tom) Peters wrote: I have EPS pictures and they get dropped when rendering PDF from FO.

SM Service Mark symbol in output

2004-02-23 Thread Abhijit Junnare
I would like to print a SM i.e. service mark symbol in my output PDF. Since FOP does not support suprtscript is there any other way I could do it. I am using Times and Helvetica fonts for rendering my PDF. I tried using the entity reference #8480; but it does not work. Any ideas on how to get it

Re: How to put some text on next to last page?

2004-02-23 Thread Kuba Krlikowski
Kuba Krlikowski wrote: I have a document with a lot of text and I don't know how many pages it will give after rendering. Do you know how could I print some special text on next to last page? The simplest solution would be to actually put the text on next to last page, perhaps in a new page

RE: SM Service Mark symbol in output

2004-02-23 Thread Andreas L. Delmelle
-Original Message- From: Abhijit Junnare [mailto:[EMAIL PROTECTED] I would like to print a SM i.e. service mark symbol in my output PDF. Since FOP does not support suprtscript is there any other way I could do it. I am using Times and Helvetica fonts for rendering my PDF. I tried

RE: SM Service Mark symbol in output

2004-02-23 Thread Abhijit Junnare
'vertical-align' does seem to be working for PDF output... (only for PDF) So, something like: fo:inline vertical-align=superSM/fo:inline might just be enough... This works perfect for my case. Thanks much Hope this helps! Cheers, Andreas

Re: no sub-, super-script in PS from .fo

2004-02-23 Thread Chris Bowditch
Jeremias Maerki wrote: Just as an aside: GhostScript correctly renders EPS pictures embedded in a PDF generated by FOP. That's because GhostScript is a PostScript interpreter and Acrobat Reader isn't. On 23.02.2004 17:24:18 A.R. (Tom) Peters wrote: I have EPS pictures and they get dropped when

Re: no sub-, super-script in PS from .fo

2004-02-23 Thread Clay Leeds
On Feb 23, 2004, at 9:38 AM, Chris Bowditch wrote: Jeremias Maerki wrote: Just as an aside: GhostScript correctly renders EPS pictures embedded in a PDF generated by FOP. That's because GhostScript is a PostScript interpreter and Acrobat Reader isn't. On 23.02.2004 17:24:18 A.R. (Tom) Peters

Page breaks keeps

2004-02-23 Thread Moore, Spring
Greetings all. I am having a basic formatting issue concerning page breaks. The scenario: I am calling several items of information to be displayed in a single table row (which is set up as a template). This call loops N times, depending on how many rows of information there are in the XML.

RE: Page breaks keeps

2004-02-23 Thread Koes, Derrick
To keep items within a row together, I use keep-together=always on table-row elements. This seems to work reasonably well. To keep rows together, I use keep-with-next=always on table-row elements. I've had varying degrees of success with this, mostly I suspect due to cockpit error.

Yet another pagination issue

2004-02-23 Thread Matthew Case
The ongoing saga of my FOP-driven letter engine continues. Now, management has requested that I create letters that are comprised of 2 pages. The letter text on the first page, and state-specific legal text on the back. First, I want to specifically say "this text can only go on even

RE: How to put some text on next to last page?

2004-02-23 Thread Andreas L. Delmelle
-Original Message- From: Kuba Krlikowski [mailto:[EMAIL PROTECTED] I have a document with a lot of text and I don't know how many pages it will give after rendering. Do you know how could I print some special text on next to last page? The simplest solution would be to

Re: no sub-, super-script in PS from .fo

2004-02-23 Thread Jeremias Maerki
Yeah, somehow. Clay, it's a very good idea. The problem is simply that we would need a complete PostScript interpreter. There is actually one in the FreeHEP Java library but it's distributed under the LGPL and therefore not accessible to us. Anyone out there who needs a good idea for a weekend

Re: Page breaks keeps

2004-02-23 Thread Clay Leeds
In my experience, this works well. A caveat: I seem to remember problems if the contents of a table-row make it larger than a page. Good luck! On Feb 23, 2004, at 10:39 AM, Koes, Derrick wrote: To keep items within a row together, I use keep-together=always on table-row elements. This seems to

Re: no sub-, super-script in PS from .fo

2004-02-23 Thread A.R. (Tom) Peters
On Mon, 23 Feb 2004, Jeremias Maerki wrote: Just as an aside: GhostScript correctly renders EPS pictures embedded in a PDF generated by FOP. That's because GhostScript is a PostScript interpreter and Acrobat Reader isn't. Yes, I know. But I have to print through Acrobat Reader and that can

RE: no sub-, super-script in PS from .fo

2004-02-23 Thread Andreas L. Delmelle
-Original Message- From: Tom Peters [mailto:[EMAIL PROTECTED] snip / hold on OK, I get some huge files. And AcroRead can show the drawings. But now my JPG's are all blocky and the fonts are rastered to pixels - awful! Bwa-ha-haaa! Does 'Font smoothing' or 'LineArt

non Base-14 fonts and performance.

2004-02-23 Thread SEBoedecker
During performance tuning, I came across the issue of non Base-14 fonts killing performance. I have a pdf that renders in 20 seconds using the Helvetica font but when the font is changed to a ttf file via the userconfig.xml, the render time takes 2 minutes or more. I have tried to create my

Re: no sub-, super-script in PS from .fo

2004-02-23 Thread Jeremias Maerki
Hmm, and if you do PDF-PDF using GhostScript instead of PDF-PS-PDF, i.e. without writing an intermediate file? I think that should be possible. You may need to specify the full GhostScript command line to do it right. I hope there is some difference. On 23.02.2004 21:04:32 A.R. (Tom) Peters

Re: no sub-, super-script in PS from .fo

2004-02-23 Thread Tom Peters
On Mon, 23 Feb 2004, Jeremias Maerki wrote: Hmm, and if you do PDF-PDF using GhostScript instead of PDF-PS-PDF, i.e. without writing an intermediate file? I think that should be possible. You may need to specify the full GhostScript command line to do it right. I hope there is some

Re: Yet another pagination issue

2004-02-23 Thread J.Pietschmann
Matthew Case wrote: First, I want to specifically say this text can only go on even pages and that text can only go on odd pages. If the letter text goes over one page, I want the text to roll onto a third page and leave the state specific text only on page 2. Secondly, my engine right now