[AD] al_font_grab_font_from_bitmap

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


I added the possibility to this function to specify the unicode ranges
to grab into, so for example the old A4 font could be loaded with it. I
did this by allowing to pass the ranges as additional parameters:

al_font_grab_font_from_bitmap(bitmap, 4,
    0x0020, 0x007F,
    0x00A1, 0x00FF,
    0x0100, 0x017F,
    0x20AC, 0x20AC);

However thinking about it, we might want a different way to specify the
ranges. For example if you read a configuration file with the ranges, it
would be hard to pass them to this function right now... any ideas?

-- 
Elias Pschernig <elias@xxxxxxxxxx>





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