Re: Help needed for allowing spaces in PDF O/P using fop-0.91beta version

2006-02-20 Thread Jeremias Maerki
Nitin Shrivastava does not appear to be on the list so I put the mail address in the CC. In addition to Manuel's reply I want to add something to the question further down: If you want to have an image appear in a box of a certain size, use this pattern: On 20.02.2006 12:54:30 Manuel Mall wrot

Re how to embed a font programatically

2006-02-20 Thread Karl Roberts
Hi, Did you ever manage to do this? I need to do something similar because my embedded FOP is running in a Webapp and the font metric file and the TTF file are hidden inside the WEB-INF directory and so the metric-url and embed-url in my fop-config is no good (even if they were accessible via a UR

Re: Fop 0.91beta and fonts

2006-02-20 Thread Jason R Briggs
Doh!! Beginners stuff. Should've seen that one myself. Thanks very much Jeremias. J Jeremias Maerki wrote: Problem solved. :-) You sent me your Java code and here's what I found: public class Builder { private FOUserAgent userAgent; public Builder() throws Except

Re: Fop 0.91beta and fonts

2006-02-20 Thread Jeremias Maerki
Problem solved. :-) You sent me your Java code and here's what I found: > public class Builder { > > private FOUserAgent userAgent; > > public Builder() throws Exception { > File f = new File("."); > > DefaultConfigurationBuilder cfgBuilder =

Re: Fop 0.91beta and fonts

2006-02-20 Thread Jason R Briggs
Seems as if the font configuration isn't active then. I set the url in the font configuration to: file://blah/6999e.xml and also tried a completed invalid filename, with no new error messages output. Jeremias Maerki wrote: That's why I asked for other error messages. I think if it can't f

Re: Fop 0.91beta and fonts

2006-02-20 Thread Jeremias Maerki
That's why I asked for other error messages. I think if it can't find the TTF file it tells you. That's why I think that FOP doesn't know about the fonts at all. Remains the question whether the configuration is really active. Jason, try messing up one of the URLs in the font configuration. If noth

Re: Fop 0.91beta and fonts

2006-02-20 Thread Jason R Briggs
Tried that just after I sent the original message. No luck with both set, or either/or. Andreas L Delmelle wrote: On Feb 20, 2006, at 21:10, Jason R Briggs wrote: Hi People, Just a sanity check... url="6999e.TTF"> weight="normal" /> url="69ec

Re: Fop 0.91beta and fonts

2006-02-20 Thread Andreas L Delmelle
On Feb 20, 2006, at 21:10, Jason R Briggs wrote: Hi People, Just a sanity check... url="6999e.TTF"> weight="normal" /> url="69ec6.TTF"> weight="bold" /> ... I've checked out and built the latest trunk from subversion a

Re: Fop 0.91beta and fonts

2006-02-20 Thread Jeremias Maerki
Please send me a simple FO file showing the problem along with your configuration file (but without the fonts) off-line to my mail address. I'll try to reproduce the problem. As long as I can't reproduce it it doesn't help to log a Bugzilla entry. On 20.02.2006 22:18:58 Jason R Briggs wrote: > Yes

Re: Fop 0.91beta and fonts

2006-02-20 Thread Jason R Briggs
Yes, generating PDF (sorry should've confirmed that before). I can't see anything out-of-place myself -- and I've gone through it a couple of times. Is this something I should be lodging in Bugzilla? J Jeremias Maerki wrote: Hmm, ok, let's try a different question: Are you really generating

Re: Fop 0.91beta and fonts

2006-02-20 Thread Jeremias Maerki
Hmm, ok, let's try a different question: Are you really generating PDF? If you render anything other than PDF the font configuration won't apply to it. If, for example, you render to PostScript you'll have to replicate the font configuration under the entry with "application/postscript". I don't t

Re: RTF and table/column widths

2006-02-20 Thread Jeremias Maerki
Hey, we certainly don't mind if you look at the sources. On the contrary, we encourage people to look at it and to send in patches that help improve FOP. We're certainly reviewing the stuff that comes in. If you need any help to get started, just ask. The code-/design-level documentation may not be

Re: putting an svg element into an fo document

2006-02-20 Thread Tracey Zellmann
Well, thanks again to both Paul T. and Mike F. I do have the xslt working satisfactorily now. Not sure I could explain to a board of examiners how I got the namespaces to work, but enough for now. I have it all running automatically, so I can concentrate on the actual formatting, rather than m

Re: footnote in list-block not working

2006-02-20 Thread J.Pietschmann
Sven wrote: Last question: Is wrapping footnotes (so some lines appear on the next page) corrent behaviour? That's certainly ok unless you have a keep-together='always' on the footnote body (which might make FOP unhappy). J.Pietschmann

RTF and table/column widths

2006-02-20 Thread b . ohnsorg
Hi there, besides the stats my second mail and special offer. I really like that RTF-thingy and it's quite sophisticated documents. My RTF-XSLs were not that neat. I've hacked some workaround for the proportional widths coming from docbook transformations, but this is not really a good sollutio

Re: Fop 0.91beta and fonts

2006-02-20 Thread Jason R Briggs
Hi Jeremias Thanks for your reply. There are no other errors in the logs related to fonts. The reason I posted only part of the fop.xconf is that I used the example included in the conf directory of the fop distribution (with the only additions being my 2 fonts). The full conf (minus comment

Re: Re: fop beta performance

2006-02-20 Thread b . ohnsorg
Hi there, first mail from me from Germany, right now I'm quite busy. Here're some first stats: realusersys 0m21.679s 0m3.503s0m0.250s 0m33.323s 0m3.467s0m0.266s 0m24.552s 0m3.468s0m0.256s 0m23.106s 0m3.627s

Re: putting an svg element into an fo document

2006-02-20 Thread Mike Ferrando
Paul T., Well, I agree that starting with Michael Kay's XSLT book (1.0 first edition) is overwhelming for a beginner, but that is how I started. One thing I liked about the book was the structure. I tend to learn things systematically and that really worked for me. But for most I can agree that i

Re: putting an svg element into an fo document

2006-02-20 Thread Mike Ferrando
Tracy Z., It looks like you need to use namespace and element prefix in your xslt. > also If you add these you should get your svg elements to transform in your xslt templates. Mike Ferrando Library Technician Library of Congress Washington, DC 202-707-4454 --- Tracey Zellmann <[EMAIL PROT

Re: putting an svg element into an fo document

2006-02-20 Thread Paul Tremblay
On Mon, Feb 20, 2006 at 12:43:06PM -0500, Tracey Zellmann wrote: > > Thanks. Your example contained a golden nugget of advice. I see that you > included the svg namespace, as well as using svg:svg. I had only used an > unqualified svg. I have experimented with that and got some very > encouragi

Re: footnote in list-block not working

2006-02-20 Thread Jeremias Maerki
On 20.02.2006 19:22:27 Sven wrote: > Hi, > I discovered a strange behaviour of FOP when using footnotes in a > list-block. The footnote in the list-block is not rendered at the bottom > of the page, while the the hint number in the normal text appears as > expected. I habe attached a simple exa

Re: "conditionality", leaders and page break

2006-02-20 Thread Jeremias Maerki
If there's an exception (=error) the partial file will be deleted. If there are only warnings a "good" PDF will be produced but it may not fully up to your expectations. On 20.02.2006 19:28:43 Olivier wrote: > Jeremias Maerki jeremias-maerki.ch> writes: > > > > > I don't think it's possible to

Re: "conditionality", leaders and page break

2006-02-20 Thread Olivier
Jeremias Maerki jeremias-maerki.ch> writes: > > I don't think it's possible to do that in XSL-FO. If you could place the > text to be repeated on the next page in a static-content you could use > marker/retrieve-marker. But since you want this to appear in the first > normal content line on a pa

footnote in list-block not working

2006-02-20 Thread Sven
Hi, I discovered a strange behaviour of FOP when using footnotes in a list-block. The footnote in the list-block is not rendered at the bottom of the page, while the the hint number in the normal text appears as expected. I habe attached a simple example. Last question: Is wrapping footnotes

Re: "conditionality", leaders and page break

2006-02-20 Thread Olivier
Jeremias Maerki jeremias-maerki.ch> writes: > > I don't think it's possible to do that in XSL-FO. If you could place the > text to be repeated on the next page in a static-content you could use > marker/retrieve-marker. But since you want this to appear in the first > normal content line on a pa

Re: ApacheCon EU 2006

2006-02-20 Thread Clay Leeds
A couple of ideas: - Beginning FOP - Beginning Batik - How to add PDF/RTF/PS/etc. output to your web site/system On Feb 17, 2006, at 12:46 PM, Jeremias Maerki wrote: I've just seen the news that the ApacheCon EU 2006 will be held in Dublin, Ireland, June 26-30. I'm planning to go there and maybe

Re: putting an svg element into an fo document

2006-02-20 Thread Tracey Zellmann
Thanks. Your example contained a golden nugget of advice. I see that you included the svg namespace, as well as using svg:svg. I had only used an unqualified svg. I have experimented with that and got some very encouraging results. I did a bunch of XSLT and XPATH work last year, but I am a lit

Re: putting an svg element into an fo document

2006-02-20 Thread Paul Tremblay
On Mon, Feb 20, 2006 at 10:14:06AM -0500, Tracey Zellmann wrote: > From: Tracey Zellmann <[EMAIL PROTECTED]> > To: fop-users@xmlgraphics.apache.org > Date: Mon, 20 Feb 2006 10:14:06 -0500 > Subject: Re: putting an svg element into an fo document > > Ok. I think I should make a smaller example, sin

Re: putting an svg element into an fo document

2006-02-20 Thread Paul Tremblay
On Mon, Feb 20, 2006 at 08:32:18AM -0500, Tracey Zellmann wrote: > From: Tracey Zellmann <[EMAIL PROTECTED]> > To: fop-users@xmlgraphics.apache.org > I have been trying to do this programmatically with XSLT, without success, > and I would appreciate any help or advice. > > I have tried > >

Re: putting an svg element into an fo document

2006-02-20 Thread Tracey Zellmann
Ok. I think I should make a smaller example, since the current document is quite large. I will work on that during the day, and send it along. Separately, if anyone could give me a pointer to best know practices, or a working example that is similar to my case, that might also help. Basicall

Re: verdana

2006-02-20 Thread Chris Bowditch
Jimmy Dixon wrote: What do I need to do to use the verdana font with fop? You need to generate some font metrics and register the Font in FOP's configuration file. The exact details of how this is done varies depending on what version of FOP you are using. For 0.20.5, see: http://xmlgraph

Re: verdana

2006-02-20 Thread Jeremias Maerki
Please read the documentation on fonts: FOP 0.20.5: http://xmlgraphics.apache.org/fop/0.20.5/fonts.html FOP 0.91beta: http://xmlgraphics.apache.org/fop/0.91/fonts.html Basic steps: - Create XML font metrics file using TTFReader. - Add a config entry that registers the metrics file and the TTF. O

Re: "conditionality", leaders and page break

2006-02-20 Thread Jeremias Maerki
I don't think it's possible to do that in XSL-FO. If you could place the text to be repeated on the next page in a static-content you could use marker/retrieve-marker. But since you want this to appear in the first normal content line on a page together with normal content, I think you're out of lu

RE: putting an svg element into an fo document

2006-02-20 Thread cknell
You have shown what you expect to appear in the XSL-FO document, but not what actually does appear there. Consequently, it's hard to say where you are going wrong. With what information you have supplied, the second construction (the one using "copy-of") appears to be the correct one. Show what

verdana

2006-02-20 Thread Jimmy Dixon
What do I need to do to use the verdana font with fop? cheers. Jimmy. -- Jimmy Dixon, Perfiliate Technologies email : [EMAIL PROTECTED] phone : +44 (0)191 241 6500 Registered Office: Perfiliat

"conditionality", leaders and page break

2006-02-20 Thread Olivier
Hi, my text bla bla my text bli bli my other text blo blo give : my text... bla bla my text... bli bli my other text. blo blo Now, i would like to not "print" a block content's if the precedent (same column, row before) is the same, and fill the block only with

putting an svg element into an fo document

2006-02-20 Thread Tracey Zellmann
My problem may overlap FOP, XSLT, SVG and XPATH, but I would like to start here, because I am basically having a problem creating a PDF using FOP. If anyone thinks I should better ask another forum, please point me in that direction.   I have an xml document that contains a number of svg ele

RE: convert from XSL-FO to MSWORD

2006-02-20 Thread Mohamed, Amgad
I found this style sheet http://fo2wordml.sourceforge.net/ which convert xsl-fo documents into WordML this succeeded with text but when there is graphics the images are omitted in addition to that not all the colors are mapped ,does any one know any reliable style sheet to convert from xsl-fo to

Re: Help needed for allowing spaces in PDF O/P using fop-0.91beta version

2006-02-20 Thread Manuel Mall
The white space handling for linefeed-treatment="preserve" is currently not correct for fop trunk. Leading spaces are incorrectly deleted. Manuel On Monday 20 February 2006 19:17, [EMAIL PROTECTED] wrote: > Regards, > Nitin Shrivastava > POLARIS SOFTWARE LAB Ltd. > Indiana Business Center > +91-

Help needed for allowing spaces in PDF O/P using fop-0.91beta version

2006-02-20 Thread nitin . shrivastava
Regards, Nitin Shrivastava POLARIS SOFTWARE LAB Ltd. Indiana Business Center +91-22-56482255 - "LUCK is what happens when PREPARATION meets OPPORTUNITY" - Forwarded by nitin.shrivast

Re: fop beta performance

2006-02-20 Thread Jeremias Maerki
Find out for us! :-) I did some tests a few months ago and back then the new code was indeed a little faster. In the meantime, new features have found their way in and the situation may look differently. Note also, that there has been no performance optimization work in the layout engine, yet, like

fop beta performance

2006-02-20 Thread Jimmy Dixon
Is the new FOP beta any faster than the previous release? Cheers. Jimmy. -- Jimmy Dixon, Perfiliate Technologies email : [EMAIL PROTECTED] phone : +44 (0)191 241 6500 Registered Office: Perfil

Re: problems with printing: fop-0.91

2006-02-20 Thread Jeremias Maerki
I've entered a new Bugzilla entry so this doesn't get lost: http://issues.apache.org/bugzilla/show_bug.cgi?id=38714 On 20.02.2006 10:17:05 Jeremias Maerki wrote: > I finally had a chance to look at this. Turns out that it works fine if > you print directly, for example, using "-print" from the com

Re: problems with printing: fop-0.91

2006-02-20 Thread Jeremias Maerki
I finally had a chance to look at this. Turns out that it works fine if you print directly, for example, using "-print" from the command-line. If you print from the preview dialog, however, the page size is not correct and therefore content gets swallowed. We'll have to find out why the Preview win