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

Free Support Forum - aspose.com

Font error on SaveToPdf

Aspose team

Getting the following error when doing SaveToPdf using Aspose.Slides

Aspose.Slides.Presentation p = new Aspose.Slides.Presentation(input);


The error (exception) is:

Could not find file 'C:\WINDOWS\Fonts\00000409

Any ideas?

Hi Khalid,

It will be better if you provide the ppt for investigation. Possibly, you have applied some theme fonts in PPT.

Here is a file that exhibits the problem.

Hi Khalidr,

I found no problem in saving the provided ppt as pdf with the following code:

Presentation pres = new Presentation("d:\\ppt\\khalidr\\test+bullets.ppt");


I should have added we do not always see the error either.

We see this on Windows Embedded, so I am guessing we are missing something on the OS image. However, we can't tell what is missing. Can you indicate what the error is trying to tell us? 00000409 doesn't seem to be a reasonable font name - can you tell from the error message what might be wrong? Is there any debug setting we might turn on to help find what in the system is causing this? As I said, it's probably something missing in the OS image, but it's hard to tell


At first, please check fonts registry keys:
HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts
May be some font has reference to non-existing file 00000409.

Also please provide full stack trace.

Thanks. That narrowed it down - it was a bad registry entry. I appreciate your help