COSStream toUnicode = (COSStream)font.getDictionaryObject( COSName.getPDFName( "ToUnicode" ) );
if( toUnicode != null )
{
if( cmap == null )
{
CMapParser parser = new CMapParser( toUnicode.getUnfilteredStream(), toUnicode.getScratchFile() );
parser.parse();
cmap = parser.getResult();
}
retval = cmap.lookup( c, offset, length );
}
}
else