From e837e711794bb1c0fbbee6eb26b1c1963d7512ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Wed, 27 Nov 2019 21:41:49 +0100 Subject: [PATCH] font: set pixman filter when re-scaling glyph --- font.c | 1 + 1 file changed, 1 insertion(+) diff --git a/font.c b/font.c index ec4eba2..1e9463e 100644 --- a/font.c +++ b/font.c @@ -572,6 +572,7 @@ glyph_for_wchar(const struct font *font, wchar_t wc, struct glyph *glyph) pixman_double_to_fixed(1. / font->pixel_size_fixup), pixman_double_to_fixed(1. / font->pixel_size_fixup)); pixman_image_set_transform(pix, &scale); + pixman_image_set_filter(pix, PIXMAN_FILTER_BEST, NULL, 0); } *glyph = (struct glyph){