# HG changeset patch # User Pantxo Diribarne # Date 1423514161 -3600 # Node ID 2b93834e5ede3a37c55023382f1b998722902886 # Parent f96671da51a6490c19ccf8c69700a0a0ecab2375 Update tightinset when "font*" properties are changed (bug #39581) * graphics.in.h (axes::properties::update_fontname, axes::properties::update_fontsize, axes::properties::update_fontangle, axes::properties::update_fontweight): call sync_positions () to update the tightinset and position. diff -r f96671da51a6 -r 2b93834e5ede libinterp/corefcn/graphics.in.h --- a/libinterp/corefcn/graphics.in.h Sun Feb 08 23:24:45 2015 -0500 +++ b/libinterp/corefcn/graphics.in.h Mon Feb 09 21:36:01 2015 +0100 @@ -4090,10 +4090,26 @@ } void update_font (void); - void update_fontname (void) { update_font (); } - void update_fontsize (void) { update_font (); } - void update_fontangle (void) { update_font (); } - void update_fontweight (void) { update_font (); } + void update_fontname (void) + { + update_font (); + sync_positions (); + } + void update_fontsize (void) + { + update_font (); + sync_positions (); + } + void update_fontangle (void) + { + update_font (); + sync_positions (); + } + void update_fontweight (void) + { + update_font (); + sync_positions (); + } void update_outerposition (void) {