Ticket T621865
Visible to All Users

How to solve the problem of missing Chinese character when exporting report to PDF

created 7 years ago

I used the 'Arial unicode MS'  font when developing the xtrareport.

Despite using that font, If i export the report to pdf, character is missing.

Is there a way to solve this problem?
I've searched for related questions, but the answer to the question is to use the 'Arial unicode MS' font.
But I'm already using that font, and I have problems.

Show previous comments (2)
Vasily (DevExpress Support) 7 years ago

    Hi Kim,

    I have reviewed the PDF files you provided and I see that the problematic PDF file does not have the 'Arial unicode MS' font embedded. See the attached image for more details. You can see that the 'Arial unicode MS' font definition does not have the "(Embedded Subset)" postfix.

    Note that with a non-embedded font, the PDF Viewer cannot display all the characters because of the PDF format specifics.

    At the same time I see that your "NORMAL.pdf" PDF file was generated by the same version of our suite and that it has the 'Arial unicode MS' font embedded. So, would you please clarify whether you have added the 'Arial unicode MS' font to the list of non-embedded fonts by using the NeverEmbeddedFonts property while generating the problematic PDF file?

      Hi vasily,

      I did not use the NeverEmbeddedFonts property.
      This problem does not happen to all users of our system.
      Sometimes happens to specific users. Sometimes it is normal.
      When exporting to a pdf file, why is not the font embedded?
      Or is there a property that forces fonts to be included?

      Vasily (DevExpress Support) 7 years ago

        Hi Kim,

        This behavior may be caused by the fact that the Arial Unicode MS font is not installed on the problematic machines. To check this assumption, you can check the %windir%\fonts folder on the problematic machines.
        If so, to resolve this issue, you can provide this font as part of your application, if this font's license allows that. Check the How to use a private font (a custom font distributed with the application) in XtraReport code example on how to use a local (non-installed) font file in your XtraReport.

        Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

        Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.