module TTFunk
TTFunk
is a TrueType and OpenType font library written in pure ruby. It supports both parsing and encoding of fonts. Also provides limited font subsetting.
It supports a veriety of SFNT-based formats:
-
TrueType fonts (ttf)
-
OpenType fonts (otf), with both TrueType and CFF glyph outlines
-
DFont resources (dfont)
-
TrueType Collections (ttc)
While not all TrueType and OpenType tables are implemented the most common ones are.