(new Identity0())->getToUnicodeCMap()->textToUnicode($characterGroup), self::WinAnsiEncoding => WinAnsi::textToUnicode($characterGroup), self::MacRomanEncoding => MacRoman::textToUnicode($characterGroup), default => throw new ParseFailureException(sprintf('Unsupported encoding %s', $this->name)), }; } }