Index: read.c =================================================================== --- read.c (revision 30959) +++ read.c (revision 30960) @@ -658,9 +658,11 @@ } { + rnd_coord_t cl = net_get_clearance(ctx, ly, nc, HKP_CLR_POLY2TRACE, tmp) * 2; + TODO("Remove this block after checking text bounding box calculations"); TODO("Use an UI layer for this. UI layer API in src/layer_ui.h"); - rnd_coord_t cl = net_get_clearance(ctx, ly, nc, HKP_CLR_POLY2TRACE, tmp) * 2; + pcb_line_new(ly, x1, y1, x2, y1, thickness, cl, DEFAULT_OBJ_FLAG); pcb_line_new(ly, x2, y1, x2, y2, thickness, cl, DEFAULT_OBJ_FLAG); pcb_line_new(ly, x2, y2, x1, y2, thickness, cl, DEFAULT_OBJ_FLAG);