#![doc = include_str!("../README.md")]
pub mod annotated_string;
mod ascii_breaks;
pub mod bidi_level;
mod break_leads;
mod cluster_widths;
mod coverage;
pub mod decoration;
mod ellipsis_at;
pub mod font;
mod font_fallback;
pub mod font_family_resolver;
pub mod font_feature;
pub mod glyph_id;
mod glyph_ink;
pub mod glyph_outline;
#[cfg(feature = "hyphenation")]
pub mod hyphenator;
mod index_range;
pub mod itemizer;
mod laid_glyphs;
mod layout_body;
pub mod layout_input;
pub mod layout_options;
pub mod line_box;
mod line_breaker;
mod line_hold;
mod line_runs;
mod line_text;
pub mod paragraph;
mod paragraph_intrinsics;
mod paragraph_measures;
mod plain_chars;
mod plain_glyphs;
mod plain_kerning;
pub mod script;
mod script_lookups;
mod shaped_glyphs;
mod shaped_item;
pub mod shaper;
pub mod shaping_span;
mod simple_glyf;
pub mod style;
pub mod synthesized_style;
pub mod text_layout;
pub mod text_layouter;
pub mod typeface;
pub mod unit;
pub mod word_boundary;
mod word_cache;
mod word_split;
pub use annotated_string::{
AnnotatedString, LinkAnnotation, LinkKey, RangeStyle, RenderString, SpanBoundaries,
StringAnnotation,
};
pub use bidi_level::BidiLevel;
pub use decoration::{Shadow, TextDecoration};
pub use font::{
FileBackedFontFamily, FontFamily, FontFile, FontStyle, FontSynthesis, FontWeight,
LoadedTypefacePath,
};
pub use font_family_resolver::{FontFamilyResolver, FontRequest};
pub use font_feature::{FontFeature, FontFeatureSettings, font_feature_settings};
pub use glyph_id::GlyphId;
pub use glyph_outline::{GlyphOutline, OutlineSegment, OutlineTransform};
#[cfg(feature = "hyphenation")]
pub use hyphenator::{HyphenationError, Hyphenator};
pub use itemizer::{Itemizer, TextItem};
pub use layout_input::{LayoutInput, ParagraphLengths};
pub use layout_options::{TextLayoutOptions, TextOptions, TextOverflow};
pub use line_box::{FontExtent, LineBox, line_box, paragraph_line_box};
pub use paragraph::{
Hyphens, LineBreak, ResolvedTextDirection, TextAlign, TextDirection, TextIndent,
resolve_text_direction,
};
pub use paragraph_intrinsics::ParagraphIntrinsics;
pub use script::Script;
pub use shaped_glyphs::{GlyphOffset, ShapedGlyph, ShapedGlyphs};
pub use shaper::Shaper;
pub use shaping_span::ShapingSpan;
pub use style::{
BaselineShift, LineHeightAlignment, LineHeightMode, LineHeightStyle, LineHeightTrim,
LocaleList, ParagraphStyle, PlatformParagraphStyle, PlatformSpanStyle, PlatformTextStyle,
SpanStyle, TextDrawStyle, TextGeometricTransform, TextMotion, TextShaping, TextStyle,
};
pub use synthesized_style::SynthesizedStyle;
pub use text_layout::{CaretDirection, GlyphRun, PositionedGlyph, TextLayout};
pub use text_layouter::TextLayouter;
pub use typeface::{
DecorationMetrics, FontBytes, FontFamilyKey, LineMetrics, Synthesis, Typeface, TypefaceError,
};
pub use unit::TextUnit;
pub use word_boundary::word_boundary;