
TTFunk is a TrueType font parser written in pure Ruby. It gives access to various data included in a .ttf file, including the name, family, subfamily of the font, as well as some metrics information.
TTFunk can be used by Ruby PDF generation libraries, like ruby-prawn.