Skip to content

Latest commit

 

History

19 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jessie-ttf-parser

A const TrueType parser that is made to keep as much information as possible.

Usage example :

use jessie_ttf_parser::parser::Parser;
fn main() -> Result<(),()> {
    let bytes = include_bytes!("path/to/font/file.ttf");
    let mut parser = Parser::new(bytes);
    let table_directory = parser.parse().ok_or(())?;
    for table_record in table_directory.table_records {
        println!("This font supports the {} table!",table_record.table_tag);
    }
    Ok(())
}

About

A TrueType font parser that is meant to keep as much information as possible.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages