Spire.PDF is a professional PDF library applied to creating, writing, editing, handling and reading PDF files without any external dependencies. Get free and professional technical support for Spire.PDF for .NET, Java, Android, C++, Python.

Wed Sep 13, 2023 2:17 pm

Hello

I faced with a problem that I have a different locations for custom fonts,
is there a way to pass an array of paths into the PdfDocument.SetCustomFontsFolders method?
(name of this method supposed to have a parameter - array of strings, but it takes only string)

Thank you in advance for your help!

EtopsGroup
 
Posts: 3
Joined: Mon Dec 06, 2021 11:40 am

Thu Sep 14, 2023 5:50 am

Hi,

Thank you for reaching out to us. We appreciate your inquiry.

Regarding your question, we suggest trying multiple calls to the PdfDocument.SetCustomFontsFolders(string folder) method with different paths to see if it allows you to add different directories successfully. If you encounter any issues or if it doesn't work as expected, please provide us with feedback so that we can assist you further.

We look forward to hearing from you.

Best regards,
Triste
E-iceblue support team
User avatar

Triste.Dai
 
Posts: 1000
Joined: Tue Nov 15, 2022 3:59 am

Return to Spire.PDF