fixed bugs with font rendering, added kerning support