Mercurial > hg > octave-lyh
changeset 17327:27fc61cfbc6e
Use interpreter property when rendering text objects (bug #39830).
* libinterp/corefcn/graphics.cc (text::properties::update_text_extent):
Use interpreter property to render text.
author | Michael Goffioul <michael.goffioul@gmail.com> |
---|---|
date | Fri, 23 Aug 2013 10:07:31 -0400 |
parents | accafe1aee7c |
children | ea23eb07f8ed |
files | libinterp/corefcn/graphics.cc |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libinterp/corefcn/graphics.cc +++ b/libinterp/corefcn/graphics.cc @@ -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.