On 14 January 2013 18:26, Andreas Lehmkuehler <[email protected]> wrote:
> OK, it seems to be your environment. Let me guess you are using OpenJDK7,
> aren't you?

Partially correct.  OpenJDK yes, but 6 rather than 7.

> I'm experiencing some issues with fonts after installing fedora
> 17
> which comes with an OpneJDK7. I've switched to the "official" oracle jdk7
> and
> everything works as expected.

Right.  That might explain why I could see the text on Windows -- that
machine was on sun-jdk and both Gentoo and Ubuntu were on openjdk.
Any leads on how the choice of VM is affecting fonts in pdfbox?  Is
there a workaround?

As I mentioned in the OP, the PDFRenderer library does manage to
render the text with openjdk (and it copes with embedded TTF subsets
too).  Unfortunately it isn't isn't suitable for my project because it
doesn't handle group 4 TIFFs, and the developers seem to have lost
interest in the project.  Would it be useful/practical to look at how
they have handled fonts, and do something similar?

Cheers,
BJ

Reply via email to