diff --git a/src/select.c b/src/select.c index 73a7e23b..0b8b0c0a 100644 --- a/src/select.c +++ b/src/select.c @@ -363,6 +363,7 @@ void symbol_bbox(int i, double *x1,double *y1, double *x2, double *y2) dbg(1, "symbol_bbox(): instance %d text n: %d text str=%s\n", i,j, text.txt_ptr? text.txt_ptr:""); tmp_txt = translate(i, text.txt_ptr); dbg(1, "symbol_bbox(): translated text: %s\n", tmp_txt); + if(tmp_txt && !strncmp(tmp_txt, "@spice", 6)) continue; /* annotator texts not used in bbox */ ROTATION(rot, flip, 0.0,0.0,text.x0, text.y0,text_x0,text_y0); #if HAS_CAIRO==1 customfont=set_text_custom_font(&text);