Corrected bug in getFontName

Catching exception when font as no name defined in font info