A lightweight and easy-to-use .sfl file (bitmap font) parser made with Rust.
Documentation at docs.rs or simply:
toml
[dependencies]
sfl_parser="1.2"
rust
extern crate sfl_parser;
You're done! Here is an example of how to use it: ```rust use sfl_parser::BMFont;
let bmfont = match BMFont::frompath("examples/fonts/iosevka.sfl") { Ok(bmfont) => bmfont, Err() => panic!("Failed to load iosevka.sfl"), };
println!("bmfont: {}", bmfont); ```
This crate is distributed under the terms of the MIT License.