* setfont now takes the font id as parameter (to be used for caching)