public Type1Font(String platname,Object nativeNames,boolean createdCopy) throws FontFormatException {
  super(platname,nativeNames);
  fontRank=Font2D.TYPE1_RANK;
  checkedNatives=true;
  try {
    verify();
  }
 catch (  Throwable t) {
    if (createdCopy) {
      T1DisposerRecord ref=new T1DisposerRecord(platname);
      Disposer.addObjectRecord(bufferRef,ref);
      bufferRef=null;
    }
    if (t instanceof FontFormatException) {
      throw (FontFormatException)t;
    }
 else {
      throw new FontFormatException("Unexpected runtime exception.");
    }
  }
}

public Type1Font ( String platname , Object nativeNames , boolean createdCopy ) throws FontFormatException { super ( platname , nativeNames ) ; fontRank = Font2D . TYPE1_RANK ; checkedNatives = true ; try { verify ( ) ; } catch ( Throwable t ) { if ( createdCopy ) { T1DisposerRecord ref = new T1DisposerRecord ( platname ) ; Disposer . addObjectRecord ( bufferRef , ref ) ; bufferRef = null ; } if ( t instanceof FontFormatException ) { throw ( FontFormatException ) t ; } else { throw new FontFormatException ( "Unexpected runtime exception." ) ; } } }
- does basic verification of the file - reads the names ( full , family ) . - determines the style of the font .
