private boolean useAdvancedAntiAliasing(Map<String,Object> args) throws TranscoderException {
  boolean useAdvanced=true;
  boolean flashTypeAsName=true;
  String advancedStr=(String)args.get(ADVANTIALIASING);
  if (advancedStr == null) {
    advancedStr=(String)args.get(FLASHTYPE);
  }
 else {
    flashTypeAsName=false;
  }
  if (advancedStr != null) {
    if (advancedStr.equalsIgnoreCase("true")) {
      useAdvanced=true;
    }
 else     if (advancedStr.equalsIgnoreCase("false")) {
      useAdvanced=false;
    }
 else     if (flashTypeAsName) {
      throw new BadFlashType();
    }
 else {
      throw new BadAdvancedAntiAliasing();
    }
  }
 else {
    useAdvanced=fontsConfig.getFlashType();
  }
  return useAdvanced;
}

private boolean useAdvancedAntiAliasing ( Map < String , Object > args ) throws TranscoderException { boolean useAdvanced = true ; boolean flashTypeAsName = true ; String advancedStr = ( String ) args . get ( ADVANTIALIASING ) ; if ( advancedStr == null ) { advancedStr = ( String ) args . get ( FLASHTYPE ) ; } else { flashTypeAsName = false ; } if ( advancedStr != null ) { if ( advancedStr . equalsIgnoreCase ( "true" ) ) { useAdvanced = true ; } else if ( advancedStr . equalsIgnoreCase ( "false" ) ) { useAdvanced = false ; } else if ( flashTypeAsName ) { throw new BadFlashType ( ) ; } else { throw new BadAdvancedAntiAliasing ( ) ; } } else { useAdvanced = fontsConfig . getFlashType ( ) ; } return useAdvanced ; }
determines whether advanced anti - aliasing information should be included in the font definition . the term ' flash type ' is obsolete .
