Struct bdf::Font [] [src]

pub struct Font { /* fields omitted */ }

A BDF font.

Methods

impl Font
[src]

Create a new font with the given name and content-version.

Validates the definition.

Gets BDF format version.

Sets the BDF format version.

Gets the name.

Sets the name.

Gets the content-version.

Sets the content-version.

Gets the size.

Sets the size.

Gets the default bounding box.

Sets the default bounding box.

Gets the default direction.

Sets the default direction.

Gets the default scalable width.

Sets the default scalable width.

Gets the default device width.

Sets the default device width.

Gets the default alternate scalable width.

Sets the default alternate scalable width.

Gets the default alternate device width.

Sets the default alternate device width.

Gets the default offset vector.

Sets the default offset vector.

Gets the properties.

Gets a mutable reference to the properties.

Gets the glyphs.

Gets a mutable reference to the glyphs.

Trait Implementations

impl Debug for Font
[src]

Formats the value using the given formatter.

impl Default for Font
[src]

Returns the "default value" for a type. Read more