Re: [AD] bitmaps flags in ttf addon

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


I was thinking of this too, and I thought it was ok, but I guess
you're right.

--
Trent Gamblin

On 2010-12-05, at 2:30 PM, Peter Wang wrote:

> I think the call to get bitmap flags in render_glyph in the TTF addon
> (to check for ALLEGRO_NO_PREMULTIPLIED_ALPHA) is too late.  The user
> should not expect that the new bitmap flags have an effect
> when drawing a string.
> 
> I suggest we cache the premultiple alpha bit when the font is loaded,
> unless there is a better idea?





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/