mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-26 17:24:31 +03:00
Update src/_imagingft.c
Co-authored-by: Ondrej Baranovič <nulano@nulano.eu>
This commit is contained in:
parent
e1aaec3fb1
commit
b15b2d494c
|
@ -1080,7 +1080,7 @@ font_render(FontObject *self, PyObject *args) {
|
|||
int out_alpha = CLIP8(src_alpha + MULDIV255(target[k * 4 + 3], (255 - src_alpha), tmp));
|
||||
target[k * 4 + 3] = out_alpha;
|
||||
} else {
|
||||
/* paste source directly to BGRa */
|
||||
/* paste unpremultiplied RGBA values */
|
||||
target[k * 4 + 0] = src_blu;
|
||||
target[k * 4 + 1] = src_grn;
|
||||
target[k * 4 + 2] = src_red;
|
||||
|
|
Loading…
Reference in New Issue
Block a user