Crate usvgr_text_layout

Crate usvgr_text_layout 

Source
Expand description

An SVG text layout implementation on top of [usvg] crate.

Re-exports§

pub use fontdb;
pub use lru;

Structs§

FontsCache
Fonts cache. Contains resolved font files from the fontdb database. Have no capacity option because there is no sense in clearing fonts cache, at least for fframes If font is used within one frame there is a high chance it will be used at some future frame as well.
UsvgrTextLayoutCache
Text layout cache. An lru cache strategy that holds an individual text node path group.

Traits§

TextToPath
A usvgr::Text extension trait.
TreeTextToPath
A usvgr::Tree extension trait.