Index: write.c =================================================================== --- write.c (revision 31325) +++ write.c (revision 31326) @@ -438,12 +438,7 @@ int index = 0; int scale; - if (pcb_text_old_scale(text, &scale) != 0) - pcb_io_incompat_save(NULL, (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"); - if (text->mirror_x) - pcb_io_incompat_save(NULL, (pcb_any_obj_t *)text, "text-mirror-x", "file format does not support different mirroring text in the x direction", "do not mirror, or mirror in the y direction (with the ONSOLDER flag)"); - TODO("why do we hardwire this here?") default_stroke_thickness = 200000; @@ -457,6 +452,12 @@ TODO("indicate save incompatibility") } + if (pcb_text_old_scale(text, &scale) != 0) + pcb_io_incompat_save(NULL, (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"); + + if (text->mirror_x) + pcb_io_incompat_save(NULL, (pcb_any_obj_t *)text, "text-mirror-x", "file format does not support different mirroring text in the x direction", "do not mirror, or mirror in the y direction (with the ONSOLDER flag)"); + if (current_layer < 9) { /* copper or silk layer text */ if (in_subc) fputs("CS\r\n", ctx->f);