Re: [AD] monochrome 8x8 builtin font + upscaling algorithm

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


On Wed, 04 Jul 2012 12:32:53 +0200
Dennis-Busch@xxxxxxxxxx wrote:

> ( [PATCH for 5.1] and screenshot are attached )
> 
> Implemented "al_create_builtin_font(unsigned int scale, bool 
> use_tar)" into the font addon.
> 
> The function takes a scale (2,3,etc) parameter and a bool specifying 
> whether to apply the Tri-Add-Rem algorithm to smooth the blocky up-
> scaled internal (8x8 bits per character) font data.
> 
> Also updated the font example ex_font to demonstrate usage.
> 

I like the addition of the a4 font, gives me a nostalgic feeling. And I
can see how it can be useful being able to draw text before loading
any external files. I'll not commit though for now since I'm not sure
about the scale and use_tar parameters.




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