This is a migrated thread and some comments may be shown as answers.

PDF export multi-language

6 Answers 327 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Mikiya Sato
Top achievements
Rank 1
Mikiya Sato asked on 24 May 2010, 03:15 AM
Is this possible to export Japanese text?
I tried this in demo site. It was converted into ###  characters.  http://demos.telerik.com/aspnet-ajax/editor/examples/pdfexport/defaultcs.aspx

6 Answers, 1 is accepted

Sort by
0
Mikiya Sato
Top achievements
Rank 1
answered on 24 May 2010, 03:32 AM
Also i tried this in my dev environment.
Then I was displayed password security box, and I was not able to open PDF. Is this another issue?
I used the RadControls for ASP.NET AJAX Q1 2010.
I tried to do live examples in my pc.
0
Rumen
Telerik team
answered on 24 May 2010, 04:17 PM
Hello Mikiya,

When exporting Unicode symbols, you should apply some Unicode Font that the PDF exporter tool supports. Here is an example:

<span style="font-family: times new roman;">κατι</span>
<span style="line-height: 115%; font-size: 22pt; font-family: times new roman; color: #7f0000;">&kappa;&alpha;&tau;&iota;</span>

You can see this Grid live demo and help article for more information on PDF export:
http://www.telerik.com/help/aspnet-ajax/grid-pdf-export.html,
http://demos.telerik.com/aspnet-ajax/grid/examples/generalfeatures/pdfexport/defaultcs.aspx.


Sincerely yours,
Rumen
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Mikiya Sato
Top achievements
Rank 1
answered on 25 May 2010, 02:44 AM
Thank you reply.

It was possible to export with RadGrid.  But RadEditor was cannot.
I tried copy & past your html code snippet to the live example page. ( http://demos.telerik.com/aspnet-ajax/editor/examples/pdfexport/defaultcs.aspx)
Then, I clicked "Export RadEditor content to PDF" button. I still see ### character in the PDF file.

Should I set anything to the RadEditor?

My PDF reader is "ADOBE READER 9" (Version 9.3.2)
0
Rumen
Telerik team
answered on 25 May 2010, 02:32 PM
Hello Mikiya Sato,

I am also using the same version 9.3.2 of Adobe Reader and I am able to export the provided Greek characters. You can see my test in this demo:
http://screencast.com/t/ZGYyZmI3

I am not sure why the third party HTML to PDF exporter tool does not work on your end. If you unable to export the Japanese content you can try to integrate another free or paid third party HTML to PDF converter. You can see how to do that in the following demo: Converting RadEditor HTML to PDF format.

Best regards,
Rumen
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Mikiya Sato
Top achievements
Rank 1
answered on 26 May 2010, 02:49 AM
I found 2 issues.

1. chrome
It works on IE8 and Firefox3. But it doesn't work on chrome browser.
Copied your html code. chrome is converted span's style automatically . [ font-family: times new roman ] was changed [font-family: 'times new roman' ]
It's not exported correctly at this time.

2. symbols is ok.  but  japanese unicode charactor is not correctly exported. here is my tested code.

<span style="font-family: arial unicode ms;">漢字</span> 


Thank you.
0
Rumen
Telerik team
answered on 28 May 2010, 03:39 PM
Hi Mikiya,

I logged both problems in our PITS system and we will do our best to provide support for PDF export for Japanese characters. I also updated your Telerik points for reporting these problems.

You can check the status of our development at http://www.telerik.com/support/pits.aspx#/public/aspnet-ajax/2278.


Best regards,
Rumen
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Editor
Asked by
Mikiya Sato
Top achievements
Rank 1
Answers by
Mikiya Sato
Top achievements
Rank 1
Rumen
Telerik team
Share this question
or