Re: [AD] monochrome 8x8 builtin font + upscaling algorithm |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On Mon, 9 Jul 2012 12:11:29 +0200, allefant <info@xxxxxxxxxx> wrote:
> On Mon, Jul 9, 2012 at 11:46 AM, <Dennis-Busch@xxxxxxxxxx> wrote:
> >
> > With this patch (keeping flexibility as previously discussed in mind)
> > there are three new functions in the font addon:
> >
> > ALLEGRO_BITMAP *al_create_builtin_font_sheet(void);
> >
> > int *, al_get_builtin_font_sheet_ranges(void);
> >
> > int, al_get_builtin_font_sheet_ranges_count(void);
> >
> >
> > The two extra functions are necessary, so that users always have the
> > correct character range information for their own
> > al_grab_font_from_bitmap call after manipulating(scaling, recoloring,
> > etc) the plain font sheet bitmap.
> >
Keeping in mind the reason for introducing the builtin font in the first
place (quick debugging) I think there should just be one function that
returns a ready to use font.
Peter