read-fonts 0.44.0

Reading OpenType font files.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Metrics for a font and its glyphs.

mod global;

pub use global::{GlobalMetrics, LineBox};

// The per-glyph metrics are reached only through a font, so they exist only
// where it does.
#[cfg(feature = "experimental_font_api")]
mod glyph;

#[cfg(feature = "experimental_font_api")]
pub use glyph::GlyphMetrics;
#[cfg(feature = "experimental_font_api")]
pub(crate) use glyph::{empty as empty_glyph_metrics, RawGlyphMetrics};