Pdf files exported using PdfFormatProvider not display correctly in Chinese

4 posts, 0 answers
  1. liu
    liu avatar
    3 posts
    Member since:
    Apr 2009

    Posted 06 May 2011 Link to this post

    i am using PdfFormatProvider  in my application,Pdf files exported display correctly in English, but the Chinese can not display correctly, how should I do?

    please help!
  2. Ivailo Karamanolev
    Ivailo Karamanolev avatar
    276 posts

    Posted 10 May 2011 Link to this post

    Hello liu,

    We currently do not support Chinese in PDF files. This is due to the fact that we do not support font embedding in PDF, as this is very heavy-weight under Silverlight and the PDF specification doesn't mention standard fonts including Chinese characters.

    All the best,
    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
  3. DevCraft R3 2016 release webinar banner
  4. Tayyab
    Tayyab avatar
    7 posts
    Member since:
    Jul 2012

    Posted 26 Jul 2012 Link to this post

    does it support now ? 

    I am using this code snippet for exporting a Chinese word document to Pdf.
      PdfFormatProvider pdfprovider = new PdfFormatProvider();
                SaveFileDialog savedialog = new SaveFileDialog();
                savedialog.DefaultExt = ".rtf";
                savedialog.Filter = "PDF Files (*.pdf)|*.pdf";
                bool? dialogresult = savedialog.ShowDialog();
                if (dialogresult == true)
                    using (Stream output = savedialog.OpenFile())
                        pdfprovider.Export(radRichTextBox1.Document, output);
                MessageBox.Show("save Sucessfully"); 

    Please guide me if I am wrong anywhere?
  5. Petya
    Petya avatar
    973 posts

    Posted 30 Jul 2012 Link to this post

    Hello Tayyab,

    Unfortunately, Chinese is still not supported in the PDF files that RadRichTextBox exports. As Ivailo explained, this would require font embedding, which would be very heavy-weight. That is why at this point we are not considering embedding the fonts.

    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top