mod colr;
mod font;
mod paragraph;
mod raster;
mod sdf;
mod shape;
mod style;
#[cfg(feature = "woff2")]
mod woff2;
mod wrap;
#[cfg(feature = "woff2")]
#[doc(hidden)]
pub fn woff2_to_sfnt_for_probe(bytes: &[u8]) -> Option<Vec<u8>> {
woff2::to_sfnt(bytes, 0)
}
pub use font::{
match_style, FaceSet, Font, FontAttrs, FontCollection, FontData, FontDemand, FontId,
FontSource, FontUid,
};
pub use paragraph::{
Line, LineMetrics, Paragraph, ParagraphBuilder, PlacedGlyph, PlacedRun, PlaceholderBox,
PositionWithAffinity,
};
pub use raster::{glyph_path, GlyphImage, GlyphRaster, GlyphStroke, Rasterizer, SDF_PAD};
pub use style::{
Decoration, DecorationKind, ParagraphStyle, PlaceholderAlignment, PlaceholderStyle, Shadow,
TextAlign, TextBaseline, TextDirection, TextStyle, VariantCaps,
};