Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 386
  • Last Modified:

Japanese characters not rendered in PDF export

My report has text fields that display Unicode strings coming from the DB. If the Unicode strings contain Japanese text, then the PDF export will only show empty boxes instead of the Japanese characters. *But*: the HTML & Word exports are OK, my browser and my Word does display the Japanese text correctly. What could be the problem with the PDF?
Details:
- I use CR 10 Developer *English*.

- My OS is Windows 2000 English.

- I have installed the Japanese Langugage Support Pack from the OS install CD; I believe this made it possible for the browser and Word to display the Japanese characters.

- When I preview the report in the CR Designer, this is what happens:
  - In the Group Tree, Crystal *is* able to display Japanese characters
  - But on the actual preview pages, Crystal only shows empty boxes instead of Japanese characters
  The latter is very similar to what happens in the PDF export, which makes me believe that something (a Japanese font?) is missing from my Crystal installation.

- A colleague of mine has repeated the experiment on *Japanese* Windows XP, using English CR. The result was the same.

This is a fairly urgent issue for us; I've contacted CR's tech support already, but they haven't been able to provide a solution yet. Any help would be very much appreciated.

Thanks,

Bence Kodaj

0
Geomagic_Hungary
Asked:
Geomagic_Hungary
1 Solution
 
maxwaiCommented:
0
 
Renante EnteraSenior PHP DeveloperCommented:
Hello Geomagic_Hungary!

I have experienced this one also.  Actually, what I did is just simply use the font style "MSGothic".

Just try it.


Goodluck!
eNTRANCE2002 :-)
0
 
Geomagic_HungaryAuthor Commented:
eNTRANCE2002: Thanks! That helped. I'm amazed that CR's tech support still hasn't been able to provide me with this simple workaround.

Bence Kodaj
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
Renante EnteraSenior PHP DeveloperCommented:
Oh! That's great.  I'm glad that I have helped you.

Actually, that's what our problem before.  Hope I could help you again.


Regards!
eNTRANCE2002 :-)
0
 
mlmccCommented:
0
 
Geomagic_HungaryAuthor Commented:
mlmcc: Thanks for the tip. Actually, I had tried that before posting this question, but it did not help. Even though I installed the Japanese font pack for Acrobat Reader, the PDF file showed only empty boxes.

It seems that the problem was with the font used as eNTRANCE2002 pointed out. Apparently, Arial does not contain Japanese characters, whereas MS Gothic does (at least if I install the Japanese Language Support Pack for Windows).

Bence Kodaj
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now