Re: [AD] al_font function names

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


On Sat March 21 2009, Elias Pschernig wrote:
> I think instead of al_font_load_font the function should be just
> al_load_font, and in general:
>
> al_font_destroy_font -> al_destroy_font
> al_font_grab_font_from_bitmap -> al_grab_font_from_bitmap
> al_font_init -> al_init_font_addon or al_init_text
> al_font_is_compatible_font remove this?
> al_font_load_font -> al_load_font
> al_font_load_bitmap_font -> al_load_bitmap_font
> al_font_register_font_file_type -> al_register_font_file_type
> al_font_text_height -> al_get_font_height or al_get_line_height
> al_font_text_width -> al_get_text_width
> al_font_textout -> al_print or al_textout or al_draw_text
> al_font_textprintf -> al_printf
> al_ttf_get_text_dimensions -> al_get_text_dimensions
> al_ttf_load_font -> al_load_ttf_font


Or find a way to let al_ttf use al_load_font, much like bitmap loaders will (SHOULD) share al_load_bitmap.


> --
> Elias Pschernig <elias@xxxxxxxxxx>
>
> ---------------------------------------------------------------------------
>--- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
> powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
> easily build your RIAs with Flex Builder, the Eclipse(TM)based development
> software that enables intelligent coding and step-through debugging.
> Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com



--
Thomas Fjellstrom
tfjellstrom@xxxxxxxxxx



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