PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Tue Oct 08, 2024 7:04 pm

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Tue Nov 21, 2023 3:58 pm 
Offline

Joined: Tue Nov 21, 2023 3:48 pm
Posts: 2
I work for a government organization where we process resumes.

Occasionally, we get forms that are blank in Adobe Acrobat. In those cases, we generally open them in Chrome.

My theory is that Chrome is being used to fill out the PDFs and it writes with a proprietary font that Adobe Acrobat cannot access.

Today, we came across one that would not open in Chrome, but someone was able to open it in Firefox. However it's more! It isn't just a blank form like in previous examples. This version simply doesn't display at all.

Interested, I viewed the file in a text editor (notepad) where I saw the following code in the header:
Code:
%PDF-1.4
%ÓôÌá
1 0 obj
<<
/CreationDate(D:20231107181515-05'00')
/Creator(PDFsharp 1.50.4740 \(www.pdfsharp.com\))
/Producer(PDFsharp 1.50.4740 \(www.pdfsharp.com\))
>>
endobj
2 0 obj
<<
/Type/Catalog
/Pages 3 0 R
>>
endobj
3 0 obj
<<
/Type/Pages
/Count 4
/Kids[34 0 R 61 0 R 63 0 R 73 0 R]
>>
endobj
4 0 obj
<<
/ProcSet[/PDF/Text/ImageB/ImageC/ImageI]
/ExtGState 5 0 R
/Font 8 0 R
>>
endobj
5 0 obj
<<

Does anyone here know enough about the guts of the PDF writer to give me any information on this file?

Particularly, we are curious as to why it can only be opened in Firefox.

Since this is somebody's resume and I work at a government facility, obviously I cannot post the resume here.


Top
 Profile  
Reply with quote  
PostPosted: Tue Nov 21, 2023 11:00 pm 
Offline
PDFsharp Expert
User avatar

Joined: Sat Mar 14, 2015 10:15 am
Posts: 993
Location: CCAA
jp2code wrote:
Since this is somebody's resume and I work at a government facility, obviously I cannot post the resume here.
Since we cannot reproduce the issue, what do you expect?

Not all tools that modify PDF files update the fields Creator and Producer. We cannot know if PDFsharp was the last tool that modified the PDF. PDF is a library and we do not know how people use it.

Is the resume based on a form you can provide in empty form?

_________________
Best regards
Thomas
(Freelance Software Developer with several years of MigraDoc/PDFsharp experience)


Top
 Profile  
Reply with quote  
PostPosted: Wed Nov 22, 2023 4:33 pm 
Offline

Joined: Tue Nov 21, 2023 3:48 pm
Posts: 2
TH-Soft wrote:
jp2code wrote:
Since this is somebody's resume and I work at a government facility, obviously I cannot post the resume here.
Since we cannot reproduce the issue, what do you expect?

Not all tools that modify PDF files update the fields Creator and Producer. We cannot know if PDFsharp was the last tool that modified the PDF. PDF is a library and we do not know how people use it.

Is the resume based on a form you can provide in empty form?


I'm hoping someone here is able to tell me how to look at the text and read the header information


Like an HTML page: I can read it without knowing how to reproduce it.


If I can read it, I might be able to determine what is wrong with it.


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 13 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