Support of proprietary fonts

Hi,

We would like to be able to support Chinese and Japanese characters in the documents we generate using your library. We generate PDF documents from templates in Microsoft Word DOCX format.

Do you have one or more fonts to generate documents with these characters? Or can you provide us with more information on the possibility of integrating proprietary Microsoft Word fonts into your library like Simsun?

Best,

@rolandpdoc

Thanks for your inquiry. Please note that Aspose.Words requires TrueType fonts when rendering document to fixed-page formats (JPEG, PNG, PDF or XPS). You need to install fonts that are used in your document on the machine where you are converting documents to PDF. Please refer to the following article:

How Aspose.Words Uses True Type Fonts

If you still face problem, please ZIP and attach the following resources here

  • Input Word document(s).
  • Output PDF file(s) showing desired behavior.
  • Fonts using in documents.

We will investigate further and provide you more information about your query.

Hello,

Thanks for your answer.
Can you provide us with more information on the possibility of integrating proprietary Microsoft Word fonts into your library?

Best,

@rolandpdoc

Kindly attach your input Word documents here for our reference. We will then investigate the scenario on our end and provide you more information accordingly.

@rolandpdoc,

I am afraid, we cannot embed these fonts in Aspose.Words’ JAR as addition of these too many fonts will increase the size of library. Also, there are license restrictions with many of these fonts. The solution would be to place the required fonts in a directory in your solution and instruct Aspose.Words to look into that directory during rendering:
How to Specify True Type Fonts Location