Hi,
We need to set default font values when converting our PDFs. How can we set a default fonts folder besides the default system folder?
Currently using ASPOSE PDF 19.3.0 for .NET
Thanks
Hi,
We need to set default font values when converting our PDFs. How can we set a default fonts folder besides the default system folder?
Currently using ASPOSE PDF 19.3.0 for .NET
Thanks
Please use below code snippet to set font directory as per your desire:
FontRepository.Sources.Clear();
FontRepository.Sources.Add(new FolderFontSource("{Font Dir}"));
In case you face any issues, please try to use the latest version of the API. In case issue does not resolve using latest version, please let us know by sharing more details about the issue so that we can further proceed to assist you accordingly.