Question: how does ttf file work?
Answer: TTF stands for True Type Font. TTF files are currently used by both Apple and Microsoft as a raster font format. As a raster font, it can be scaled to any size without quality loss or pixelation, and the stored image appears the same when printed as it does on-screen (see: what you see is what you print -- WYSIWYP).