PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Wed Feb 05, 2025 8:45 am

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Mon Jan 06, 2025 4:45 pm 
Offline

Joined: Tue Dec 17, 2024 11:56 pm
Posts: 8
I've got a PDF file that I OCR'd using Mobi PDF. Normally Mobi just modifies the page to add the OCR'd text with rendering mode 3 (neither fill not stroke) but sometimes (maybe when the file has enough pages) it instead does an incremental update with a cross reference section (/XRef) and corresponding object stream (/ObjStm). When I've got a file with an incremental update, PdfDocument.Pages returns the original (pre-update) pages instead of the modified versions.

Is this a known deficiency in PdfSharp, or am I using it wrong? Maybe there's a flag I'm supposed to set somewhere to tell PdfReader to pay attention to the updates?


Top
 Profile  
Reply with quote  
PostPosted: Wed Jan 08, 2025 3:10 pm 
Offline
PDFsharp Guru
User avatar

Joined: Sat Mar 14, 2015 10:15 am
Posts: 1028
Location: CCAA
cshearercooper wrote:
Does PdfSharp "notice" PDFs with incremental updates?
Yes.

Are you using version 6.2.0 Preview 2?

See also:
http://forum.pdfsharp.net/viewtopic.php?f=2&t=832

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


Top
 Profile  
Reply with quote  
PostPosted: Wed Jan 08, 2025 3:34 pm 
Offline

Joined: Tue Dec 17, 2024 11:56 pm
Posts: 8
I'm using the latest release version (6.1.1). Is there reason to believe 6.2.0 solves this?


Top
 Profile  
Reply with quote  
PostPosted: Wed Jan 08, 2025 4:25 pm 
Offline
PDFsharp Guru
User avatar

Joined: Sat Mar 14, 2015 10:15 am
Posts: 1028
Location: CCAA
cshearercooper wrote:
Is there reason to believe 6.2.0 solves this?
Yes.

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


Top
 Profile  
Reply with quote  
PostPosted: Mon Jan 13, 2025 7:46 am 
Offline
PDFsharp Guru
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 3118
Location: Cologne, Germany
cshearercooper wrote:
I'm using the latest release version (6.1.1). Is there reason to believe 6.2.0 solves this?
We have no PDF to test with. No feedback if it works with 6.2.0 Preview 2.
So there is nothing we can do about it.

_________________
Regards
Thomas Hoevel
PDFsharp Team


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

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 6 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