text: font: correctly measure pango fonts
We need to actually increase the character count, otherwise, we will never have a measurement set. Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
This commit is contained in:
parent
65424fa304
commit
1ef98f6ee4
@ -360,6 +360,7 @@ static int kmscon_font_pango_init(struct kmscon_font *out,
|
||||
desc = glyph->descent;
|
||||
if (glyph->buf.width > width)
|
||||
width = glyph->buf.width;
|
||||
++num;
|
||||
}
|
||||
|
||||
if (!num) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user