font_map_core/
lib.rs

1//! Core functionality for `font-map`
2#![warn(missing_docs)]
3#![warn(clippy::pedantic)]
4#![allow(clippy::module_name_repetitions)]
5#![cfg_attr(docsrs, feature(doc_cfg))]
6
7/// Utility macro for printing debug messages if the `debug-parser` feature is enabled
8macro_rules! debug_msg {
9    ($($tokens:tt)*) => {
10        #[cfg(feature = "debug-parser")]
11        { eprintln!($($tokens)*) }
12    };
13}
14
15#[macro_use]
16mod reader;
17
18#[cfg(feature = "codegen")]
19#[cfg_attr(docsrs, doc(cfg(feature = "codegen")))]
20pub mod codegen;
21
22mod svg;
23mod unicode_range;
24
25pub mod error;
26pub mod font;
27
28/// This module contains the raw data structures from parsing font files
29pub mod raw {
30    pub mod ttf;
31}