Hi,

I'm still trying to convert a pdf to an image using the PDFImageWriter,
now I got an ExceptionInInitializerError at
  EncodingManager.<clinit>(EncodingManager.java:38)
with this root cause:
  Caused by: java.lang.NullPointerException
        at java.io.Reader.<init>(Reader.java:61)
        at java.io.InputStreamReader.<init>(InputStreamReader.java:55)
        at org.apache.pdfbox.encoding.Encoding.loadGlyphList(Encoding.java:95)

This code tries to loadGlyphList("Resources/glyphlist.txt") which is not
available, it's also not in pdfbox/src/main/resources...

I also found http://issues.apache.org/jira/browse/PDFBOX-494 and now I
wonder what users are intended to do. Just download the glyphlist.txt
from adobe and make it available under Resources/glyphlist.txt? (I can
confirm that this works :))

Btw: the userguide/text extraction still says that pdfbox comes with the
adobe glyphlist - is this still true then?

Cheers,
Martin


Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to