typographic-unit is a Ruby library for converting between typographic units according to TeX.