Index: bxl_gram.c =================================================================== --- bxl_gram.c (revision 31019) +++ bxl_gram.c (revision 31020) @@ -604,7 +604,7 @@ break; case 16: #line 124 "bxl_gram.y" - { yyctx->val.un.c = PCB_MIL_TO_COORD(yyctx->stack.l_mark[0].un.d); } + { yyctx->val.un.c = RND_MIL_TO_COORD(yyctx->stack.l_mark[0].un.d); } break; case 17: #line 128 "bxl_gram.y" Index: bxl_gram.y =================================================================== --- bxl_gram.y (revision 31019) +++ bxl_gram.y (revision 31020) @@ -121,7 +121,7 @@ ; coord: - real { $$ = PCB_MIL_TO_COORD($1); } + real { $$ = RND_MIL_TO_COORD($1); } ; common_attr_text: Index: read.c =================================================================== --- read.c (revision 31019) +++ read.c (revision 31020) @@ -355,7 +355,7 @@ ps = pcb_pstk_new_tr(ctx->subc->data, -1, ctx->state.pstk_proto_id, ctx->state.origin_x, ctx->state.origin_y, - PCB_MM_TO_COORD(0.2), pcb_flag_make(PCB_FLAG_CLEARLINE), + RND_MM_TO_COORD(0.2), pcb_flag_make(PCB_FLAG_CLEARLINE), ctx->state.rot, xmirror, smirror); if (ps != NULL) { @@ -445,7 +445,7 @@ if (ctx->state.text_style != NULL) { TODO("need to figure how text is scaled and justified in bxl"); scale = ctx->state.text_style->height; - thickness = PCB_MIL_TO_COORD(ctx->state.text_style->width); + thickness = RND_MIL_TO_COORD(ctx->state.text_style->width); } else { scale = 100;