public void done() throws IOException {
  if (!initialStyles) {
    writeInitialStyles();
    initialStyles=true;
  }
  out.writeUBits(6,0);
  out.flushBits();
  if (bout != null && glyphCount > 0) {
    byte[] glyphBytes=bout.toByteArray();
    glyphByteArrays.add(glyphBytes);
  }
  if (glyphCount > 1) {
    bout=new ByteArrayOutputStream();
    out=new OutStream(bout);
    glyphCount--;
    fill1Index=1;
    lineIndex=0;
    outstandingChanges=true;
    initialStyles=false;
  }
 else {
    if (bout != null) {
      finishFont();
    }
    writer.completeTag();
  }
}

public void done ( ) throws IOException { if ( ! initialStyles ) { writeInitialStyles ( ) ; initialStyles = true ; } out . writeUBits ( 6 , 0 ) ; out . flushBits ( ) ; if ( bout != null && glyphCount > 0 ) { byte [ ] glyphBytes = bout . toByteArray ( ) ; glyphByteArrays . add ( glyphBytes ) ; } if ( glyphCount > 1 ) { bout = new ByteArrayOutputStream ( ) ; out = new OutStream ( bout ) ; glyphCount -- ; fill1Index = 1 ; lineIndex = 0 ; outstandingChanges = true ; initialStyles = false ; } else { if ( bout != null ) { finishFont ( ) ; } writer . completeTag ( ) ; } }
description of the method
