TextField htmlText support

We needed htmlText support in TextField for TrueType fonts a lot.
So here is a small code modification will be great to see in the master branch.