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 file = open.unwrap;
let font = &file.fonts;
assert_eq!;
assert_eq!;
let strings = match font.naming_table ;
assert_eq!;
assert_eq!;
Contribution
- Fork the project.
- Implement your idea.
- Open a pull request.