mirror of
https://github.com/labwc/labwc.git
synced 2026-04-13 08:21:15 -04:00
[dirty] font_extend logging
This commit is contained in:
parent
0aea3bf9e5
commit
612bb3a761
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue