summaryrefslogtreecommitdiff
path: root/kicad/pl-render.c
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-09-08 00:44:43 -0300
committerWerner Almesberger <werner@almesberger.net>2016-09-08 00:44:43 -0300
commitfa130f5a73cee267856102d90bdb48bf5aaa1307 (patch)
treed8e53b91066c4c46dcb99b96859282fec6f461a6 /kicad/pl-render.c
parent284ec4ec48610b5e9ee8b2fbd5a6697d9b0368f5 (diff)
downloadeeshow-fa130f5a73cee267856102d90bdb48bf5aaa1307.tar.gz
eeshow-fa130f5a73cee267856102d90bdb48bf5aaa1307.tar.bz2
eeshow-fa130f5a73cee267856102d90bdb48bf5aaa1307.zip
kicad/: support rotated text in page layouts
Diffstat (limited to 'kicad/pl-render.c')
-rw-r--r--kicad/pl-render.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kicad/pl-render.c b/kicad/pl-render.c
index fd20992..8f4b940 100644
--- a/kicad/pl-render.c
+++ b/kicad/pl-render.c
@@ -163,7 +163,7 @@ static void render_text(const struct pl_ctx *pl, const struct pl_obj *obj,
.size = mil(obj->ey ? obj->ey : pl->ty),
.x = x,
.y = y,
- .rot = 0,
+ .rot = obj->rotate,
.hor = obj->hor,
.vert = obj->vert,
.style = text_normal, // @@@