Hi all,

I got this patch from Mike, which looks valid to me. Can someone please
check this and commit this bug fix? I currently cannot test this, so it
would be great if someone could take this over.

Thank you,
 Dominik


---------- Forwarded message ----------
From: <m...@funduc.com>
Date: Fri, Jun 5, 2015 at 12:28 AM
Subject: Podofo patch
To: domseich...@web.de
Cc: m...@funduc.com


Hello Mr. Seicher!

First of all, I'd like to thank you for providing the tool and source code!

I dumped out the text from a PDF file using the program and for the most
part it worked :)  I found a few small bugs in the
PdfIdentityEncoding::ParseToUnicode() function.

The loop variable needs to be reset when "beginbfrange" or "beginbfchar"
are found.  This is to parse multiple blocks.  Also, the range should
include the end point.

I hope these fixes will help others!

I wasn't able to create a Bug Report or post the patch so here it is:
261c261
<                             for (int k = range_start; k < range_end; k++)
---
>                             for (int k = range_start; k <= range_end; k++)
311a312
>                 loop = 0;
326a328
>                 loop = 0;


Thank you again and please let me know if you have any questions,

Mike Funduc



--------------------------------------------------------------
Funduc Software Inc
http://www.funduc.com     http://www.searchandreplace.com

.
------------------------------------------------------------------------------
_______________________________________________
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to