Dominik Seichter schrieb:
> Hello,
> 
> In the current SVN version, PdfString::GetString() should always return the 
> raw (i.e. not hex encoded) version of the string. So decoding yourself is not 
> necessary anymore. IsHex() indicates only that PoDoFo will hex encode the 
> string when writing the string to the document. It should be documented that 
> this is mostly not interesting for users.
> 
> If this does not work, this is a bug. Of course I am gonna fix it if you 
> found 
> a problem.

Well yes, then I've found a bug :-)

Have a look at the annotations of this document:
http://philipp-wagner.com/temp/bug-podofo-hexstring.pdf
(the problem is visible when reading the annotations with podofopdfinfo)
The first annotation is a regular string "( teststring )", the others
are hex-encoded and should be decoded. Acrobat Reader displays all of
them correctly.

Philipp

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Podofo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to