mirror of
git://projects.qi-hardware.com/eda-tools.git
synced 2024-12-24 15:22:24 +02:00
sch2fig/lib.c: text in symbols stays upright
This commit is contained in:
parent
b0b8f058c5
commit
707c8f790d
@ -290,6 +290,13 @@ static void draw_text(const struct text_obj *text, int m[6])
|
|||||||
.vert = text_mid,
|
.vert = text_mid,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
switch (txt.rot) {
|
||||||
|
case 180:
|
||||||
|
text_flip_x(&txt);
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
|
}
|
||||||
text_fig(&txt, COLOR_COMP_DWG, WIDTH_COMP_DWG);
|
text_fig(&txt, COLOR_COMP_DWG, WIDTH_COMP_DWG);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user