Brendt,

Could you give us a little more information about the font (techno) 
you are using (e.g., where could we get it to reproduce the problem)?
Thanks!
Vincent.

> Brent L Johnson wrote:
> 
> I've got a truetype font I'm trying to convert using the ttf2svg
> converter and I get the following error:
> java.lang.NullPointerException
>         at
> org.apache.batik.svggen.font.table.GlyfCompositeDescript.<init>(Unknown
> Source)
>         at org.apache.batik.svggen.font.table.GlyfTable.init(Unknown
> Source)
>         at org.apache.batik.svggen.font.Font.read(Unknown Source)
>         at org.apache.batik.svggen.font.Font.create(Unknown Source)
>         at org.apache.batik.svggen.font.SVGFont.main(Unknown Source)
>         at org.apache.batik.apps.ttf2svg.Main.main(Unknown Source)
> null
> usage: java org.apache.batik.svggen.font.SVGFont <ttf-path> [-l
> <range-begin>] [-h <range-end>] [-ascii] [-id <id>] [-o <output-path>]
> [-testcard]
> I'm using the following command to convert it (and I copied one of the
> wingding ttf fonts and converted it and it worked just fine) - it's
> just like the example in the docs:
> 
> java -jar batik-ttf2svg.jar techno.ttf -l 48 -h 57 -id MySVGFont -o
> mySVGFont.svg -testcard
> 
> Doesn't work for the techno font, but does for webdings.  Any idea why
> one ttf would cause a NPE and the other wouldnt?
> 
> Thanks,
> 
> - Brent

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to