Fixed createText to set the character size of texts.