//! Text shaping, styling, and glyph geometry for the nightshade engine.
//!
//! Everything here sits on the path from a `&str` to laid-out glyphs: the
//! shaping context and font database ([`font_engine`]), the styling that
//! describes a run ([`text::TextProperties`]), the slot storage consumers index
//! into ([`text::TextCache`]), and the geometry shaping produces
//! ([`text_data::TextMesh`]). Nothing that is not on that path belongs here.
//!
//! The crate is a leaf: it depends on no other nightshade crate, so the
//! renderer and the retained UI can both build on it. Turning glyph geometry
//! into GPU buffers stays in the renderer, which owns the glyph atlas.
//!
//! [`text_data`] is always available. Shaping pulls in `cosmic-text` and sits
//! behind the `shaping` feature, on by default.
pub use cosmic_text;