core/font: clean up and remove trackbuf usage