JeanSwamp
Member
Hello,
I am currently drawing some sort of inventory/item list with a lot of sprites and text to a surface, so then I can just mask the surface for scrollable purposes.
When drawing text to a surface, the text looks blurry, undefined and messy. After looking around in a lot of threads I found out that using
HOWEVER, since the rest of the surface has a lof of transparent areas, because is a big surface, everything that is transparent turn to black, so this method won't really fix the problem.
Is there any alternative on how to solve this? I can't believe this is even happening that something so simple like drawing text to a surface has bad results.
I am currently drawing some sort of inventory/item list with a lot of sprites and text to a surface, so then I can just mask the surface for scrollable purposes.
When drawing text to a surface, the text looks blurry, undefined and messy. After looking around in a lot of threads I found out that using
gpu_set_blendenable(true);
before drawing the surface and set it back to true after, will make the text look alright.HOWEVER, since the rest of the surface has a lof of transparent areas, because is a big surface, everything that is transparent turn to black, so this method won't really fix the problem.
Is there any alternative on how to solve this? I can't believe this is even happening that something so simple like drawing text to a surface has bad results.
Last edited: