[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [pygame] Antialiasing again
On Sat, 12 Jan 2002 21:29, Magnus Lie Hetland wrote:
> Another observation that might shed light on the problem: There *is*
> antialiasing going on. When I turn that off, the letters look
> different (i.e. normal but jagged). When the antialiasing is on, it
> seems that all the shades of grey have turned black, leaving the text
> looking rather odd and blob-like.
I had a helluva time getting the antialiasing to work with my font contest
entry "skyscraper". Have a look a the code there, it might give you some
hints. See the smudge and repeat operations specifically - which take the
antialiased source text surface and create a new surface with the source
repeated several times. You'll see that I had to manually render the alpha
channel with the correct values in both cases because the alpha seemed to be
either ignored or destroyed. Unfortunately, I found there was a large hole in
the documentation regarding how the alpha channel was affected, removed,
used, etc in various operations. I also haven't had the time to chase this up
:(
Richard
____________________________________
pygame mailing list
pygame-users@seul.org
http://pygame.seul.org