Feature/measure text

measure the text drawn with the effective font attributes of an object