Quantcast
Channel: SCN : Popular Discussions - SAP Crystal Reports, version for Eclipse
Viewing all articles
Browse latest Browse all 893

[Bug Report] CR4E V2: Exported PDF displays Japanese characters incorrectly

$
0
0

We now plan to transport a legacy application from VB to Java with Crystal Reports for Eclipse. It is required to export report as PDF file, but result PDFs display Japanese characters incorrectly for field with some mostly used Japanese fonts (MS Gothic & Mincho).

 

Here is our sample Crystal Reports project:   [download related resources here|http://sites.google.com/site/cr4eexportpdf/example-of-cr4e-export-pdf]

1. PDFExportSample.rpt located under ..\src contains fields with different Japanese fonts.

2. Run SampleViewerFrameClient#main(..) to open a Java Report Viewer:
    a) At zoom rate 100%, everything is ok.    b) Change zoom rate to 200% or 50%, some fields in Japanese font collapse.     c) Export to PDF file,          * Fonts "MS Gothic & Mincho": both ASCII & Japanese characters failed.          * Fonts "Meiryo & HGKyokashotai": everything works well.         * Open PDF properties, you will see all fonts are embedded with built-in encoding.         * Interest to note that copy collapsed Japanese characters from Acrobat Reader, then            paste them into a Notepad window, Notepad will show the correct Japanese characters anyway.           It seems PDF export in CR4E mistaking to choose right typeface for Japanese characters            from some TTF file. 

3. Open PDFExportSample.rpt in Crystal Report 2008 Designer (trial version), and export it as PDF.
    The result PDF displays both ASCII & Japanese characters without any problem.

 

Test environment as below:

* Windows XP Professional SP3 (Japanese) with MS Office which including extra fonts (i.e. HGKyokashotai)
* Font version: MS Gothic, Mincho, Meiryo, all in Version 5.0    You can download MS Meiryo from Microsoft's Site:    http://www.microsoft.com/downloads/details.aspx?familyid=F7D758D2-46FF-4C55-92F2-69AE834AC928&displaylang=en)
* Eclipse 3.5.2
* Crystal Reports for Eclipse, V2, 12.2.207.r916

 

Can this problem be fixed? If yes how long will it take to release a patch?

We really looking forward to a solution before abandoning CR4E.

 

Thanks for any reply.


Viewing all articles
Browse latest Browse all 893

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>