components/gnuplot/patches/arial.patch
changeset 204 78dfe4707c7c
equal deleted inserted replaced
203:887f23af6934 204:78dfe4707c7c
       
     1 --- gnuplot-4.4.0/term/gd.trm.orig	Wed Feb 24 18:29:20 2010
       
     2 +++ gnuplot-4.4.0/term/gd.trm	Mon Mar 28 16:41:55 2011
       
     3 @@ -978,7 +978,11 @@
       
     4  	if (external_default)
       
     5  		png_state.ttffont = gp_strdup(external_default);
       
     6  	else	/* Might as well try some plausible font; it's no worse than failing immediately */
       
     7 +#ifndef sun
       
     8  		png_state.ttffont = gp_strdup("arial");
       
     9 +#else /* sun */
       
    10 +		png_state.ttffont = gp_strdup("LiberationSans-Regular");
       
    11 +#endif /* sun */
       
    12  
       
    13  	free(png_state.default_ttffont);
       
    14  	png_state.default_ttffont = gp_strdup(png_state.ttffont);