[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [pygame] Anti-aliasing problem



Magnus Lie Hetland wrote:
> Attached to this mail, warts and all <wink>

i've looked over the code, and don't directly see anything that would 
cause you problems with alpha. i was specifically looking for a 
"convert()" call on the rendered text image, but that would be giving 
you a solid box outline around the text, instead of just destroying the aa.

hmm, and i know you're not blitting to an 8bit display, since SDL 
doesn't support blitting alpha surfaces to 8bit surfaces.

sorry magnus, i can't figure out the difference. it might help if i 
could see the effect, but i can't see anything in the code that wouldn't 
work as i'd expect here.



also, a shredwheat helpful tip of the day...
     textpos.centerx = screen.get_rect().centerx
     textpos.centery = screen.get_rect().centery
can become
     textpos.center = screen.get_rect().center




____________________________________
pygame mailing list
pygame-users@seul.org
http://pygame.seul.org