Package: gnuplot5 / 5.0.0+dfsg1-1~bpo8+1

05_default_gd_font.diff Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: change the default font

Index: gnuplot-5.0.rc2/term/gd.trm
===================================================================
--- gnuplot-5.0.rc2.orig/term/gd.trm
+++ gnuplot-5.0.rc2/term/gd.trm
@@ -989,7 +989,7 @@ PNG_options()
 	if (external_default)
 		png_state.ttffont = gp_strdup(external_default);
 	else	/* Might as well try some plausible font; it's no worse than failing immediately */
-		png_state.ttffont = gp_strdup("arial");
+		png_state.ttffont = gp_strdup("/usr/share/fonts/truetype/liberation/LiberationSans-Regular.ttf");
 
 	free(png_state.default_ttffont);
 	png_state.default_ttffont = gp_strdup(png_state.ttffont);