1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
//! Parser for TrueType fonts.

#[macro_use(deref, flags, raise, table)]
extern crate typeface;

mod encoding;
mod number;
mod tag;

pub mod char_mapping;
pub mod font_header;
pub mod glyph_data;
pub mod glyph_mapping;
pub mod horizontal_header;
pub mod horizontal_metrics;
pub mod maximum_profile;
pub mod naming_table;
pub mod offset_table;
pub mod postscript;
pub mod windows_metrics;

pub use typeface::{Error, Result, Tape, Value, Walue};

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 number::{q16, q32};
pub use offset_table::OffsetTable;
pub use postscript::PostScript;
pub use tag::Tag;
pub use windows_metrics::WindowsMetrics;

/// A glyph identifier.
pub type GlyphID = u16;