Signature cropped

PDF-XChange Viewer SDK for Developer's
(ActiveX and Simple DLL Versions)

Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange

EzWz
User
Posts: 42
Joined: Mon Oct 10, 2011 9:03 am

Signature cropped

Post by EzWz »

Hi, i have a pdf document that is signed. When i open the pdf in the pdf-xchange viewer (standalone) it shows a signature stamp at the bottom left of the 1st page.
This signature has a signer, a date, a reason and a location and they all show correct.

We have a preview window in our software based on the pdf exchange viewer sdk and when i open the same document in this viewer component, document is shown completely correct except for the signature. The signature's signer is gone (the complete 1st line of the signature) and the date (which is the longest line) is cut short at the end; the time stamp in that line reads: 15:44:09 and in this viewer it's cut short so that half of the 0 is shown. The complete signature looks like it is shown in the wrong font, something not truetype, but more like a typewriters with a lot of space between it.

Perhaps i need to make some setting in the viewer from code, but i can't find any related properties.

Correct signature:
Image

Bad signature:
Image
Last edited by EzWz on Thu Mar 22, 2012 9:28 am, edited 1 time in total.
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19876
Joined: Mon Jan 12, 2009 8:07 am

Re: Signature cropped

Post by Stefan - PDF-XChange »

Hello EzWz,

Please make sure that the SDK build and the stand alone Viewer match - and also check that it is build 201 for both. If not - update them and try once again.

As for the images - you will need to archive them first - and attach them as zip/rar/7z package.

Best,
Stefan
EzWz
User
Posts: 42
Joined: Mon Oct 10, 2011 9:03 am

Re: Signature cropped

Post by EzWz »

Ah i found a workaround while you where posting.

The viewer sdk and standalone are both version 199 (we have the upgrade to your latest version scheduled for the next release in april or may).
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19876
Joined: Mon Jan 12, 2009 8:07 am

Re: Signature cropped

Post by Stefan - PDF-XChange »

Great to hear that! :)

But in any case - it's worth testing with the latest build of the SDK at least - to check if this is a problem with build 199 only.

Best,
Stefan
EzWz
User
Posts: 42
Joined: Mon Oct 10, 2011 9:03 am

Re: Signature cropped

Post by EzWz »

Just downloaded and installed 201.

For this issue i don't see any difference with 199 (meaning the problem still exists in the viewer in our software and does not exist in the standalone pdf exchange viewer).

That alone still leads me to presume you have some setting adjusted that I am not setting from code, that has influence on signature's....
EzWz
User
Posts: 42
Joined: Mon Oct 10, 2011 9:03 am

Re: Signature cropped

Post by EzWz »

Hi Stefan, i have some extra info:

When I open the document in a vb6 sample, for example "fulldemo" (by tracker) then my signature is shown "bad".
When I do the exact same thing for a vb.net sample (also fulldemo), then the signature is shown ok.

The working of the two is clearly different in respect to the signatures somehow.
Our code uses the vb6 variant of the pdf exchange viewer and therefor has the signature shown incorrect.

Bug perhaps? Still, the question remains: can i adjust this behaviour with some property or something or is the only way forward a bugfix + new release?
Regards, Erwin
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19876
Joined: Mon Jan 12, 2009 8:07 am

Re: Signature cropped

Post by Stefan - PDF-XChange »

Hello EzWz,

Thanks for the additional info. Could you please supply one such sample file for testing at our end, and we will try to reproduce this issue at our end.

Best,
Stefan
EzWz
User
Posts: 42
Joined: Mon Oct 10, 2011 9:03 am

Re: Signature cropped

Post by EzWz »

Sample pdf
You do not have the required permissions to view the files attached to this post.
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19876
Joined: Mon Jan 12, 2009 8:07 am

Re: Signature cropped

Post by Stefan - PDF-XChange »

Thanks EzWz,

Passed for investigation.
On my machine the signature looks OK in both the C#, and VB.net "Full Demo" projects.

Best,
Stefan
EzWz
User
Posts: 42
Joined: Mon Oct 10, 2011 9:03 am

Re: Signature cropped

Post by EzWz »

Understood, but the real test will be the vb6 "fulldemo" sample I think.
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19876
Joined: Mon Jan 12, 2009 8:07 am

Re: Signature cropped

Post by Stefan - PDF-XChange »

Hi EzWz,

Yes certainly - that's why I've passed it to my colleagues for further investigation.
We will post back here any news we have.

Best,
Stefan
User avatar
Vasyl - PDF-XChange
Site Admin
Posts: 2445
Joined: Thu Jun 30, 2005 4:11 pm

Re: Signature cropped

Post by Vasyl - PDF-XChange »

Hi EzWz,

The reason for your problem - you have forgotten to add one sdk-file named 'resource.dat' near 'PDFXCview.exe' (its a core part of our SDK).
Copy 'resource.dat' file from the SDK-package into your app. folder (which already contains 'PDFXCview.exe') and this problem will disappear..

HTH.
PDF-XChange Co. LTD (Project Developer)

Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
EzWz
User
Posts: 42
Joined: Mon Oct 10, 2011 9:03 am

Re: Signature cropped

Post by EzWz »

Correct! Or better: the executable + the dll where copied to a 2nd location by mistake and registered there without the resource.dat but the effect is the same.
I deleted the 2nd location and re-registered the first and now it works ok!

Thank you very much for the fast response!
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19876
Joined: Mon Jan 12, 2009 8:07 am

Re: Signature cropped

Post by Stefan - PDF-XChange »

Our Pleasure EzWz!

Cheers,
Stefan