Hi,

Seeing as there have been some discussion on blitting modes here in the
last few days, I'd like to bring up an issue I had which I never got to
the bottom of.

I've got an issue with DrawGlyph in 1.2.6 when I'm blitting to a surface
which is fully transparent. Though the destination alpha is zero, some
of the destination color seeps in during the blit of the glyph. This is
easiest seen where the background is fully transparent black, the font
color is fully opaque white and the background layer is fully white. The
result is white text on a white background but with a light grey dotted
outline of text. The light grey is the result of the transparent black
background being blended in to the foreground color.

It may be that the destination alpha isn't being taken into account
during the blit. I've tried merging some blending changes from 1.4.x but
with no change in the net result. Is this a bug in the particular blend
implementation being called, or expected behaviour based on the blitting
flags being used (DSBLIT_BLEND_ALPHACHANNEL | DSBLIT_COLORIZE setup in
fonts.c). Any suggestions about what might be the issue and how to
proceed would be gratefully received.

Hope I've been clear,

Thanks!

Dave.

........................................................................
Dave Craig
Senior Software Engineer
BrightSign
_______________________________________________
directfb-users mailing list
directfb-users@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to