mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-04-20 03:35:41 +02:00
font: set pixman filter when re-scaling glyph
This commit is contained in:
parent
c72893637c
commit
e837e71179
1 changed files with 1 additions and 0 deletions
1
font.c
1
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_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_transform(pix, &scale);
|
||||||
|
pixman_image_set_filter(pix, PIXMAN_FILTER_BEST, NULL, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
*glyph = (struct glyph){
|
*glyph = (struct glyph){
|
||||||
|
|
Loading…
Add table
Reference in a new issue