# HG changeset patch # User Michael Goffioul # Date 1377266851 14400 # Node ID 27fc61cfbc6eaf4a9f9fa0f05cac6096947baa0b # Parent accafe1aee7c04648ab0b3dc85f89b13de88e1c8 Use interpreter property when rendering text objects (bug #39830). * libinterp/corefcn/graphics.cc (text::properties::update_text_extent): Use interpreter property to render text. diff -r accafe1aee7c -r 27fc61cfbc6e libinterp/corefcn/graphics.cc --- a/libinterp/corefcn/graphics.cc Fri Aug 23 14:43:06 2013 +0100 +++ b/libinterp/corefcn/graphics.cc Fri Aug 23 10:07:31 2013 -0400 @@ -7128,7 +7128,8 @@ string_vector sv = string_prop.all_strings (); renderer.text_to_pixels (sv.join ("\n"), pixels, bbox, - halign, valign, get_rotation ()); + halign, valign, get_rotation (), + get_interpreter ()); /* The bbox is relative to the text's position. We'll leave it that way, because get_position () does not return valid results when the text is first constructed.