block-container with Attribute overflow=hidden and right-aligned text

2011-04-13 Thread Michael Seeberger
Hi there, i have a problem with the attribute overflow=hidden when using text-align=right. The behaviour is as following: The word 'Instandhaltungsrücklage' is to large to fit in my table-column so FOP should crop the word to, for example, *'Instandhalt'.* But when using text-align=right FOP

Re: block-container with Attribute overflow=hidden and right-aligned text

2011-04-13 Thread Vincent Hennebert
Hi Michael, Provided that your text is meant to fit on one line, you may want to try something like this: fo:block-container width=50pt overflow=hidden border=1pt solid black fo:block text-align-last=justifyfo:leader leader-length.minimum=0

Fop 1.0: resolving relative Font URLs

2011-04-13 Thread u
Hi all, this is a new problem with fop 1.0, it does not occur in fop 0.95. In my application I am setting the base font directory programmatically like so: fopFactory.setFontBaseURL(/my/font/dir); And then I have entries like this in my fop.xconf: lt;font kerning=yes embed-url=myfont.ttf ...

Fop 0.95: Generation of multiple PDFs on a single template

2011-04-13 Thread JOSE L MARTINEZ-AVIAL
Hi, We've been using FOP for a while to generate PDFs. Basicallly we generated a PDF for every one of our customers, so we have developed a procedure to generate a XML file for each customer, and then we generate the PDF invoking FOP with the XML and a templated. That's a long process, since we

Re: Fop 1.0: resolving relative Font URLs

2011-04-13 Thread mehdi houshmand
Hi Ulrich, Have you tried setting the font-base in your fop.xconf? I must admit I haven't used the API much but you can set the font-base by inserting following in the fop.xconf: font-base ** the base directory ** /font-base The configuration page on the fop website may help you,

Re: Fop 1.0: resolving relative Font URLs

2011-04-13 Thread Ulrich Mayring
mehdi houshmand wrote: Hi Ulrich, Have you tried setting the font-base in your fop.xconf? I must admit I haven't used the API much but you can set the font-base by inserting following in the fop.xconf: font-base ** the base directory ** /font-base Hi Mehdi, we have set the font-base

Re: Fop 1.0: resolving relative Font URLs

2011-04-13 Thread Sergiu Dumitriu
On 04/13/2011 02:58 PM, Ulrich Mayring wrote: mehdi houshmand wrote: Hi Ulrich, Have you tried setting the font-base in your fop.xconf? I must admit I haven't used the API much but you can set the font-base by inserting following in the fop.xconf: font-base ** the base directory

Re: Fop 1.0: resolving relative Font URLs

2011-04-13 Thread mehdi houshmand
Hi Ulrich, Have you tried using file URIs for the font-base? This would be in the format file:///path/to/font (for unix), for windows based ones, google will help you, I don't use Windows regularly so I wouldn't want to speculate Mehdi On 13 April 2011 13:58, Ulrich Mayring u...@denic.de

Re: Fop 1.0: resolving relative Font URLs

2011-04-13 Thread Ulrich Mayring
I have tried both suggestions, using a file-url and appending a slash, but to no avail. Please keep in mind that this is a regression, i. e. not I am doing something wrong, but something changed from fop 0.95 to fop 1.0. Take another look at the error message: Failed to resolve font with

Re: Fop 1.0: resolving relative Font URLs

2011-04-13 Thread Pascal Sancho
Hi Ulrich, I have no solution, only questions: - Are the 2 FOP versions run on the same host? - What OS do you experiment? - Have you tried direct access to /path/to/fonts + / + myfont.ttf (either with ls or dir) ? - Does FOP 1.0 load the right fop.xconf file, if any? Le 13/04/2011 16:29,

Re: Fop 1.0: resolving relative Font URLs

2011-04-13 Thread Ulrich Mayring
Pascal Sancho wrote: Hi Ulrich, I have no solution, only questions: - Are the 2 FOP versions run on the same host? - What OS do you experiment? - Have you tried direct access to /path/to/fonts + / + myfont.ttf (either with ls or dir) ? - Does FOP 1.0 load the right fop.xconf

Re: Fop 1.0: resolving relative Font URLs

2011-04-13 Thread Andreas L. Delmelle
On 13 Apr 2011, at 17:33, Ulrich Mayring wrote: Hi Ulrich All I'm doing is replace fop-0.95.jar with fop-1.0.jar and our application ceases to work. Just a thought: it might be that the font-cache has also changed slightly between the two versions. Try adding a line to your code like

Re: Fop 1.0: resolving relative Font URLs

2011-04-13 Thread Terence M. Bandoian
On 4/13/2011 10:54 AM, Andreas L. Delmelle wrote: On 13 Apr 2011, at 17:33, Ulrich Mayring wrote: Hi Ulrich All I'm doing is replace fop-0.95.jar with fop-1.0.jar and our application ceases to work. Just a thought: it might be that the font-cache has also changed slightly between the two

Re: Fop 0.95: Generation of multiple PDFs on a single template

2011-04-13 Thread Andreas L. Delmelle
On 13 Apr 2011, at 13:37, JOSE L MARTINEZ-AVIAL wrote: Hi Jose We've been using FOP for a while to generate PDFs. Basicallly we generated a PDF for every one of our customers, so we have developed a procedure to generate a XML file for each customer, and then we generate the PDF invoking

Re: Fop 0.95: Generation of multiple PDFs on a single template

2011-04-13 Thread Andreas L. Delmelle
On 13 Apr 2011, at 18:51, Andreas L. Delmelle wrote: On 13 Apr 2011, at 13:37, JOSE L MARTINEZ-AVIAL wrote: ... That's a long process, since we need to create the XML and invoke FOP for each customer. snip / As far as I know, you would definitely have to resort to a two-step approach. I

Missing Font for SVG to PDF Output

2011-04-13 Thread Tom Browder
I have been happily using fop 1 (Linux, Ubuntu, x86_64) with my custom fonts for some time and have had no problems using my Linux Libertine and Biolinum fonts (ttf format). Now I have started using svg for equations and am having some problems. First I started getting some mysterious font