Mercurial > hg > octave-nkf
changeset 12002:59fb9a2d9aca release-3-2-x
__go_draw_axes__.m: Change the default x11 fontspec from '*,%d' to ',%d'.
author | Ben Abbott <bpabbott@mac.com> |
---|---|
date | Mon, 22 Jun 2009 07:56:24 +0200 |
parents | 21f9ff16c49a |
children | 10fb62b82108 |
files | scripts/ChangeLog scripts/plot/__go_draw_axes__.m |
diffstat | 2 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,3 +1,8 @@ +2009-06-18 Ben Abbott <bpabbott@mac.com> + + * plot/__go_draw_axes__.m: Change the default x11 fontspec from '*,0' + to ',0' to avoid delays searching the fontpath for a font named '*'. + 2009-06-18 Daniel Gualberto <daniel@alacer.com.br> * polynomial/mpoles.m: Fix infinite loop for a multiplicity of
--- a/scripts/plot/__go_draw_axes__.m +++ b/scripts/plot/__go_draw_axes__.m @@ -1337,7 +1337,7 @@ endfunction function fontspec = create_fontspec (f, s, gp_term) - if (strcmp (f, "*") && ! strcmp (gp_term, "x11")) + if (strcmp (f, "*")) fontspec = sprintf ("font \",%d\"", s); else fontspec = sprintf ("font \"%s,%d\"", f, s);