/** * Read and convert a given CFFFont. * @param font the given CFFFont * @param i * @return the Type1 font * @throws IOException if an error occurs during reading the given font */ public byte[] format(CFFType1Font font, String i) throws IOException { DataOutput output = new DataOutput(); printFont(font, output, i); return output.getBytes(); }
byte[] eexecBytes = Type1FontUtil.eexecEncrypt(eexecOutput.getBytes()); output.write(eexecBytes);