It should be same as Identity-H. There are also other encodings defined in pdf reference which are not supported by podofo.
Looking at this code it looks that podofo is treating encoding which it does not support as internal logic error rather than user error which suggests it is actually error of podofo that it does not supports all possible encodings: ``` *const* PdfEncoding *PdfEncodingObjectFactory::CreateEncoding (PdfObject *pObject, PdfObject *pToUnicode, *bool* bExplicitNames) { *if* (pObject->IsReference ()) { // resolve any references pObject = pObject->GetOwner ()->GetObject (pObject->GetReference ()); } *if* (pObject->IsName ()) { *const* PdfName & rName = pObject->GetName (); *if* (rName == PdfName ("WinAnsiEncoding")) *return* PdfEncodingFactory::GlobalWinAnsiEncodingInstance (); *else* *if* (rName == PdfName ("MacRomanEncoding")) *return* PdfEncodingFactory::GlobalMacRomanEncodingInstance (); *else* *if* (rName == PdfName ("StandardEncoding")) // OC 13.08.2010 *return* PdfEncodingFactory::GlobalStandardEncodingInstance (); *else* *if* (rName == PdfName ("MacExpertEncoding")) // OC 13.08.2010 TODO solved *return* PdfEncodingFactory::GlobalMacExpertEncodingInstance (); *else* *if* (rName == PdfName ("SymbolEncoding")) // OC 13.08.2010 *return* PdfEncodingFactory::GlobalSymbolEncodingInstance (); *else* *if* (rName == PdfName ("SymbolSetEncoding")) // CB 21.02.2019 *return* PdfEncodingFactory::GlobalSymbolEncodingInstance (); *else* *if* (rName == PdfName ("ZapfDingbatsEncoding")) // OC 13.08.2010 *return* PdfEncodingFactory::GlobalZapfDingbatsEncodingInstance (); *else* *if* (rName == PdfName ("Identity-H")) *return* *new* PdfIdentityEncoding (0, 0xffff, *true*, pToUnicode); } *else* *if* (pObject->HasStream ()) { *return* *new* PdfCMapEncoding(pObject, pToUnicode); } *else* *if* (pObject->IsDictionary ()) { *return* *new* PdfDifferenceEncoding (pObject, *true*, bExplicitNames); } PODOFO_RAISE_ERROR_INFO (ePdfError_InternalLogic, "Unsupported encoding detected!"); //return NULL; Unreachable code } ```
_______________________________________________ Podofo-users mailing list Podofo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/podofo-users