RE: [AD] New font types

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


Title: RE: [AD] New font types

> > Are the coverage values for each pixel precomputed ?
>
> No, it means that you can provide several FONTs of different
> sizes, all
> rolled into one FONT structure, so you can select between them by
> setting the 'height' member. They are all bitmap fonts, no actual
> scaled blitting is done.

Then, if you have to compute coverage for each pixel, can't you
have scaling for free ? Unless you use a lookup table indexed
by a value formed with the surrounding pixels ?

--
Vincent Penquerc'h



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