OpenType
The package provides a parser for OpenType fonts.
Documentation
Example
extern crate opentype;
extern crate truetype;
use File;
use NamingTable;
let path = "SourceSerifPro-Regular.otf";
let font = open.unwrap;
match font.font_header
match font.horizontal_header
match font.naming_table
Contributing
- Fork the project.
- Implement your idea.
- Open a pull request.