Line 0
Link Here
|
|
|
1 |
--- lib/Text/FIGlet/Font.pm.orig 2013-04-20 02:20:11 UTC |
2 |
+++ lib/Text/FIGlet/Font.pm |
3 |
@@ -18,7 +18,7 @@ sub new{ |
4 |
my $self = {_maxLen=>0, -U=>-1, -m=>-2, @_}; |
5 |
$self->{-m} = -3 if defined($self->{-m}) && $self->{-m} eq '-0'; |
6 |
$self->{-f} ||= $ENV{FIGFONT} || 'standard'; |
7 |
- $self->{-d} ||= $ENV{FIGLIB} || '/usr/games/lib/figlet/'; |
8 |
+ $self->{-d} ||= $ENV{FIGLIB} || '%%PREFIX%%/share/figlet/'; |
9 |
_load_font($self); |
10 |
bless($self); |
11 |
} |
12 |
@@ -370,7 +370,7 @@ B<Text::FIGlet::Font> can print in a var |
13 |
right-to-left, with adjacent glyphs kerned and smushed together in various |
14 |
ways. FIGlet fonts are stored in separate files, which can be identified by |
15 |
the suffix I<.flf>. Most FIGlet font files will be stored in FIGlet's default |
16 |
-font directory F</usr/games/lib/figlet>. Support for TOIlet fonts I<.tlf>, |
17 |
+font directory F<%%PREFIX%%/share/figlet>. Support for TOIlet fonts I<.tlf>, |
18 |
which are typically in the same location, has also been added. |
19 |
|
20 |
This implementation is known to work with perl 5.005, 5.6 and 5.8, including |
21 |
@@ -386,7 +386,7 @@ support for Unicode (UTF-8) in all three |
22 |
|
23 |
Whence to load files. |
24 |
|
25 |
-Defaults to F</usr/games/lib/figlet> |
26 |
+Defaults to F<%%PREFIX%%/share/figlet> |
27 |
|
28 |
=item B<-D=E<gt>>I<boolean> |
29 |
|
30 |
@@ -554,7 +554,7 @@ It should reside in the directory specif |
31 |
=item FIGLIB |
32 |
|
33 |
The default location of fonts. |
34 |
-If undefined the default is F</usr/games/lib/figlet> |
35 |
+If undefined the default is F<%%PREFIX%%/share/figlet> |
36 |
|
37 |
=back |
38 |
|