don't try to render the glyph if there's no bitmap to render. fixes #2804