summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-07-17 18:49:19 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-07-17 18:49:19 (EDT)
commit39b1f0bd678e85816874c40cf8f5a51133c982b5 (patch)
tree7b1f1422c3a5db7bd53cf1b39bde30f4be7210d2 /src
parent19dc715f75ab52e32f4fa369246877fd6d3b208c (diff)
image_render() Call text_render()
Diffstat (limited to 'src')
-rw-r--r--src/image.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/image.c b/src/image.c
index 04dca72..2c1da2a 100644
--- a/src/image.c
+++ b/src/image.c
@@ -89,6 +89,8 @@ image_render(struct image *image, struct text *text, struct font *font)
}
png_set_rows(image->png_ptr, image->info_ptr, rows);
+ text_render(text, font, rows);
+
png_write_png(image->png_ptr, image->info_ptr, PNG_TRANSFORM_IDENTITY,
NULL);