mod arabic;
#[rustfmt::skip]
mod arabic_tables;
pub mod atlas;
mod bidi;
#[rustfmt::skip]
mod bidi_mirroring;
#[cfg(target_family = "wasm")]
pub mod browser_glyph_rasterizer;
pub mod constants;
mod face;
pub mod font_face_engine;
#[cfg(any(feature = "system-fonts", target_family = "wasm"))]
pub(crate) mod font_name;
pub(crate) mod font_stack;
pub mod glyph;
pub(crate) mod glyph_cache;
pub mod glyph_pbf;
pub(crate) mod glyph_store;
mod line_breaks;
pub mod local_fonts;
mod rasterize;
mod shaper;
pub mod shaping;
#[cfg(test)]
mod shaping_test;
#[cfg(feature = "system-fonts")]
pub mod system_fonts;
pub mod tagged_string;
pub mod tiny_sdf;
pub(crate) mod weight;
mod woff;
pub use arabic::shape_arabic;
pub use bidi::{BiDiRun, starts_right_to_left, visual_runs};
#[cfg(all(feature = "system-fonts", not(target_family = "wasm")))]
pub(crate) use face::FontFile;
pub use glyph::{
Bounds, Glyph, GlyphID, GlyphIDType, GlyphMap, GlyphMetrics, GlyphPosition, GlyphPositions, GlyphRange,
PositionedGlyph, PositionedLine, ShapeResults, Shaping,
};
pub use glyph_cache::GlyphCache;
pub use shaper::{GlyphAdjust, ShapedText, Shaper};
pub use shaping::{PositionedIcon, ShapingOptions, anchor_alignment, anchor_justification, shape_text};
pub use tagged_string::{SectionOptions, TaggedString};
#[cfg(test)]
mod tests;