do not consider "@spice*" texts in symbol bbox calculation (annotator texts)
This commit is contained in:
parent
ce9e8fd3c1
commit
e97a75f65a
|
|
@ -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:"<NULL>");
|
||||
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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue