11 Answers, 1 is accepted
Probably the font that you are using in your report does not support Japanese language. For more information we suggest you review the following article - PDF Rendering.
Greetings,
IvanDT
the Telerik team
Fonts are embedded in PDF and if the font is not present on the machine where the PDF file is generated, it would not matter even if you have the font on the machine viewing the PDF file. Excel does not embed fonts.
Greetings,
Steve
the Telerik team
Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!
Once piece of information I should have included is that this is all running on solely on my local machine (Server 2008 web). String in question is --> 木村信也 . I would have thought that if I was missing the font completely, I would have problems with viewing the string in IE, Firefox, Excel, Word, VS 2008 or SQL Mangement Studio on the same PC? Any suggestions to find out what font is actually being used in the other 6 that is not being recognized by the PDF if it is a missing font issue? Unfortunately I do not have much control over what the users type in, and according to the customer, that Japanese string is important for some reason.
The browsers have a fallback mechanism when a font is missing and they use a substitute instead. I cannot know why it is displayed in VS or Management Studio without more information. Please share what is the font in question and generally it would be best if you provide us with an exported PDF (with the problem) and the problematic report. We would review it and advise you accordingly.
Greetings,
Steve
the Telerik team
Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!
I have the same problem. However, I'm able to export the report to pdf locally fine (Windows 7). If I try to export it on our production server (Windows 2008 Server R2) it doesn't work. i just see little boxes where I should see Japanese characters. I've played around with the FontEmbedding parameter but that didn't seem to have any impact either locally or in production. Any ideas?
-Will
As noted in the Design Considerations for PDF Rendering help article, characters are replaced with boxes whenever the font is missing on your server. You should install that font onto your server and reboot it in order to be taken into account.
Greetings,
Steve
the Telerik team
BLOGGERS WANTED! Write a review about Telerik Reporting or the new Report Designer, post it on your blog and get a complimentary license for Telerik Reporting. We’ll even promote your blog and help bring you a few fresh readers. Yes, it’s that simple. And it’s free. Get started today >
There is no apparent reason why this would not work. Can you verify that the exported PDF from your Windows 7 machine has indeed used the Japanese font you have specified? You can check that in File -> Properties -> Fonts. By default fonts are embedded so you should see (Embedded Subset) right next to the fonts used in the PDF. If the Japanese fonts are not present in the PDF, this means that a fallback font is used. Have you verified that your fonts support Japanese scripts? Use a program like Font Xplorer to check that.
Greetings,
Steve
the Telerik team
BLOGGERS WANTED! Write a review about Telerik Reporting or the new Report Designer, post it on your blog and get a complimentary license for Telerik Reporting. We’ll even promote your blog and help bring you a few fresh readers. Yes, it’s that simple. And it’s free. Get started today >
I did as you asked and I noticed that the PDF is using the "fallback" font. On my Windows 7 machine it's ArialUnicode but on the Windows 2008 server it's MicrosoftSansSerif. Apparently the Arial can render the Japanese characters correctly. How do i change the fallback font on the 2008 server to be Arial? That should solve the problem. See attached PDFs for comparison.
-Will
Thanks for the clarification. Judging by your reply, your original font does not support Japanese characters, so that was the reason for the problem in a first place. Arial Unicode font does support Japanese and if you have no problem using it, you should change the font used in Telerik Reports to Arial Unicode, install it on your Windows 2008 Server and reboot the server. This way, Arial Unicode would be used when generating the PDF on your server and it would display properly the font.
Greetings,
Steve
the Telerik team
BLOGGERS WANTED! Write a review about Telerik Reporting or the new Report Designer, post it on your blog and get a complimentary license for Telerik Reporting. We’ll even promote your blog and help bring you a few fresh readers. Yes, it’s that simple. And it’s free. Get started today >