Imager::Font::FT2 - font support using FreeType 2
use Imager; my $img = Imager->new; my $font = Imager::Font->new(file => "foo.ttf", type => "ft2"); $img->string(... font => $font);
This provides font support on FreeType 2.
Unfortunately, older versions of Imager would install Imager::Font::FreeType2 even if FreeType 2 wasn't available, and if no font was created would succeed in loading the module. This means that an existing FreeType2.pm could cause a probe success for supported font files, so I've renamed it.
Imager::Font::FreeType2
FreeType2.pm
Tony Cook <tonyc@cpan.org>
Imager, Imager::Font.
To install Imager::Font::FT2, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Imager::Font::FT2
CPAN shell
perl -MCPAN -e shell install Imager::Font::FT2
For more information on module installation, please visit the detailed CPAN module installation guide.