• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

PDFBox 0.7.3 and FontMetric class

 
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!
 
If you are using a wood chipper, you are doing it wrong. Even on this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic