use std::{error::Error, fmt, str::FromStr, sync::Arc};
use cosmic_text::{
Attrs, Buffer, Color as CosmicColor, DecorationSpan, Ellipsize, EllipsizeHeightLimit, Family,
FontSystem, LayoutRun, Metrics, PhysicalGlyph, Shaping, Style as FontStyle, SwashCache,
UnderlineStyle, Weight, Wrap, fontdb,
};
use crate::wayland::{
self, Anchor, Canvas, DamageRect, FrameAction, KeyboardInteractivity, Layer, LayerOptions,
Margins, OutputTarget, RenderContext, Renderer, SurfaceId,
};
mod render;
mod types;
pub use cosmic_text::fontdb::Source as FontSource;
pub use render::{FontCtx, FontCtxOptions, LazyFontCtx, Rect, Ui};
pub use types::*;