Struct fonterator::Font [] [src]

pub struct Font<'a> { /* fields omitted */ }

A single font. This may or may not own the font data.

Methods

impl<'a> Font<'a>
[src]

[src]

Constructs a font from an array of bytes, this is a shortcut for FontCollection::new for collections comprised of a single font.

[src]

Returns the units per EM square of this font

[src]

The number of glyphs present in this font. Glyph identifiers for this font will always be in the range 0..self.glyph_count()

Important traits for GlyphIterator<'a>
[src]

Get an iterator over the glyphs in a string.

Trait Implementations

impl<'a> Clone for Font<'a>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl<'a> Send for Font<'a>

impl<'a> Sync for Font<'a>