Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

PDFBox 0.7.3 and FontMetric class

 
clive jordan
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello.

I have been happily using PDFBox 0.7.2 to strip text from PDF documents for a while using the pdfbox precompiled jar. I tried upgrading to PDFBox 0.7.3 and substituted the appropriate jar onto the class path.

When the jar gets called it is looking for a FontMetric class which it cannot find. Having had a poke around in the pdfBox-0.7.2 jar, I see that the FontMetric class exists there. It appears to have been removed from the pdfBox-0.7.3 jar.

Does anyone know if this functionality has been moved out into another library and if so, where can I get my hands on it? PDFbox documentation does not seem to mention the issue so I am assuming I'm doing something terminally stupid.

Any ideas ?

Thanks,
Clive
 
clive jordan
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, I don't normally talk to myself but thought that others may like to know that the offending library is called FontBox-0.1.0.jar and can be found on sourceforge.net.
 
clive jordan
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
and another thing.....

If you want to decrypt PDFs, you need a couple of jars from bouncycastle.org.

I kind of think spelling this out in the release notes whould have been helpful!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic