2 releases

0.1.2 Feb 19, 2024
0.1.1 Oct 18, 2022
0.1.0 Oct 18, 2022

#1401 in Parser implementations

42 downloads per month
Used in image-to-ascii

EPL-2.0 license

30KB
694 lines

bdf-reader License: EPL-2.0 bdf-reader on crates.io bdf-reader on docs.rs Source Code Repository

BDF Reader

A reader for the BDF (Glyph Bitmap Distribution Format) font format.

Example

use bdf_reader::Font;
use std::{fs::File, io::BufReader};

let reader = BufReader::new(File::open("path/to/font.bdf")?);
let font = Font::read(reader)?;

lib.rs:

BDF Reader

A reader for the BDF (Glyph Bitmap Distribution Format) font format.

Example

use bdf_reader::Font;
use std::{fs::File, io::BufReader};

let reader = BufReader::new(File::open("path/to/font.bdf")?);
let font = Font::read(reader)?;

Dependencies

~0.4–1MB
~20K SLoC