From af441541197a102d67048b8af920d63d1af37a2f Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Mon, 5 Sep 2016 11:52:52 -0400 Subject: Fix constant scale factor in font code --- include/client/pango.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'include') diff --git a/include/client/pango.h b/include/client/pango.h index 66843041..dd2f53c3 100644 --- a/include/client/pango.h +++ b/include/client/pango.h @@ -5,10 +5,12 @@ #include #include #include +#include -PangoLayout *get_pango_layout(cairo_t *cairo, const char *font, const char *text, bool markup); +PangoLayout *get_pango_layout(cairo_t *cairo, const char *font, const char *text, + int32_t scale, bool markup); void get_text_size(cairo_t *cairo, const char *font, int *width, int *height, - bool markup, const char *fmt, ...); -void pango_printf(cairo_t *cairo, const char *font, bool markup, const char *fmt, ...); + int32_t scale, bool markup, const char *fmt, ...); +void pango_printf(cairo_t *cairo, const char *font, int32_t scale, bool markup, const char *fmt, ...); #endif -- cgit v1.2.3-54-g00ecf