components/gnuplot/patches/arial.patch
author Mike Sullivan <Mike.Sullivan@Oracle.COM>
Mon, 11 Mar 2013 10:38:09 -0700
branchs11-update
changeset 2520 ceec631e74d1
parent 204 78dfe4707c7c
permissions -rw-r--r--
Close of build 10.
--- gnuplot-4.4.0/term/gd.trm.orig	Wed Feb 24 18:29:20 2010
+++ gnuplot-4.4.0/term/gd.trm	Mon Mar 28 16:41:55 2011
@@ -978,7 +978,11 @@
 	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 */
+#ifndef sun
 		png_state.ttffont = gp_strdup("arial");
+#else /* sun */
+		png_state.ttffont = gp_strdup("LiberationSans-Regular");
+#endif /* sun */
 
 	free(png_state.default_ttffont);
 	png_state.default_ttffont = gp_strdup(png_state.ttffont);