aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2019-12-01 10:33:22 +0000
committerDaniel Eklöf <daniel@ekloef.se>2019-12-01 10:33:22 +0000
commit3df292a944452566202bb5a1dd92b5a313d56882 (patch)
tree3d2ca93363689a1867de26ddd8156a296c336022
parentfont: ceil:ing the top value seems to look better when scaled (diff)
Revert "font: ceil:ing the top value seems to look better when scaled"
This reverts commit 95d97b39734026e05f47b2064fe686da1ae40d20.
-rw-r--r--font.c2
1 files changed, 1 insertions, 1 deletions
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,