added ttf support. Investigate float precision warning