SFont font = new SFont(f.getName(), f.getStyle(), f.getSize()); setFont(font);
    public void setFont(SFont font) {        boolean changed = attributes.putAll(CSSStyleSheet.getAttributes(font));        if (changed) {            reload(ReloadManager.RELOAD_STYLE);        }    }