Index: draw_csect.c =================================================================== --- draw_csect.c (revision 10646) +++ draw_csect.c (revision 10647) @@ -67,7 +67,7 @@ t.Scale = scale; t.fid = 0; /* use the default font */ t.Flags = pcb_no_flags(); - DrawTextLowLevel(&t, 0); + pcb_text_draw(&t, 0); return &t; } @@ -83,7 +83,7 @@ t.Scale = scale; t.fid = 0; /* use the default font */ t.Flags = pcb_no_flags(); - DrawTextLowLevel(&t, th); + pcb_text_draw(&t, th); return &t; } @@ -102,11 +102,11 @@ if (pcb_gui->gui) { /* it is unreadable on black&white and on most exporters */ pcb_gui->set_color(gc, bgcolor); - DrawTextLowLevel(&t, 1000000); + pcb_text_draw(&t, 1000000); } pcb_gui->set_color(gc, fgcolor); - DrawTextLowLevel(&t, 0); + pcb_text_draw(&t, 0); return &t; }