From 3df292a944452566202bb5a1dd92b5a313d56882 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Sun, 1 Dec 2019 11:33:22 +0100 Subject: [PATCH] Revert "font: ceil:ing the top value seems to look better when scaled" This reverts commit 95d97b39734026e05f47b2064fe686da1ae40d20. --- font.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/font.c b/font.c index f53f11e9..674c56ef 100644 --- a/font.c +++ b/font.c @@ -673,7 +673,7 @@ glyph_for_wchar(const struct font *font, wchar_t wc, struct glyph *glyph) .cols = cols, .pix = pix, .x = font->face->glyph->bitmap_left * font->pixel_size_fixup, - .y = ceil(font->face->glyph->bitmap_top * font->pixel_size_fixup), + .y = font->face->glyph->bitmap_top * font->pixel_size_fixup, .width = width, .height = rows, .valid = true,