mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-10 04:27:45 -05:00
Revert "font: ceil:ing the top value seems to look better when scaled"
This reverts commit 95d97b3973.
This commit is contained in:
parent
95d97b3973
commit
3df292a944
1 changed files with 1 additions and 1 deletions
2
font.c
2
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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue