We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Font conversion query

Hi there,


When developing using Aspose.Slides for .NET 14.3.0, I am using the GetThumbnail method.

I have a query related to fonts. Does the success of the conversion of fonts depend on the fonts loaded on the instance where Aspose.Slides for .NET is running?

E.g. on my dev machine, the fonts convert in the correct font, whereas when publishing it to the server, the font seems to default to an ‘Arial’ type font, can someone confirm how it works?

Is there somewhere this is documented? I have been unable to find of use anything on this matter.

Regards,
SAT.

Hi SAT,


I have observed the requirements shared by you and like to share that when the used fonts inside your presentation are missing in your operating system, Aspose.Slides use Arial as default rendering font. You need to install the fonts on your end in your desired machine to get the correct rendering. If you don’t ought to install the fonts in your target machine, you can copy those fonts in your target machine and load them externally using Aspose.Slides without even installing them. The following sample code will help you in this regard.

String FontDir=“c:\FontPath\”;
FontsLoader.LoadExternalFonts(new String[] { FontDir });


Please share, if I may help you further in this regard.

Many Thanks,