Mercurial > octave
changeset 22577:fc9cd56986af stable
Use a default font of Arial for gnuplot on Windows systems (Bug #49135).
* __gnuplot_draw_axes__.m: Use a default font of "Arial", rather than
"Helvetica", since that is widely available on Windows systems.
author | Rik <rik@octave.org> |
---|---|
date | Sat, 01 Oct 2016 18:29:43 -0700 |
parents | 730b385e5646 |
children | 956f5c71dc3c |
files | scripts/plot/util/private/__gnuplot_draw_axes__.m |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/plot/util/private/__gnuplot_draw_axes__.m Sat Oct 01 20:47:34 2016 +0100 +++ b/scripts/plot/util/private/__gnuplot_draw_axes__.m Sat Oct 01 18:29:43 2016 -0700 @@ -2335,7 +2335,10 @@ if (isempty (t.fontname) || strcmp (t.fontname, "*")) if (ispc ()) - fnt = "Helvetica"; + ## FIXME: Should really test for "windows" terminal which is the + ## only terminal to have a problem with a null font specification. + ## See Bug #49135. + fnt = "Arial"; else fnt = ""; endif