Fix loading of fonts with empty font files (bug 866395 and issue 3522)