draw_textmode is really slow.
It would be nice to have the possibility to save the generated bitmap of draw_textmode and then load it again. The problem is, that I often have 2 different fonts that i have to switch sequentially. If I would have the possibilty to cache the generated bitmap, it would be much(really much!) faster.
f.i something like this:
Code:
BMAP* bmpFont = draw_textmode("arial", 0, 10, 100);
draw_text("blabla", 0,0, COLOR_GREEN); //In arial font
draw_textmode("times", 0, 10, 100); //slow operation, needs to rebuild map
draw_text("blabla", 0,0, COLOR_GREEN); //In times font
draw_textmode(bmpFont); //fast operation
draw_text("blabla", 0,0, COLOR_GREEN); //In arial font



regards Alain

EDIT: Just found a workaround with draw_obj and the text object. But the feature would still be nice...

Last edited by krial057; 10/04/12 16:17.