Module: HexaPDF::Font::TrueType

Defined in:
lib/hexapdf/font/true_type.rb,
lib/hexapdf/font/true_type/font.rb,
lib/hexapdf/font/true_type/table.rb,
lib/hexapdf/font/true_type/builder.rb,
lib/hexapdf/font/true_type/optimizer.rb,
lib/hexapdf/font/true_type/subsetter.rb,
lib/hexapdf/font/true_type/table/os2.rb,
lib/hexapdf/font/true_type/table/cmap.rb,
lib/hexapdf/font/true_type/table/glyf.rb,
lib/hexapdf/font/true_type/table/head.rb,
lib/hexapdf/font/true_type/table/hhea.rb,
lib/hexapdf/font/true_type/table/hmtx.rb,
lib/hexapdf/font/true_type/table/kern.rb,
lib/hexapdf/font/true_type/table/loca.rb,
lib/hexapdf/font/true_type/table/maxp.rb,
lib/hexapdf/font/true_type/table/name.rb,
lib/hexapdf/font/true_type/table/post.rb,
lib/hexapdf/font/true_type/table/directory.rb,
lib/hexapdf/font/true_type/table/cmap_subtable.rb

Overview

This module provides classes for handling TrueType fonts.

Note that currently not all parts of the file format are supported, only those needed for using the fonts with PDF. This means that the implementation is not a complete font handling library but is designed to allow reading font files and extracting information. Furthermore creating a font subset is also possible which is not the same as writing a complete font file from scratch.

Defined Under Namespace

Modules: Builder, Optimizer Classes: Font, Subsetter, Table