Sorry for the delay. If anyone is interested in testing this out I can send the TTF file as an attachment directly. I just didn't want to send a 56KB attachment to everyone on this mailing list.
Thanks, - Brent ----- Original Message ----- From: Brent L Johnson To: Batik Users Sent: Thursday, December 06, 2001 1:35 PM Subject: TTF NullPointerException 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]