Skip to content

Commit

Permalink
Merge branch 'fix-alpha-for-overlapping-glyphs' of ssh://github.com/Z…
Browse files Browse the repository at this point in the history
…achNagengast/Pillow into fix-alpha-for-overlapping-glyphs
  • Loading branch information
ZachNagengast committed Nov 7, 2023
2 parents fdecfca + b15b2d4 commit 8ecf2e9
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 {

Check warning on line 1082 in src/_imagingft.c

View check run for this annotation

Codecov / codecov/patch

src/_imagingft.c#L1080-L1082

Added lines #L1080 - L1082 were not covered by tests
/* 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 8ecf2e9

Please sign in to comment.