font 0.42.0

The package provides a builder and parser of fonts.
Documentation
#[macro_use]
mod support;

use font::opentype::truetype::Tag;

use crate::support::{setup, Fixture};

#[test]
fn noto_naskh_arabic() {
    let mut file = setup(Fixture::NotoNaskhArabic);
    let values = ok!(file[0].tables());
    assert_eq!(
        values,
        vec![
            Tag(*b"GDEF"),
            Tag(*b"GPOS"),
            Tag(*b"GSUB"),
            Tag(*b"OS/2"),
            Tag(*b"cmap"),
            Tag(*b"cvt "),
            Tag(*b"fpgm"),
            Tag(*b"gasp"),
            Tag(*b"glyf"),
            Tag(*b"loca"),
            Tag(*b"head"),
            Tag(*b"hhea"),
            Tag(*b"hmtx"),
            Tag(*b"maxp"),
            Tag(*b"name"),
            Tag(*b"post"),
            Tag(*b"prep"),
        ],
    );
}