text font fixed, text constructor changed to take string