Hi
Hi Green,
Document.setLocalFontPath (String) - Setting font path to custom folder
//adding a new font path<o:p></o:p>
String path = “c:\fonts\”;<o:p></o:p>
com.aspose.pdf.Document.addLocalFontPath(path);<o:p></o:p>
Moreover please also check following code snippet to set font path if there are more than one font path.
//geting the list for standard font directories in different OS<o:p></o:p>
java.util.List list = com.aspose.pdf.Document.getLocalFontPaths();<o:p></o:p>
//seting the user list for standard font directories<o:p></o:p>
list.add(“c:\fonts2\”);<o:p></o:p>
list.add(“c:\fonts3\”);<o:p></o:p>
com.aspose.pdf.Document.setLocalFontPaths(list);<o:p></o:p>
//Restoring list for standard font directories by default.<o:p></o:p>
com.aspose.pdf.Document.restoreLocalFontPath();<o:p></o:p>
<o:p> </o:p>
<o:p>Please feel free to contact us for any further assistance.</o:p>
<o:p>
</o:p>
<o:p>Best Regards,</o:p>