summaryrefslogtreecommitdiffstats
path: root/src/font.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/font.c')
-rw-r--r--src/font.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/font.c b/src/font.c
index c351857..fb54604 100644
--- a/src/font.c
+++ b/src/font.c
@@ -65,19 +65,19 @@ font_find(const char *name)
}
int
-font_get_width(struct font *font)
+font_get_width(const struct font *font)
{
return font->desc.width;
}
int
-font_get_height(struct font *font)
+font_get_height(const struct font *font)
{
return font->desc.height;
}
void
-font_render(struct font *font, png_const_colorp fg, png_const_colorp bg,
+font_render(const struct font *font, png_const_colorp fg, png_const_colorp bg,
unsigned char ch, png_bytepp rows, int row, int col)
{
size_t y;