summaryrefslogtreecommitdiff
path: root/kicad/sch-render.c
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-08-26 01:12:22 -0300
committerWerner Almesberger <werner@almesberger.net>2016-08-26 01:40:30 -0300
commitae518b0432c49abb21229f632020f54a2b159903 (patch)
tree6cd81474fadbde396fb0fc6024ec6d010d56141b /kicad/sch-render.c
parentce09b77d3be3cf2f61142dbdf22b05afe881f59c (diff)
downloadeeshow-ae518b0432c49abb21229f632020f54a2b159903.tar.gz
eeshow-ae518b0432c49abb21229f632020f54a2b159903.tar.bz2
eeshow-ae518b0432c49abb21229f632020f54a2b159903.zip
kicad/dwg.c: add text style to label drawing functions
Diffstat (limited to 'kicad/sch-render.c')
-rw-r--r--kicad/sch-render.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/kicad/sch-render.c b/kicad/sch-render.c
index 49b5e64..55670fc 100644
--- a/kicad/sch-render.c
+++ b/kicad/sch-render.c
@@ -127,7 +127,7 @@ static void render_sheet(const struct sch_obj *obj,
for (field = sheet->fields; field; field = field->next)
dwg_hlabel(gfx, field->x, field->y, field->s,
field->side, field->dim,
- field->shape, NULL);
+ field->shape, text_normal, NULL);
// free(field->s)
}
@@ -159,7 +159,8 @@ void sch_render(const struct sheet *sheet, struct gfx *gfx)
text->fn(gfx, obj->x, obj->y,
text->s, text->dir,
- text->dim, text->shape, &text->bbox);
+ text->dim, text->shape, text->style,
+ &text->bbox);
}
break;
case sch_obj_comp: