Re: fop-users@xmlgraphics.apache.org

2015-09-30 Thread Peter Coppens
See http://www.dpawson.co.uk/xsl/sect3/N8703.html http://www.w3.org/1999/XSL/Format;> page I would like to see page XX on

Re: Rendering svg instream foreign object to pdf gives wrong result when svg contains dy on text

2015-04-20 Thread Peter Coppens
in px /Christoffer Den 15-04-2015 kl. 22:14 skrev Peter Coppens: Hello I have a svg that has a text element positioned with a dy attribute. When the svg is displayed in the browser or rendered to a png using batik, the dy is taken into account, but when using fop to render to pdf

Rendering svg instream foreign object to pdf gives wrong result when svg contains dy on text

2015-04-15 Thread Peter Coppens
Hello I have a svg that has a text element positioned with a dy attribute. When the svg is displayed in the browser or rendered to a png using batik, the dy is taken into account, but when using fop to render to pdf it is not. Attached the fo file, the resulting pdf and the png as rendered by

Re: Multi threading problems with FOP 1.0

2011-11-23 Thread Peter Coppens
Hello I have similar things but as far I can remember this was always related to svg as part of an fo stylesheet. I should/could dive into the mail archives (and perhaps) bugzilla to refresh my memory, as I remember there were discussion on this, but perhaps you can indicate whether you are

Re: How to avoid vertical space between blocks containing images

2009-11-08 Thread Peter Coppens
Perhaps you find inspiration in http://www.antennahouse.com/support/qa/QA/2005052701.html Because fo:external-graphic is an inline element, it makes line area. The default height of line area is 1.2em, so you should specify line-height=1 for the block. However, even though line-height=1 is

Re: Fop.next release?

2009-09-22 Thread Peter Coppens
So what can the community do to make this happen? Thanks Peter From: spepp...@leverkruid.eu Reply-To: fop-users@xmlgraphics.apache.org Date: Mon, 21 Sep 2009 18:41:18 +0200 To: fop-users@xmlgraphics.apache.org Subject: Re: Fop.next release? Quoting Peter Coppens pc.subscripti

Fop.next release?

2009-09-21 Thread Peter Coppens
Fop fans, It seems the latest Œofficial¹ fop release ( http://xmlgraphics.apache.org/fop/0.95/changes_0.95.html) is a over a year old I was wondering whether there are any plans to release a newer version. We plan to release a new version of our product and need support for some features

Re: Using a PDF as an Image

2009-08-05 Thread Peter Coppens
You could try starting from http://wiki.apache.org/xmlgraphics-fop/HowTo/EmbeddedPdf?highlight=%28pdf%29 Hth, Peter From: Steffanina, Jeff jeff.steffan...@marriott.com Reply-To: fop-users@xmlgraphics.apache.org Date: Wed, 5 Aug 2009 07:14:53 -0400 To: fop-users@xmlgraphics.apache.org Subject:

Re: URIResolver in combination with filenames with unicode characters fails - Problem in AbstractImageSessionContext#toFile?

2009-07-08 Thread Peter Coppens
Finally checked. The patch solves the issue. Hope this helps and thanks, Peter From: Peter Coppens pc.subscripti...@gmail.com Date: Tue, 07 Jul 2009 04:23:12 +0200 To: fop-users@xmlgraphics.apache.org Conversation: URIResolver in combination with filenames with unicode characters fails

Re: URIResolver in combination with filenames with unicode characters fails - Problem in AbstractImageSessionContext#toFile?

2009-07-06 Thread Peter Coppens
@xmlgraphics.apache.org Subject: Re: URIResolver in combination with filenames with unicode characters fails - Problem in AbstractImageSessionContext#toFile? On 30 Jun 2009, at 12:35, Andreas Delmelle wrote: Hello Peter Just checking the status: On 30 Jun 2009, at 11:10, Peter Coppens wrote

Re: URIResolver in combination with filenames with unicode characters fails - Problem in AbstractImageSessionContext#toFile?

2009-06-30 Thread Peter Coppens
Thanks Andreas. Line nrs in AbstractImageSessionContext do not match with what I see but I am not using trunk. What I found out debugging is that the A9C3 character is escaped as %A9%C3 when the url is contructed but that in the toFile method %A9 and %C3 are interpreted as 2 different

URIResolver in combination with filenames with unicode characters fails - Problem in AbstractImageSessionContext#toFile?

2009-06-27 Thread Peter Coppens
Fop Fans, Attached you will find 2 fo files - http://www.nabble.com/file/p24235918/t1.fo t1.fo - http://www.nabble.com/file/p24235918/t2.fo t2.fo and two image files - http://www.nabble.com/file/p24235918/hexley.png hexley.png -

Re: FOP Encrypted files can not be opened with Mac's Preview?

2009-01-29 Thread Peter Coppens
One tiny remark: is it deliberate that you specify the -u parameter without specifying a password, or is this a typo? If I do that here, the print and copy restrictions are applied, but no password is asked when opening the file. It has the same effect as omitting the '-u' parameter. The idea

FOP Encrypted files can not be opened with Mac's Preview?

2009-01-28 Thread Peter Coppens
Fop fans, We are currently using, on customer request, fop¹s encryption features to disallow e.g. copying of text. Works fine when the pdf is opened in Acrobat but does not work in MacOs¹s Preview (10.5.something) The only thing I can think of is that Preview might have dropped 40bit RC4

Re: FOP Encrypted files can not be opened with Mac's Preview?

2009-01-28 Thread Peter Coppens
From: Andreas Delmelle andreas.delme...@telenet.be Reply-To: fop-users@xmlgraphics.apache.org Date: Thu, 29 Jan 2009 00:12:23 +0100 To: fop-users@xmlgraphics.apache.org Subject: Re: FOP Encrypted files can not be opened with Mac's Preview? On 28 Jan 2009, at 23:31, Peter Coppens wrote: Hi

Re: Scale fop created pages for pdf output

2009-01-14 Thread Peter Coppens
Thanks Jeremias. As always to the point and helpful Jeremias Maerki-2 wrote: This could be done using a similar approach as I've taken with my PDF-in-PDF plug-in for FOP. Each page could be converted to a PDF Form and then painted from a newly set-up page with the new dimensions. That

RE: Scale fop created pages for pdf output

2009-01-14 Thread Peter Coppens
Pascal, Thanks for the tip. It does not seem to do what I want though. If I naievely wrap the content of the page's flow element, which is a sequence of block-container's, in a wrapping block-container fox:transform='scale(0.5)' , the scaling does not seem to be taken into account. Scaling on

Re: SVG positioning problem

2009-01-14 Thread Peter Coppens
I struggled with something similar See http://markmail.org/message/5ppuwom7arnzqjy7 The solution provided was to set font-size=0pt Hope this helps, Peter From: Ulrich Mayring u...@denic.de Reply-To: fop-users@xmlgraphics.apache.org Date: Wed, 14 Jan 2009 19:45:10 +0100 To:

Scale fop created pages for pdf output

2009-01-13 Thread Peter Coppens
Hello, I guess this is somewhat off topic Assume existing code to create an XSL FO. Sometimes I need to render that exact same content (to pdf) but with a different scale One approach is to create a second stylesheet that refers to the originally generated pdf but uses the scaled page

RE: Scale fop created pages for pdf output

2009-01-13 Thread Peter Coppens
at different dimensions, some sort of post processor would be required. Sean -Original Message- From: Peter Coppens [mailto:pc.subscripti...@gmail.com] Sent: Tuesday, January 13, 2009 3:39 PM To: fop-users@xmlgraphics.apache.org Subject: Scale fop created pages for pdf output

Re: PDF Image extension and encryption don't go together?

2008-12-15 Thread Peter Coppens
Thanks. One can also use PDFBox in such a setup. It works in my case and PDFBox is already part of the FOP PDF image extension. That avoids the platform problem and does not introduce another dependency to manage. I just wanted to avoid a two step process. Peter From: Jay Berkenbilt

Re: CYMK

2008-12-05 Thread Peter Coppens
From: Peter Coppens [mailto:[EMAIL PROTECTED] Sent: 05 December 2008 09:01 To: fop-users@xmlgraphics.apache.org Subject: Re: CYMK Don¹t think batik/svg supports cmyk Also see http://markmail.org/message/ogvc4we6n347vjvt?q=batik+cmyk Hth, Peter From: Iain Downs [EMAIL PROTECTED] Reply

PDF Image extension and encryption don't go together?

2008-12-05 Thread Peter Coppens
Fop fans, I have the impression that when using e.g. the -noprint fop command line option while pdf rendering an fo that referers to a pdf as external-graphic, the pdf is either not included or not included correctly. E.g. this fo document reproduces the problem fo:root

Re: [ANN] New release of PDF image support for Apache FOP

2008-12-01 Thread Peter Coppens
Jeremias, We are trying to maintain a 'clean' maven setup to build our own software from. For those dependencies we don't have external maven repo's we try to build from the source. The 'problem' we are currently facing is that it is unclear for us which version of PDFBox the fop-pdf 1.3 build

Re: [ANN] New release of PDF image support for Apache FOP

2008-12-01 Thread Peter Coppens
Thanks. It does help, Peter. From: Jeremias Maerki [EMAIL PROTECTED] Reply-To: fop-users@xmlgraphics.apache.org Date: Mon, 01 Dec 2008 11:45:22 +0100 To: fop-users@xmlgraphics.apache.org Subject: Re: [ANN] New release of PDF image support for Apache FOP On 01.12.2008 11:36:12 Peter

Encryption garbles external link

2008-11-29 Thread Peter Coppens
Dear fop fans, The xsl fo below renders fine to pdf and the link works when processed without encryption options e.g. using the command line fop -fo file.fo -pdf file.pdf But with encryption options the link is garbled fop -noprint -nocopy -fo test.fo -pdf test.pdf When opening in

Re: Encryption garbles external link

2008-11-29 Thread Peter Coppens
Thanks for the prompt feedback. I will try to get my head around the code and see whether I can come up with a possible suggestion for a fix Peter Andreas Delmelle-2 wrote: On 29 Nov 2008, at 13:24, Peter Coppens wrote: Hi Peter snip / But with encryption options the link is garbled

Re: Encryption garbles external link

2008-11-29 Thread Peter Coppens
needs to be encrypted for Acrobat to be happy with it. Perhaps someone has suggestions on what might be wrong in the above Annotation object? Thanks! Peter Peter Coppens wrote: Thanks for the prompt feedback. I will try to get my head around the code and see whether I can come up

Re: Encryption garbles external link

2008-11-29 Thread Peter Coppens
(); } else { return encode(PDFText.escapeText(text, false)); } } Perhaps this can be used as something to start from for a patch for bug 41959 ? Thanks, Peter Peter Coppens wrote: Looks like the uri is not encrypted at all. The code

Re: pdf-image extension - exception when referred page does not exist

2008-11-28 Thread Peter Coppens
it. I've just published a new version. On 27.11.2008 14:57:17 Peter Coppens wrote: Jeremias, Have you ever found the time to make progress on this? Or did I miss the message on the list? Is there anything I can do the help to move this forward? Thanks, Peter From: Jeremias Maerki

Re: pdf-image extension - exception when referred page does not exist

2008-11-27 Thread Peter Coppens
:44 +0200 To: fop-users@xmlgraphics.apache.org Subject: Re: pdf-image extension - exception when referred page does not exist I will take a look at this ASAP. On 01.10.2008 13:47:13 Peter Coppens wrote: Hello, When referring to a page that is not present in the pdf, the pdf-image

Re: pdf-image extension - exception when referred page does not exist

2008-11-27 Thread Peter Coppens
Resending - I have the impression the first attempt did not make it for some reason. Peter From: Peter Coppens [EMAIL PROTECTED] Date: Thu, 27 Nov 2008 14:57:17 +0100 To: fop-users@xmlgraphics.apache.org Conversation: pdf-image extension - exception when referred page does not exist

Re: pdf-image extension problems

2008-10-03 Thread Peter Coppens
of page and I have done a loop. Peter Coppens wrote: Got them. Thanks for that. Unfortunately I run into 'a next' problem. SEVERE: Exception stack tracejava.lang.IndexOutOfBoundsException: Index: 3, Size: 2 at java.util.ArrayList.RangeCheck(ArrayList.java:546

Re: pdf-image extension problems

2008-10-01 Thread Peter Coppens
be worth throwing out a new release ;-) Regards, Max Peter Coppens schrieb: Hello, I am running into the same problem. Any chance I could get the fixed version as well? Many thanks indeed, Peter Frederic W wrote: Thanks a lot to Jeremias and Maximilian. They send me

Re: pdf-image extension problems

2008-10-01 Thread Peter Coppens
Please ignore last stack trace / problem. My mistake. Apologies for the noise. Peter Peter Coppens wrote: Got them. Thanks for that. Unfortunately I run into 'a next' problem. SEVERE: Exception stack tracejava.lang.IndexOutOfBoundsException: Index: 3, Size: 2

pdf-image extension - exception when referred page does not exist

2008-10-01 Thread Peter Coppens
Hello, When referring to a page that is not present in the pdf, the pdf-image extension throws an exception. SEVERE: Exception stack tracejava.lang.IndexOutOfBoundsException: Index: 3, Size: 2 at java.util.ArrayList.RangeCheck(ArrayList.java:546) at

Re: pdf-image extension problems

2008-09-30 Thread Peter Coppens
Hello, I am running into the same problem. Any chance I could get the fixed version as well? Many thanks indeed, Peter Frederic W wrote: Thanks a lot to Jeremias and Maximilian. They send me the development version of pdf-image extension and that works great !! :jumping: Frederic

Re: fop, svg and cmyk colors

2008-09-11 Thread Peter Coppens
Maximilian, For what it is worth I originally started (I think) the cmyk/icc support that is currently in FOP (although I probably has been made more robust by others who are familiar with the fop code). At that time I also had a patch for Batik to support cmyk/icc colors. If I remember

Re: Jpeg with ICC profile appears yellow

2008-06-25 Thread Peter Coppens
Any idea? This might be the same problem I discussed in a private exchange with Jeremias a few weeks back. There is a problem with how color profiles are copied. Conclusion at that time was Apparently the embedded ICC profile in the pdf file that FOP creates is wrong. The last four bytes are

PDF images - IllegalStateException - Error registering a PDFObject: PDFObject already has an object number

2008-06-18 Thread Peter Coppens
Fop fans, Somewhere deep in Œmy¹ web application when rendering a constructed fo I get SEVERE: Exception stack tracejava.lang.IllegalStateException: Error registering a PDFObject: PDFObject already has an object number at

Re: PDF images - IllegalStateException - Error registering a PDFObject: PDFObject already has an object number

2008-06-18 Thread Peter Coppens
Just bumped into the announcement for the 1.2 release of the component which says. - Fixed PDFObject already has an object number error occurring with certain PDFs. I¹ll first upgrade :) Sorry for the noise Peter On 18/06/08 22:30, Peter Coppens [EMAIL PROTECTED] wrote: Fop fans

Re: Making a Large Dictionary

2008-05-18 Thread Peter Coppens
Ted, No idea whether this is practical for your case nor whether it would actually make a difference, but you could try a two step approach First render the 12000 entries to pdf (a 'page' for each entry), then use a second fo stylesheet that refers to the pdf pages as external graphics.

Re: variable size output (pages)?

2008-05-06 Thread Peter Coppens
Can't you use different page masters and select the one that is appropriate using some (XSLT) pre-processing? On 06 May 2008, at 14:16, paul womack wrote: I need to generate output (PDF) where the page size (actually just page depth) varies with the content. In effect I want to generate

Re: variable size output (pages)?

2008-05-06 Thread Peter Coppens
Ic...so there is no way to know what the page size will have to be until the layout has been completed? On 06 May 2008, at 14:25, paul womack wrote: 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

Re: fop throws a javax.xml.transform.TransformerException

2008-04-27 Thread Peter Coppens
You might have missed the reply, or perhaps it was discarded somewhere along the way, but Andreas (Delmelle) did reply See e.g. http://www.nabble.com/fop-throws-a-javax.xml.transform.TransformerException-td16840978.html Copying his reply quote Definitely an issue with the input document.

Re: Problem with rendering PNG images

2008-04-22 Thread Peter Coppens
We have recently reported something similar (it might have been in private to Jeremias...can't remember) and he fixed that problem just this week. It was related to a color profile being truncated (or something like that). Might be the same issue. Perhaps you can try the trunk version of

Re: Problem with rendering PNG images

2008-04-22 Thread Peter Coppens
Apr 2008, at 15:23, Jean-François El Fouly wrote: Peter Coppens a écrit : We have recently reported something similar (it might have been in private to Jeremias...can't remember) and he fixed that problem just this week. It was related to a color profile being truncated (or something like

Re: How to underline a graphic

2008-04-21 Thread Peter Coppens
Perhaps border properties could help you achieve what you want? On 21 Apr 2008, at 15:32, [EMAIL PROTECTED] wrote: Hello, I insert a little graphic in an underlined text but it is not underlined. fo:block text-decoration=underline Text is underlined fo:external-graphic src=logo.png

Re: Fop 0.95beta - svg tif images

2008-04-13 Thread Peter Coppens
Thanks Jeremiasas always, very thorough work/analysis. Is it correct you always used JAI TIFF codec in your measurements and never the xmlgraphics fix you added on Friday. The one that supports tiff without jai at all? If so, any chance at all you could measure the performance of that

Re: Fop 0.95beta - svg tif images

2008-04-13 Thread Peter Coppens
to the JAI codec. On 13.04.2008 10:38:27 Peter Coppens wrote: Thanks Jeremiasas always, very thorough work/analysis. Is it correct you always used JAI TIFF codec in your measurements and never the xmlgraphics fix you added on Friday. The one that supports tiff without jai at all? If so, any chance

Re: images in pdf file

2008-04-13 Thread Peter Coppens
Wrt to the imagepreloader not found, you might want to check http://xmlgraphics.apache.org/fop/0.95/graphics.html To summarize, you will need JAI Image I/O Tools for bmp to be supported as an input format Hth, Peter On 13 Apr 2008, at 00:07, morten wrote: hi I am trying to do a basic

Re: Fop 0.95beta - svg tif images

2008-04-12 Thread Peter Coppens
On 12 Apr 2008, at 13:09, Andreas Delmelle wrote: On Apr 11, 2008, at 23:30, Peter Coppens wrote: Hi Peter I don't like the jai dependancy (don't like native Java libraries) Very rightly so. As demonstrated by this particular case, if one platform lacks native support, it seriously

Re: Fop 0.95beta - svg tif images

2008-04-11 Thread Peter Coppens
On 11 Apr 2008, at 17:48, Andreas Delmelle wrote: On Apr 11, 2008, at 07:18, Peter Coppens wrote: Tried 2 more tiffs (but from the same 'source'). They gave the similar results for relative performance. 1 (0.94) vs 30 (0.95beta) vs 6(0.95beta-jeremias-tiff) Given my non existent

Re: Fop 0.95beta - svg tif images

2008-04-11 Thread Peter Coppens
although the fact that 0.94 is faster than 0.95beta-jeremias-tiff would make that weird. Not really. It would be much weirder IMO if FOP (or any software for that matter) were to offer increased flexibility/functionality/ features without any performance penalty whatsoever. If that

Re: Fop 0.95beta - svg tif images

2008-04-11 Thread Peter Coppens
spent on this) Peter Well...for me On 11 Apr 2008, at 22:59, Andreas Delmelle wrote: On Apr 11, 2008, at 19:26, Andreas Delmelle wrote: On Apr 11, 2008, at 18:20, Peter Coppens wrote: Well, did a very quick test here, and without Jeremias' change, any TIFF that is produced by Preview

Fop 0.95beta - svg tif images

2008-04-10 Thread Peter Coppens
Dearest FOP/Batik fans (I am unclear where to post...sorry), With FOP 0.94/Batik 1.6, the fo/svg fragment listed lower worked ok. I switched to FOP0.95beta (which seems to come with a newer batik version, 1.7) and get SEVERE: SVG ErrorCannot load image (no suitable loader/converter

Re: Fop 0.95beta - svg tif images

2008-04-10 Thread Peter Coppens
-imageio.dev.java.net/ This will add an Image I/O codec for TIFF. The new image loader framework used by FOP doesn't have an implementation for the bundled TIFF codec so it uses Image I/O for TIFF loading. HTH On 10.04.2008 16:06:56 Peter Coppens wrote: Dearest FOP/Batik fans (I am unclear where to post

Re: Fop 0.95beta - svg tif images

2008-04-10 Thread Peter Coppens
You can use the Java-only part of JAI Image I/O Tools. The platform-specific parts are not necessary for TIFF. In the worst case, you can extract the JAR from an installation done on a Windows machine I hope you'll have around. That works...kind of... If I 'time' the pdf rendering of 'the'

Re: Apache FOP: Different Problems with embedding PDFs

2008-04-10 Thread Peter Coppens
5. With the newely versions fop 0.95beta and fop-pdf-images-1.2-bin, I can not ebbed TIFF graphics. There happens the exception (see below *2) in fop. With fop 0.94, the same graphic could be embedded well. See reply of Jeremias in a previous thread quoteThe solution here is simple:

Re: Fop 0.95beta - svg tif images

2008-04-10 Thread Peter Coppens
Now...for the more problematic part - I am on MacOS...anybody any luck getting the 0.95beta fop/batik to work on macos when using tif images? It is unclear from my intial www wanderings what the state of jai on mac os is. I've not really tested TIFF yet, but I do know that JAI is

Re: Fop 0.95beta - svg tif images

2008-04-10 Thread Peter Coppens
On 10 Apr 2008, at 20:47, Andreas Delmelle wrote: On Apr 10, 2008, at 20:09, Peter Coppens wrote: Now...for the more problematic part - I am on MacOS...anybody any luck getting the 0.95beta fop/batik to work on macos when using tif images? It is unclear from my intial www wanderings what

Re: Fop 0.95beta - svg tif images

2008-04-10 Thread Peter Coppens
On 10 Apr 2008, at 22:00, Andreas Delmelle wrote: On Apr 10, 2008, at 21:37, Peter Coppens wrote: On 10 Apr 2008, at 20:47, Andreas Delmelle wrote: Now, I've been looking deeper into my local setup, and IIC, then for Java 1.5, the JAI libraries are already distributed /with/ the install

Re: Fop 0.95beta - svg tif images

2008-04-10 Thread Peter Coppens
On 10 Apr 2008, at 22:11, Andreas Delmelle wrote: On Apr 10, 2008, at 22:00, Andreas Delmelle wrote: No idea why the install would fail on your system, though. Maybe a bug, due to the fact that, as you suggested, the install-package is quite old, and no longer works on more recent

Re: Fop 0.95beta - svg tif images

2008-04-10 Thread Peter Coppens
/fo:block /fo:flow /fo:page-sequence /fo:root On 10 Apr 2008, at 20:54, Andreas Delmelle wrote: On Apr 10, 2008, at 20:01, Peter Coppens wrote: You can use the Java-only part of JAI Image I/O Tools. The platform-specific parts are not necessary for TIFF. In the worst case

Re: Apache FOP: Embedding PDF, EPS

2008-04-07 Thread Peter Coppens
For pdf, checkout http://www.jeremias-maerki.ch/development/fop/index.html For eps, you probably get expected behavior (but I am not sure) - see http://xmlgraphics.apache.org/fop/0.94/graphics.html#eps Hth, Peter On 07 Apr 2008, at 13:00, Oliver Hirschi wrote: Hi there again Is there a

Re: GUI Configuration Tool

2008-03-12 Thread Peter Coppens
FWIW In general and personally I only have 'problems' getting font configuration right. Although latest fop changes have alleviated much of the trouble it still can be a hassle to find out why a certain font is not picked up. I guess 'fop font' configuration (and verification)

Re: Fop layout question

2007-11-23 Thread Peter Coppens
Hello. I have a quick follow up question - in case the fo does not specify the line-height, what would be the default? Thanks, Peter -- View this message in context: http://www.nabble.com/Fop-layout-question-tf4815030.html#a13910009 Sent from the FOP - Users mailing list archive at

Re: Fop layout question

2007-11-16 Thread Peter Coppens
Thanks Jeremias. This is exactly the type of information I was looking for. I will try to work out a few examples of my own the coming days to make sure I understand what is going on. Peter -- View this message in context: http://www.nabble.com/Fop-layout-question-tf4815030.html#a13790353

Fop layout question

2007-11-15 Thread Peter Coppens
Gentlepeople Assume the following fo structure fo:block-container width=600pt top=0pt overflow=hidden left=0.0pt height=280pt absolute-position=fixed fo:block linefeed-treatment=ignore fo:block margin-top=aa text-align=left line-height=bb fo:inline

Re: Fop 0.94 instream svg object regression?

2007-11-08 Thread Peter Coppens
StrangeI tried different jdk's (on Windows) , using fop -fo test.fo -pdf test.pdf always the same broken image result. Any idea what else could be different that is of importance in this context? Thanks, Peter -- View this message in context:

Re: Fop 0.94 instream svg object regression?

2007-11-08 Thread Peter Coppens
Thanks Jeremias URL looks ok...also tested with relative uri's with the same result. And the same test copied in a 0.93 directory seem to work fine. I'll dive into the debugger somewhere in the coming hours/days and will post back with my findings. Thanks, Peter -- View this message in

Re: FOP 0.94 - API access to font directory

2007-10-31 Thread Peter Coppens
Hacking around a bit I ended up parsing the config file as a DOM document, look for the directory element, change it as needed and then instantiate the fop factory using the DOM structure, with this.fopFactory.setUserConfig(ConfigurationUtil.toConfiguration(fDoc.getDocumentElement()));

FOP 0.94 - directory config element and fonts with space in name

2007-10-31 Thread Peter Coppens
Gentlepeople, I have a font file in a directory where the font name is 'Gill Sans MT'. If I use the directory configuration tag to direct fop to find the font, I apparently have to use GillSansMT as font name. I was hoping that 'Gill Sans MT' (quoted name with spaces) would be the thing to use

Re: FOP 0.94 - directory config element and fonts with space in name

2007-10-31 Thread Peter Coppens
Thanks! Peter. Jeremias Maerki-2 wrote: I've stumbled over that myself a few days ago. I've got a fix (registering both GillSansMT and Gill Sans MT). I'll see to it that I can upload this change in the next two days. Jeremias Maerki On 31.10.2007 16:36:52 Peter Coppens wrote

FOP 0.94 - API access to font directory

2007-10-30 Thread Peter Coppens
Dear Fop-fans, Is there a way, using the API to change the font directory as configured in the directory element in the config file. I can find the value somewhere deep in the user configuration object (FopFactory.getUserConfig) and I guess I could change that value, but I am not sure whether

Re: FOP 0.94 - API access to font directory

2007-10-30 Thread Peter Coppens
there is no public API for this. Anyhow, if you really need to make a programmatic customization you might want to take a look at buildFontListFromConfiguration() in src/java/org/apache/fop/render/PrintRendererConfigurator.java. Hope this helps, Adrian. On 30/10/2007, Peter Coppens [EMAIL

RE: (Postscript) transformation of block-container

2007-08-06 Thread Peter Coppens
Give your block-container an id. If you render your document using -at, you get an XML file. Locate the block element that has a prod-id attribute with the id you've given the block-container. There may be more than one. Choose the one that has is-viewport-area=true. There, you'll find an

non uniform scaling and overflow warning

2007-06-09 Thread Peter Coppens
Gentlepeople, I am struggling to find the correct fo code to fill a fixed size region with an image. Scaling should non uniform if needed. e.g. fo:root xmlns:fo=http://www.w3.org/1999/XSL/Format; fo:layout-master-set fo:simple-page-master master-name=New Page

(Postscript) transformation of block-container

2007-04-23 Thread Peter Coppens
Gentlepeople, Does anyone know how I could apply a postscript transformation on the content of a block-container. What I currently do is render the container content to png and then use svg to do the transformation. I would however like to keep the content as text and have not found a way to