implement a lot more of the ttf library