李康茂 wrote:

> At first, thank you giving me these information in detail. Here , there 
> is some information printed in attachment when I  obtain chinese text 
> string from a given sample PDF file by means of podofotxtextract tool.
> 
> 18 Variant: 0
> 19 Keyword: Tw
> 
> 20 Variant: <2E9529B42C5814682AFC> 
> 21 Keyword: Tj

That doesn't look like output from podofotxtextract. Are you sure you're 
not using ContentsTest instead?

Here's what I get from podofotxtextract for "chinese.pdf":

C:\Developer\build\podofo-msvc2008\tools\podofotxtextract\Debug>podofotxtextract
.exe "C:\Documents and Settings\c\Desktop\chinese.pdf"
DEBUG: Size=208
DEBUG: Reading numbers: 94 114
DEBUG: Reading XRef Section: 94 with 0 Objects.
DEBUG: Reading numbers: 0 94
DEBUG: Reading XRef Section: 0 with 0 Objects.
DEBUG: Reading numbers: 0 94
DEBUG: Reading XRef Section: 0 with 0 Objects.
<<
/Encrypt null
/ID [ <4CFAE179688AF83987D7E9C39A3557B2> 
<4CFAE179688AF83987D7E9C39A3557B2> ]
/Info 86 0 R
/Prev 528091
/Root 95 0 R
/Size 94
 >>Error: An error 2 ocurred during processing the pdf file.

PoDoFo encounter an error. Error: 2 ePdfError_InvalidHandle
         Error Description: A NULL handle was passed, but initialized 
data was expected.
         Callstack:
         #0 Error Source: 
..\..\..\..\podofo\tools\podofotxtextract\TextExtractor.cpp:104
                 Information: Cannot create font!

So as you can see, it's having trouble understanding the font. Not sure 
why yet, I haven't looked into it.


I actually get a crash of podofotxtextract when reading sample3.pdf . 
Unsure why yet, I'm looking into it now.

--
Craig Ringer

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Podofo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to