my $font = Imager::Font->new(file=>$font, type=>ft2) or die Imager->errstr;