//! Font loading for iced renderers.
/// Load a TrueType font into iced's font system and return the `iced::Font`
/// to use as the renderer default.
///
/// Used by both the live editor and the snapshot renderer.
///
/// # Panics
///
/// Panics if iced's process-wide font-system `RwLock` is poisoned -
/// in normal operation no holder panics while writing, so this is a
/// recovery-impossible condition rather than a runtime contract.