use font_map::codegen::FontDesc;
use font_map::error::ParseResult;
use font_map::font::Font;
fn main() -> ParseResult<()> {
let font = Font::from_file("nerd_font/font.ttf")?;
let generator = FontDesc::from_font("Icon", &font, false);
let code_tokens = generator.codegen(None);
println!("Generated some code: {}", !code_tokens.is_empty());
Ok(())
}