pub mod items;
pub mod justification;
pub mod paragraphs;
use printpdf::Pt;
use crate::font::Font;
#[derive(Debug, Clone)]
pub struct Glyph<'a> {
pub glyph: char,
pub font: &'a Font,
pub scale: Pt,
}
impl<'a> Glyph<'a> {
pub fn new(glyph: char, font: &'a Font, scale: Pt) -> Glyph<'a> {
Glyph { glyph, font, scale }
}
}