From 3f7a04df22b304f10eede8cea2f0d2ceae659069 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Mon, 13 Sep 2021 14:07:27 +0200 Subject: Rename pango_printf to render_text This avoids using the pango_ prefix, reserved for functions coming from the Pango library. --- common/pango.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common/pango.c') diff --git a/common/pango.c b/common/pango.c index 88932203..89b1ac41 100644 --- a/common/pango.c +++ b/common/pango.c @@ -127,7 +127,7 @@ void get_text_metrics(const char *font, int *height, int *baseline) { cairo_destroy(cairo); } -void pango_printf(cairo_t *cairo, const char *font, +void render_text(cairo_t *cairo, const char *font, double scale, bool markup, const char *fmt, ...) { va_list args; va_start(args, fmt); -- cgit v1.2.3-54-g00ecf