Decode a double byte PDF encoded string into a plain string format.
This may be necessary
if you are looking at a content stream using a Composite font with a double byte CMap.
This type of operation can be useful if you are extracting text from a PDF content stream containing raw PDF string operators.
Typically you would use the StringAtom Decode or DecodeDoubleByte methods to allow text operator parameters to be decoded into the base text encoding. These can then be passed through the FontObject EncodingToChar and EncodingToString properties to allow mapping from the text encoding through to Unicode values.
|