mirror of
https://github.com/labwc/labwc.git
synced 2026-04-12 08:21:13 -04:00
[dirty] remove PANGO_SCALE
This commit is contained in:
parent
42555b0b27
commit
bb24cd5faf
1 changed files with 2 additions and 1 deletions
|
|
@ -16,7 +16,8 @@ font_to_pango_desc(struct font *font)
|
|||
{
|
||||
char buf[4096];
|
||||
wlr_log(WLR_ERROR, "pango scale: %d font->size %d", PANGO_SCALE, font->size);
|
||||
snprintf(buf, sizeof(buf), "%s %d", font->name, font->size * PANGO_SCALE);
|
||||
//snprintf(buf, sizeof(buf), "%s %d", font->name, font->size * PANGO_SCALE);
|
||||
snprintf(buf, sizeof(buf), "%s %d", font->name, font->size);
|
||||
PangoFontDescription *desc = pango_font_description_from_string(buf);
|
||||
wlr_log(WLR_ERROR, "got desc for '%s': %p", buf, desc);
|
||||
//PangoFontDescription *desc = pango_font_description_new();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue