PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Wed Apr 24, 2024 10:12 pm

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 6 posts ] 
Author Message
PostPosted: Wed Jan 15, 2014 4:57 pm 
Offline

Joined: Wed Jan 15, 2014 4:47 pm
Posts: 3
Hi All,

I have written application consuming PdfSharp to export pdf. It is working great and exporting pdf with well format on windows 7. But the same application ran on windows 8 creates scattered pdf. It is more zoomed and cropped on some portion of actual pdf. All data is not exported.
I am not sure what is issue since there is no code change at all.
Please check attached pdf file with incorrect format.

Could anybody please let me know what could be the issue?

Any help appreciated.

Thanks!


Attachments:
Untitled.png
Untitled.png [ 56.43 KiB | Viewed 6218 times ]
Top
 Profile  
Reply with quote  
PostPosted: Wed Jan 15, 2014 5:10 pm 
Offline
PDFsharp Guru
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 3096
Location: Cologne, Germany
Hi!
balramchavan wrote:
Please check attached pdf file with incorrect format.
There is no attached PDF, just an attached PNG.

You can ZIP PDF files to attach them.
Would be nice to have one PDF created under Windows 7 and one created under Windows 8 for comparison.

Do the files created under Win 8 look correct under Win 7 and vice versa?

_________________
Regards
Thomas Hoevel
PDFsharp Team


Top
 Profile  
Reply with quote  
PostPosted: Thu Jan 16, 2014 10:10 am 
Offline

Joined: Wed Jan 15, 2014 4:47 pm
Posts: 3
Hi,

I have attached the pdf file created under windows 7 as zip file. I have tried to open pdf file created under windows 8 on windows 7 but it still look odd.

Could you please let me know is there any specific pdfsharp api for windows 8?

Thanks!


Attachments:
Win 7.zip [30.22 KiB]
Downloaded 379 times
Top
 Profile  
Reply with quote  
PostPosted: Thu Jan 16, 2014 10:26 am 
Offline
PDFsharp Guru
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 3096
Location: Cologne, Germany
balramchavan wrote:
I have attached the pdf file created under windows 7 as zip file.
OK. Now please run the same program with the same data under Win 8 and also attach that PDF, otherwise I have nothing to compare.

balramchavan wrote:
Could you please let me know is there any specific pdfsharp api for windows 8?
Our application runs fine under Windows 8 (Windows 8.1 meanwhile), just like it ran under Windows 7 or Windows XP.

There is one PDFsharp for all Windows versions. We have to investigate why your program is not working. One PDF file and one screen shot are not really helpful, so I cannot say anything yet.

_________________
Regards
Thomas Hoevel
PDFsharp Team


Top
 Profile  
Reply with quote  
PostPosted: Fri Jan 17, 2014 9:46 am 
Offline

Joined: Wed Jan 15, 2014 4:47 pm
Posts: 3
Hi,
Thank you for reply. Attached is pdf file generated on windows 8.


Attachments:
win 8 sample.zip [2.12 KiB]
Downloaded 399 times
Top
 Profile  
Reply with quote  
PostPosted: Mon Jan 20, 2014 1:00 pm 
Offline
PDFsharp Guru
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 3096
Location: Cologne, Germany
balramchavan wrote:
I am not sure what is issue since there is no code change at all.
There surely was a code change between the two PDFs you supplied: one uses Arial, the other uses Verdana, one has a logo, the other hasn't. Different sample data was used to create both PDF files.

If would be good to have a SSCCE to replicate the problem.
Or at least two PDFs that were created from the same code with the same sample data.

_________________
Regards
Thomas Hoevel
PDFsharp Team


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 282 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Privacy Policy, Data Protection Declaration, Impressum
Powered by phpBB® Forum Software © phpBB Group