How to check if fonts are available in an ASP .NET Core Word document.
If the necessary fonts used in an 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.
You can check whether the necessary fonts are available on the machine in two ways:
1. Using the DocIO font substitution utility (recommended approach)
2. Using the Microsoft Word application
1. Using the 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.
2. Using the Microsoft Word application
See also
How to perform font substitution in Word to PDF conversion
Conclusion
I hope you enjoyed learning how to check if fonts are available in an ASP .NET Core Word document.
You can refer to our ASP.NET Core DocIO feature tour page to learn 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 forums, or feedback portal. We are always happy to assist you!