1//! Fontdue is a font parser, rasterizer, and layout tool.
2//!
3//! This is a no_std crate, but still requires the alloc crate.
4
5#![no_std]
6#![allow(dead_code)]
7#![allow(clippy::style)]
8#![allow(clippy::complexity)]
9#![allow(clippy::misnamed_getters)]
10
11extern crate alloc;
12
13mod font;
14mod hash;
15/// Tools for laying out strings of text.
16pub mod layout;
17mod math;
18mod platform;
19mod raster;
20mod table;
21mod unicode;
22
23pub use crate::font::*;
24
25/// Alias for Result<T, &'static str>.
26pub type FontResult<T> = Result<T, &'static str>;
27