# HG changeset patch # User Ben Abbott # Date 1297212403 18000 # Node ID 7c60b2bd7f39bd940cf3345af7e39318f463118a # Parent a01af8355c463fc92412c3a0345fb7b337d2283e __go_draw_axes__.m: Properly set fontspec for legends. diff -r a01af8355c46 -r 7c60b2bd7f39 scripts/ChangeLog --- a/scripts/ChangeLog Tue Feb 08 19:36:54 2011 -0500 +++ b/scripts/ChangeLog Tue Feb 08 19:46:43 2011 -0500 @@ -1,3 +1,7 @@ +2011-02-08 Ben Abbott + + * plot/__go_draw_axes__.m: Properly set fontspec for legends. + 2011-02-08 John W. Eaton * deprecated/complement.m, deprecated/create_set.m, diff -r a01af8355c46 -r 7c60b2bd7f39 scripts/plot/__go_draw_axes__.m --- a/scripts/plot/__go_draw_axes__.m Tue Feb 08 19:36:54 2011 -0500 +++ b/scripts/plot/__go_draw_axes__.m Tue Feb 08 19:46:43 2011 -0500 @@ -1472,7 +1472,7 @@ pos = ""; endswitch if (__gnuplot_has_feature__ ("key_has_font_properties")) - [fontname, fontsize] = get_fontname_and_size (obj); + [fontname, fontsize] = get_fontname_and_size (hlgnd); fontspec = create_fontspec (fontname, fontsize, gnuplot_term); else fontspec = "";