Index: tboard.c =================================================================== --- tboard.c (revision 31199) +++ tboard.c (revision 31200) @@ -203,9 +203,12 @@ const char **lyname = (const char **)vtp0_get(&ctx.g2n, rl->meta.real.grp, 0); if (lyname != NULL) { gds_t tmp; + int scale; + if (pcb_text_old_scale(text, &scale) != 0) + pcb_io_incompat_save(subc->data, (pcb_any_obj_t *)text, "text-scale", "file format does not support different x and y direction text scale - using average scale", "Use the scale field, set scale_x and scale_y to 0"); rnd_fprintf(f, " place_text %s %s %.06mm %.06mm %.06mm %.06mm %d %f ", refdes, *lyname, text->bbox_naked.X1, text->bbox_naked.Y1, text->bbox_naked.X2, text->bbox_naked.Y2, - text->Scale, text->rot); + scale, text->rot); gds_init(&tmp); pcb_append_dyntext(&tmp, (pcb_any_obj_t *)text, text->TextString); tedax_fprint_escape(f, tmp.array); Index: tlayer.c =================================================================== --- tlayer.c (revision 31199) +++ tlayer.c (revision 31200) @@ -109,12 +109,15 @@ { pcb_gfx_t *gfx; for(gfx = gfxlist_first(&ly->Gfx); gfx != NULL; gfx = gfxlist_next(gfx)) - pcb_io_incompat_save(PCB->Data, (pcb_any_obj_t *)gfx, "gfx", "gfx can not be exported", "please use the lihata board format"); + pcb_io_incompat_save(pcb->Data, (pcb_any_obj_t *)gfx, "gfx", "gfx can not be exported", "please use the lihata board format"); } PCB_TEXT_LOOP(ly) { + int scale; + if (pcb_text_old_scale(text, &scale) != 0) + pcb_io_incompat_save(pcb->Data, (pcb_any_obj_t *)text, "text-scale", "file format does not support different x and y direction text scale - using average scale", "Use the scale field, set scale_x and scale_y to 0"); rnd_fprintf(f, " text %.06mm %.06mm %.06mm %.06mm %d %f %.06mm ", text->bbox_naked.X1, text->bbox_naked.Y1, text->bbox_naked.X2, text->bbox_naked.Y2, - text->Scale, text->rot, PCB_FLAG_TEST(PCB_FLAG_CLEARLINE, text) ? 1 : 0); + scale, text->rot, PCB_FLAG_TEST(PCB_FLAG_CLEARLINE, text) ? 1 : 0); tedax_fprint_escape(f, text->TextString); fputc('\n', f); } PCB_END_LOOP;