Combining two text textures in one texture makes text quality low in sdl2

Hi I want to combine two textures in one and they may contain texts. For transparent background, I set new texture blend mode: blend and clear renderer with transparent white colour. The problem is because my textures may have texts in different colours and different positions, clearing renderer with transparent white (255, 255, 255, 0) creates a thin white colour around the text.

What should I do to make text look better without the white outline?

Thanks!

let’s bump this.
please prepare and post a MRE. place three backticks in a line by itself before and after the code

like this
1 Like

Looks like the alpha channel is not premultiplied.