{//TODO: set symbolic = true/false; depending on the actual encoding!!!
// Encoding.
if(codes == null)
{
Map<ByteArray,Integer> codes;
PdfDataObject encodingObject = getBaseDataObject().resolve(PdfName.Encoding);
if(encodingObject == null) // Native encoding.
{codes = getNativeEncoding();}
else if(encodingObject instanceof PdfName) // Predefined encoding.
{codes = Encoding.get((PdfName)encodingObject).getCodes();}
else // Custom encoding.