eliminate use vars
[imager.git] / lib / Imager / Font / FreeType2.pm
CommitLineData
faa9b3e7 1package Imager::Font::FreeType2;
ee64a81f 2use 5.006;
faa9b3e7 3use strict;
50c75381 4use Imager::Font::FT2;
50c75381 5
ee64a81f
TC
6our @ISA = qw(Imager::Font::FT2);
7
8our $VERSION = "1.021";
50c75381 9
3e882362 10
faa9b3e7
TC
111;
12
13__END__
14
15=head1 NAME
16
17 Imager::Font::FreeType2 - low-level functions for FreeType2 text output
18
19=head1 DESCRIPTION
20
21Imager::Font creates a Imager::Font::FreeType2 object when asked to.
22
23See Imager::Font to see how to use this type.
24
25This class provides low-level functions that require the caller to
26perform data validation.
27
28This driver supports:
29
30=over
31
32=item transform()
33
34=item dpi()
35
36=item draw()
37
38The following parameters:
39
40=over
41
5715f7c3 42=item *
faa9b3e7 43
5715f7c3 44C<utf8>
faa9b3e7 45
5715f7c3
TC
46=item *
47
48C<vlayout>
49
50=item *
51
52C<sizew>
faa9b3e7
TC
53
54=back
55
56=back
57
58=head2 Special behaviors
59
60If you call transform() to set a transformation matrix, hinting will
61be switched off. This prevents sudden jumps in the size of the text
62caused by the hinting when the transformation is the identity matrix.
63If for some reason you want hinting enabled, use
64$font->hinting(hinting=>1) to re-enable hinting. This will need to be
65called after I<each> call to transform().
66
67=head1 AUTHOR
68
69Addi, Tony
70
71=cut