Revert "font: ceil:ing the top value seems to look better when scaled"

This reverts commit 95d97b3973.
This commit is contained in:
Daniel Eklöf 2019-12-01 11:33:22 +01:00
parent 95d97b3973
commit 3df292a944
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

2
font.c
View file

@ -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,