Removed old determinetextstyle function that is now in the library.