GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
FT2(3) User Contributed Perl Documentation FT2(3)

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.

Tony Cook <tonyc@cpan.org>

Imager, Imager::Font.
2020-06-13 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.