PDF file doesn't display some parts.

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

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

Post Reply
johnr@etakeoff.com
User
Posts: 54
Joined: Thu Jan 01, 1970 12:00 am

PDF file doesn't display some parts.

Post by johnr@etakeoff.com »

I have a file where some parts that display fine in your viewer and Adobe Reader are blank when displayed in our application using the simple DLL. I have downloaded the latest versions.

The file is available here:
http://etakeoff.com/downloads/DoesntDisplayViaSDK.pdf

The missing part is in the upper-right quarter of the first page. The look of the logo in the upper-right corner is also different from your viewer and Adobe. I'm using these rendering parameters:
dp.Flags |= pxvrpf_NoTransparentBkgnd;
dp.RenderTarget = pxvrm_Viewing;
User avatar
Vasyl-Tracker Dev Team
Site Admin
Posts: 2353
Joined: Thu Jun 30, 2005 4:11 pm
Location: Canada

Re: PDF file doesn't display some parts.

Post by Vasyl-Tracker Dev Team »

Hi, John.
The missing part is in the upper-right quarter of the first page.
It is reproduced. We will try to fix it in next build.
Also we will try try to reproduce problem with our simple view SDK.
Thanks for report.

Best
regards.
Vasyl Yaremyn
Tracker Software Products
Project Developer

Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
johnr@etakeoff.com
User
Posts: 54
Joined: Thu Jan 01, 1970 12:00 am

Re: PDF file doesn't display some parts.

Post by johnr@etakeoff.com »

Has this been fixed yet?
User avatar
Vasyl-Tracker Dev Team
Site Admin
Posts: 2353
Joined: Thu Jun 30, 2005 4:11 pm
Location: Canada

Re: PDF file doesn't display some parts.

Post by Vasyl-Tracker Dev Team »

Hi, John.

We are not sure that we reproduced the same rendering issue that you have.. :(
Can you provide to us the simple screenshot of issue? Thanks.

Best
Regards.
Vasyl Yaremyn
Tracker Software Products
Project Developer

Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
johnr@etakeoff.com
User
Posts: 54
Joined: Thu Jan 01, 1970 12:00 am

Re: PDF file doesn't display some parts.

Post by johnr@etakeoff.com »

Three files are attached:
- The PDF file
- An Adobe screen shot
- An SDK screen shot
User avatar
Will - Tracker Supp
Site Admin
Posts: 6815
Joined: Mon Oct 15, 2012 9:21 pm
Location: London, UK
Contact:

Re: PDF file doesn't display some parts.

Post by Will - Tracker Supp »

Hi John,

It looks like the attachments may have been stripped. Could you please re-uploading, making sure to wrap them in a ZIP folder, or RAR/7Zip archive?

Cheers,
If posting files to this forum, you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded.
Thank you.

Best regards

Will Travaglini
Tracker Support (Europe)
Tracker Software Products Ltd.
http://www.tracker-software.com
johnr@etakeoff.com
User
Posts: 54
Joined: Thu Jan 01, 1970 12:00 am

Re: PDF file doesn't display some parts.

Post by johnr@etakeoff.com »

Here are the zipped files.
User avatar
Will - Tracker Supp
Site Admin
Posts: 6815
Joined: Mon Oct 15, 2012 9:21 pm
Location: London, UK
Contact:

Re: PDF file doesn't display some parts.

Post by Will - Tracker Supp »

Hi John,

I'm still not seeing the files here. How large are they? It's possible that you've exceeded the forum's limit. Could you try emailing the zipped file to support@pdf-xchange.com, with a link back to this topic?

Cheers,
If posting files to this forum, you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded.
Thank you.

Best regards

Will Travaglini
Tracker Support (Europe)
Tracker Software Products Ltd.
http://www.tracker-software.com
johnr@etakeoff.com
User
Posts: 54
Joined: Thu Jan 01, 1970 12:00 am

Re: PDF file doesn't display some parts.

Post by johnr@etakeoff.com »

It's 17MB so it probably won't work via email either.

You can find it here: http://etakeoff.com/downloads/DisplayProblem.zip
User avatar
John - Tracker Supp
Site Admin
Posts: 5219
Joined: Tue Jun 29, 2004 10:34 am
Location: United Kingdom
Contact:

Re: PDF file doesn't display some parts.

Post by John - Tracker Supp »

Hi John,

Using the latest release I cannot reproduce the issue at all here - please update to the latest release and use on of the example applications provided and advise if you can still reproduce.

thanks
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.

Best regards
Tracker Support
http://www.tracker-software.com
johnr@etakeoff.com
User
Posts: 54
Joined: Thu Jan 01, 1970 12:00 am

Re: PDF file doesn't display some parts.

Post by johnr@etakeoff.com »

I downloaded the latest just now. The problem still exists in the SDK.

Look at page 5. The upper right plan is not displayed
(above ELECTRICAL ENLARGED PLAN - TYPICAL SUITE)

Also on Page 1, the upper-left logo looks different than in the Adobe Viewer
johnr@etakeoff.com
User
Posts: 54
Joined: Thu Jan 01, 1970 12:00 am

Re: PDF file doesn't display some parts.

Post by johnr@etakeoff.com »

Well, now I'm baffled.

I compiled and ran your example pxcview36_sample_app and it displays correctly.

I checked the parameters I pass to PXCV_DrawPageToDC and they're the same (except for the rectangles)

I checked the call to PXCV_Init() and even plugged my licensing stuff in but still it's fine in your app and wrong in mine.

I'm using MFC but I can't see how that would make a difference.

Any ideas?

Most of the drawing is correct but some parts are missing.
johnr@etakeoff.com
User
Posts: 54
Joined: Thu Jan 01, 1970 12:00 am

Re: PDF file doesn't display some parts.

Post by johnr@etakeoff.com »

OK, I'm an idiot. I relinked but forgot to change out the DLLs so I was still running with the old pxcview.dll. Sorry to waste your time.
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 17906
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: PDF file doesn't display some parts.

Post by Tracker Supp-Stefan »

Glad you finally found the "villain" and fixed it John!

We will consider this closed!

Cheers,
Stefan
Post Reply