font setting for editors; make text_set_font a fast (function pointer) call; some checking