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.

Fri Feb 10, 2023 12:11 pm

Hi , I need to read font from finder result objects :
PdfTextFinder finder = new PdfTextFinder(page);
List<PdfTextFragment> result = finder.Find(word);
I couldn't find the way to read font from this new finder function, I know that it was possible in deprecated old function.
Can you advise please?

Regards.

bstojanovic
 
Posts: 45
Joined: Mon Sep 28, 2020 2:54 pm

Mon Feb 13, 2023 9:05 am

Hi,

Thanks for your inquiry.
Our new function currently does not support getting the font names, but I have added it a new feature into our upgrade list with the ticket number SPIREPDF-5779, once it is achieved, I will inform you asap.

Sincerely,
Triste
E-iceblue support team
User avatar

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

Wed Oct 11, 2023 1:47 pm

Do you have any progress on this matter of finding font that is used for PdfTextFragment that finder found?

bstojanovic
 
Posts: 45
Joined: Mon Sep 28, 2020 2:54 pm

Thu Oct 12, 2023 1:41 am

Hi,

Thanks for your inquiry.
I have checked the status of this issue, but it has not been solved yet, we apologize for any inconvenience caused, and we have already assigned this matter the highest priority. Once the issue is fixed, I will inform you asap.

Best regards,
Triste
E-iceblue support team
User avatar

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

Fri Mar 29, 2024 9:21 am

Hi,

Thanks for your patience.
Glad to inform you that we just released Spire.PDF 10.3.16 hotfix, which has implemented the new feature SPIREPDF-5779.

Please download from the following link and have a test:https://www.e-iceblue.com/Download/download-pdf-for-net-now.html

Code: Select all
PdfTextFragment..TextStates[0].FontName
PdfTextFragment..TextStates[0].FontSize
PdfTextFragment..TextStates[0].FontFamily

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