Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: 1.7
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      Operating System: All
      Platform: PC

      Description

      I used this commandline:

      java -jar batik-ttf2svg.jar c:\Windows\Fonts\msgothic.ttc -o msgothic.svg

      On Windows 7 x64. That's a TrueType font that comes with Windows by default, and has a pretty large range of unicode characters.

      Full error:
      java.lang.NullPointerException
      at org.apache.batik.svggen.font.Font.read(Font.java:179)
      at org.apache.batik.svggen.font.Font.create(Font.java:197)
      at org.apache.batik.svggen.font.SVGFont.main(SVGFont.java:701)
      at org.apache.batik.apps.ttf2svg.Main.main(Main.java:34)
      null

      That's on Java 1.6. And it's always reproducible. Probably even on a default installation.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                batik-dev@xmlgraphics.apache.org Batik Developer's Mailing list
                Reporter:
                martijn@thany.nl Martijn
              • Votes:
                1 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: