Hi,

You are indeed right. I forgot that I had to make the PdfEncoding::GetUnicode() 
method protected instead of private.
Here are the patch files, created with "diff -up". (I’m on Mac and I don’t find 
any gendiff on it).

Best regards,

Etienne

Attachment: PdfCMapEncoding.cpp.patch
Description: PdfCMapEncoding.cpp.patch

Attachment: PdfEncoding.h.patch
Description: PdfEncoding.h.patch


On 07 Feb 2017, at 12:47, frydery...@gmail.com wrote:

Hi Etienne,
Thank you very much for your work. I’m not so pro in c++. 
It works brilliant for me now, but without this Iso88592 enoding I did before.
Only thing, I had to do was making GetUnicodeValue() in Pdf::Encoding public(protected should work as well, imo)
I will send you my pdf file for your test privatelly.
 
Best regards,
Fryderyk.
 
 
 
Od: Etienne Robin
Wysłano: wtorek, 7 lutego 2017 11:41
Do: podofo-users@lists.sourceforge.net; frydery...@gmail.com
Temat: Re: [Podofo-users] reading polish characters using PoDoFo
 
Hi Fryderykst,
 
Here is a patch of PdfCMapEncoding.cpp adding the support of single byte encoding. It is a patch w.r.t v 0.9.4. On my side, it corrects the text extraction from the test.pdf sample shared previously.
Could you try it on your sample or send me your sample ?
 
(This is not yet a patch I’m submitting for the PoDoFo trunk. I will do, just need a bit more time)
 
Best regards,
 
Etienne

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to