code: public static void convert(RandomAccessFileOrArray in, OutputStream out) throws IOException {
          Pfm2afm p = new Pfm2afm(in, out);
          p.openpfm();
          p.putheader();
          p.putchartab();
          p.putkerntab();
          p.puttrailer();
          p.out.flush();
      }
docs: Converts a PFM file into an AFM file.
  @param in the PFM file
  @param out the AFM file
  @throws IOException on error