1
0
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:
Werner Almesberger 2016-07-25 01:14:28 -03:00
parent b0b8f058c5
commit 707c8f790d

View File

@ -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);
} }