Hi Martin,
because of some some restrictions in the license the glyphlist.txt isn't
compatible with the Apache License. Therefore we have to remove the
files in question from the svn. The file will be automatically
downloaded by ant if you run it with the target "compile" or just with
default target "dist". The destination directory is
$PDFBOX_HOME/target/classes/Resources.
I hope the documentation will be updated soon...
Thanks for the hint.
BR
Andreas Lehmkühler
Martin Grotzke schrieb:
> 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
>
>