put conditional for attributes on font