working on text rendering performance