Re: problem with external-graphics

2006-01-26 Thread jelka . kosir
There was a note that said that GIF is not supported quote: RTF output currently doesn't support GIF images. Please convert them to PNG. This was a answer sent by Jeremias Maerki Subject: Re: problem with FOP 0.9 and fo:external-graphics yesterday Maybe png does not work either ?? Jelka

Re: problem with external-graphics

2006-01-26 Thread [EMAIL PROTECTED]
I used png but creating RTF and including that image in the header does not work. The same fo file work for creating pdf... I post you part of fo file: fo:layout-master-set fo:simple-page-master margin-bottom=0pt margin-left=56.7pt margin-right=56.7pt master-reference=pm0

Re:Nested table in fop-0.91beta

2006-01-26 Thread [EMAIL PROTECTED]
with fop 0.9 is not possible nesting tables -- Initial Header --- From : Jose Lobato [EMAIL PROTECTED] To : fop-users@xmlgraphics.apache.org Cc : Date : Thu, 26 Jan 2006 12:12:55 +0100 Subject : Nested table in fop-0.91beta Hi, I produce

RE: Nested table in fop-0.91beta

2006-01-26 Thread Jose Lobato
Well, actually it works. it is just a glitch in the display (see screenshots). Why is it not possible? Regards, José -Mensaje original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Enviado el: jueves, 26 de enero de 2006 12:16 Para: fop-users Asunto: Re:Nested table in fop-0.91beta

RE: Nested table in fop-0.91beta

2006-01-26 Thread [EMAIL PROTECTED]
I can say you just that.I had the same graphic problem with nested tables and in this mailing list they told me that for creating rtf with fop 0.9 there is still some bugs. -- Initial Header --- From : Jose Lobato [EMAIL PROTECTED] To :

Re: FOP Postscript layout portrait, should be landscape

2006-01-26 Thread Chris Bowditch
Ian Chris wrote: Thanks for the help, What we have done in this instance is by using some other java code and another product to read the PDF and make that into a PS stream that is sent to the printer. The reason for doing this is so we don't have to run the FOP process twice, i.e. once for

Cannot find fonts while printing(MIME_FOP_PRINT)

2006-01-26 Thread Andy Liddle
Hello, Im developing a printing sub system for our application server and I would like to use fop to print in java but I need to use specific fonts (i.e. barcodes etc). I think the fonts are specified correctly in the config file as it works great when outputting to a PDF file;

Re: Nested table in fop-0.91beta

2006-01-26 Thread Jeremias Maerki
FOP currently doesn't handle every aspect of table layout correctly, yet. In your case, that table takes up the whole width (you didn't specify an explicit table width). If you want to make that go away, specify the width property on the outer fo:table until this problem is fixed. On 26.01.2006

Re: Nested table in fop-0.91beta

2006-01-26 Thread Jeremias Maerki
Please don't mix the capabilities of the layout engine (PDF, PS, Java2D etc.) with the capabilities of the handlers for flow oriented formats like RTF. The RTF support is not as advanced as that of the layout engine and these parts have to be looked at separately. It's not the same code. On

Re: Cannot find fonts while printing(MIME_FOP_PRINT)

2006-01-26 Thread Jeremias Maerki
As is described in [1] the PostScript Renderer does not support TrueType fonts, yet, only Type 1 fonts. Furthermore, specifying a font setup for MIME type application/X-fop-print (Printing through AWT) does not have any effect. Just install the barcode font in your operating system and it should

NullPointerExceptions

2006-01-26 Thread Steve Roy
Hello, I find I am only presented with NullPointerExceptions from FOP when there is some type of problem with the rendering. I haven't noticed any info on turning on verbose logging or something of the sort. Any suggestions on troubleshooting problems with the source xml or xslt? As an

Re: NullPointerExceptions

2006-01-26 Thread Jeremias Maerki
Information about configuring the logging backend can be found in [1]. Mostly we defer to the Jakarta Commons Logging documentation for that. If you work with JDK 1.4 and later JCL logs to the Java Logging API by default. [1] http://xmlgraphics.apache.org/fop/0.91/embedding.html#basic-logging In

anyone knows anything about jasperReport?

2006-01-26 Thread [EMAIL PROTECTED]
exists an user friendly IDE for creating fo file and creating RTF and PDF ? I mean i know about IReport and jasperReport but are quite new release?! anyone knows when they born? - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: Cannot find fonts while printing(MIME_FOP_PRINT)

2006-01-26 Thread Jeremias Maerki
I had to realize that what I wrote here is wrong. The whole font configuration code for the Java2D/AWT/Print/bitmap renderers didn't survive the redesign. It'll have to be rewritten first. I told Andy off-line to stick to the PDF and PS renderers for the time being. On 26.01.2006 13:57:50

Re: problem with external-graphics

2006-01-26 Thread Jeremias Maerki
On 26.01.2006 15:52:44 [EMAIL PROTECTED] wrote: I wrote what I got: ERROR org.apache.fop.render.rtf.RTFHandler - image: null but I repeat with the same fo file i can create pdf and including the same image (png image). Weird. Then it must be something else. Let's talk again when you're

Re: problem with external-graphics

2006-01-26 Thread [EMAIL PROTECTED]
I wrote what I got: ERROR org.apache.fop.render.rtf.RTFHandler - image: null but I repeat with the same fo file i can create pdf and including the same image (png image).Where can i find the latest FOP Trunk? -- Initial Header --- From : Jeremias Maerki [EMAIL

How to create a list in FO?

2006-01-26 Thread Daniele
Hi to all, How can I create this list in FO?Start List First element first deep element secondo deep element third deep elemente Second element End List in html is simple to do it, I want to know how can I create this in fo. thanks,Daniele

Re: problem with external-graphics

2006-01-26 Thread Jeremias Maerki
You need to install Subversion (or a Subversion client like TortoiseSVN) and download the sources as described in [1] which is linked to by the earlier URL. [1] http://xmlgraphics.apache.org/fop/dev/tools.html#svn On 26.01.2006 16:24:35 [EMAIL PROTECTED] wrote: I'm sorry bu i'm not so expert of

how to embed a font programatically

2006-01-26 Thread Stefan Burkard
hi fop-users i know i can use a custom font by building an xml-file with it's kerning-values and configuring a font definition in the user-config-file. but how can i include the font programatically? i don't like to have a user-config-file at all. i found examples to set the font-directory

Re: how to embed a font programatically

2006-01-26 Thread Jeremias Maerki
Looking at the source code, you'd need to do the following: - Subclass the Renderer implementation (ex. PDFRenderer) so you gain access to the protected fontList member variable. - Fill the fontList variable much like FontSetup.buildFontListFromConfiguration() does. This code will need to run

Re: How to create a list in FO?

2006-01-26 Thread Jay Bryant
Hi, Daniele, It's not that different in FO, except that FO is much more verbose. Here's that list in FO: fo:list-block fo:list-item fo:list-item-label1./fo:list-item-label fo:list-item-bodyFirst element fo:list-block fo:list-item fo:list-item-label1./fo:list-item-label

Re: how to embed a font programatically

2006-01-26 Thread Uwe Klosa
Hi Stefan I'm using my own fonts and the userconfig file. All fonts, metrics and configuration are stored in my web application. The bug with the base URL is solved in svn trunk. The application works just fine. Unfortunately I can't help you with with the configuration of fonts. Cheers Uwe

Re: How to create a list in FO?

2006-01-26 Thread Fabrizio Caldas
Hi Daniele, Here's an example of what I do to render a list. I took this right off the xsl-fo I'm currently using, so this is working. The catch here is that I'm not sure how many items will be on the list. So I coded accordingly. !-- === -- !-- child element:

Re: NullPointerExceptions

2006-01-26 Thread Steve Roy
Hi, Thanks for the help Jeremias. Command line worked fine. The problems seems to occur when running embedded when the same FOP instance is called repeatedly for the multiple pdf generations. Is there some kind of reset method that needs to be called on FOP? We debugged and pdfDoc was

Re: How to create a list in FO?

2006-01-26 Thread Andreas L Delmelle
On Jan 26, 2006, at 19:39, Fabrizio Caldas wrote: Hi all, As a very powerful alternative, you can also use xsl:number for this: xsl:template match=recommendItems fo:list-block provisional-label-separation=0.5cm provisional-distance-between-starts=1cm space-after=12pt start-indent=1cm

Re: NullPointerExceptions

2006-01-26 Thread Jeremias Maerki
The Fop instance (unlike the Driver class in 0.20.5) is not supposed to be reused. We will later add an environment class which will encapsulate all the reusable parts of Fop as part of future optimization work. I guess we should add a safe-guard that one-use components like the FOTreeBuilder