Index: trunk/src/plugins/io_easyeda/read_hi_std.c =================================================================== --- trunk/src/plugins/io_easyeda/read_hi_std.c (revision 10653) +++ trunk/src/plugins/io_easyeda/read_hi_std.c (revision 10654) @@ -148,7 +148,7 @@ csch_source_arg_t *src; const char *penname, *txtstr, *anchor; double x, y; - long visible; + long visible, rot; if (nd->type != GDOM_HASH) { error_at(ctx, nd, ("internal: text must be a hash\n")); @@ -157,6 +157,7 @@ HASH_GET_DOUBLE(x, nd, easy_x, return -1); HASH_GET_DOUBLE(y, nd, easy_y, return -1); + HASH_GET_LONG(rot, nd, easy_rot, return -1); HASH_GET_STRING(txtstr, nd, easy_text, return -1); HASH_GET_STRING(anchor, nd, easy_text_anchor, return -1); HASH_GET_LONG(visible, nd, easy_visible, return -1); @@ -220,6 +221,11 @@ txt->text = rnd_strdup(txtstr); easyeda_text_anchor(ctx, txt, anchor, nd); easyeda_apply_lock(ctx, nd, &txt->hdr); + + switch(rot) { + case 0: case 180: case 270: case 90: txt->spec_rot = rot; break; + default: error_at(ctx, nd, ("ignoring invalid text rotation value: %ld\n", rot)); + } } return 0;