fix when fontconfig isn't used