aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2021-09-13 14:07:27 +0200
committerKenny Levinsen <kl@kl.wtf>2021-09-13 14:22:51 +0200
commit3f7a04df22b304f10eede8cea2f0d2ceae659069 (patch)
treec2be58823b6695969bd2aa5d5b9682c55e7969e7 /common
parent671bb448a1a08f897a2f51254b22d80cdfa36832 (diff)
Rename pango_printf to render_text
This avoids using the pango_ prefix, reserved for functions coming from the Pango library.
Diffstat (limited to 'common')
-rw-r--r--common/pango.c2
1 files changed, 1 insertions, 1 deletions
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);