[AD] monochrome 8x8 builtin font + upscaling algorithm

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


( [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.

Dennis Busch
d_busch@xxxxxxxxxx



The following section of this message contains a file attachment
prepared for transmission using the Internet MIME message format.
If you are using Pegasus Mail, or any other MIME-compliant system,
you should be able to save it or view it from within your mailer.
If you cannot, please ask your system administrator for assistance.

   ---- File information -----------
     File:  0001-monochrome-8x8-builtin-font-upscaling-Algorithm.patch
     Date:  4 Jul 2012, 12:24
     Size:  37860 bytes.
     Type:  Unknown

Attachment: 0001-monochrome-8x8-builtin-font-upscaling-Algorithm.patch
Description: Binary data

The following section of this message contains a file attachment
prepared for transmission using the Internet MIME message format.
If you are using Pegasus Mail, or any other MIME-compliant system,
you should be able to save it or view it from within your mailer.
If you cannot, please ask your system administrator for assistance.

   ---- File information -----------
     File:  tri_add_rem_font_ex.png
     Date:  3 Jul 2012, 18:16
     Size:  101456 bytes.
     Type:  Unknown

Attachment: tri_add_rem_font_ex.png
Description: Binary data



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