Re: FOP - Initial SAX Parser setup

2010-07-06 Thread MazZzta
Thanks Craig, that was really helpful, and sorry for misplacing this post. Regards. On Mon, Jul 5, 2010 at 2:45 PM, Craig Ringer cr...@postnewspapers.com.au wrote: On 5/07/2010 7:25 PM, MazZzta wrote: Hi all, I am working on a transformation via XSLT from (x)HTML to PDF output. I'm aware

Re: can anyone help me convert ttf font to xml font

2010-07-06 Thread Chris Bowditch
ploypyrin wrote: * I want to use thai language in fo report to export to pdf but i cant Please don't post badly formatted HTML e-mails to the mailing list. Thank you! snip/ java.lang.ClassLoader.loadClass(Unknown Source) or anyone can convert and want to help pls give me ur email i wil

Re: keep-with-previous and page break

2010-07-06 Thread Chris Bowditch
Dominik Stadler wrote: Hi, Hi Dominik, I am creating automated PDF documents using FOP 0.95. I tried to use keep-with-previous=“always“ to keep related content near each other when rendering multi-page documents. FOP renders as much related content as possible, but does not

RE: FOP trunk error message when run from ant

2010-07-06 Thread Eric Douglas
Chris, It seems to me the entire project is subject to change. In fact going from version 0.20 to 0.95 practically everything changed. Going from 0.95 to the Trunk, the EmbedFontInfo class changed. Though it seems you're suggesting no one should ever reference that class, the jar requirements

Too many opened files with FOP in multithread

2010-07-06 Thread shucoshuco
Hi everybody. I have found the next issue working with FOP 0.94: I have a multithread console application which starts 16 different threads. All those threads are using FOP to generate a huge number of PDF files. After a few seconds running, an exception is raised because there are too many

RE: FOP trunk error message when run from ant

2010-07-06 Thread Mario Madunic
Was able to find out what was causing the data-destination idref error. Once I commented out the below in my bookmark creation template the error message disappeared and was able to see my output PDF. fo:bookmark external-destination=http://www.google.com; fo:bookmark-titleTo

Problems with SVG display as background to region-body (FOP-Trunk)

2010-07-06 Thread Mario Madunic
I have the following as a child of simple-page-master fo:region-body region-name=sectionBody_Section background-image=url(file:graphics/partsTable_4ColBG.svg) background-repeat=no-repeat margin-top={$g_MarginTop} margin-bottom={$g_MarginBottom} margin-right={$g_MarginInside}

RE: Problems with SVG display as background to region-body (FOP-Trunk)

2010-07-06 Thread Eric Douglas
My SVG images appear find, using 0.95 and the Trunk, but I haven't tried background images. I'm drawing the SVG within instream-foreign-object. From: Mario Madunic [mailto:mario_madu...@newflyer.com] Sent: Tuesday, July 06, 2010 9:00 AM To:

Trunk link bug involving a leader?

2010-07-06 Thread Mario Madunic
Seems that when I create a link to an internal resource like below. This type of link is the vast majority of links within out document; part names and part number indexes, all look-aheads (I think that is the right terminology). fo:block font-family=Arial font-size=8pt font-weight=normal

RE: Problems with SVG display as background to region-body (FOP-Trunk)

2010-07-06 Thread Mario Madunic
Eric, I'm using external-graphic for all non-background images to keep the file size down. I have the FO file down to around 20 megs from whopping 250 megs. I also remove all the xsl:comments / I place in the output, this saves another 20 megs. They are used to inform me where the various

Combining FOP with multiple transformations

2010-07-06 Thread Cedric Staub
Hello everyone I ran into some problems with FOP today, and the documentation wasn't able to help me solve them. I am trying to apply multiple transformers to an XML file before handing it over to FOP in order to generate a PDF, but I keep running into exceptions. I am using version 0.95. My

RE: Problems with SVG display as background to region-body (FOP-Trunk)

2010-07-06 Thread Mario Madunic
I'm mystified as to why 0.94 has no problem with external-graphic (and in my case SVGs) and using SVGS as background and the trunk does. You must of misunderstood me, the FO file is down to 20megs, the PDF with all SVGs, linking, and such is around 70megs. There are 500+ full page SVGS and

RE: Problems with SVG display as background to region-body (FOP-Trunk)

2010-07-06 Thread Eric Douglas
I haven't gotten anything but blanks for external-graphic because it keeps saying it can't find the file. I haven't researched yet why, if there's a problem with FOP or just a problem with the format of my link to the file. I haven't tested 0.94, only 0.95 and Trunk. I don't know if there is a

RE: How to Get Borders to Work

2010-07-06 Thread Amick, Eric
The standard has width defaulting to medium and style to none; it leaves the color up to the user agent. You could have FOP default color to black, I suppose, but some user will inevitably run into problems when porting the stuff to another FO processor. Eric Amick Systems Engineer II

RE: Combining FOP with multiple transformations

2010-07-06 Thread Eric Douglas
This sounds similar to what I'm doing. Though I only use the one transformer, I would guess it could be applied to another transformer since the output is in the ByteArrayOutputStream. Why would you need to do a setResult? I just create and transform. The ByteArrayOutputStream is populated

RE: Problems with SVG display as background to region-body (FOP-Trunk)

2010-07-06 Thread Mario Madunic
Read the graphics.html for FOP and it doesn't say how to construct a link to an SVG that works. It does say that there were changes with 0.95+. Ran the build.xml in the trunkdir/examples/fo to see the external.fo example. The SVGs did not appear in the final PDF tests/external.pdf also. Well

Re: How to Get Borders to Work

2010-07-06 Thread Tom Browder
On Tue, Jul 6, 2010 at 09:47, Amick, Eric eric.am...@mail.house.gov wrote: The standard has width defaulting to medium and style to none; it leaves the color up to the user agent. You could have FOP default color to black, I suppose, but some user will inevitably run into problems when porting

Re: Problems with SVG display as background to region-body (FOP-Trunk)

2010-07-06 Thread Tom Browder
I'm not sure if this would help, but I've been able to use the trunk and an external svg file like this: fo:instream-foreign-object content-width='1.5in' content-height='auto' text-align='center' xi:include href=images/value-xhairs-only.svg/!-- relative svg file name --