1T1(3) User Contributed Perl Documentation T1(3)
2
3
4
6 Imager::Font::Type1 - low-level functions for Type1 fonts
7
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
37 Addi, Tony
38
39
40
41perl v5.12.3 2011-08-28 T1(3)