Getting Warning Callbacks for Fonts Substitution in Aspose.Slides
Contents[ Hide ]
Aspose.Slides for .NET makes it possible to get warning callbacks for fonts substitution in case the used font is not available on machine during rendering process. The warning callbacks are helpful in debugging the issues of missing or inaccessible fonts during rendering process.
Getting Warning Callbacks for Fonts substitution
Aspose.Slides for .NET provides a simple API methods to get the Warning Callbacks during rendering process. All you need is to follow the steps below to configure the Warning Callbacks on your end.:
- Create a custom Callback class to receive the callbacks.
- Set the Warning Callbacks using using LoadOptions class
- Load the presentation file that is using a font for text inside that is unavailable on your target machine.
- Generate the slide thumbnail to see the effect.