You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@pdfbox.apache.org by Horst <ho...@gmail.com> on 2010/03/03 14:49:23 UTC

PDFBox image creation with IBM JDK 1.4.2 64 bit

Hi,

I've been implementing an web application for viewing PDFs as imgages.
There have been nice code examples and everything worked fine on
Windows 32bit with Sun JDK 1.4.2.

Now the system where the application will run is a Linux SLES 64bit
with IBM JDK 1.4.2.
I've deployed the application to the server and got a strange effect:
For displayed text each character space is replaced by the word 'space'.

Has anyone encountered the same issue?

BTW: Will there be a 1.0 version of PDFBox for Java 1.4.2?

BR,
Horst

RE: PDFBox image creation with IBM JDK 1.4.2 64 bit

Posted by "Jerkins, Devan" <DJ...@aegonusa.com>.
Here's IBM's answer. It was problem with their JDK. The workaround they
recommended we use is
-Dibm.stream.nio=true. It worked fine after that.

Devan J
-----Original Message-----
From: Horst [mailto:horst.haering@gmail.com]
Sent: Wednesday, March 03, 2010 7:49 AM
To: users@pdfbox.apache.org
Subject: PDFBox image creation with IBM JDK 1.4.2 64 bit

Hi,

I've been implementing an web application for viewing PDFs as imgages.
There have been nice code examples and everything worked fine on
Windows 32bit with Sun JDK 1.4.2.

Now the system where the application will run is a Linux SLES 64bit
with IBM JDK 1.4.2.
I've deployed the application to the server and got a strange effect:
For displayed text each character space is replaced by the word 'space'.

Has anyone encountered the same issue?

BTW: Will there be a 1.0 version of PDFBox for Java 1.4.2?

BR,
Horst


This e-mail and any attachments contain information belonging to the sender which may be confidential, proprietary, legally privileged, or otherwise protected from disclosure. This information is intended for the use of the addressee(s) only. If you are not the intended recipient (or authorized agent), you are hereby notified that you have received this e-mail transmission in error and that any review, retention, disclosure, copying, dissemination, printing, saving, or any other use of, or the taking of any action in reliance on the contents of this e-mail is strictly prohibited. E-mails exchanged with the sender may be retained and produced to others in compliance with applicable law. Nothing in this e-mail constitutes an electronic signature unless expressly stated otherwise. If you have received this e-mail in error, please notify us immediately by reply e-mail to the sender and delete this copy without reading it or saving it to your system.


Re: PDFBox image creation with IBM JDK 1.4.2 64 bit

Posted by Daniel Wilson <wi...@gmail.com>.
Sounds like https://issues.apache.org/jira/browse/PDFBOX-595 again.

But version 1.0 of PDFBox does require JDK 1.5 or later.

Daniel

On Wed, Mar 3, 2010 at 9:18 AM, Jerkins, Devan <DJ...@aegonusa.com>wrote:

> I've encountered the same issue with a different version of the IBM JDK.
> We haven't found an answer yet. We are still researching the issue. I'm
> tempted to rewrite the functionality in iText. The best workaround I've
> found for the issue is to embed the fonts in the PDF and then it will
> translate fine. Let me know if you figure out a way to get it to work
> without embedding the fonts.
>
>
> Devan J
>
> -----Original Message-----
> From: Horst [mailto:horst.haering@gmail.com]
> Sent: Wednesday, March 03, 2010 7:49 AM
> To: users@pdfbox.apache.org
> Subject: PDFBox image creation with IBM JDK 1.4.2 64 bit
>
> Hi,
>
> I've been implementing an web application for viewing PDFs as imgages.
> There have been nice code examples and everything worked fine on
> Windows 32bit with Sun JDK 1.4.2.
>
> Now the system where the application will run is a Linux SLES 64bit
> with IBM JDK 1.4.2.
> I've deployed the application to the server and got a strange effect:
> For displayed text each character space is replaced by the word 'space'.
>
> Has anyone encountered the same issue?
>
> BTW: Will there be a 1.0 version of PDFBox for Java 1.4.2?
>
> BR,
> Horst
>
>
> This e-mail and any attachments contain information belonging to the sender
> which may be confidential, proprietary, legally privileged, or otherwise
> protected from disclosure. This information is intended for the use of the
> addressee(s) only. If you are not the intended recipient (or authorized
> agent), you are hereby notified that you have received this e-mail
> transmission in error and that any review, retention, disclosure, copying,
> dissemination, printing, saving, or any other use of, or the taking of any
> action in reliance on the contents of this e-mail is strictly prohibited.
> E-mails exchanged with the sender may be retained and produced to others in
> compliance with applicable law. Nothing in this e-mail constitutes an
> electronic signature unless expressly stated otherwise. If you have received
> this e-mail in error, please notify us immediately by reply e-mail to the
> sender and delete this copy without reading it or saving it to your system.
>
>

RE: PDFBox image creation with IBM JDK 1.4.2 64 bit

Posted by "Jerkins, Devan" <DJ...@aegonusa.com>.
I've encountered the same issue with a different version of the IBM JDK.
We haven't found an answer yet. We are still researching the issue. I'm
tempted to rewrite the functionality in iText. The best workaround I've
found for the issue is to embed the fonts in the PDF and then it will
translate fine. Let me know if you figure out a way to get it to work
without embedding the fonts.


Devan J

-----Original Message-----
From: Horst [mailto:horst.haering@gmail.com]
Sent: Wednesday, March 03, 2010 7:49 AM
To: users@pdfbox.apache.org
Subject: PDFBox image creation with IBM JDK 1.4.2 64 bit

Hi,

I've been implementing an web application for viewing PDFs as imgages.
There have been nice code examples and everything worked fine on
Windows 32bit with Sun JDK 1.4.2.

Now the system where the application will run is a Linux SLES 64bit
with IBM JDK 1.4.2.
I've deployed the application to the server and got a strange effect:
For displayed text each character space is replaced by the word 'space'.

Has anyone encountered the same issue?

BTW: Will there be a 1.0 version of PDFBox for Java 1.4.2?

BR,
Horst


This e-mail and any attachments contain information belonging to the sender which may be confidential, proprietary, legally privileged, or otherwise protected from disclosure. This information is intended for the use of the addressee(s) only. If you are not the intended recipient (or authorized agent), you are hereby notified that you have received this e-mail transmission in error and that any review, retention, disclosure, copying, dissemination, printing, saving, or any other use of, or the taking of any action in reliance on the contents of this e-mail is strictly prohibited. E-mails exchanged with the sender may be retained and produced to others in compliance with applicable law. Nothing in this e-mail constitutes an electronic signature unless expressly stated otherwise. If you have received this e-mail in error, please notify us immediately by reply e-mail to the sender and delete this copy without reading it or saving it to your system.