implement more attributes of fonts and add some constants