This is an easy one, the ToUnicode cmap is in the font dictionary. You
can get the font dictionary from the page resources. Of course,
there's a direct way to extract text from a PDF using iText without
having to reinvent the wheel.

Paulo

On Wed, Jun 26, 2013 at 5:30 PM, Mohammed Mostafa
<mohammed_mostafa1...@hotmail.com> wrote:
> Hello All,
>
> I ask about how can i extract ToUnicode CMap from PDF file using iText
> libray?
>
> i am using iText PRStream to retrieve page stream from pdf but page stream
> not include CMap!!
>
> wait your reply fastly please...
>
> Thanks,
> Mohammed
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Windows:
>
> Build for Windows Store.
>
> http://p.sf.net/sfu/windows-dev2dev
> _______________________________________________
> iText-questions mailing list
> iText-questions@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/itext-questions
>
> iText(R) is a registered trademark of 1T3XT BVBA.
> Many questions posted to this list can (and will) be answered with a
> reference to the iText book: http://www.itextpdf.com/book/
> Please check the keywords list before you ask for examples:
> http://itextpdf.com/themes/keywords.php

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to