1mod colr;
9mod font;
10mod paragraph;
11mod raster;
12mod sdf;
13mod shape;
14mod style;
15#[cfg(feature = "woff2")]
16mod woff2;
17mod wrap;
18
19#[cfg(feature = "woff2")]
20#[doc(hidden)]
21pub fn woff2_to_sfnt_for_probe(bytes: &[u8]) -> Option<Vec<u8>> {
22 woff2::to_sfnt(bytes, 0)
23}
24
25pub use font::{
26 FaceSet, Font, FontAttrs, FontCollection, FontData, FontDemand, FontId, FontSource, FontUid,
27};
28pub use paragraph::{
29 Line, LineMetrics, Paragraph, ParagraphBuilder, PlacedGlyph, PlacedRun, PositionWithAffinity,
30};
31pub use raster::{glyph_path, GlyphImage, GlyphRaster, GlyphStroke, Rasterizer, SDF_PAD};
32pub use style::{
33 Decoration, DecorationKind, ParagraphStyle, Shadow, TextAlign, TextDirection, TextStyle,
34 VariantCaps,
35};