[dirty] font_extend logging

This commit is contained in:
Consolatis 2024-03-16 09:45:54 +01:00
parent 0aea3bf9e5
commit 612bb3a761

View file

@ -65,6 +65,8 @@ int
font_height(struct font *font) font_height(struct font *font)
{ {
PangoRectangle rectangle = font_extents(font, "abcdefg"); PangoRectangle rectangle = font_extents(font, "abcdefg");
wlr_log(WLR_ERROR, "font %p height: %d, name: %s -> %d",
font, font->size, font->name, rectangle.height);
return rectangle.height; return rectangle.height;
} }