Crate truetype [] [src]

Parser for TrueType fonts.

Reexports

pub use char_mapping::CharMapping;
pub use font_header::FontHeader;
pub use glyph_data::GlyphData;
pub use glyph_mapping::GlyphMapping;
pub use horizontal_header::HorizontalHeader;
pub use horizontal_metrics::HorizontalMetrics;
pub use maximum_profile::MaximumProfile;
pub use naming_table::NamingTable;
pub use offset_table::OffsetTable;
pub use postscript::PostScript;
pub use windows_metrics::WindowsMetrics;

Modules

char_mapping

The char-to-glyph mapping.

font_header

The font header.

glyph_data

The glyph data.

glyph_mapping

The glyph-to-location mapping.

horizontal_header

The horizontal header.

horizontal_metrics

The horizontal metrics.

maximum_profile

The maximum profile.

naming_table

The naming table.

offset_table

The offset table.

postscript

The PostScript information.

windows_metrics

The OS/2 and Windows metrics.

Structs

Tag

A tag.

q16

A fixed-point number in format Q2.14.

q32

A fixed-point number in format Q16.16.

Traits

Tape

A type that can read.

Value

A type that can be read.

Walue

A type that can be read given a parameter.

Type Definitions

Error

An error.

GlyphID

A glyph identifier.

Result

A result.