use super::{data_len, decode_data, decode_glyphs, DecodedFace};
use crate::quickdraw::fonts::{FontMetrics, Glyph};
pub use super::geneva18::GENEVA_18_SRC as CAIRO_18_SRC;
pub const CAIRO_18_METRICS: FontMetrics = FontMetrics {
ascent: 18,
descent: 4,
wid_max: 18,
leading: 1,
};
const LEN: usize = data_len(CAIRO_18_SRC);
pub const CAIRO_18_GLYPHS: [Glyph; 95] = decode_glyphs(CAIRO_18_SRC);
pub const CAIRO_18_DATA: [u8; LEN] = decode_data(CAIRO_18_SRC);
#[allow(dead_code)]
pub const FACE: DecodedFace = DecodedFace {
metrics: CAIRO_18_METRICS,
glyphs: &CAIRO_18_GLYPHS,
data: &CAIRO_18_DATA,
};