Re: Can't create 3of9Barcode font metric file

2007-01-31 Thread Joerg Heinrich
Hello Jeremias, thank you, it works fine with the trunk version. Regards Joerg Jeremias Maerki schrieb: Not your mistake, Joerg. It was a bug. I've fixed it shortly after you raised it here: http://svn.apache.org/viewvc?view=revrev=496860 I wonder why we haven't seen this bug earlier

Re: Can't create 3of9Barcode font metric file

2007-01-30 Thread Joerg Heinrich
Hi Adrian, with other ttf fonts works fine. Adrian Cumiskey schrieb: Hi Joerg, I have just ran the same test and looked at the code and I believe that it might be a problem with your ttf file. It looks like the ttf file could be clipped - the last instruction in the ttf reader skips 4 * 4

Re: Can't create 3of9Barcode font metric file

2007-01-30 Thread Joerg Heinrich
Hi Jeremias, Sorry, but this doesn't work. The TTFReader says: Can't open metric file. Joerg Heinrich Jeremias Maerki schrieb: With FOP 0.93 you can skip the step with the TTFReader and remove "metrics-url" in your configuration file. I've just tested it with the K3.ttf font and it works

Re: Can't create 3of9Barcode font metric file

2007-01-30 Thread Chris Bowditch
Joerg Heinrich wrote: Hi Jeremias, Sorry, but this doesn't work. The TTFReader says: Can't open metric file. Well Jeremias asked you not to run TTFReader but instead just specify embed-url=k3.ttf in the font element of the FOP configuration file. Then try to generate a PDF from the XSL-FO

Re: Can't create 3of9Barcode font metric file

2007-01-30 Thread Joerg Heinrich
Hi Chris, I've changed my FOP configuration file font kerning=no embed-url=/opt/fop/examples/fo/advanced/K3.TTF font-triplet name=Barcode style=normal weight=normal/ /font then I started fop and got following error: Jan 30, 2007 4:59:51 PM org.apache.fop.fonts.truetype.TTFFile readFont INFO:

Re: Can't create 3of9Barcode font metric file

2007-01-30 Thread Jeremias Maerki
Not your mistake, Joerg. It was a bug. I've fixed it shortly after you raised it here: http://svn.apache.org/viewvc?view=revrev=496860 I wonder why we haven't seen this bug earlier since we actually have K3.ttf in our distribution under the examples. If you can use FOP Trunk (from SVN), you can

Re: Can't create 3of9Barcode font metric file

2007-01-30 Thread Daniel Noll
Joerg Heinrich wrote: Jeremias Maerki schrieb: With FOP 0.93 you can skip the step with the TTFReader and remove metrics-url in your configuration file. I've just tested it with the K3.ttf font and it works if you don't use a metrics file. Note: This is a new feature in 0.93 and may not yet

Can't create 3of9Barcode font metric file

2007-01-16 Thread Joerg Heinrich
Hello, I want use a Barcode font to create barcodes in my documents, I've started with the example examples/fo/advanced/barcode.fo . So I've got the 3of9barcode font file from: http://www.geocities.com/keith_dimmock/ And I tried to create the font metric with following command: java -cp

Re: Can't create 3of9Barcode font metric file

2007-01-16 Thread Adrian Cumiskey
Hi Joerg, I have just ran the same test and looked at the code and I believe that it might be a problem with your ttf file. It looks like the ttf file could be clipped - the last instruction in the ttf reader skips 4 * 4 bytes memory usage values which takes this ttf file to the end of the

Re: Can't create 3of9Barcode font metric file

2007-01-16 Thread Jeremias Maerki
With FOP 0.93 you can skip the step with the TTFReader and remove metrics-url in your configuration file. I've just tested it with the K3.ttf font and it works if you don't use a metrics file. Note: This is a new feature in 0.93 and may not yet work as expected. Feedback on this is welcome