diff --git a/pilmoji/core.py b/pilmoji/core.py index 25e39c0..c1c9201 100644 --- a/pilmoji/core.py +++ b/pilmoji/core.py @@ -321,7 +321,7 @@ def text( asset = asset.resize(size, Image.Resampling.LANCZOS) ox, oy = emoji_position_offset - self.image.paste(asset, (x + ox, y + oy), asset) + self.image.paste(asset, (int(x + ox), int(y + oy)), asset) x += node_spacing + width y += spacing + font.size