1T1(3)                 User Contributed Perl Documentation                T1(3)
2
3
4

NAME

6         Imager::Font::Type1 - low-level functions for Type1 fonts
7

DESCRIPTION

9       Imager::Font creates a Imager::Font::Type1 object when asked to create
10       a font object based on a ".pfb" file.
11
12       See Imager::Font to see how to use this type.
13
14       This class provides low-level functions that require the caller to
15       perform data validation
16
17       By default Imager no longer creates the t1lib.log log file.  You can
18       re-enable that by calling Imager::init() with the "t1log" option:
19
20         Imager::init(t1log=>1);
21
22       This must be called before creating any fonts.
23
24       Currently specific to Imager::Font::Type1, you can use the following
25       flags when drawing text or calculating a bounding box:
26
27       ·   "underline" - Draw the text with an underline.
28
29       ·   "overline" - Draw the text with an overline.
30
31       ·   "strikethrough" - Draw the text with a strikethrough.
32
33       Obviously, if you're calculating the bounding box the size of the line
34       is included in the box, and the line isn't drawn :)
35
36   Anti-aliasing
37       T1Lib supports multiple levels of anti-aliasing, by default, if you
38       request anti-aliased output, Imager::Font::T1 will use the maximum
39       level.
40
41       You can override this with the set_t1_aa() method:
42
43       set_aa_level()
44           Usage:
45
46             $font->set_aa_level(1);
47             Imager::Font::T1->set_aa_level(2);
48
49           Sets the T1Lib anti-aliasing level either for the specified font,
50           or for new font objects.
51
52           The only parameter must be 1 or 2.
53
54           Returns true on success.
55

AUTHOR

57       Addi, Tony
58
59
60
61perl v5.30.0                      2019-07-26                             T1(3)
Impressum