Re: Scrollable region in generated PDF

2016-07-20 Thread paul womack
GK wrote: I'm using Apache FOP to generate a PDF through XML and XSL-FO. I have a cell in my generated PDF that I need to be able to scroll through if the content overflows it. XSL-FO has an overflow="scroll" feature, but based on my research on the topic it seems that Apache FOP does not

Re: Table of Content

2014-03-19 Thread paul womack
Anastasia wrote: Good Day! We are interested in using the FOP Apache application. But we require the function of making Table of Contents and Index in the document. Could you please tell us, is there a way to create a table of contents and index in your program? As the only way to implement

Re: Improving FOP Performance

2014-03-18 Thread Paul Womack
Gonzalo Vasquez wrote: Hi everybody, We've been doing some performance tests using several output formats (PDF, PostScript and AFP), and they al give us about the same time results, which are far from what we expected. I'm aware that there are several bits of Apache FOP which might me

Re: Improving FOP Performance

2014-03-18 Thread paul womack
Gonzalo Vasquez wrote: I'm into that, but I guess there might be some first parts to look before I dig thaaat deep ;) Nah, profiling ain't digging deep, it's by far the quickest and easiest way to find unexpected performance hogs. BugBear

Re: performance of PNG output vs PDF

2014-02-07 Thread paul womack
Frank B wrote: I'm working on an application that creates labels. For PNG at 300 dpi, cpu usage is 2x higher than PDF output. The application can expect high volumes so performance is important. Is the relatively poor performance of image output normal? Is there a setting that can improve

Re: FOP memory growing with a lot of page-sequences

2013-04-19 Thread Paul Womack
aemitic wrote: Thanks for the suggestion. This /workaround/ (it's not a solution) cannot be applied. Why: - internal pdf links would not work - pdf bookmarks would not work - page numbering would not be correct - creating over 15 PDFs and then merging them with an external tool is

Re: FOP memory growing with a lot of page-sequences

2013-04-19 Thread paul womack
Kerry, Richard wrote: Yes I did understand what you wrote, and the earlier correspondent. I was attempting to ask why. It seems illogical to treat many small documents as one large one. Especially if the large one is so large that it is hard to process. That case sounds (to me) like many

page property page-height=indefinite

2011-07-08 Thread paul womack
I note (google!) that subsequent to my questions on this (in 2008), this feature remains unimplemented, and has been asked about a few times. In the interests of repaying the community, I offer this perl script (written for my own purposes) which generates output of the right height, by

Re: Invalid PDF Created

2010-08-26 Thread paul womack
Eric Douglas wrote: I'm not sure what this quickdraw thing is you're referring to, but if I'm understanding it right, it's not like you can alter the PDF heading after the transform. The PDF is already mostly written to the file at this point. It just left out the last block. I don't know the

Re: Invalid PDF Created

2010-08-25 Thread paul womack
Eric Douglas wrote: I resolved this. After the transform I didn't close the output stream. Apparently that left some bytes hanging. Apparently? You said: If I try to create a PDF directly from the transform with FOP 1.0, by passing a BufferedOutputStream created from a FileOutputStream

Re: Invalid PDF Created

2010-08-25 Thread paul womack
Eric Douglas wrote: Surely this is a longer explanation than you're asking for. Certainly was ;-) The short answer is I'm well aware of how the output streams work, but I thought if the transform was writing to it which should be a complete process that it would close it when it's done.

Re: Text rendering with FOP

2009-10-01 Thread paul womack
Vincent Hennebert wrote: Hi, I think the way to go about that is to use a PDF post-processor that would convert the PDF into plain text. Does this mean there's (implicitly) no way of using FOP to emulate tex/nroff, at least directly ? BugBear

Re: Transparent Text

2009-02-27 Thread paul womack
Duncan McGregor wrote: Hi I'm trying to work out how to write transparent text to overlay OCR data on top of its source image. I've seen it done in PDFs, but cannot find how to represent transparency in xsl:fo Thanks in anticipation Text is set in the foreground colour, and has no

Re: 0.95 Acrobat Performance Problems

2008-12-01 Thread paul womack
egibler wrote: Hi, I receive lots and lots of small (1-3 page) PDFs each day, combine them using Acrobat Professional, and print and mail them for clients. One client recently upgraded from FOP .2x to FOP 0.95, and the combining of his files has become nearly impossible. It'll put the first

Re: AW: FO writing

2008-11-27 Thread paul womack
Georg Datterl wrote: Hi Erwan, Since several months, i'm creating FOP documents, always with gedit or some text editor. The only feature they give me is a syntax coloration. So what are you using : which program or plugin ? XmlSpy works fine, but basically any program which displays XML

Re: Page Layout - Spreads, Bleed etc.

2008-10-21 Thread paul womack
Jeremias Maerki wrote: That was discussed some time ago. You might want to read up on the status here: http://fop.markmail.org/search/?q=trimbox I've prepared FOP so TrimBox, BleedBox and MediaBox can all be set [1]. But the wiring into an extension hasn't been completed, yet. [1]

Re: How to add space between words

2008-09-23 Thread paul womack
Ashish Kulkarni wrote: Hi I need to print text like My Name is ABC . . . How can i add space between words What are trying to DO with this space? Are you trying to line up a table, express columns, a list of pairs? In almost all cases, you should be working at a higher design level

large scale users?

2008-08-12 Thread paul womack
I'm trying to convince someone that fop is a good choice for generating (large) pdf's from structured input. Should be easy :-) Can anyone tell me of fop being used in this way and has a website where the output (and/or input) is publicly visible? BugBear

Re: FOP Newbie

2008-08-08 Thread paul womack
moorzee wrote: Hi I have a requirement to output, what I hope, is going to be a very simple PDF document. I'll be building up an xml domdocument in VB. My question is can I output my PDF without the need to save the xml as a file, i.e pass the xml directly into fop with my style sheet and

Re: How to use glyphs from the Symbol font ?

2008-07-31 Thread paul womack
Daniel Noll wrote: Andreas Delmelle wrote: IIC, this is a FOP limitation for all versions up to and including 0.95. FOP Trunk should now use another font than Symbol for a 'q'. Max implemented basic support for character-by-character font-selection, which is probably what Firefox does too.

Re: PDF full screen mode...

2008-07-11 Thread paul womack
Jeremias Maerki wrote: Ah well, my afternoon's almost over anyway... Here's a proposal: http://wiki.apache.org/xmlgraphics-fop/ExtensionsForPdf Feel free to improve/comment/fix. In FO that would look like this: fo:root xmlns:fo=http://www.w3.org/1999/XSL/Format; fo:layout-master-set

Re: Fop source-resolution

2008-07-10 Thread paul womack
Jeremias Maerki wrote: My suggestion: Use 0.95beta and inline-progression-dimension.maximum=100% content-width=scale-down-to-fit to restrict the images to a maximum size. FOP always uses the image's resolution to determine the intrinsic size. Only if an image has now explicit resolution, the

Re: Editing Text in the Intermediate Format

2008-06-03 Thread paul womack
Martin Edge wrote: Hey Guys, The file definitely is XML parsable.. and it’s output using XmlDocument in c# .NET. XML parseable is a low hurdle! It also needs to represent the correct semantics for FOP... BugBear - To

Re: Generating TIFF G4 files

2008-05-30 Thread paul womack
Jeremias Maerki wrote: On 19.05.2008 17:41:49 paul womack wrote: Platekatel wrote: Hello *, I’m using FOP embedded, to generate PS files for printing, everything works fine. Now I have the new task to create TIFF files. Well, easy to get tiffs with FOP but I have the special requirement

Re: Getting hyphenation to work

2008-05-28 Thread paul womack
Kamal Bhatt wrote: Thanks. Works a treat. One more question, where can I get these hyphenation files for asian languages (such as japanese). I'm far from sure hyphenation is even a valid concept in Japanese. BugBear - To

Re: Handeling tradional orphans.

2008-05-21 Thread paul womack
paul womack wrote: Michael Halpin wrote: I realize that orphans according to fop are the first line of a paragraph at the bottom of a page where the rest of the paragraph breaks onto the next page. I'd call that a widow, a term also used for headings which have lost their body text

Re: Handeling tradional orphans.

2008-05-21 Thread paul womack
Michael Halpin wrote: I realize that orphans according to fop are the first line of a paragraph at the bottom of a page where the rest of the paragraph breaks onto the next page. I'd call that a widow, a term also used for headings which have lost their body text. In traditional editing

Re: tif images appearing distorted in PDFs

2008-05-21 Thread paul womack
Woodhouse, Graeme wrote: Hello all, I'm trying to get tif images working in PDF’s I'm creating – The problem is some of them are coming out with the image height having been resized (by around 50%). Other tif images are being displayed correctly with no incorrect resizing.

Re: tif images appearing distorted in PDFs

2008-05-21 Thread paul womack
Woodhouse, Graeme wrote: How would I find out if the tif that is going wrong has non-squared pixels? xresolution != yresolution. They're independent parameters in the TIFF spec. Try tiffdump. BugBear - To unsubscribe,

Re: Generating TIFF G4 files

2008-05-19 Thread paul womack
Platekatel wrote: Hello *, I’m using FOP embedded, to generate PS files for printing, everything works fine. Now I have the new task to create TIFF files. Well, easy to get tiffs with FOP but I have the special requirement the generated TIIF have to be a TIFF G4. Does anybody know how to

Re: Help Needed in XSL:FO

2008-05-15 Thread paul womack
Rakesh Kumar S wrote: Hi I am using XSL:FO to render PDF documents from XML File. Now i have a requirement where i have to exactly replicate a PDf file for which i dont have the XSL:FO. I had given them a version using my XSL:FO that is close but they want 100%. They are looking for 100%

Re: generating EPSF (with preview)?

2008-05-09 Thread paul womack
Jeremias Maerki wrote: Which is why I wrote closely resembling output. Ah! Damn this English language; one man's closely is another man's not close enough :-) There's no (efficient) way we can do any better with the current design. If it's a problem in your case, you're out of luck, I'm

formatting stricture differing from data structure?

2008-05-09 Thread paul womack
I've succeeded (hearty thanks to all who have helped) in making EPSF files. Preview TIFFS are made using ghostscript (via imagemagick), the fop postscript is turned into EPSF via some viciously unsubtle edits using perl, and the tiff put onto the EPSF with a suitable header via a little more

multiple outputs

2008-05-08 Thread paul womack
If I want a TIFF and a PDF from the same input (xml + xsl), what's my best course? Clearly, running fop from the command line twice would work, but can I get a performance win by converting to an intermediate fo file, then doing a render run? Or even making (and then using) a AT file? Or can I

Re: multiple outputs

2008-05-08 Thread paul womack
Andreas Delmelle wrote: If you would use FOP multiple times in a row, without restarting the JVM, then over a few runs that will save you minutes... The very first run is always a lot slower due to static initialization, class loading etc. Once the VM is warmed up, the average runtime for a

Re: variable size output (pages)?

2008-05-08 Thread paul womack
Andreas Delmelle wrote: On May 6, 2008, at 14:16, paul womack wrote: Hi In effect I want to generate galleys of text, where the formatting width is known, but the depth of the final output is determined by the amount of text formatted, in effect fitting the page to the content. What you

Re: variable size output (pages)?

2008-05-08 Thread paul womack
Andreas Delmelle wrote: I think the problem is that you have to specify the eventual renderer to mimic. Try ../fop -xsl lineage.xsl -xml lineage_eg.xml -at image/tiff lineage.at.xml; Yes; that worked (in the standard sense of did what I wanted!) Thank you very much, for all your help.

variable size output (pages)?

2008-05-06 Thread paul womack
I need to generate output (PDF) where the page size (actually just page depth) varies with the content. In effect I want to generate galleys of text, where the formatting width is known, but the depth of the final output is determined by the amount of text formatted, in effect fitting the page

Re: variable size output (pages)?

2008-05-06 Thread paul womack
Peter Coppens wrote: Can't you use different page masters and select the one that is appropriate using some (XSLT) pre-processing? I'd need an almost infinite range of masters - the line count could vary from 5-350, and even line spacing could vary due to superscripts, subscripts, emboldening

Re: variable size output (pages)?

2008-05-06 Thread paul womack
Peter Coppens wrote: Ic...so there is no way to know what the page size will have to be until the layout has been completed? No, that's rather the heart of my problem. Consider, if you like, a different example. I wish to make rendered images of quotations for placement on a web site. Of

Re: variable size output (pages)?

2008-05-06 Thread paul womack
Andreas Delmelle wrote: On May 6, 2008, at 14:16, paul womack wrote: Hi In effect I want to generate galleys of text, where the formatting width is known, but the depth of the final output is determined by the amount of text formatted, in effect fitting the page to the content. What you