PXCp_ET_GetFontCount

This Forum is for the use of Software Developers requiring help and assistance for Tracker Software's PDF-Tools SDK of Library DLL functions(only) - Please use the PDF-XChange Drivers API SDK Forum for assistance with all PDF Print Driver related topics or PDF-XChange Viewer SDK if appropriate.

Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Tracker Supp-Stefan

edvschu
User
Posts: 127
Joined: Fri Jun 25, 2010 6:54 am

PXCp_ET_GetFontCount

Post by edvschu »

Hello,

PXCp_ET_GetFontCount retrieves the number of fonts in the PDF document.

With all pdfs i tried, it returns one more fonts. For the example pdf with 5 fonts,
PXCp_ET_GetFontCount retrieves 6 fonts, for the other example pdf with no fonts,
the function retrieves 1 font.

Under Document Properties --> Fonts i see the number of fonts, that i expected.
Should PXCp_ET_GetFontCount retrieves the same number of fonts, that are under
Document Properties --> Fonts be shown?

I use PDF-Tools Version 4.0.197.0.

Best regards
edvschu
You do not have the required permissions to view the files attached to this post.
edvschu
User
Posts: 127
Joined: Fri Jun 25, 2010 6:54 am

Re: PXCp_ET_GetFontCount

Post by edvschu »

Enter the serial number and DevCode in my project, PXCp_ET_GetFontCount
retrieves the correct number of fonts :mrgreen: .

edvschu
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 17949
Joined: Mon Jan 12, 2009 8:07 am
Location: London

Re: PXCp_ET_GetFontCount

Post by Tracker Supp-Stefan »

Hello edvschu,

So most probably the "rogue" font was the one that our SDKs use when placing the "DEMO" stamps at the corners of pages - and that's why you were getting a higher than expected font count.

Glad to hear that all is well now :)

Cheers,
Stefan