Skip to content

Commit

Permalink
Update src/_imagingft.c
Browse files Browse the repository at this point in the history
Co-authored-by: Ondrej Baranovič <[email protected]>
  • Loading branch information
ZachNagengast and nulano authored Nov 7, 2023
1 parent e1aaec3 commit b15b2d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/_imagingft.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit b15b2d4

Please sign in to comment.