font_map_core/lib.rs
//! Core functionality for `font-map`
#![warn(missing_docs)]
#![warn(clippy::pedantic)]
#![allow(clippy::module_name_repetitions)]
/// Utility macro for printing debug messages if the `debug-parser` feature is enabled
macro_rules! debug_msg {
($($tokens:tt)*) => {
#[cfg(feature = "debug-parser")]
{ eprintln!($($tokens)*) }
};
}
#[macro_use]
mod reader;
#[cfg(feature = "codegen")]
mod codegen;
mod unicode_range;
pub mod error;
pub mod font;
#[cfg(feature = "codegen")]
pub use codegen::FontCodegenExt;
/// This module contains the raw data structures from parsing font files
pub mod raw {
pub mod ttf;
}