code: public static Font getFont(Properties attributes) {
          fontImp.defaultEmbedding = defaultEmbedding;
          fontImp.defaultEncoding = defaultEncoding;
          return fontImp.getFont(attributes);
      }
docs: Constructs a <CODE>Font</CODE>-object.
  
  @param   attributes  the attributes of a <CODE>Font</CODE> object.
  @return the Font constructed based on the attributes