module HexaPDF::Font::TrueType::Optimizer

Provides methods for optimizing a TrueType font file in various ways.

Public Class Methods

build_for_pdf(font)

Returns for the given font a TrueType font file as binary string that is optimized for use in a PDF (i.e. only the essential tables are retained).