Articles in this section
Category / Section

How to check fonts in ASP.NET Core Word document are available?

3 mins read

If the necessary fonts used in a ASP.NET Core Word document are not installed on the production machine, the DocIO library will use an alternate font for rendering the text. As a result, you may notice differences in the rendered text in the generated PDF or image files during the Word to PDF/image conversion process.

We strongly recommend installing all the fonts used in the Word document on the production machine to ensure proper preservation in the generated PDF/image files.

 You can check whether the necessary fonts are available on the machine in two ways:

 1. Using DocIO font substitution utility (recommended approach)

 2. Using Microsoft Word application

1. Using DocIO font substitution utility

DocIO has a font substitution event handler to set alternate fonts for missing fonts in the Word document during Word to PDF/image conversion. Using this event handler, you can print the fonts used in your input document that are not available on the production machine. You can browse any Word document and print whether the necessary fonts are available on the machine. Then, you can install the necessary missing fonts.

You can find the utility on GitHub and run it.

 2. Using Microsoft Word application

You can see the missed font by opening input Word document using Microsoft Word application and click FileàOptionsàAdvancedà Font substitution button, it shows the missed font list. If your machine has all necessary fonts means, then it will show below window:

Using Microsoft word application

See also

How to perform font substitution in Word to PDF conversion

Conclusion

I hope you enjoyed learning about how to check fonts in ASP.NET Core Word document are available.

You can refer to our ASP.NET Core DocIO feature tour page to know about its other groundbreaking feature representations. You can also explore our documentation to understand how to create and manipulate data.

For current customers, you can check out our components from the License and Downloads page. If you are new to Syncfusion®, you can try our 30-day free trial to check out our other controls.

If you have any queries or require clarifications, please let us know in the comments section below. You can also contact us through our support forumsDirect-Trac, or feedback portal. We are always happy to assist you!

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please  to leave a comment
Access denied
Access denied