From 01b775aceb6a6abe92e57d7d8c603f07b1daab99 Mon Sep 17 00:00:00 2001 From: Consolatis <35009135+Consolatis@users.noreply.github.com> Date: Sat, 16 Mar 2024 14:05:15 +0100 Subject: [PATCH] [dirty] wlr_log all the things --- src/common/font.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/common/font.c b/src/common/font.c index 53bd4662..dd8d72e2 100644 --- a/src/common/font.c +++ b/src/common/font.c @@ -38,9 +38,13 @@ font_extents(struct font *font, const char *string) PangoLayout *layout; surface = cairo_image_surface_create(CAIRO_FORMAT_ARGB32, 1, 1); + wlr_log(WLR_ERROR, "\tsurface: %p", surface); c = cairo_create(surface); + wlr_log(WLR_ERROR, "\tcairo: %p", c); layout = pango_cairo_create_layout(c); + wlr_log(WLR_ERROR, "\tlayout: %p", layout); PangoFontDescription *desc = font_to_pango_desc(font); + wlr_log(WLR_ERROR, "\tfont desc: %p", desc); pango_layout_set_font_description(layout, desc); pango_layout_set_text(layout, string, -1);