fix crash if the font won't open.