1Imager::Font::Type1(3)User Contributed Perl DocumentationImager::Font::Type1(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 per‐
15 form 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
28 Draw the text with an underline.
29
30 overline
31 Draw the text with an overline.
32
33 strikethrough
34 Draw the text with a strikethrough.
35
36 Obviously, if you're calculating the bounding box the size of the line
37 is included in the box, and the line isn't drawn :)
38
40 Addi, Tony
41
42
43
44perl v5.8.8 2008-03-28 Imager::Font::Type1(3)