Hi Patrick,

I don't know what the problem is here, but if you fail with Batik, you can still try with fontforge, which can also output SVG fonts. It's a free software that runs on Linux/MacOSX and Windows (if you have cygwin).

Andreas

Patrick Durusau wrote:

Hello,

I am trying to create an SVG version of the CODE2000 font by James Kass, http://home.att.net/~jameskass/code2000_page.htm (with his permission), using Jave 1.5, Batik 1.6 on a Windows XP machine.

The font is quite large (a little over 8 MB) and I get the following error message:

java.lang.NegativeArraySizeException
at org.apache.batik.svggen.font.table.hmtxTable.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.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>] [-autorange] [-ascii] [-id <id>] [-o <output-path>] [-testcard]

It works quite well on a smaller font (432K, CODE2001) from the same source so have I encountered some size limitation?

Thanks!

Hope everyone is looking forward to a great weekend!

Patrick



--
----------------------------------------------
Andreas Neumann - Institute of Cartography
Swiss Federal Institute of Technology (ETH)
ETH Hoenggerberg
CH-8093  Zurich, Switzerland
Phone: ++41-1-633 3031, Fax: ++41-1-633 1153
e-mail: [EMAIL PROTECTED]
www: http://www.carto.net/neumann/
SVG.Open: http://www.svgopen.org/
Carto.net: http://www.carto.net/


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

Reply via email to