cleaned up font drawing code and added support for latin1 font of litespeed