Free Support Forum - aspose.com

TruetypeFontMap.xml?

One of our customers is getting the following error after upgrading to 2.9.2 from 2.8.2:



Access to the path “C:\WINNT\system32\Aspose.Pdf.TruetypeFontMap.xml”
is denied. The Aspose.Pdf.TruetypeFontMap.xml is used to improve the
performance. You can use the TruetypeFontMapPath to specify another
path for this file or set IsTruetypeFontMapCached to false to disable
this function.



How can this be fixed?

As you can see from the exception message, the xml file is used to improve the performance. You can specify another path with access privilege for it or disable it if you don't want to use it. Sorry for the inconvenience.