Package: pirs / 2.0.2+dfsg-11

do_not_seek_for_arial.ttf.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
Author: Andreas Tille <tille@debian.org>
Last-Update: Sat, 14 Jan 2017 09:40:38 +0100
Description: Replace arial.ttf by LiberationSans-Regular.ttf
 and prevent using locate which is not nice in autopkgtest

--- a/src/stator/gcContCvgBias/gc_coverage_bias_plot.pl
+++ b/src/stator/gcContCvgBias/gc_coverage_bias_plot.pl
@@ -50,13 +50,13 @@ chomp(my $user=`id -nru`);
 my ($gnuplot,$font);
 if ($user eq 'galaxy') {
     $gnuplot='gnuplot';
-    $font='/home/galaxy/fonts/arial.ttf';
+    $font='/usr/share/fonts/truetype/ttf-liberation/LiberationSans-Regular.ttf';
 } else {
     #$gnuplot='/opt/blc/genome/biosoft/gnuplot-4.4.0/bin/gnuplot';
-    $font='/ifs1/ST_ASMB/USER/huxuesong/public/fonts/arial.ttf';
+    $font='/usr/share/fonts/truetype/ttf-liberation/LiberationSans-Regular.ttf';
     $gnuplot='gnuplot';
 }
-chomp(my @ttfile=`locate arial.ttf`);
+chomp(my @ttfile='/usr/share/fonts/truetype/ttf-liberation/LiberationSans-Regular.ttf');
 $font = $ttfile[0] if @ttfile;
 open P,'>',$name.'.dem' or die "Error openimg $name.dem: $!\n";
 my $yrange='#set yrange [0:10]';
--- a/src/stator/baseQualityTransition/hist.dem
+++ b/src/stator/baseQualityTransition/hist.dem
@@ -8,7 +8,7 @@ set logscale y
 #set xtic rotate by -45 scale 0
 #set bmargin 10 
 
-set term png font "/export/data0/Fonts/win7/arial.ttf" 48 size 2102,1576 truecolor linewidth 3
+set term png font "/usr/share/fonts/truetype/ttf-liberation/LiberationSans-Regular.ttf" 48 size 2102,1576 truecolor linewidth 3
 set output "mQhist.png"
 
 set xlabel "Average Q per reads"
--- a/src/stator/indel_hist.dem
+++ b/src/stator/indel_hist.dem
@@ -7,7 +7,7 @@
 #set xtic rotate by -45 scale 0
 #set bmargin 10 
 
-set term png font "/home/huxuesong/arial.ttf" 48 size 2102,1576 truecolor linewidth 3
+set term png font "/usr/share/fonts/truetype/ttf-liberation/LiberationSans-Regular.ttf" 48 size 2102,1576 truecolor linewidth 3
 set output "InDel_hist.png"
 
 set xlabel "Read Cycle"
--- a/src/stator/baseQualityTransition/ifollowQplot.dem
+++ b/src/stator/baseQualityTransition/ifollowQplot.dem
@@ -6,7 +6,7 @@ set mytics
 set xtics out
 set ytics out
 
-set term png font "/export/data0/Fonts/win7/arial.ttf" 48 size 2102,1576 truecolor linewidth 3
+set term png font "/usr/share/fonts/truetype/ttf-liberation/LiberationSans-Regular.ttf" 48 size 2102,1576 truecolor linewidth 3
 set output "ifollowQplot.png"
 
 # Color runs from white to green