Index: tlayer.c =================================================================== --- tlayer.c (revision 36687) +++ tlayer.c (revision 36688) @@ -402,11 +402,11 @@ } if (rot < 0) rot += 360; - text = pcb_text_new(ly, pcb_font(PCB, 0, 1), bx1, by1, rot, 100, 0, argv[8], pcb_flag_make(PCB_FLAG_CLEARLINE)); + text = pcb_text_new(ly, pcb_font_old(PCB, 0, 1), bx1, by1, rot, 100, 0, argv[8], pcb_flag_make(PCB_FLAG_CLEARLINE)); rw = bx2-bx1; rh = by2-by1; pcb_text_pre(text); for(n = 0; n < 8; n++) { - pcb_text_bbox(pcb_font(PCB, 0, 1), text); + pcb_text_bbox(pcb_font_old(PCB, 0, 1), text); aw = text->bbox_naked.X2 - text->bbox_naked.X1; ah = text->bbox_naked.Y2 - text->bbox_naked.Y1; zx = (double)rw/(double)aw; zy = (double)rh/(double)ah; z = zx < zy ? zx : zy; @@ -414,7 +414,7 @@ break; text->Scale = rnd_round(text->Scale*z); } - pcb_text_bbox(pcb_font(PCB, 0, 1), text); + pcb_text_bbox(pcb_font_old(PCB, 0, 1), text); aw = text->bbox_naked.X2 - text->bbox_naked.X1; ah = text->bbox_naked.Y2 - text->bbox_naked.Y1; text->X += (double)(rw-aw)/2.0; text->Y += (double)(rh-ah)/2.0;