RE: NPE IN SingleByteFont.hasChar when using IDAutomationC39S font

2006-11-29 Thread Peter
Jeremias, That gets me a little further. Fop now says SEVERE: file:///c:/temp/lala.fo:9:42: No conversion defined 40; property:'height' A PDF is however created and when I open it, Acrobat Reader complains PDF with "The font 'IDAutomationC39S' contains bad /Flags." A document is however opened

Re: NPE IN SingleByteFont.hasChar when using IDAutomationC39S font

2006-11-29 Thread Jeremias Maerki
The problem is the "UnknownEncoding" in the XML. FOP did not recognize the encoding and can't handle a font like that. I'm sure it can be made to work with some coding but right now, the only thing you can try is to replace "UnknownEncoding" with "StandardEncoding" and check if it works. Otherwise,

page breaks

2006-11-29 Thread Shubhrata Tewari
Hi, I am iterating over a list of tables and I want each table to appear on a a new page.I have set the break-after="page" in the fo:block, but this is creating an unnecessary page at the end of the last element. Is there any way to add a page break without introducing an extra page before or a

RE: NPE IN SingleByteFont.hasChar when using IDAutomationC39S font

2006-11-29 Thread Peter
Thanks for the reply, I started from a Type1 font for which, I have the impression, the -enc ansi option is not supported/relevant. Attached the metrics file. All guidance where to look is appreciated, Thanks, Peter > -Original Message- > From: J.Pietschmann [mailto:[EMAIL PROTECTED]

Re: NPE IN SingleByteFont.hasChar when using IDAutomationC39S font

2006-11-29 Thread J.Pietschmann
Peter wrote: I am trying to use a Barcode font (IDAutomationC39S) and I am getting an NPE with the following trace listed lower. Barcode fonts are tricky, because barcode glyphs are not separate unicode glyphs. It seems that the encoding for your font is unknown. Try to generate the font metri

NPE IN SingleByteFont.hasChar when using IDAutomationC39S font

2006-11-29 Thread Peter
Gentlepeople, I am trying to use a Barcode font (IDAutomationC39S) and I am getting an NPE with the following trace listed lower. Before I dive into the debugger and try to find out what is going on, has anyone any idea whether a barcode font is supposed to work and/or what could be wrong. The

Re: Re: Hyphenation problems with source code like text

2006-11-29 Thread Cornelius Hald
Thanks for the tips from both of you! I think I will try making a xslt to insert the zero width whitespaces as this gives me the same effect as hyphenation and seems to be more mature (at least for my use case). Thanks again and have a good day! Conny On Tuesday 28 November 2006 21:12, Corn

RE: Czech language support

2006-11-29 Thread ram . reddy
Thank you very much Pascal . It is working now. I removed other attributes and kept font family, font style , font weight. then it is working fine. Ram |-+---> | | "Pascal SANCHO" | | | <[EMAIL PROTECTED]| | |

RE: Czech language support

2006-11-29 Thread Pascal SANCHO
Ram, The link you are speaking about says that is a bug when you try to use a custom font for AWT renderer, not PDF renderer. I've tested successfully your fo:block with some czech text (both with FOP 0.92b & FOP TRUNK), using Arial Unicode. You can make further investigations: - are you generatin

Re: javax.xml.transform.TransformerException error - DocBook XSL with FOP

2006-11-29 Thread Vincent Hennebert
Hi Paul, >> Not sure if those attribute sets apply to the element that is causing >> the problem. Can you post a reduced example that is showing your >> problems? Not the source xml file, please, just the generated fo file. > > Vincent > > Thanks for taking the time to answer. I've created a sma