Re: [AD] truecolor fonts

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


Evert Glebbeek wrote:

However,

FONT *merge_fonts(FONT *f1, FONT *f2)
{
   FONT *f = NULL;
if (f1->vtable->merge_fonts)
      f = f1->vtable->merge_fonts(f1, f2);
if (!f && f2->vtable->merge_fonts)
      f = f2->vtable->merge_fonts(f2, f1);
return f;
}

So if font1 is not a colourfont, the function should never be called at all and the condition `if (is_mono_font(font1))' should always be false.

Oh, indeed. I didn't notice this function. This patch can also be ignored.


--
Milan Mimica
http://sparklet.sf.net





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