implement font related attr()