Install ruby-ttfunk by entering the following commands in the terminal:
sudo apt update sudo apt install ruby-ttfunk
Description:
Ruby library to parse TrueType font metrics
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.
Homepage: https://github.com/prawnpdf/ttfunk
Version: 1.4.0-1
Section: universe/ruby