more fixes for font rendering