Re: Tiff Image conversion in a multithreaded environment

2010-02-16 Thread Jeremias Maerki
Hasan, I've recently fixed a multi-threading problem in the Java2D renderer which is also responsible for creating TIFF images: http://svn.apache.org/viewvc?rev=895012view=rev Please check if FOP Trunk works for you. Good luck! On 12.02.2010 19:13:31 HasanK wrote: Hi, We are using Apache

Re: Does FOP open its configuration file read-write?

2010-02-16 Thread Jeremias Maerki
FOP [1] uses Avalon Framework's DefaultConfigurationBuilder [2] to load config files. This in turn uses the system's default SAXParserFactory. I don't think any of that code would overwrite the config file. Either this is overwritten by a build process somewhere or by your code. After all, there

Re: Watermarks On PDF that contains shading in table rows

2010-02-16 Thread Vincent Hennebert
Hi Dawn, A solution to your problem suddenly came to my mind. In case this is still of interest to you: D Landskroon wrote: Hi, We're creating a PDF that contains a table that uses background shading on the alternate rows. As part of the same PDF we also have to generate a watermark as the

Loading font error with fop

2010-02-16 Thread philippe voncken
Hello, I want loading a font with fop. Font is Parisine Office. I generated xml files with following command: java -cp

Re: SEVERE: Exception java.lang.NullPointerException

2010-02-16 Thread Mathieu Malaterre
Georg, This is incorrect I use xsltproc as a first step for doing the --xinclude step. So the output is exactly what I get running fop directly on the fo file. I do not see any line number referenced. I also used the -d option as indicated by the documentation. $ /usr/bin/xsltproc

AW: SEVERE: Exception java.lang.NullPointerException

2010-02-16 Thread Georg Datterl
Hi Mathieu, Can you shorten the fo file as much as possible and post it? Regards, Georg Datterl -- Kontakt -- Georg Datterl Geneon media solutions gmbh Gutenstetter Straße 8a 90449 Nürnberg HRB Nürnberg: 17193 Geschäftsführer: Yong-Harry Steiert Tel.: 0911/36 78 88 - 26 Fax:

java.lang.NullPointerException: org.apache.fop.layoutmgr.inline.InlineStackingLayoutManager.applyChanges(InlineStackingLayoutManager.java:350)

2010-02-16 Thread Mathieu Malaterre
Could someone please try this example on their setup: $ xsltproc --stringparam fop1.extensions 1 --stringparam ulink.show 0 --xinclude -o out.fo /usr/share/xml/docbook/stylesheet/nwalsh/fo/docbook.xsl ./test.xml $ fop -fo out.fo -pdf out.pdf with test.xml: ?xml version='1.0' encoding='UTF-8'?

Re: java.lang.NullPointerException: org.apache.fop.layoutmgr.inline.InlineStackingLayoutManager.applyChanges(InlineStackingLayoutManager.java:350)

2010-02-16 Thread Mathieu Malaterre
If this helps, I converted it to docbook 5 with the same result: $ cat test5.xml article xmlns=http://docbook.org/ns/docbook; version=5.0 sectioninfotitletitle/title/info para The anchor elementanchor xml:id=example.anchor.1/ is empty and contributes nothing to the flow of the content in which

Re: Loading font error with fop

2010-02-16 Thread Jeremias Maerki
metrics-url and embed-url requires a URL, not a filename. Please note that starting with FOP 0.95 you can omit the metrics-url attribute. The XML font metrics step is no longer required. So, changing /test/ParisineOffice-Regular.ttf to file:/test/ParisineOffice-Regular.ttf should do it. On

fo:block and wrap-option=wrap

2010-02-16 Thread Florian Apolloner
Hi, I already searched the web about this, but I am still not sure if it should work the way I won't it too. If I have a fo:block containing a long (read: no spaces; neither zws or normal ones) text and wrap-option=wrap it should wrap the text before it overflows right? Is this currently not