# HG changeset patch # User Rafael Laboissiere # Date 1238064078 -3600 # Node ID e6f5fcf2efe214036d583f53138b30bd47f62a8d # Parent 15774d99f4cce686eb825e82fe2d81c5a5de264a Use "*" as the default fontname for axis tics Keep the choice of the default coherent with the one used in src/graphics.cc and src/graphics.h.in. Ideally, there should be a way to access from Octave scripts the OCTAVE_DEFAULT_FONTNAME macro defined in src/graphics.h.in. diff -r 15774d99f4cc -r e6f5fcf2efe2 scripts/ChangeLog --- a/scripts/ChangeLog Wed Mar 25 23:42:12 2009 -0400 +++ b/scripts/ChangeLog Thu Mar 26 11:41:18 2009 +0100 @@ -1,3 +1,7 @@ 2009-03-25 Kai Habel + + * plot/__go_draw_axes__.m: Use "*" as the default fontname. + 2009-03-25 Kai Habel * general/gradient.m: Fix calculation for more than two diff -r 15774d99f4cc -r e6f5fcf2efe2 scripts/plot/__go_draw_axes__.m --- a/scripts/plot/__go_draw_axes__.m Wed Mar 25 23:42:12 2009 -0400 +++ b/scripts/plot/__go_draw_axes__.m Thu Mar 26 11:41:18 2009 +0100 @@ -1619,7 +1619,7 @@ endfunction function [f, s, fnt, it, bld] = get_fontname_and_size (t) if (isempty (t.fontname)) - fnt = "Helvetica"; + fnt = "*"; else fnt = t.fontname; endif @@ -1657,7 +1657,7 @@ function [str, f, s] = __maybe_munge_tex if (strcmp (fld, "string")) [f, s, fnt, it, bld] = get_fontname_and_size (obj); else - f = "Helvetica"; + f = "*"; s = 10; fnt = f; it = false;