Struct rofl::FontLoader [] [src]

pub struct FontLoader { /* fields omitted */ }

Loader for fonts stored in a directory.

Font names are translated directly into file names, loaded, and cached.

Methods

impl FontLoader
[src]

Create a new font loader.

Trait Implementations

impl Debug for FontLoader
[src]

Formats the value using the given formatter.

impl Loader for FontLoader
[src]

Type of resources that this loader can load.

Error that may occur while loading the resource.

Load a font with given name.