make text system use gfx routines