added ttf font support (compiling php options)