From f28236c694e2d864a0820b0ff0632d7758944cd6 Mon Sep 17 00:00:00 2001 From: Matthias Koefferlein Date: Mon, 3 Jul 2023 22:18:55 +0200 Subject: [PATCH] Fixed #1409 (Text edit issue) --- src/edt/edt/edtService.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/edt/edt/edtService.cc b/src/edt/edt/edtService.cc index b8d2ca8c4..aefcf86dd 100644 --- a/src/edt/edt/edtService.cc +++ b/src/edt/edt/edtService.cc @@ -489,7 +489,9 @@ Service::selection_bbox () if (tv_list != 0) { for (std::vector::const_iterator t = tv_list->begin (); t != tv_list->end (); ++t) { if (r->shape ().is_text ()) { - box += *t * text_info.bbox (ctx_trans * r->shape ().text (), *t); + db::Text text; + r->shape ().text (text); + box += *t * text_info.bbox (ctx_trans * text, *t); } else { box += *t * (ctx_trans * r->shape ().bbox ()); }