Crate skia_rs_text

Crate skia_rs_text 

Source
Expand description

Text layout and rendering for skia-rs.

This crate provides text functionality:

  • Font loading and management
  • Font manager and style sets
  • Text shaping (via rustybuzz/HarfBuzz)
  • Text layout and measurement
  • Rich text paragraph layout
  • Glyph rendering and paths
  • Color glyph (emoji) support

Re-exports§

pub use font::*;
pub use font_mgr::*;
pub use paragraph::*;
pub use shaper::*;
pub use text_blob::*;
pub use typeface::*;

Modules§

font
Font configuration for text rendering.
font_mgr
Font manager for system font enumeration and fallback.
paragraph
Rich text paragraph layout.
shaper
Text shaping using rustybuzz (HarfBuzz compatible).
text_blob
TextBlob for positioned text runs.
typeface
Typeface (font face) abstraction.