Could not find file 'C:\WINDOWS\Fonts\Rline.ttf'

Get this error when following line of code is executed.

doc.Save(objEL.AddPathSeparator(Server.MapPath("")) & strFileName, SaveFormat.Pdf)

Hi

Thanks for your request. Please make sure that this font exists. I think the problem might occur because there is a record for this font in the registry, but font file does not exist in the appropriate folder.
If this font exists, please attach it here for testing.
Best regards.

Thanks for replying.
It exists in the fonts folder but is of size 0KB. Would you still like me to attach it?
You mentioned something about registry. Is there a way to clean it up in registry and delete this font? Will that fix my problem?

Hi

Thanks for your inquiry. You can just delete corresponding key from registry manually. You can find this key here:

HKEY_LOCAL_MACHINE * SOFTWARE * Microsoft * Windows NT * CurrentVersion * Fonts

Also, I think you can try just removing this font.
Best regards

The issues you have found earlier (filed as 9222) have been fixed in this update.

This message was posted using Notification2Forum from Downloads module by aspose.notifier.