From 9323c5ee46fbcb5dfd508ef382961a4820626889 Mon Sep 17 00:00:00 2001 From: Frédéric Buclin Date: Mon, 7 Sep 2015 20:06:56 +0200 Subject: Bug 1201041: Allow OpenType fonts as well as TrueType (.otf as well as .ttf) for graphs r=gerv --- Bugzilla/Install/Requirements.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Bugzilla/Install/Requirements.pm') diff --git a/Bugzilla/Install/Requirements.pm b/Bugzilla/Install/Requirements.pm index d9fdc0f9e..19797b7b8 100644 --- a/Bugzilla/Install/Requirements.pm +++ b/Bugzilla/Install/Requirements.pm @@ -744,7 +744,7 @@ sub check_font_file { $readable = 1 if -r $font_file; my $ttf; - $ttf = 1 if $font_file =~ /\.ttf$/; + $ttf = 1 if $font_file =~ /\.(ttf|otf)$/; if ($output) { _checking_for({ package => 'Font file', ok => $readable && $ttf}); -- cgit v1.2.3-24-g4f1b