Index: propdlg.c =================================================================== --- propdlg.c (revision 33998) +++ propdlg.c (revision 33999) @@ -404,6 +404,8 @@ else if (strcmp(row->path, "p/padstack/proto") == 0) helptxt = "Padstack prototype ID\nto use. Determines padstack\ngeometry per layer."; else if (strcmp(row->path, "p/padstack/smirror") == 0) helptxt = "Swap layers of the\npadstack prototype so\nit is rendered upside down\n(layerstack mirror)"; else if (strcmp(row->path, "p/padstack/xmirror") == 0) helptxt = "Mirror geometry over\nthe X axis."; + + else if (strcmp(row->path, "p/text/clearance") == 0) helptxt = "Text clearance\nis experimental.\n\nDO NOT USE!"; } if (last_help != help_expose) { Index: propsel.c =================================================================== --- propsel.c (revision 33998) +++ propsel.c (revision 33999) @@ -225,6 +225,7 @@ map_add_prop(ctx, "p/text/rotation", rnd_angle_t, text->rot); map_add_prop(ctx, "p/text/thickness", rnd_coord_t, text->thickness); map_add_prop(ctx, "p/text/string", String, text->TextString); + map_add_prop(ctx, "p/text/clearance", rnd_coord_t, text->clearance); map_common(ctx, (pcb_any_obj_t *)text); map_attr(ctx, &text->Attributes); if (ctx->geo) { @@ -768,6 +769,9 @@ DONE; } + if (st->c_valid && (strcmp(pn, "clearance") == 0) && + pcb_chg_obj_clear_size(PCB_OBJ_TEXT, text->parent.layer, text, NULL, st->c, st->c_absolute)) DONE; + if ((strcmp(pn, "string") == 0) && (old = pcb_chg_obj_name(PCB_OBJ_TEXT, text->parent.layer, text, NULL, rnd_strdup(st->s)))) { free(old);