cancel
Showing results for 
Search instead for 
Did you mean: 

CRJ - PDF-export, justified textlines with german umlauts are cut off

Former Member
0 Kudos

Hello,

i got a CRJ related Problem!

Textlines with german umlauts like ÄÖÜäöüß are displayed incorrectly in combination with justified text on exported PDF-documents. The textflow of the affected lines doesn't respect the right margin and the text ist cut of.

Example PDF: http://www.file-upload.net/download-3121113/Report1.pdf.html

Please notice the lines with character Ä, the characters äÖöÜüß should be affected, too.

---

You can recreate the problem with the following procedure:

1. Download and install CR4E: http://downloads.businessobjects.com/akdlm/crystalreportsforeclipse/2_0/cr4e-all-in-one-win_2.0.8.zi...

2. Download and execute the following report: http://www.file-upload.net/download-3121116/Report1.rpt.html

3. export to PDF

=> The preview in CR4E is ok, but the generated PDF is not!

---

Infos regarding our setup:

-Used font is Arial

-List of installed fonts on system: http://www.file-upload.net/download-3121122/FontlistJava.txt.html

-CRJ-Version: CRJ version 12.2.209 (12.2.208 affected too)

-Java Version: JDK 1.6.0_21 (JRE 1.6.0_18 affected too)

-OS: Windows Server 2003 Standard 32-bit German (Windows XP Prof SP3 32-Bit German affected too)

Any help and advice is appreciated.

Thanks in advance!

Best regards

Sebastian Hong

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello,

can anyone confirm my problem ?

I want to know if it's a general problem or if it's specific to our configuration.

Thanks in advance.

ted_ueda
Employee
Employee
0 Kudos

Hello Sebastian,

I can confirm it's an issue specific to the PDF export. There were some fixes to the PDF exporter, but it doesn't appear to address this specific issue.

I can submit a bug track - but it'll take a bit of time for the fix to come out.

I don't know of workarounds, other than using a Print-to-PDF printer driver and printing to PDF. That appears to work.

Sincerely,

Ted Ueda

Former Member
0 Kudos

Hello Ted,

thanks for the confirmation.

Please submit a bug track, fixing this issue is essentiell!

We are going to downgrade to JRC version: 11.X until this issue is resolved.

The JRC 11.X export delivers the expected result, i guess because it's lacking font-embedding.

It would be nice to have the possibility to disable font-embedding in future versions.

We don't need this aspect and it still seems kind of problematic!

Some weird observations from my side, regarding CRJ 12.X.

-On my development pc, font embedding doesn't work, and the PDF looks great (like JRC 11.X)

-On our servers, font embedding does work, and the PDF content is cut off.

--The only difference between this systems is the windows install directory, on our dev pc's the os (XP) is installed under C:\WINNT while on our servers, the os resides under the default location C:\windows.

---You can fix the font embedding on our dev pc's if you:

-


copy the fonts to the font folder of your jre

or

-


create an empty c:\windows\fonts directory and copy the fonts there

Is the font lookup broken, on os install locations other than c:\windows ?

ted_ueda
Employee
Employee
0 Kudos

The CRJ relies on the Java JRE for font retrieval - it doesn't do anything fancy.

I'll submit a fix request.

If you'd like to actively track the fix request, then you can purchase a [Crystal Single Case|http://store.businessobjects.com/store/bobjects/Content/pbPage.CSC_map_countyselector/pgm.67024400?resid=jFmmLgoBAlcAAALO-iYAAAAP&rests=1278687224728]. If the issue is considered a bug, then the purchase price for the Single Case will be refunded.

Otherwise, when the issue is addressed in an update, the tracking number will be reflected in the readme released with the update.

Sincerely,

Ted Ueda

ted_ueda
Employee
Employee
0 Kudos

I've submitted track ADAPT01516779 - CRJ malforms PDF export of justified paragraphs containing European (accented) characters.

If addressed in a future CR4E 2.0 Update, it'll be listed in the readme.

Sebastian - thank you very much for identifying this issue!

Sincerely,

Ted Ueda

ted_ueda
Employee
Employee
0 Kudos

Internal testing has found that this issue has been resolved with CR4E 2.0 Update 9 - the next Update that will come out.

Please do test when it comes out, and update this thread.

Sincerely,

Ted Ueda

ted_ueda
Employee
Employee
0 Kudos

CR4E 2.0 Update 9 has been released - official update to the download page is soon coming.

Direct download of Update 9 Runtime is available here:

[http://downloads.businessobjects.com/akdlm/crystalreportsforeclipse/2_0/crjava-runtime_12.2.210.zip]

Please do see if this works for you.

Sincerely,

Ted Ueda

Former Member
0 Kudos

Hello Ted,

at first glance, the issue seems to be resolved.

Thanks for your support!

Best regards

Sebastian

Answers (0)