3 use Test::Simple tests => 2;
7 $f = Font::TTF::Font->open("t/testfont.ttf");
9 $f->tables_do(sub { $_[0]->read; });
10 $f->{'loca'}->glyphs_do(sub {$_[0]->read_dat; });
11 $f->out("t/temp.ttf");
12 $res = compare("t/temp.ttf", "t/testfont.ttf");
14 unlink "t/temp.ttf" unless ($res);