Index: trunk/util/boxsym-rnd/generator.awk =================================================================== --- trunk/util/boxsym-rnd/generator.awk (revision 2803) +++ trunk/util/boxsym-rnd/generator.awk (revision 2804) @@ -112,7 +112,7 @@ function align_calc(ALIGN, loc, boxloc, target_field, how ,diff) { - diff = ALIGN["box",boxloc] - ALIGN[loc,"count"] + 1 + diff = ALIGN["box",boxloc] - ALIGN[loc,"count"] if (how == "center") ALIGN[loc, target_field] = diff/2 else if ((how == "begin") || (how == "")) @@ -122,8 +122,9 @@ else print "Invalid alignment: " how > stderr + ALIGN[loc, target_field] = int(ALIGN[loc, target_field]) - dbg("align_calc: loc=" loc " boxloc=" boxloc " how=" how " res=" ALIGN[loc, target_field] " boxloc=" ALIGN["box",boxloc] " count=" ALIGN[loc,"count"] ) + dbg("align_calc: loc=" loc " boxloc=" boxloc " how=" how " res=" ALIGN[loc, target_field] " boxloc=" ALIGN["box",boxloc] " count=" ALIGN[loc,"count"] " target_field=" target_field) } function align_pins(sn, ALIGN, TXTBRD)