sfl_parser
A lightweight and easy-to-use .sfl file (bitmap font) parser made with Rust.
How to use
Documentation at docs.rs or simply:
- Add the following to your dependencies:
[] ="1.3"
- To your Rust project add the following line:
extern crate sfl_parser;
- You're done! Here is an example of how to use it:
use BMFont; let bmfont = match from_path ; println!; // Or Alternatively let iosevka_sfl = include_str!; let bmfont = match from_loaded ; println!;
License
This crate is distributed under the terms of the MIT License.